* doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
669 EXTRA_CXX_FLAGS
670 ENABLE_PARALLEL_FALSE
671 ENABLE_PARALLEL_TRUE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
674 DEBUG_FLAGS
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
683 C_INCLUDE_DIR
684 ALLOCATOR_NAME
685 ALLOCATOR_H
686 CLOCALE_INTERNAL_H
687 CLOCALE_CC
688 CTIME_CC
689 CTIME_H
690 CNUMERIC_CC
691 CMONEY_CC
692 CMESSAGES_CC
693 CCTYPE_CC
694 CCOLLATE_CC
695 CCODECVT_CC
696 CMESSAGES_H
697 CLOCALE_H
698 USE_NLS
699 glibcxx_localedir
700 glibcxx_POFILES
701 glibcxx_MOFILES
702 check_msgfmt
703 BASIC_FILE_CC
704 BASIC_FILE_H
705 CSTDIO_H
706 SECTION_FLAGS
707 WERROR
708 glibcxx_PCHFLAGS
709 GLIBCXX_BUILD_PCH_FALSE
710 GLIBCXX_BUILD_PCH_TRUE
711 GLIBCXX_HOSTED_FALSE
712 GLIBCXX_HOSTED_TRUE
713 enable_static
714 enable_shared
715 lt_host_flags
716 CXXCPP
717 OTOOL64
718 OTOOL
719 LIPO
720 NMEDIT
721 DSYMUTIL
722 OBJDUMP
723 NM
724 ac_ct_DUMPBIN
725 DUMPBIN
726 LD
727 FGREP
728 SED
729 LIBTOOL
730 EGREP
731 GREP
732 CPP
733 MAINT
734 MAINTAINER_MODE_FALSE
735 MAINTAINER_MODE_TRUE
736 RANLIB
737 AR
738 AS
739 LN_S
740 toplevel_srcdir
741 toplevel_builddir
742 glibcxx_srcdir
743 glibcxx_builddir
744 ac_ct_CXX
745 CXXFLAGS
746 CXX
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
753 CC
754 am__untar
755 am__tar
756 AMTAR
757 am__leading_dot
758 SET_MAKE
759 AWK
760 mkdir_p
761 MKDIR_P
762 INSTALL_STRIP_PROGRAM
763 STRIP
764 install_sh
765 MAKEINFO
766 AUTOHEADER
767 AUTOMAKE
768 AUTOCONF
769 ACLOCAL
770 VERSION
771 PACKAGE
772 CYGPATH_W
773 am__isrc
774 INSTALL_DATA
775 INSTALL_SCRIPT
776 INSTALL_PROGRAM
777 target_os
778 target_vendor
779 target_cpu
780 target
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 multi_basedir
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_multilib
832 with_target_subdir
833 with_cross_host
834 with_newlib
835 enable_maintainer_mode
836 enable_shared
837 enable_static
838 with_pic
839 enable_fast_install
840 with_gnu_ld
841 enable_libtool_lock
842 enable_hosted_libstdcxx
843 enable_sjlj_exceptions
844 enable_libstdcxx_pch
845 enable_cstdio
846 enable_clocale
847 enable_nls
848 enable_libstdcxx_allocator
849 enable_cheaders
850 enable_long_long
851 enable_wchar_t
852 enable_c99
853 enable_concept_checks
854 enable_libstdcxx_debug_flags
855 enable_libstdcxx_debug
856 enable_cxx_flags
857 enable_fully_dynamic_string
858 enable_extern_template
859 enable_libstdcxx_time
860 enable_tls
861 enable_rpath
862 with_libiconv_prefix
863 with_system_libunwind
864 enable_linux_futex
865 enable_symvers
866 enable_libstdcxx_visibility
867 with_gxx_include_dir
868 enable_version_specific_runtime_libs
869 '
870 ac_precious_vars='build_alias
871 host_alias
872 target_alias
873 CC
874 CFLAGS
875 LDFLAGS
876 LIBS
877 CPPFLAGS
878 CXX
879 CXXFLAGS
880 CCC
881 CPP
882 CXXCPP
883 CXXFILT'
884
885
886 # Initialize some variables set by options.
887 ac_init_help=
888 ac_init_version=false
889 ac_unrecognized_opts=
890 ac_unrecognized_sep=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
893 cache_file=/dev/null
894 exec_prefix=NONE
895 no_create=
896 no_recursion=
897 prefix=NONE
898 program_prefix=NONE
899 program_suffix=NONE
900 program_transform_name=s,x,x,
901 silent=
902 site=
903 srcdir=
904 verbose=
905 x_includes=NONE
906 x_libraries=NONE
907
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir='${exec_prefix}/bin'
915 sbindir='${exec_prefix}/sbin'
916 libexecdir='${exec_prefix}/libexec'
917 datarootdir='${prefix}/share'
918 datadir='${datarootdir}'
919 sysconfdir='${prefix}/etc'
920 sharedstatedir='${prefix}/com'
921 localstatedir='${prefix}/var'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir='${datarootdir}/info'
926 htmldir='${docdir}'
927 dvidir='${docdir}'
928 pdfdir='${docdir}'
929 psdir='${docdir}'
930 libdir='${exec_prefix}/lib'
931 localedir='${datarootdir}/locale'
932 mandir='${datarootdir}/man'
933
934 ac_prev=
935 ac_dashdash=
936 for ac_option
937 do
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\$ac_option
941 ac_prev=
942 continue
943 fi
944
945 case $ac_option in
946 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 *) ac_optarg=yes ;;
948 esac
949
950 # Accept the important Cygnus configure options, so we can diagnose typos.
951
952 case $ac_dashdash$ac_option in
953 --)
954 ac_dashdash=yes ;;
955
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
957 ac_prev=bindir ;;
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
959 bindir=$ac_optarg ;;
960
961 -build | --build | --buil | --bui | --bu)
962 ac_prev=build_alias ;;
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964 build_alias=$ac_optarg ;;
965
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968 ac_prev=cache_file ;;
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971 cache_file=$ac_optarg ;;
972
973 --config-cache | -C)
974 cache_file=config.cache ;;
975
976 -datadir | --datadir | --datadi | --datad)
977 ac_prev=datadir ;;
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
979 datadir=$ac_optarg ;;
980
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
983 ac_prev=datarootdir ;;
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986 datarootdir=$ac_optarg ;;
987
988 -disable-* | --disable-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error "invalid feature name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
996 *"
997 "enable_$ac_useropt"
998 "*) ;;
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1001 esac
1002 eval enable_$ac_useropt=no ;;
1003
1004 -docdir | --docdir | --docdi | --doc | --do)
1005 ac_prev=docdir ;;
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir=$ac_optarg ;;
1008
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010 ac_prev=dvidir ;;
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir=$ac_optarg ;;
1013
1014 -enable-* | --enable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1022 *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=\$ac_optarg ;;
1029
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1033 ac_prev=exec_prefix ;;
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1037 exec_prefix=$ac_optarg ;;
1038
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1041 with_gas=yes ;;
1042
1043 -help | --help | --hel | --he | -h)
1044 ac_init_help=long ;;
1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046 ac_init_help=recursive ;;
1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048 ac_init_help=short ;;
1049
1050 -host | --host | --hos | --ho)
1051 ac_prev=host_alias ;;
1052 -host=* | --host=* | --hos=* | --ho=*)
1053 host_alias=$ac_optarg ;;
1054
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056 ac_prev=htmldir ;;
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058 | --ht=*)
1059 htmldir=$ac_optarg ;;
1060
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1063 ac_prev=includedir ;;
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1066 includedir=$ac_optarg ;;
1067
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1069 ac_prev=infodir ;;
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071 infodir=$ac_optarg ;;
1072
1073 -libdir | --libdir | --libdi | --libd)
1074 ac_prev=libdir ;;
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076 libdir=$ac_optarg ;;
1077
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1080 ac_prev=libexecdir ;;
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1083 libexecdir=$ac_optarg ;;
1084
1085 -localedir | --localedir | --localedi | --localed | --locale)
1086 ac_prev=localedir ;;
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088 localedir=$ac_optarg ;;
1089
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1092 ac_prev=localstatedir ;;
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095 localstatedir=$ac_optarg ;;
1096
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098 ac_prev=mandir ;;
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100 mandir=$ac_optarg ;;
1101
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1104 with_fp=no ;;
1105
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1108 no_create=yes ;;
1109
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1112 no_recursion=yes ;;
1113
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1117 ac_prev=oldincludedir ;;
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121 oldincludedir=$ac_optarg ;;
1122
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124 ac_prev=prefix ;;
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126 prefix=$ac_optarg ;;
1127
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1130 ac_prev=program_prefix ;;
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133 program_prefix=$ac_optarg ;;
1134
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1137 ac_prev=program_suffix ;;
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140 program_suffix=$ac_optarg ;;
1141
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1149 ac_prev=program_transform_name ;;
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1157 program_transform_name=$ac_optarg ;;
1158
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160 ac_prev=pdfdir ;;
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162 pdfdir=$ac_optarg ;;
1163
1164 -psdir | --psdir | --psdi | --psd | --ps)
1165 ac_prev=psdir ;;
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167 psdir=$ac_optarg ;;
1168
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1171 silent=yes ;;
1172
1173 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174 ac_prev=sbindir ;;
1175 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176 | --sbi=* | --sb=*)
1177 sbindir=$ac_optarg ;;
1178
1179 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181 | --sharedst | --shareds | --shared | --share | --shar \
1182 | --sha | --sh)
1183 ac_prev=sharedstatedir ;;
1184 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187 | --sha=* | --sh=*)
1188 sharedstatedir=$ac_optarg ;;
1189
1190 -site | --site | --sit)
1191 ac_prev=site ;;
1192 -site=* | --site=* | --sit=*)
1193 site=$ac_optarg ;;
1194
1195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196 ac_prev=srcdir ;;
1197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198 srcdir=$ac_optarg ;;
1199
1200 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201 | --syscon | --sysco | --sysc | --sys | --sy)
1202 ac_prev=sysconfdir ;;
1203 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205 sysconfdir=$ac_optarg ;;
1206
1207 -target | --target | --targe | --targ | --tar | --ta | --t)
1208 ac_prev=target_alias ;;
1209 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210 target_alias=$ac_optarg ;;
1211
1212 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1213 verbose=yes ;;
1214
1215 -version | --version | --versio | --versi | --vers | -V)
1216 ac_init_version=: ;;
1217
1218 -with-* | --with-*)
1219 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error "invalid package name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1226 *"
1227 "with_$ac_useropt"
1228 "*) ;;
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1231 esac
1232 eval with_$ac_useropt=\$ac_optarg ;;
1233
1234 -without-* | --without-*)
1235 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1242 *"
1243 "with_$ac_useropt"
1244 "*) ;;
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1247 esac
1248 eval with_$ac_useropt=no ;;
1249
1250 --x)
1251 # Obsolete; use --with-x.
1252 with_x=yes ;;
1253
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev=x_includes ;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes=$ac_optarg ;;
1260
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev=x_libraries ;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries=$ac_optarg ;;
1267
1268 -*) as_fn_error "unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information."
1270 ;;
1271
1272 *=*)
1273 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' | [0-9]* | *[!_$as_cr_alnum]* )
1277 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1278 esac
1279 eval $ac_envvar=\$ac_optarg
1280 export $ac_envvar ;;
1281
1282 *)
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288 ;;
1289
1290 esac
1291 done
1292
1293 if test -n "$ac_prev"; then
1294 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error "missing argument to $ac_option"
1296 fi
1297
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1300 no) ;;
1301 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 esac
1304 fi
1305
1306 # Check all directory arguments for consistency.
1307 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1311 do
1312 eval ac_val=\$$ac_var
1313 # Remove trailing slashes.
1314 case $ac_val in
1315 */ )
1316 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\$ac_val;;
1318 esac
1319 # Be sure to have absolute directory names.
1320 case $ac_val in
1321 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323 esac
1324 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1325 done
1326
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1330 build=$build_alias
1331 host=$host_alias
1332 target=$target_alias
1333
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x; then
1336 if test "x$build_alias" = x; then
1337 cross_compiling=maybe
1338 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used." >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1341 cross_compiling=yes
1342 fi
1343 fi
1344
1345 ac_tool_prefix=
1346 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347
1348 test "$silent" = yes && exec 6>/dev/null
1349
1350
1351 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di=`ls -di .` &&
1353 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error "working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error "pwd does not report name of working directory"
1357
1358
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370 s//\1/
1371 q
1372 }
1373 /^X\(\/\/\)[^/].*/{
1374 s//\1/
1375 q
1376 }
1377 /^X\(\/\/\)$/{
1378 s//\1/
1379 q
1380 }
1381 /^X\(\/\).*/{
1382 s//\1/
1383 q
1384 }
1385 s/.*/./; q'`
1386 srcdir=$ac_confdir
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1388 srcdir=..
1389 fi
1390 else
1391 ac_srcdir_defaulted=no
1392 fi
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1396 fi
1397 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 ac_abs_confdir=`(
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1400 pwd)`
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1403 srcdir=.
1404 fi
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1408 case $srcdir in
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410 esac
1411 for ac_var in $ac_precious_vars; do
1412 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_${ac_var}_value=\$${ac_var}
1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1416 done
1417
1418 #
1419 # Report the --help message.
1420 #
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1424 cat <<_ACEOF
1425 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1426
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1428
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1431
1432 Defaults for the options are specified in brackets.
1433
1434 Configuration:
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1449 [PREFIX]
1450
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1455
1456 For better control, use the options below.
1457
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1478 _ACEOF
1479
1480 cat <<\_ACEOF
1481
1482 Program names:
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1486
1487 System types:
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1490 --target=TARGET configure for building compilers for TARGET [HOST]
1491 _ACEOF
1492 fi
1493
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive ) echo "Configuration of package-unused version-unused:";;
1497 esac
1498 cat <<\_ACEOF
1499
1500 Optional Features:
1501 --disable-option-checking ignore unrecognized --enable/--with options
1502 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1503 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1504 --enable-multilib build many library versions (default)
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-shared[=PKGS] build shared libraries [default=yes]
1508 --enable-static[=PKGS] build static libraries [default=yes]
1509 --enable-fast-install[=PKGS]
1510 optimize for fast installation [default=yes]
1511 --disable-libtool-lock avoid locking (might break parallel builds)
1512 --disable-hosted-libstdcxx
1513 only build freestanding C++ runtime support
1514 --enable-sjlj-exceptions
1515 force use of builtin_setjmp for exceptions
1516 [default=auto]
1517 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1518 [default=$is_hosted]
1519 --enable-cstdio[=PACKAGE]
1520 use target-specific I/O package [default=stdio]
1521 --enable-clocale[=MODEL]
1522 use MODEL for target locale package [default=auto]
1523 --enable-nls use Native Language Support (default)
1524 --enable-libstdcxx-allocator[=KIND]
1525 use KIND for target std::allocator base
1526 [default=auto]
1527 --enable-cheaders[=KIND]
1528 construct "C" headers for g++ [default=$c_model]
1529 --enable-long-long enable template specializations for 'long long'
1530 [default=yes]
1531 --enable-wchar_t enable template specializations for 'wchar_t'
1532 [default=yes]
1533 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1534 --enable-concept-checks use Boost-derived template checks [default=no]
1535 --enable-libstdcxx-debug-flags=FLAGS
1536 pass compiler FLAGS when building debug library
1537 [default="-gdwarf-4 -g3 -O0"]
1538 --enable-libstdcxx-debug
1539 build extra debug library [default=no]
1540 --enable-cxx-flags=FLAGS
1541 pass compiler FLAGS when building library [default=]
1542 --enable-fully-dynamic-string
1543 do not put empty strings in per-process static
1544 memory [default=no]
1545 --enable-extern-template
1546 enable extern template [default=yes]
1547 --enable-libstdcxx-time[=KIND]
1548 use KIND for check type [default=no]
1549 --enable-tls Use thread-local storage [default=yes]
1550 --disable-rpath do not hardcode runtime library paths
1551 --enable-linux-futex use the Linux futex system call [default=default]
1552 --enable-symvers[=STYLE]
1553 enables symbol versioning of the shared library
1554 [default=yes]
1555 --enable-libstdcxx-visibility
1556 enables visibility safe usage [default=yes]
1557 --enable-version-specific-runtime-libs
1558 Specify that runtime libraries should be installed
1559 in a compiler-specific directory
1560
1561 Optional Packages:
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-target-subdir=SUBDIR
1565 configuring in a subdirectory
1566 --with-cross-host=HOST configuring with a cross compiler
1567 --with-newlib assume newlib as a system C library
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1569 both]
1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571 --with-gnu-ld assume the C compiler uses GNU ld default=no
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-system-libunwind use installed libunwind
1575 --with-gxx-include-dir=DIR
1576 installation directory for include files
1577
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1588 CPP C preprocessor
1589 CXXCPP C++ preprocessor
1590 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1591 `c++filt', `gc++filt' on PATH.
1592
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1595
1596 Report bugs to the package provider.
1597 _ACEOF
1598 ac_status=$?
1599 fi
1600
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 continue
1607 ac_builddir=.
1608
1609 case "$ac_dir" in
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *)
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618 esac ;;
1619 esac
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1624
1625 case $srcdir in
1626 .) # We are building in place.
1627 ac_srcdir=.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1634 *) # Relative name.
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 esac
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1644 echo &&
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1647 echo &&
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1649 else
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 fi || ac_status=$?
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1653 done
1654 fi
1655
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1658 cat <<\_ACEOF
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1661
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1665 _ACEOF
1666 exit
1667 fi
1668
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1672
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1677 {
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1681 case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1688 ac_status=$?
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1693 fi
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1699 ac_retval=0
1700 else
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1703
1704 ac_retval=1
1705 fi
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 return $ac_retval
1708
1709 } # ac_fn_c_try_compile
1710
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1715 {
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1731 fi
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742 ac_retval=1
1743 fi
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1746
1747 } # ac_fn_cxx_try_compile
1748
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_cpp ()
1753 {
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 case "(($ac_try" in
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763 ac_status=$?
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1768 fi
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } >/dev/null && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 }; then :
1774 ac_retval=0
1775 else
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1778
1779 ac_retval=1
1780 fi
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 return $ac_retval
1783
1784 } # ac_fn_c_try_cpp
1785
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_c_try_link ()
1790 {
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1806 fi
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1819
1820 ac_retval=1
1821 fi
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828 return $ac_retval
1829
1830 } # ac_fn_c_try_link
1831
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1837 {
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 $4
1847 #include <$2>
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 eval "$3=yes"
1851 else
1852 eval "$3=no"
1853 fi
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 fi
1856 eval ac_res=\$$3
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860
1861 } # ac_fn_c_check_header_compile
1862
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1867 ac_fn_c_try_run ()
1868 {
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1871 case "(($ac_try" in
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1878 ac_status=$?
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
1888 ac_status=$?
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1891 ac_retval=0
1892 else
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1896
1897 ac_retval=$ac_status
1898 fi
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901 return $ac_retval
1902
1903 } # ac_fn_c_try_run
1904
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1909 {
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1915 else
1916 if test x$gcc_no_link = xyes; then
1917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1918 fi
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1924
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1929
1930 #ifdef __STDC__
1931 # include <limits.h>
1932 #else
1933 # include <assert.h>
1934 #endif
1935
1936 #undef $2
1937
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1941 #ifdef __cplusplus
1942 extern "C"
1943 #endif
1944 char $2 ();
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1949 choke me
1950 #endif
1951
1952 int
1953 main ()
1954 {
1955 return $2 ();
1956 ;
1957 return 0;
1958 }
1959 _ACEOF
1960 if ac_fn_c_try_link "$LINENO"; then :
1961 eval "$3=yes"
1962 else
1963 eval "$3=no"
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1967 fi
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972
1973 } # ac_fn_c_check_func
1974
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1979 {
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 case "(($ac_try" in
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1985 esac
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 ac_status=$?
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1994 fi
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } >/dev/null && {
1997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
1999 }; then :
2000 ac_retval=0
2001 else
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2004
2005 ac_retval=1
2006 fi
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008 return $ac_retval
2009
2010 } # ac_fn_cxx_try_cpp
2011
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2016 {
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2032 fi
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2045
2046 ac_retval=1
2047 fi
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 return $ac_retval
2055
2056 } # ac_fn_cxx_try_link
2057
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2062 # accordingly.
2063 ac_fn_c_check_header_mongrel ()
2064 {
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2071 fi
2072 eval ac_res=\$$3
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 else
2076 # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2081 $4
2082 #include <$2>
2083 _ACEOF
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 ac_header_compiler=yes
2086 else
2087 ac_header_compiler=no
2088 fi
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2092
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 #include <$2>
2099 _ACEOF
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101 ac_header_preproc=yes
2102 else
2103 ac_header_preproc=no
2104 fi
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2108
2109 # So? What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2111 yes:no: )
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116 ;;
2117 no:yes:* )
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2128 ;;
2129 esac
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2134 else
2135 eval "$3=\$ac_header_compiler"
2136 fi
2137 eval ac_res=\$$3
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2140 fi
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2142
2143 } # ac_fn_c_check_header_mongrel
2144
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2149 # accordingly.
2150 ac_fn_cxx_check_header_mongrel ()
2151 {
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2158 fi
2159 eval ac_res=\$$3
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 else
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168 $4
2169 #include <$2>
2170 _ACEOF
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2173 else
2174 ac_header_compiler=no
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2179
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2189 else
2190 ac_header_preproc=no
2191 fi
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2195
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2198 yes:no: )
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2203 ;;
2204 no:yes:* )
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215 ;;
2216 esac
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2221 else
2222 eval "$3=\$ac_header_compiler"
2223 fi
2224 eval ac_res=\$$3
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2227 fi
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2229
2230 } # ac_fn_cxx_check_header_mongrel
2231
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2236 # computed
2237 ac_fn_c_compute_int ()
2238 {
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if test "$cross_compiling" = yes; then
2241 # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2244 $4
2245 int
2246 main ()
2247 {
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2249 test_array [0] = 0
2250
2251 ;
2252 return 0;
2253 }
2254 _ACEOF
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256 ac_lo=0 ac_mid=0
2257 while :; do
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 $4
2261 int
2262 main ()
2263 {
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2265 test_array [0] = 0
2266
2267 ;
2268 return 0;
2269 }
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=$ac_mid; break
2273 else
2274 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275 if test $ac_lo -le $ac_mid; then
2276 ac_lo= ac_hi=
2277 break
2278 fi
2279 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2280 fi
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 done
2283 else
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2286 $4
2287 int
2288 main ()
2289 {
2290 static int test_array [1 - 2 * !(($2) < 0)];
2291 test_array [0] = 0
2292
2293 ;
2294 return 0;
2295 }
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_hi=-1 ac_mid=-1
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302 $4
2303 int
2304 main ()
2305 {
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2307 test_array [0] = 0
2308
2309 ;
2310 return 0;
2311 }
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_lo=$ac_mid; break
2315 else
2316 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317 if test $ac_mid -le $ac_hi; then
2318 ac_lo= ac_hi=
2319 break
2320 fi
2321 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2322 fi
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 ac_lo= ac_hi=
2327 fi
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2329 fi
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2336 $4
2337 int
2338 main ()
2339 {
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2341 test_array [0] = 0
2342
2343 ;
2344 return 0;
2345 }
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348 ac_hi=$ac_mid
2349 else
2350 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2351 fi
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 done
2354 case $ac_lo in #((
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2356 '') ac_retval=1 ;;
2357 esac
2358 else
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2361 $4
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2364 #include <stdio.h>
2365 #include <stdlib.h>
2366 int
2367 main ()
2368 {
2369
2370 FILE *f = fopen ("conftest.val", "w");
2371 if (! f)
2372 return 1;
2373 if (($2) < 0)
2374 {
2375 long int i = longval ();
2376 if (i != ($2))
2377 return 1;
2378 fprintf (f, "%ld", i);
2379 }
2380 else
2381 {
2382 unsigned long int i = ulongval ();
2383 if (i != ($2))
2384 return 1;
2385 fprintf (f, "%lu", i);
2386 }
2387 /* Do not output a trailing newline, as this causes \r\n confusion
2388 on some platforms. */
2389 return ferror (f) || fclose (f) != 0;
2390
2391 ;
2392 return 0;
2393 }
2394 _ACEOF
2395 if ac_fn_c_try_run "$LINENO"; then :
2396 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2397 else
2398 ac_retval=1
2399 fi
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401 conftest.$ac_objext conftest.beam conftest.$ac_ext
2402 rm -f conftest.val
2403
2404 fi
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406 return $ac_retval
2407
2408 } # ac_fn_c_compute_int
2409
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2415 {
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420 $as_echo_n "(cached) " >&6
2421 else
2422 eval "$3=no"
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2425 $4
2426 int
2427 main ()
2428 {
2429 if (sizeof ($2))
2430 return 0;
2431 ;
2432 return 0;
2433 }
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2438 $4
2439 int
2440 main ()
2441 {
2442 if (sizeof (($2)))
2443 return 0;
2444 ;
2445 return 0;
2446 }
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449
2450 else
2451 eval "$3=yes"
2452 fi
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 fi
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 fi
2457 eval ac_res=\$$3
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2461
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2466
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64. Invocation command line was
2469
2470 $ $0 $@
2471
2472 _ACEOF
2473 exec 5>>config.log
2474 {
2475 cat <<_ASUNAME
2476 ## --------- ##
2477 ## Platform. ##
2478 ## --------- ##
2479
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2485
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2488
2489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2496
2497 _ASUNAME
2498
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2501 do
2502 IFS=$as_save_IFS
2503 test -z "$as_dir" && as_dir=.
2504 $as_echo "PATH: $as_dir"
2505 done
2506 IFS=$as_save_IFS
2507
2508 } >&5
2509
2510 cat >&5 <<_ACEOF
2511
2512
2513 ## ----------- ##
2514 ## Core tests. ##
2515 ## ----------- ##
2516
2517 _ACEOF
2518
2519
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2525 ac_configure_args=
2526 ac_configure_args0=
2527 ac_configure_args1=
2528 ac_must_keep_next=false
2529 for ac_pass in 1 2
2530 do
2531 for ac_arg
2532 do
2533 case $ac_arg in
2534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536 | -silent | --silent | --silen | --sile | --sil)
2537 continue ;;
2538 *\'*)
2539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2540 esac
2541 case $ac_pass in
2542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2543 2)
2544 as_fn_append ac_configure_args1 " '$ac_arg'"
2545 if test $ac_must_keep_next = true; then
2546 ac_must_keep_next=false # Got value, back to normal.
2547 else
2548 case $ac_arg in
2549 *=* | --config-cache | -C | -disable-* | --disable-* \
2550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552 | -with-* | --with-* | -without-* | --without-* | --x)
2553 case "$ac_configure_args0 " in
2554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2555 esac
2556 ;;
2557 -* ) ac_must_keep_next=true ;;
2558 esac
2559 fi
2560 as_fn_append ac_configure_args " '$ac_arg'"
2561 ;;
2562 esac
2563 done
2564 done
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2567
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log. We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574 # Save into config.log some information that might help in debugging.
2575 {
2576 echo
2577
2578 cat <<\_ASBOX
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2582 _ASBOX
2583 echo
2584 # The following way of writing the cache mishandles newlines in values,
2585 (
2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587 eval ac_val=\$$ac_var
2588 case $ac_val in #(
2589 *${as_nl}*)
2590 case $ac_var in #(
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2593 esac
2594 case $ac_var in #(
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2598 esac ;;
2599 esac
2600 done
2601 (set) 2>&1 |
2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2604 sed -n \
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2607 ;; #(
2608 *)
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2610 ;;
2611 esac |
2612 sort
2613 )
2614 echo
2615
2616 cat <<\_ASBOX
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2620 _ASBOX
2621 echo
2622 for ac_var in $ac_subst_vars
2623 do
2624 eval ac_val=\$$ac_var
2625 case $ac_val in
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2627 esac
2628 $as_echo "$ac_var='\''$ac_val'\''"
2629 done | sort
2630 echo
2631
2632 if test -n "$ac_subst_files"; then
2633 cat <<\_ASBOX
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2637 _ASBOX
2638 echo
2639 for ac_var in $ac_subst_files
2640 do
2641 eval ac_val=\$$ac_var
2642 case $ac_val in
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 esac
2645 $as_echo "$ac_var='\''$ac_val'\''"
2646 done | sort
2647 echo
2648 fi
2649
2650 if test -s confdefs.h; then
2651 cat <<\_ASBOX
2652 ## ----------- ##
2653 ## confdefs.h. ##
2654 ## ----------- ##
2655 _ASBOX
2656 echo
2657 cat confdefs.h
2658 echo
2659 fi
2660 test "$ac_signal" != 0 &&
2661 $as_echo "$as_me: caught signal $ac_signal"
2662 $as_echo "$as_me: exit $exit_status"
2663 } >&5
2664 rm -f core *.core core.conftest.* &&
2665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2666 exit $exit_status
2667 ' 0
2668 for ac_signal in 1 2 13 15; do
2669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2670 done
2671 ac_signal=0
2672
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2675
2676 $as_echo "/* confdefs.h */" > confdefs.h
2677
2678 # Predefined preprocessor variables.
2679
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2682 _ACEOF
2683
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2686 _ACEOF
2687
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2690 _ACEOF
2691
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2694 _ACEOF
2695
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2698 _ACEOF
2699
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2702 _ACEOF
2703
2704
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2707 ac_site_file1=NONE
2708 ac_site_file2=NONE
2709 if test -n "$CONFIG_SITE"; then
2710 ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712 ac_site_file1=$prefix/share/config.site
2713 ac_site_file2=$prefix/etc/config.site
2714 else
2715 ac_site_file1=$ac_default_prefix/share/config.site
2716 ac_site_file2=$ac_default_prefix/etc/config.site
2717 fi
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2719 do
2720 test "x$ac_site_file" = xNONE && continue
2721 if test -r "$ac_site_file"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724 sed 's/^/| /' "$ac_site_file" >&5
2725 . "$ac_site_file"
2726 fi
2727 done
2728
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special
2731 # files actually), so we avoid doing that.
2732 if test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2735 case $cache_file in
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2738 esac
2739 fi
2740 else
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2743 >$cache_file
2744 fi
2745
2746 # Check that the precious variables saved in the cache have kept the same
2747 # value.
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751 eval ac_new_set=\$ac_env_${ac_var}_set
2752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753 eval ac_new_val=\$ac_env_${ac_var}_value
2754 case $ac_old_set,$ac_new_set in
2755 set,)
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758 ac_cache_corrupted=: ;;
2759 ,set)
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2763 ,);;
2764 *)
2765 if test "x$ac_old_val" != "x$ac_new_val"; then
2766 # differences in whitespace do not lead to failure.
2767 ac_old_val_w=`echo x $ac_old_val`
2768 ac_new_val_w=`echo x $ac_new_val`
2769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772 ac_cache_corrupted=:
2773 else
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776 eval $ac_var=\$ac_old_val
2777 fi
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2782 fi;;
2783 esac
2784 # Pass precious variables to config.status.
2785 if test "$ac_new_set" = set; then
2786 case $ac_new_val in
2787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 *) ac_arg=$ac_var=$ac_new_val ;;
2789 esac
2790 case " $ac_configure_args " in
2791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2793 esac
2794 fi
2795 done
2796 if $ac_cache_corrupted; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2802 fi
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2806
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812
2813
2814
2815
2816
2817
2818 ac_config_headers="$ac_config_headers config.h"
2819
2820
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported. Only used at the end of this file.
2825 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2826
2827 # Find the rest of the source tree framework.
2828 # Default to --enable-multilib
2829 # Check whether --enable-multilib was given.
2830 if test "${enable_multilib+set}" = set; then :
2831 enableval=$enable_multilib; case "$enableval" in
2832 yes) multilib=yes ;;
2833 no) multilib=no ;;
2834 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2835 esac
2836 else
2837 multilib=yes
2838 fi
2839
2840
2841 # We may get other options which we leave undocumented:
2842 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2843 # See config-ml.in if you want the gory details.
2844
2845 if test "$srcdir" = "."; then
2846 if test "$with_target_subdir" != "."; then
2847 multi_basedir="$srcdir/$with_multisrctop../.."
2848 else
2849 multi_basedir="$srcdir/$with_multisrctop.."
2850 fi
2851 else
2852 multi_basedir="$srcdir/.."
2853 fi
2854
2855
2856 # Even if the default multilib is not a cross compilation,
2857 # it may be that some of the other multilibs are.
2858 if test $cross_compiling = no && test $multilib = yes \
2859 && test "x${with_multisubdir}" != x ; then
2860 cross_compiling=maybe
2861 fi
2862
2863 ac_config_commands="$ac_config_commands default-1"
2864
2865
2866 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2867 #
2868 # You will slowly go insane if you do not grok the following fact: when
2869 # building v3 as part of the compiler, the top-level /target/ becomes the
2870 # library's /host/. configure then causes --target to default to --host,
2871 # exactly like any other package using autoconf. Therefore, 'target' and
2872 # 'host' will always be the same. This makes sense both for native and
2873 # cross compilers, just think about it for a little while. :-)
2874 #
2875 # Also, if v3 is being configured as part of a cross compiler, the top-level
2876 # configure script will pass the "real" host as $with_cross_host.
2877 #
2878 # Do not delete or change the following two lines. For why, see
2879 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2880 ac_aux_dir=
2881 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2882 for ac_t in install-sh install.sh shtool; do
2883 if test -f "$ac_dir/$ac_t"; then
2884 ac_aux_dir=$ac_dir
2885 ac_install_sh="$ac_aux_dir/$ac_t -c"
2886 break 2
2887 fi
2888 done
2889 done
2890 if test -z "$ac_aux_dir"; then
2891 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2892 fi
2893
2894 # These three variables are undocumented and unsupported,
2895 # and are intended to be withdrawn in a future Autoconf release.
2896 # They can cause serious problems if a builder's source tree is in a directory
2897 # whose full name contains unusual characters.
2898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2901
2902
2903 # Make sure we can run config.sub.
2904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2905 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2906
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2908 $as_echo_n "checking build system type... " >&6; }
2909 if test "${ac_cv_build+set}" = set; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 ac_build_alias=$build_alias
2913 test "x$ac_build_alias" = x &&
2914 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2915 test "x$ac_build_alias" = x &&
2916 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2918 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2919
2920 fi
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2922 $as_echo "$ac_cv_build" >&6; }
2923 case $ac_cv_build in
2924 *-*-*) ;;
2925 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2926 esac
2927 build=$ac_cv_build
2928 ac_save_IFS=$IFS; IFS='-'
2929 set x $ac_cv_build
2930 shift
2931 build_cpu=$1
2932 build_vendor=$2
2933 shift; shift
2934 # Remember, the first character of IFS is used to create $*,
2935 # except with old shells:
2936 build_os=$*
2937 IFS=$ac_save_IFS
2938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2939
2940
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2942 $as_echo_n "checking host system type... " >&6; }
2943 if test "${ac_cv_host+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test "x$host_alias" = x; then
2947 ac_cv_host=$ac_cv_build
2948 else
2949 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2950 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2951 fi
2952
2953 fi
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2955 $as_echo "$ac_cv_host" >&6; }
2956 case $ac_cv_host in
2957 *-*-*) ;;
2958 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2959 esac
2960 host=$ac_cv_host
2961 ac_save_IFS=$IFS; IFS='-'
2962 set x $ac_cv_host
2963 shift
2964 host_cpu=$1
2965 host_vendor=$2
2966 shift; shift
2967 # Remember, the first character of IFS is used to create $*,
2968 # except with old shells:
2969 host_os=$*
2970 IFS=$ac_save_IFS
2971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972
2973
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2975 $as_echo_n "checking target system type... " >&6; }
2976 if test "${ac_cv_target+set}" = set; then :
2977 $as_echo_n "(cached) " >&6
2978 else
2979 if test "x$target_alias" = x; then
2980 ac_cv_target=$ac_cv_host
2981 else
2982 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2983 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2984 fi
2985
2986 fi
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2988 $as_echo "$ac_cv_target" >&6; }
2989 case $ac_cv_target in
2990 *-*-*) ;;
2991 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2992 esac
2993 target=$ac_cv_target
2994 ac_save_IFS=$IFS; IFS='-'
2995 set x $ac_cv_target
2996 shift
2997 target_cpu=$1
2998 target_vendor=$2
2999 shift; shift
3000 # Remember, the first character of IFS is used to create $*,
3001 # except with old shells:
3002 target_os=$*
3003 IFS=$ac_save_IFS
3004 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3005
3006
3007 # The aliases save the names the user supplied, while $host etc.
3008 # will get canonicalized.
3009 test -n "$target_alias" &&
3010 test "$program_prefix$program_suffix$program_transform_name" = \
3011 NONENONEs,x,x, &&
3012 program_prefix=${target_alias}-
3013
3014 target_alias=${target_alias-$host_alias}
3015
3016 # Handy for debugging:
3017 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3018
3019 if test "$build" != "$host"; then
3020 # We are being configured with some form of cross compiler.
3021 GLIBCXX_IS_NATIVE=false
3022 case "$host","$target" in
3023 # Darwin crosses can use the host system's libraries and headers,
3024 # because of the fat library support. Of course, it must be the
3025 # same version of Darwin on both sides. Allow the user to
3026 # just say --target=foo-darwin without a version number to mean
3027 # "the version on this system".
3028 *-*-darwin*,*-*-darwin*)
3029 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3030 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3031 if test $hostos = $targetos -o $targetos = darwin ; then
3032 GLIBCXX_IS_NATIVE=true
3033 fi
3034 ;;
3035
3036 *)
3037
3038 ;;
3039 esac
3040 else
3041 GLIBCXX_IS_NATIVE=true
3042 fi
3043
3044 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3045 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3046 # 1.x: minimum required version
3047 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3048 # of other PACKAGE_* variables will, however, and there's nothing
3049 # we can do about that; they come from AC_INIT).
3050 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3051 # file in the top srcdir, etc, etc), so stop complaining.
3052 # no-dependencies: turns off auto dependency generation (just for now)
3053 # no-dist: we don't want 'dist' and related rules.
3054 # -Wall: turns on all automake warnings...
3055 # -Wno-portability: ...except this one, since GNU make is now required.
3056 am__api_version='1.11'
3057
3058 # Find a good install program. We prefer a C program (faster),
3059 # so one script is as good as another. But avoid the broken or
3060 # incompatible versions:
3061 # SysV /etc/install, /usr/sbin/install
3062 # SunOS /usr/etc/install
3063 # IRIX /sbin/install
3064 # AIX /bin/install
3065 # AmigaOS /C/install, which installs bootblocks on floppy discs
3066 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3067 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3068 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3069 # OS/2's system install, which has a completely different semantic
3070 # ./install, which can be erroneously created by make from ./install.sh.
3071 # Reject install programs that cannot install multiple files.
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3073 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3074 if test -z "$INSTALL"; then
3075 if test "${ac_cv_path_install+set}" = set; then :
3076 $as_echo_n "(cached) " >&6
3077 else
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081 IFS=$as_save_IFS
3082 test -z "$as_dir" && as_dir=.
3083 # Account for people who put trailing slashes in PATH elements.
3084 case $as_dir/ in #((
3085 ./ | .// | /[cC]/* | \
3086 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3087 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3088 /usr/ucb/* ) ;;
3089 *)
3090 # OSF1 and SCO ODT 3.0 have their own names for install.
3091 # Don't use installbsd from OSF since it installs stuff as root
3092 # by default.
3093 for ac_prog in ginstall scoinst install; do
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3096 if test $ac_prog = install &&
3097 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3098 # AIX install. It has an incompatible calling convention.
3099 :
3100 elif test $ac_prog = install &&
3101 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102 # program-specific install script used by HP pwplus--don't use.
3103 :
3104 else
3105 rm -rf conftest.one conftest.two conftest.dir
3106 echo one > conftest.one
3107 echo two > conftest.two
3108 mkdir conftest.dir
3109 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3110 test -s conftest.one && test -s conftest.two &&
3111 test -s conftest.dir/conftest.one &&
3112 test -s conftest.dir/conftest.two
3113 then
3114 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3115 break 3
3116 fi
3117 fi
3118 fi
3119 done
3120 done
3121 ;;
3122 esac
3123
3124 done
3125 IFS=$as_save_IFS
3126
3127 rm -rf conftest.one conftest.two conftest.dir
3128
3129 fi
3130 if test "${ac_cv_path_install+set}" = set; then
3131 INSTALL=$ac_cv_path_install
3132 else
3133 # As a last resort, use the slow shell script. Don't cache a
3134 # value for INSTALL within a source directory, because that will
3135 # break other packages using the cache if that directory is
3136 # removed, or if the value is a relative name.
3137 INSTALL=$ac_install_sh
3138 fi
3139 fi
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3141 $as_echo "$INSTALL" >&6; }
3142
3143 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3144 # It thinks the first close brace ends the variable substitution.
3145 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3146
3147 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3148
3149 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3150
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3152 $as_echo_n "checking whether build environment is sane... " >&6; }
3153 # Just in case
3154 sleep 1
3155 echo timestamp > conftest.file
3156 # Reject unsafe characters in $srcdir or the absolute working directory
3157 # name. Accept space and tab only in the latter.
3158 am_lf='
3159 '
3160 case `pwd` in
3161 *[\\\"\#\$\&\'\`$am_lf]*)
3162 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3163 esac
3164 case $srcdir in
3165 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3166 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3167 esac
3168
3169 # Do `set' in a subshell so we don't clobber the current shell's
3170 # arguments. Must try -L first in case configure is actually a
3171 # symlink; some systems play weird games with the mod time of symlinks
3172 # (eg FreeBSD returns the mod time of the symlink's containing
3173 # directory).
3174 if (
3175 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3176 if test "$*" = "X"; then
3177 # -L didn't work.
3178 set X `ls -t "$srcdir/configure" conftest.file`
3179 fi
3180 rm -f conftest.file
3181 if test "$*" != "X $srcdir/configure conftest.file" \
3182 && test "$*" != "X conftest.file $srcdir/configure"; then
3183
3184 # If neither matched, then we have a broken ls. This can happen
3185 # if, for instance, CONFIG_SHELL is bash and it inherits a
3186 # broken ls alias from the environment. This has actually
3187 # happened. Such a system could not be considered "sane".
3188 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3189 alias in your environment" "$LINENO" 5
3190 fi
3191
3192 test "$2" = conftest.file
3193 )
3194 then
3195 # Ok.
3196 :
3197 else
3198 as_fn_error "newly created file is older than distributed files!
3199 Check your system clock" "$LINENO" 5
3200 fi
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3202 $as_echo "yes" >&6; }
3203 test "$program_prefix" != NONE &&
3204 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3205 # Use a double $ so make ignores it.
3206 test "$program_suffix" != NONE &&
3207 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3208 # Double any \ or $.
3209 # By default was `s,x,x', remove it if useless.
3210 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3211 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3212
3213 # expand $ac_aux_dir to an absolute path
3214 am_aux_dir=`cd $ac_aux_dir && pwd`
3215
3216 if test x"${MISSING+set}" != xset; then
3217 case $am_aux_dir in
3218 *\ * | *\ *)
3219 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3220 *)
3221 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3222 esac
3223 fi
3224 # Use eval to expand $SHELL
3225 if eval "$MISSING --run true"; then
3226 am_missing_run="$MISSING --run "
3227 else
3228 am_missing_run=
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3230 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3231 fi
3232
3233 if test x"${install_sh}" != xset; then
3234 case $am_aux_dir in
3235 *\ * | *\ *)
3236 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3237 *)
3238 install_sh="\${SHELL} $am_aux_dir/install-sh"
3239 esac
3240 fi
3241
3242 # Installed binaries are usually stripped using `strip' when the user
3243 # run `make install-strip'. However `strip' might not be the right
3244 # tool to use in cross-compilation environments, therefore Automake
3245 # will honor the `STRIP' environment variable to overrule this program.
3246 if test "$cross_compiling" != no; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}strip; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_STRIP+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 if test -n "$STRIP"; then
3256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3260 do
3261 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 break 2
3268 fi
3269 done
3270 done
3271 IFS=$as_save_IFS
3272
3273 fi
3274 fi
3275 STRIP=$ac_cv_prog_STRIP
3276 if test -n "$STRIP"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3278 $as_echo "$STRIP" >&6; }
3279 else
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 fi
3283
3284
3285 fi
3286 if test -z "$ac_cv_prog_STRIP"; then
3287 ac_ct_STRIP=$STRIP
3288 # Extract the first word of "strip", so it can be a program name with args.
3289 set dummy strip; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3294 else
3295 if test -n "$ac_ct_STRIP"; then
3296 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3300 do
3301 IFS=$as_save_IFS
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305 ac_cv_prog_ac_ct_STRIP="strip"
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 break 2
3308 fi
3309 done
3310 done
3311 IFS=$as_save_IFS
3312
3313 fi
3314 fi
3315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3316 if test -n "$ac_ct_STRIP"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3318 $as_echo "$ac_ct_STRIP" >&6; }
3319 else
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 fi
3323
3324 if test "x$ac_ct_STRIP" = x; then
3325 STRIP=":"
3326 else
3327 case $cross_compiling:$ac_tool_warned in
3328 yes:)
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3331 ac_tool_warned=yes ;;
3332 esac
3333 STRIP=$ac_ct_STRIP
3334 fi
3335 else
3336 STRIP="$ac_cv_prog_STRIP"
3337 fi
3338
3339 fi
3340 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3341
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3343 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3344 if test -z "$MKDIR_P"; then
3345 if test "${ac_cv_path_mkdir+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3350 do
3351 IFS=$as_save_IFS
3352 test -z "$as_dir" && as_dir=.
3353 for ac_prog in mkdir gmkdir; do
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3356 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3357 'mkdir (GNU coreutils) '* | \
3358 'mkdir (coreutils) '* | \
3359 'mkdir (fileutils) '4.1*)
3360 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3361 break 3;;
3362 esac
3363 done
3364 done
3365 done
3366 IFS=$as_save_IFS
3367
3368 fi
3369
3370 if test "${ac_cv_path_mkdir+set}" = set; then
3371 MKDIR_P="$ac_cv_path_mkdir -p"
3372 else
3373 # As a last resort, use the slow shell script. Don't cache a
3374 # value for MKDIR_P within a source directory, because that will
3375 # break other packages using the cache if that directory is
3376 # removed, or if the value is a relative name.
3377 test -d ./--version && rmdir ./--version
3378 MKDIR_P="$ac_install_sh -d"
3379 fi
3380 fi
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3382 $as_echo "$MKDIR_P" >&6; }
3383
3384 mkdir_p="$MKDIR_P"
3385 case $mkdir_p in
3386 [\\/$]* | ?:[\\/]*) ;;
3387 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3388 esac
3389
3390 for ac_prog in gawk mawk nawk awk
3391 do
3392 # Extract the first word of "$ac_prog", so it can be a program name with args.
3393 set dummy $ac_prog; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_AWK+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -n "$AWK"; then
3400 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3404 do
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_AWK="$ac_prog"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3412 fi
3413 done
3414 done
3415 IFS=$as_save_IFS
3416
3417 fi
3418 fi
3419 AWK=$ac_cv_prog_AWK
3420 if test -n "$AWK"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3422 $as_echo "$AWK" >&6; }
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 fi
3427
3428
3429 test -n "$AWK" && break
3430 done
3431
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3433 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3434 set x ${MAKE-make}
3435 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3436 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 cat >conftest.make <<\_ACEOF
3440 SHELL = /bin/sh
3441 all:
3442 @echo '@@@%%%=$(MAKE)=@@@%%%'
3443 _ACEOF
3444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3445 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3446 *@@@%%%=?*=@@@%%%*)
3447 eval ac_cv_prog_make_${ac_make}_set=yes;;
3448 *)
3449 eval ac_cv_prog_make_${ac_make}_set=no;;
3450 esac
3451 rm -f conftest.make
3452 fi
3453 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3456 SET_MAKE=
3457 else
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459 $as_echo "no" >&6; }
3460 SET_MAKE="MAKE=${MAKE-make}"
3461 fi
3462
3463 rm -rf .tst 2>/dev/null
3464 mkdir .tst 2>/dev/null
3465 if test -d .tst; then
3466 am__leading_dot=.
3467 else
3468 am__leading_dot=_
3469 fi
3470 rmdir .tst 2>/dev/null
3471
3472 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3473 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3474 # is not polluted with repeated "-I."
3475 am__isrc=' -I$(srcdir)'
3476 # test to see if srcdir already configured
3477 if test -f $srcdir/config.status; then
3478 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3479 fi
3480 fi
3481
3482 # test whether we have cygpath
3483 if test -z "$CYGPATH_W"; then
3484 if (cygpath --version) >/dev/null 2>/dev/null; then
3485 CYGPATH_W='cygpath -w'
3486 else
3487 CYGPATH_W=echo
3488 fi
3489 fi
3490
3491
3492 # Define the identity of the package.
3493 PACKAGE='libstdc++'
3494 VERSION='version-unused'
3495
3496
3497 # Some tools Automake needs.
3498
3499 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3500
3501
3502 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3503
3504
3505 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3506
3507
3508 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3509
3510
3511 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3512
3513 # We need awk for the "check" target. The system "awk" is bad on
3514 # some platforms.
3515 # Always define AMTAR for backward compatibility.
3516
3517 AMTAR=${AMTAR-"${am_missing_run}tar"}
3518
3519 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3520
3521
3522
3523
3524
3525
3526
3527
3528 # -fno-builtin must be present here so that a non-conflicting form of
3529 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3530
3531 save_CXXFLAGS="$CXXFLAGS"
3532 CXXFLAGS="$CXXFLAGS -fno-builtin"
3533 ac_ext=c
3534 ac_cpp='$CPP $CPPFLAGS'
3535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_CC+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3545 else
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC="$CC" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3551 do
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 break 2
3559 fi
3560 done
3561 done
3562 IFS=$as_save_IFS
3563
3564 fi
3565 fi
3566 CC=$ac_cv_prog_CC
3567 if test -n "$CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3569 $as_echo "$CC" >&6; }
3570 else
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 fi
3574
3575
3576 fi
3577 if test -z "$ac_cv_prog_CC"; then
3578 ac_ct_CC=$CC
3579 # Extract the first word of "gcc", so it can be a program name with args.
3580 set dummy gcc; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3584 $as_echo_n "(cached) " >&6
3585 else
3586 if test -n "$ac_ct_CC"; then
3587 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592 IFS=$as_save_IFS
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_ac_ct_CC="gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 break 2
3599 fi
3600 done
3601 done
3602 IFS=$as_save_IFS
3603
3604 fi
3605 fi
3606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3607 if test -n "$ac_ct_CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3609 $as_echo "$ac_ct_CC" >&6; }
3610 else
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 fi
3614
3615 if test "x$ac_ct_CC" = x; then
3616 CC=""
3617 else
3618 case $cross_compiling:$ac_tool_warned in
3619 yes:)
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned=yes ;;
3623 esac
3624 CC=$ac_ct_CC
3625 fi
3626 else
3627 CC="$ac_cv_prog_CC"
3628 fi
3629
3630 if test -z "$CC"; then
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}cc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}cc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3652 fi
3653 done
3654 done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669 fi
3670 fi
3671 if test -z "$CC"; then
3672 # Extract the first word of "cc", so it can be a program name with args.
3673 set dummy cc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC="$CC" # Let the user override the test.
3681 else
3682 ac_prog_rejected=no
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 for as_dir in $PATH
3685 do
3686 IFS=$as_save_IFS
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3691 ac_prog_rejected=yes
3692 continue
3693 fi
3694 ac_cv_prog_CC="cc"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 break 2
3697 fi
3698 done
3699 done
3700 IFS=$as_save_IFS
3701
3702 if test $ac_prog_rejected = yes; then
3703 # We found a bogon in the path, so make sure we never use it.
3704 set dummy $ac_cv_prog_CC
3705 shift
3706 if test $# != 0; then
3707 # We chose a different compiler from the bogus one.
3708 # However, it has the same basename, so the bogon will be chosen
3709 # first if we set CC to just the basename; use the full file name.
3710 shift
3711 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3712 fi
3713 fi
3714 fi
3715 fi
3716 CC=$ac_cv_prog_CC
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3720 else
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3723 fi
3724
3725
3726 fi
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 for ac_prog in cl.exe
3730 do
3731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if test "${ac_cv_prog_CC+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3737 else
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC="$CC" # Let the user override the test.
3740 else
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3743 do
3744 IFS=$as_save_IFS
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 break 2
3751 fi
3752 done
3753 done
3754 IFS=$as_save_IFS
3755
3756 fi
3757 fi
3758 CC=$ac_cv_prog_CC
3759 if test -n "$CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3765 fi
3766
3767
3768 test -n "$CC" && break
3769 done
3770 fi
3771 if test -z "$CC"; then
3772 ac_ct_CC=$CC
3773 for ac_prog in cl.exe
3774 do
3775 # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 set dummy $ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test -n "$ac_ct_CC"; then
3783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3787 do
3788 IFS=$as_save_IFS
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_ac_ct_CC="$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 break 2
3795 fi
3796 done
3797 done
3798 IFS=$as_save_IFS
3799
3800 fi
3801 fi
3802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3809 fi
3810
3811
3812 test -n "$ac_ct_CC" && break
3813 done
3814
3815 if test "x$ac_ct_CC" = x; then
3816 CC=""
3817 else
3818 case $cross_compiling:$ac_tool_warned in
3819 yes:)
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3822 ac_tool_warned=yes ;;
3823 esac
3824 CC=$ac_ct_CC
3825 fi
3826 fi
3827
3828 fi
3829
3830
3831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error "no acceptable C compiler found in \$PATH
3834 See \`config.log' for more details." "$LINENO" 5; }
3835
3836 # Provide some information about the compiler.
3837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3838 set X $ac_compile
3839 ac_compiler=$2
3840 for ac_option in --version -v -V -qversion; do
3841 { { ac_try="$ac_compiler $ac_option >&5"
3842 case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3845 esac
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3849 ac_status=$?
3850 if test -s conftest.err; then
3851 sed '10a\
3852 ... rest of stderr output deleted ...
3853 10q' conftest.err >conftest.er1
3854 cat conftest.er1 >&5
3855 rm -f conftest.er1 conftest.err
3856 fi
3857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858 test $ac_status = 0; }
3859 done
3860
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3863
3864 int
3865 main ()
3866 {
3867
3868 ;
3869 return 0;
3870 }
3871 _ACEOF
3872 # FIXME: Cleanup?
3873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3874 (eval $ac_link) 2>&5
3875 ac_status=$?
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; then :
3878 gcc_no_link=no
3879 else
3880 gcc_no_link=yes
3881 fi
3882 if test x$gcc_no_link = xyes; then
3883 # Setting cross_compile will disable run tests; it will
3884 # also disable AC_CHECK_FILE but that's generally
3885 # correct if we can't link.
3886 cross_compiling=yes
3887 EXEEXT=
3888 else
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3891
3892 int
3893 main ()
3894 {
3895
3896 ;
3897 return 0;
3898 }
3899 _ACEOF
3900 ac_clean_files_save=$ac_clean_files
3901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3902 # Try to create an executable without -o first, disregard a.out.
3903 # It will help us diagnose broken compilers, and finding out an intuition
3904 # of exeext.
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3906 $as_echo_n "checking for C compiler default output file name... " >&6; }
3907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3908
3909 # The possible output files:
3910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3911
3912 ac_rmfiles=
3913 for ac_file in $ac_files
3914 do
3915 case $ac_file in
3916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3918 esac
3919 done
3920 rm -f $ac_rmfiles
3921
3922 if { { ac_try="$ac_link_default"
3923 case "(($ac_try" in
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3926 esac
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_link_default") 2>&5
3930 ac_status=$?
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3936 # so that the user can short-circuit this test for compilers unknown to
3937 # Autoconf.
3938 for ac_file in $ac_files ''
3939 do
3940 test -f "$ac_file" || continue
3941 case $ac_file in
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3943 ;;
3944 [ab].out )
3945 # We found the default executable, but exeext='' is most
3946 # certainly right.
3947 break;;
3948 *.* )
3949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3950 then :; else
3951 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3952 fi
3953 # We set ac_cv_exeext here because the later test for it is not
3954 # safe: cross compilers may not add the suffix if given an `-o'
3955 # argument, so we may need to know it at that point already.
3956 # Even if this section looks crufty: it has the advantage of
3957 # actually working.
3958 break;;
3959 * )
3960 break;;
3961 esac
3962 done
3963 test "$ac_cv_exeext" = no && ac_cv_exeext=
3964
3965 else
3966 ac_file=''
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 if test -z "$ac_file"; then :
3971 $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3973
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 { as_fn_set_status 77
3977 as_fn_error "C compiler cannot create executables
3978 See \`config.log' for more details." "$LINENO" 5; }; }
3979 fi
3980 ac_exeext=$ac_cv_exeext
3981
3982 # Check that the compiler produces executables we can run. If not, either
3983 # the compiler is broken, or we cross compile.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3985 $as_echo_n "checking whether the C compiler works... " >&6; }
3986 # If not cross compiling, check that we can run a simple program.
3987 if test "$cross_compiling" != yes; then
3988 if { ac_try='./$ac_file'
3989 { { case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_try") 2>&5
3996 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; }; then
3999 cross_compiling=no
4000 else
4001 if test "$cross_compiling" = maybe; then
4002 cross_compiling=yes
4003 else
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error "cannot run C compiled programs.
4007 If you meant to cross compile, use \`--host'.
4008 See \`config.log' for more details." "$LINENO" 5; }
4009 fi
4010 fi
4011 fi
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4014
4015 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4016 ac_clean_files=$ac_clean_files_save
4017 # Check that the compiler produces executables we can run. If not, either
4018 # the compiler is broken, or we cross compile.
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 $as_echo_n "checking whether we are cross compiling... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4023
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4027 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4040 # `rm'.
4041 for ac_file in conftest.exe conftest conftest.*; do
4042 test -f "$ac_file" || continue
4043 case $ac_file in
4044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 break;;
4047 * ) break;;
4048 esac
4049 done
4050 else
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error "cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details." "$LINENO" 5; }
4055 fi
4056 rm -f conftest$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4059
4060 rm -f conftest.$ac_ext
4061 EXEEXT=$ac_cv_exeext
4062 ac_exeext=$EXEEXT
4063 fi
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 $as_echo_n "checking for suffix of object files... " >&6; }
4066 if test "${ac_cv_objext+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4071
4072 int
4073 main ()
4074 {
4075
4076 ;
4077 return 0;
4078 }
4079 _ACEOF
4080 rm -f conftest.o conftest.obj
4081 if { { ac_try="$ac_compile"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compile") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 for ac_file in conftest.o conftest.obj conftest.*; do
4093 test -f "$ac_file" || continue;
4094 case $ac_file in
4095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4097 break;;
4098 esac
4099 done
4100 else
4101 $as_echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4103
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error "cannot compute suffix of object files: cannot compile
4107 See \`config.log' for more details." "$LINENO" 5; }
4108 fi
4109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 $as_echo "$ac_cv_objext" >&6; }
4113 OBJEXT=$ac_cv_objext
4114 ac_objext=$OBJEXT
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4119 else
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4122
4123 int
4124 main ()
4125 {
4126 #ifndef __GNUC__
4127 choke me
4128 #endif
4129
4130 ;
4131 return 0;
4132 }
4133 _ACEOF
4134 if ac_fn_c_try_compile "$LINENO"; then :
4135 ac_compiler_gnu=yes
4136 else
4137 ac_compiler_gnu=no
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4141
4142 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 if test $ac_compiler_gnu = yes; then
4146 GCC=yes
4147 else
4148 GCC=
4149 fi
4150 ac_test_CFLAGS=${CFLAGS+set}
4151 ac_save_CFLAGS=$CFLAGS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4154 if test "${ac_cv_prog_cc_g+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 ac_save_c_werror_flag=$ac_c_werror_flag
4158 ac_c_werror_flag=yes
4159 ac_cv_prog_cc_g=no
4160 CFLAGS="-g"
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4163
4164 int
4165 main ()
4166 {
4167
4168 ;
4169 return 0;
4170 }
4171 _ACEOF
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_cv_prog_cc_g=yes
4174 else
4175 CFLAGS=""
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4178
4179 int
4180 main ()
4181 {
4182
4183 ;
4184 return 0;
4185 }
4186 _ACEOF
4187 if ac_fn_c_try_compile "$LINENO"; then :
4188
4189 else
4190 ac_c_werror_flag=$ac_save_c_werror_flag
4191 CFLAGS="-g"
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194
4195 int
4196 main ()
4197 {
4198
4199 ;
4200 return 0;
4201 }
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_cv_prog_cc_g=yes
4205 fi
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 fi
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4212 fi
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4214 $as_echo "$ac_cv_prog_cc_g" >&6; }
4215 if test "$ac_test_CFLAGS" = set; then
4216 CFLAGS=$ac_save_CFLAGS
4217 elif test $ac_cv_prog_cc_g = yes; then
4218 if test "$GCC" = yes; then
4219 CFLAGS="-g -O2"
4220 else
4221 CFLAGS="-g"
4222 fi
4223 else
4224 if test "$GCC" = yes; then
4225 CFLAGS="-O2"
4226 else
4227 CFLAGS=
4228 fi
4229 fi
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4232 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4233 $as_echo_n "(cached) " >&6
4234 else
4235 ac_cv_prog_cc_c89=no
4236 ac_save_CC=$CC
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <stdarg.h>
4240 #include <stdio.h>
4241 #include <sys/types.h>
4242 #include <sys/stat.h>
4243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4244 struct buf { int x; };
4245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4246 static char *e (p, i)
4247 char **p;
4248 int i;
4249 {
4250 return p[i];
4251 }
4252 static char *f (char * (*g) (char **, int), char **p, ...)
4253 {
4254 char *s;
4255 va_list v;
4256 va_start (v,p);
4257 s = g (p, va_arg (v,int));
4258 va_end (v);
4259 return s;
4260 }
4261
4262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4263 function prototypes and stuff, but not '\xHH' hex character constants.
4264 These don't provoke an error unfortunately, instead are silently treated
4265 as 'x'. The following induces an error, until -std is added to get
4266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4267 array size at least. It's necessary to write '\x00'==0 to get something
4268 that's true only with -std. */
4269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4270
4271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4272 inside strings and character constants. */
4273 #define FOO(x) 'x'
4274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4275
4276 int test (int i, double x);
4277 struct s1 {int (*f) (int a);};
4278 struct s2 {int (*f) (double a);};
4279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4280 int argc;
4281 char **argv;
4282 int
4283 main ()
4284 {
4285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4286 ;
4287 return 0;
4288 }
4289 _ACEOF
4290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4292 do
4293 CC="$ac_save_CC $ac_arg"
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_c89=$ac_arg
4296 fi
4297 rm -f core conftest.err conftest.$ac_objext
4298 test "x$ac_cv_prog_cc_c89" != "xno" && break
4299 done
4300 rm -f conftest.$ac_ext
4301 CC=$ac_save_CC
4302
4303 fi
4304 # AC_CACHE_VAL
4305 case "x$ac_cv_prog_cc_c89" in
4306 x)
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4308 $as_echo "none needed" >&6; } ;;
4309 xno)
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4311 $as_echo "unsupported" >&6; } ;;
4312 *)
4313 CC="$CC $ac_cv_prog_cc_c89"
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 esac
4317 if test "x$ac_cv_prog_cc_c89" != xno; then :
4318
4319 fi
4320
4321 ac_ext=c
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326
4327 ac_ext=cpp
4328 ac_cpp='$CXXCPP $CPPFLAGS'
4329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4332 if test -z "$CXX"; then
4333 if test -n "$CCC"; then
4334 CXX=$CCC
4335 else
4336 if test -n "$ac_tool_prefix"; then
4337 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4338 do
4339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if test "${ac_cv_prog_CXX+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 if test -n "$CXX"; then
4347 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4348 else
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 for as_dir in $PATH
4351 do
4352 IFS=$as_save_IFS
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4356 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 break 2
4359 fi
4360 done
4361 done
4362 IFS=$as_save_IFS
4363
4364 fi
4365 fi
4366 CXX=$ac_cv_prog_CXX
4367 if test -n "$CXX"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4369 $as_echo "$CXX" >&6; }
4370 else
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4373 fi
4374
4375
4376 test -n "$CXX" && break
4377 done
4378 fi
4379 if test -z "$CXX"; then
4380 ac_ct_CXX=$CXX
4381 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4382 do
4383 # Extract the first word of "$ac_prog", so it can be a program name with args.
4384 set dummy $ac_prog; ac_word=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4388 $as_echo_n "(cached) " >&6
4389 else
4390 if test -n "$ac_ct_CXX"; then
4391 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4392 else
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH
4395 do
4396 IFS=$as_save_IFS
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_ac_ct_CXX="$ac_prog"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 break 2
4403 fi
4404 done
4405 done
4406 IFS=$as_save_IFS
4407
4408 fi
4409 fi
4410 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4411 if test -n "$ac_ct_CXX"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4413 $as_echo "$ac_ct_CXX" >&6; }
4414 else
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4417 fi
4418
4419
4420 test -n "$ac_ct_CXX" && break
4421 done
4422
4423 if test "x$ac_ct_CXX" = x; then
4424 CXX="g++"
4425 else
4426 case $cross_compiling:$ac_tool_warned in
4427 yes:)
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430 ac_tool_warned=yes ;;
4431 esac
4432 CXX=$ac_ct_CXX
4433 fi
4434 fi
4435
4436 fi
4437 fi
4438 # Provide some information about the compiler.
4439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4440 set X $ac_compile
4441 ac_compiler=$2
4442 for ac_option in --version -v -V -qversion; do
4443 { { ac_try="$ac_compiler $ac_option >&5"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4451 ac_status=$?
4452 if test -s conftest.err; then
4453 sed '10a\
4454 ... rest of stderr output deleted ...
4455 10q' conftest.err >conftest.er1
4456 cat conftest.er1 >&5
4457 rm -f conftest.er1 conftest.err
4458 fi
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }
4461 done
4462
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4464 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4465 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4470
4471 int
4472 main ()
4473 {
4474 #ifndef __GNUC__
4475 choke me
4476 #endif
4477
4478 ;
4479 return 0;
4480 }
4481 _ACEOF
4482 if ac_fn_cxx_try_compile "$LINENO"; then :
4483 ac_compiler_gnu=yes
4484 else
4485 ac_compiler_gnu=no
4486 fi
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4489
4490 fi
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4492 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4493 if test $ac_compiler_gnu = yes; then
4494 GXX=yes
4495 else
4496 GXX=
4497 fi
4498 ac_test_CXXFLAGS=${CXXFLAGS+set}
4499 ac_save_CXXFLAGS=$CXXFLAGS
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4501 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4502 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4504 else
4505 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4506 ac_cxx_werror_flag=yes
4507 ac_cv_prog_cxx_g=no
4508 CXXFLAGS="-g"
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511
4512 int
4513 main ()
4514 {
4515
4516 ;
4517 return 0;
4518 }
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_cv_prog_cxx_g=yes
4522 else
4523 CXXFLAGS=""
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526
4527 int
4528 main ()
4529 {
4530
4531 ;
4532 return 0;
4533 }
4534 _ACEOF
4535 if ac_fn_cxx_try_compile "$LINENO"; then :
4536
4537 else
4538 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4539 CXXFLAGS="-g"
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4542
4543 int
4544 main ()
4545 {
4546
4547 ;
4548 return 0;
4549 }
4550 _ACEOF
4551 if ac_fn_cxx_try_compile "$LINENO"; then :
4552 ac_cv_prog_cxx_g=yes
4553 fi
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 fi
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 fi
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4560 fi
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4562 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4563 if test "$ac_test_CXXFLAGS" = set; then
4564 CXXFLAGS=$ac_save_CXXFLAGS
4565 elif test $ac_cv_prog_cxx_g = yes; then
4566 if test "$GXX" = yes; then
4567 CXXFLAGS="-g -O2"
4568 else
4569 CXXFLAGS="-g"
4570 fi
4571 else
4572 if test "$GXX" = yes; then
4573 CXXFLAGS="-O2"
4574 else
4575 CXXFLAGS=
4576 fi
4577 fi
4578 ac_ext=c
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4583
4584 CXXFLAGS="$save_CXXFLAGS"
4585
4586 # Runs configure.host, and assorted other critical bits. Sets
4587 # up critical shell variables.
4588
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4595 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4596 # On Suns, sometimes $CPP names a directory.
4597 if test -n "$CPP" && test -d "$CPP"; then
4598 CPP=
4599 fi
4600 if test -z "$CPP"; then
4601 if test "${ac_cv_prog_CPP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4603 else
4604 # Double quotes because CPP needs to be expanded
4605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4606 do
4607 ac_preproc_ok=false
4608 for ac_c_preproc_warn_flag in '' yes
4609 do
4610 # Use a header file that comes with gcc, so configuring glibc
4611 # with a fresh cross-compiler works.
4612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4613 # <limits.h> exists even on freestanding compilers.
4614 # On the NeXT, cc -E runs the code through the compiler's parser,
4615 # not just through cpp. "Syntax error" is here to catch this case.
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4618 #ifdef __STDC__
4619 # include <limits.h>
4620 #else
4621 # include <assert.h>
4622 #endif
4623 Syntax error
4624 _ACEOF
4625 if ac_fn_c_try_cpp "$LINENO"; then :
4626
4627 else
4628 # Broken: fails on valid input.
4629 continue
4630 fi
4631 rm -f conftest.err conftest.$ac_ext
4632
4633 # OK, works on sane cases. Now check whether nonexistent headers
4634 # can be detected and how.
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637 #include <ac_nonexistent.h>
4638 _ACEOF
4639 if ac_fn_c_try_cpp "$LINENO"; then :
4640 # Broken: success on invalid input.
4641 continue
4642 else
4643 # Passes both tests.
4644 ac_preproc_ok=:
4645 break
4646 fi
4647 rm -f conftest.err conftest.$ac_ext
4648
4649 done
4650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4651 rm -f conftest.err conftest.$ac_ext
4652 if $ac_preproc_ok; then :
4653 break
4654 fi
4655
4656 done
4657 ac_cv_prog_CPP=$CPP
4658
4659 fi
4660 CPP=$ac_cv_prog_CPP
4661 else
4662 ac_cv_prog_CPP=$CPP
4663 fi
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4665 $as_echo "$CPP" >&6; }
4666 ac_preproc_ok=false
4667 for ac_c_preproc_warn_flag in '' yes
4668 do
4669 # Use a header file that comes with gcc, so configuring glibc
4670 # with a fresh cross-compiler works.
4671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4672 # <limits.h> exists even on freestanding compilers.
4673 # On the NeXT, cc -E runs the code through the compiler's parser,
4674 # not just through cpp. "Syntax error" is here to catch this case.
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4677 #ifdef __STDC__
4678 # include <limits.h>
4679 #else
4680 # include <assert.h>
4681 #endif
4682 Syntax error
4683 _ACEOF
4684 if ac_fn_c_try_cpp "$LINENO"; then :
4685
4686 else
4687 # Broken: fails on valid input.
4688 continue
4689 fi
4690 rm -f conftest.err conftest.$ac_ext
4691
4692 # OK, works on sane cases. Now check whether nonexistent headers
4693 # can be detected and how.
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 #include <ac_nonexistent.h>
4697 _ACEOF
4698 if ac_fn_c_try_cpp "$LINENO"; then :
4699 # Broken: success on invalid input.
4700 continue
4701 else
4702 # Passes both tests.
4703 ac_preproc_ok=:
4704 break
4705 fi
4706 rm -f conftest.err conftest.$ac_ext
4707
4708 done
4709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4710 rm -f conftest.err conftest.$ac_ext
4711 if $ac_preproc_ok; then :
4712
4713 else
4714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4716 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4717 See \`config.log' for more details." "$LINENO" 5; }
4718 fi
4719
4720 ac_ext=c
4721 ac_cpp='$CPP $CPPFLAGS'
4722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4725
4726
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4728 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4729 if test "${ac_cv_path_GREP+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4731 else
4732 if test -z "$GREP"; then
4733 ac_path_GREP_found=false
4734 # Loop through the user's path and test for each of PROGNAME-LIST
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4737 do
4738 IFS=$as_save_IFS
4739 test -z "$as_dir" && as_dir=.
4740 for ac_prog in grep ggrep; do
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4743 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4744 # Check for GNU ac_path_GREP and select it if it is found.
4745 # Check for GNU $ac_path_GREP
4746 case `"$ac_path_GREP" --version 2>&1` in
4747 *GNU*)
4748 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4749 *)
4750 ac_count=0
4751 $as_echo_n 0123456789 >"conftest.in"
4752 while :
4753 do
4754 cat "conftest.in" "conftest.in" >"conftest.tmp"
4755 mv "conftest.tmp" "conftest.in"
4756 cp "conftest.in" "conftest.nl"
4757 $as_echo 'GREP' >> "conftest.nl"
4758 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4760 as_fn_arith $ac_count + 1 && ac_count=$as_val
4761 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4762 # Best one so far, save it but keep looking for a better one
4763 ac_cv_path_GREP="$ac_path_GREP"
4764 ac_path_GREP_max=$ac_count
4765 fi
4766 # 10*(2^10) chars as input seems more than enough
4767 test $ac_count -gt 10 && break
4768 done
4769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4770 esac
4771
4772 $ac_path_GREP_found && break 3
4773 done
4774 done
4775 done
4776 IFS=$as_save_IFS
4777 if test -z "$ac_cv_path_GREP"; then
4778 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4779 fi
4780 else
4781 ac_cv_path_GREP=$GREP
4782 fi
4783
4784 fi
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4786 $as_echo "$ac_cv_path_GREP" >&6; }
4787 GREP="$ac_cv_path_GREP"
4788
4789
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4791 $as_echo_n "checking for egrep... " >&6; }
4792 if test "${ac_cv_path_EGREP+set}" = set; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4796 then ac_cv_path_EGREP="$GREP -E"
4797 else
4798 if test -z "$EGREP"; then
4799 ac_path_EGREP_found=false
4800 # Loop through the user's path and test for each of PROGNAME-LIST
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4803 do
4804 IFS=$as_save_IFS
4805 test -z "$as_dir" && as_dir=.
4806 for ac_prog in egrep; do
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4810 # Check for GNU ac_path_EGREP and select it if it is found.
4811 # Check for GNU $ac_path_EGREP
4812 case `"$ac_path_EGREP" --version 2>&1` in
4813 *GNU*)
4814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4815 *)
4816 ac_count=0
4817 $as_echo_n 0123456789 >"conftest.in"
4818 while :
4819 do
4820 cat "conftest.in" "conftest.in" >"conftest.tmp"
4821 mv "conftest.tmp" "conftest.in"
4822 cp "conftest.in" "conftest.nl"
4823 $as_echo 'EGREP' >> "conftest.nl"
4824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826 as_fn_arith $ac_count + 1 && ac_count=$as_val
4827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4828 # Best one so far, save it but keep looking for a better one
4829 ac_cv_path_EGREP="$ac_path_EGREP"
4830 ac_path_EGREP_max=$ac_count
4831 fi
4832 # 10*(2^10) chars as input seems more than enough
4833 test $ac_count -gt 10 && break
4834 done
4835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4836 esac
4837
4838 $ac_path_EGREP_found && break 3
4839 done
4840 done
4841 done
4842 IFS=$as_save_IFS
4843 if test -z "$ac_cv_path_EGREP"; then
4844 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4845 fi
4846 else
4847 ac_cv_path_EGREP=$EGREP
4848 fi
4849
4850 fi
4851 fi
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4853 $as_echo "$ac_cv_path_EGREP" >&6; }
4854 EGREP="$ac_cv_path_EGREP"
4855
4856
4857
4858 # Keep these sync'd with the list in Makefile.am. The first provides an
4859 # expandable list at autoconf time; the second provides an expandable list
4860 # (i.e., shell variable) at configure time.
4861
4862 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4863
4864 # These need to be absolute paths, yet at the same time need to
4865 # canonicalize only relative paths, because then amd will not unmount
4866 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4867 glibcxx_builddir=`${PWDCMD-pwd}`
4868 case $srcdir in
4869 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4870 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4871 esac
4872 toplevel_builddir=${glibcxx_builddir}/..
4873 toplevel_srcdir=${glibcxx_srcdir}/..
4874
4875
4876
4877
4878
4879 # We use these options to decide which functions to include. They are
4880 # set from the top level.
4881
4882 # Check whether --with-target-subdir was given.
4883 if test "${with_target_subdir+set}" = set; then :
4884 withval=$with_target_subdir;
4885 fi
4886
4887
4888
4889 # Check whether --with-cross-host was given.
4890 if test "${with_cross_host+set}" = set; then :
4891 withval=$with_cross_host;
4892 fi
4893
4894
4895
4896 # Check whether --with-newlib was given.
4897 if test "${with_newlib+set}" = set; then :
4898 withval=$with_newlib;
4899 fi
4900
4901
4902 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4903 # available). Uncomment the next line to force a particular method.
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4905 $as_echo_n "checking whether ln -s works... " >&6; }
4906 LN_S=$as_ln_s
4907 if test "$LN_S" = "ln -s"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4910 else
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4912 $as_echo "no, using $LN_S" >&6; }
4913 fi
4914
4915 #LN_S='cp -p'
4916
4917 if test -n "$ac_tool_prefix"; then
4918 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4919 set dummy ${ac_tool_prefix}as; ac_word=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if test "${ac_cv_prog_AS+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 if test -n "$AS"; then
4926 ac_cv_prog_AS="$AS" # Let the user override the test.
4927 else
4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4929 for as_dir in $PATH
4930 do
4931 IFS=$as_save_IFS
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_AS="${ac_tool_prefix}as"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 break 2
4938 fi
4939 done
4940 done
4941 IFS=$as_save_IFS
4942
4943 fi
4944 fi
4945 AS=$ac_cv_prog_AS
4946 if test -n "$AS"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4948 $as_echo "$AS" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 fi
4953
4954
4955 fi
4956 if test -z "$ac_cv_prog_AS"; then
4957 ac_ct_AS=$AS
4958 # Extract the first word of "as", so it can be a program name with args.
4959 set dummy as; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if test -n "$ac_ct_AS"; then
4966 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4970 do
4971 IFS=$as_save_IFS
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_ac_ct_AS="as"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 break 2
4978 fi
4979 done
4980 done
4981 IFS=$as_save_IFS
4982
4983 fi
4984 fi
4985 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4986 if test -n "$ac_ct_AS"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4988 $as_echo "$ac_ct_AS" >&6; }
4989 else
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4992 fi
4993
4994 if test "x$ac_ct_AS" = x; then
4995 AS=""
4996 else
4997 case $cross_compiling:$ac_tool_warned in
4998 yes:)
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned=yes ;;
5002 esac
5003 AS=$ac_ct_AS
5004 fi
5005 else
5006 AS="$ac_cv_prog_AS"
5007 fi
5008
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}ar; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_AR+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR="$AR" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5022 do
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_AR="${ac_tool_prefix}ar"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5030 fi
5031 done
5032 done
5033 IFS=$as_save_IFS
5034
5035 fi
5036 fi
5037 AR=$ac_cv_prog_AR
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 fi
5045
5046
5047 fi
5048 if test -z "$ac_cv_prog_AR"; then
5049 ac_ct_AR=$AR
5050 # Extract the first word of "ar", so it can be a program name with args.
5051 set dummy ar; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$ac_ct_AR"; then
5058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5062 do
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_ac_ct_AR="ar"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5070 fi
5071 done
5072 done
5073 IFS=$as_save_IFS
5074
5075 fi
5076 fi
5077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5078 if test -n "$ac_ct_AR"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5080 $as_echo "$ac_ct_AR" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 fi
5085
5086 if test "x$ac_ct_AR" = x; then
5087 AR=""
5088 else
5089 case $cross_compiling:$ac_tool_warned in
5090 yes:)
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5094 esac
5095 AR=$ac_ct_AR
5096 fi
5097 else
5098 AR="$ac_cv_prog_AR"
5099 fi
5100
5101 if test -n "$ac_tool_prefix"; then
5102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5107 $as_echo_n "(cached) " >&6
5108 else
5109 if test -n "$RANLIB"; then
5110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5111 else
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $PATH
5114 do
5115 IFS=$as_save_IFS
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 break 2
5122 fi
5123 done
5124 done
5125 IFS=$as_save_IFS
5126
5127 fi
5128 fi
5129 RANLIB=$ac_cv_prog_RANLIB
5130 if test -n "$RANLIB"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5132 $as_echo "$RANLIB" >&6; }
5133 else
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 fi
5137
5138
5139 fi
5140 if test -z "$ac_cv_prog_RANLIB"; then
5141 ac_ct_RANLIB=$RANLIB
5142 # Extract the first word of "ranlib", so it can be a program name with args.
5143 set dummy ranlib; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5149 if test -n "$ac_ct_RANLIB"; then
5150 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5154 do
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_RANLIB="ranlib"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5162 fi
5163 done
5164 done
5165 IFS=$as_save_IFS
5166
5167 fi
5168 fi
5169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5170 if test -n "$ac_ct_RANLIB"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5172 $as_echo "$ac_ct_RANLIB" >&6; }
5173 else
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5176 fi
5177
5178 if test "x$ac_ct_RANLIB" = x; then
5179 RANLIB="ranlib-not-found-in-path-error"
5180 else
5181 case $cross_compiling:$ac_tool_warned in
5182 yes:)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5186 esac
5187 RANLIB=$ac_ct_RANLIB
5188 fi
5189 else
5190 RANLIB="$ac_cv_prog_RANLIB"
5191 fi
5192
5193
5194
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5196 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5197 # Check whether --enable-maintainer-mode was given.
5198 if test "${enable_maintainer_mode+set}" = set; then :
5199 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5200 else
5201 USE_MAINTAINER_MODE=no
5202 fi
5203
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5205 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5206 if test $USE_MAINTAINER_MODE = yes; then
5207 MAINTAINER_MODE_TRUE=
5208 MAINTAINER_MODE_FALSE='#'
5209 else
5210 MAINTAINER_MODE_TRUE='#'
5211 MAINTAINER_MODE_FALSE=
5212 fi
5213
5214 MAINT=$MAINTAINER_MODE_TRUE
5215
5216
5217
5218 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5219 # which are themselves conditionally expanded.
5220 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5221 ## other macros from doing the same. This should be automated.) -pme
5222
5223 # Check for C library flavor since GNU/Linux platforms use different
5224 # configuration directories depending on the C library in use.
5225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5227
5228 #include <stdio.h>
5229 #if __UCLIBC__
5230 _using_uclibc
5231 #endif
5232
5233 _ACEOF
5234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5235 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5236 uclibc=yes
5237 else
5238 uclibc=no
5239 fi
5240 rm -f conftest*
5241
5242
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245
5246 #include <stdio.h>
5247 #if __BIONIC__
5248 _using_bionic
5249 #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5254 bionic=yes
5255 else
5256 bionic=no
5257 fi
5258 rm -f conftest*
5259
5260
5261 # Find platform-specific directories containing configuration info.
5262 # Also possibly modify flags used elsewhere, as needed by the platform.
5263
5264 . $glibcxx_srcdir/configure.host
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5266 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5268 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5269
5270
5271
5272 if test "x${with_newlib}" != "xyes"; then
5273 enable_dlopen=yes
5274
5275
5276
5277 fi
5278 case `pwd` in
5279 *\ * | *\ *)
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5281 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5282 esac
5283
5284
5285
5286 macro_version='2.2.7a'
5287 macro_revision='1.3134'
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301 ltmain="$ac_aux_dir/ltmain.sh"
5302
5303 # Backslashify metacharacters that are still active within
5304 # double-quoted strings.
5305 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5306
5307 # Same as above, but do not quote variable references.
5308 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5309
5310 # Sed substitution to delay expansion of an escaped shell variable in a
5311 # double_quote_subst'ed string.
5312 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5313
5314 # Sed substitution to delay expansion of an escaped single quote.
5315 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5316
5317 # Sed substitution to avoid accidental globbing in evaled expressions
5318 no_glob_subst='s/\*/\\\*/g'
5319
5320 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5322 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5323
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5325 $as_echo_n "checking how to print strings... " >&6; }
5326 # Test print first, because it will be a builtin if present.
5327 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5328 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5329 ECHO='print -r --'
5330 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='printf %s\n'
5332 else
5333 # Use this function as a fallback that always works.
5334 func_fallback_echo ()
5335 {
5336 eval 'cat <<_LTECHO_EOF
5337 $1
5338 _LTECHO_EOF'
5339 }
5340 ECHO='func_fallback_echo'
5341 fi
5342
5343 # func_echo_all arg...
5344 # Invoke $ECHO with all args, space-separated.
5345 func_echo_all ()
5346 {
5347 $ECHO ""
5348 }
5349
5350 case "$ECHO" in
5351 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5352 $as_echo "printf" >&6; } ;;
5353 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5354 $as_echo "print -r" >&6; } ;;
5355 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5356 $as_echo "cat" >&6; } ;;
5357 esac
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5373 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5374 if test "${ac_cv_path_SED+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5378 for ac_i in 1 2 3 4 5 6 7; do
5379 ac_script="$ac_script$as_nl$ac_script"
5380 done
5381 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5382 { ac_script=; unset ac_script;}
5383 if test -z "$SED"; then
5384 ac_path_SED_found=false
5385 # Loop through the user's path and test for each of PROGNAME-LIST
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5388 do
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_prog in sed gsed; do
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5394 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5395 # Check for GNU ac_path_SED and select it if it is found.
5396 # Check for GNU $ac_path_SED
5397 case `"$ac_path_SED" --version 2>&1` in
5398 *GNU*)
5399 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5400 *)
5401 ac_count=0
5402 $as_echo_n 0123456789 >"conftest.in"
5403 while :
5404 do
5405 cat "conftest.in" "conftest.in" >"conftest.tmp"
5406 mv "conftest.tmp" "conftest.in"
5407 cp "conftest.in" "conftest.nl"
5408 $as_echo '' >> "conftest.nl"
5409 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5410 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5411 as_fn_arith $ac_count + 1 && ac_count=$as_val
5412 if test $ac_count -gt ${ac_path_SED_max-0}; then
5413 # Best one so far, save it but keep looking for a better one
5414 ac_cv_path_SED="$ac_path_SED"
5415 ac_path_SED_max=$ac_count
5416 fi
5417 # 10*(2^10) chars as input seems more than enough
5418 test $ac_count -gt 10 && break
5419 done
5420 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421 esac
5422
5423 $ac_path_SED_found && break 3
5424 done
5425 done
5426 done
5427 IFS=$as_save_IFS
5428 if test -z "$ac_cv_path_SED"; then
5429 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5430 fi
5431 else
5432 ac_cv_path_SED=$SED
5433 fi
5434
5435 fi
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5437 $as_echo "$ac_cv_path_SED" >&6; }
5438 SED="$ac_cv_path_SED"
5439 rm -f conftest.sed
5440
5441 test -z "$SED" && SED=sed
5442 Xsed="$SED -e 1s/^X//"
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5455 $as_echo_n "checking for fgrep... " >&6; }
5456 if test "${ac_cv_path_FGREP+set}" = set; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5460 then ac_cv_path_FGREP="$GREP -F"
5461 else
5462 if test -z "$FGREP"; then
5463 ac_path_FGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467 do
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in fgrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5474 # Check for GNU ac_path_FGREP and select it if it is found.
5475 # Check for GNU $ac_path_FGREP
5476 case `"$ac_path_FGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5479 *)
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5483 do
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'FGREP' >> "conftest.nl"
5488 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_FGREP="$ac_path_FGREP"
5494 ac_path_FGREP_max=$ac_count
5495 fi
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5501
5502 $ac_path_FGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_FGREP"; then
5508 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509 fi
5510 else
5511 ac_cv_path_FGREP=$FGREP
5512 fi
5513
5514 fi
5515 fi
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5517 $as_echo "$ac_cv_path_FGREP" >&6; }
5518 FGREP="$ac_cv_path_FGREP"
5519
5520
5521 test -z "$GREP" && GREP=grep
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541 # Check whether --with-gnu-ld was given.
5542 if test "${with_gnu_ld+set}" = set; then :
5543 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5544 else
5545 with_gnu_ld=no
5546 fi
5547
5548 ac_prog=ld
5549 if test "$GCC" = yes; then
5550 # Check if gcc -print-prog-name=ld gives a path.
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5552 $as_echo_n "checking for ld used by $CC... " >&6; }
5553 case $host in
5554 *-*-mingw*)
5555 # gcc leaves a trailing carriage return which upsets mingw
5556 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5557 *)
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5559 esac
5560 case $ac_prog in
5561 # Accept absolute paths.
5562 [\\/]* | ?:[\\/]*)
5563 re_direlt='/[^/][^/]*/\.\./'
5564 # Canonicalize the pathname of ld
5565 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5566 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5567 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5568 done
5569 test -z "$LD" && LD="$ac_prog"
5570 ;;
5571 "")
5572 # If it fails, then pretend we aren't using GCC.
5573 ac_prog=ld
5574 ;;
5575 *)
5576 # If it is relative, then search for the first ld in PATH.
5577 with_gnu_ld=unknown
5578 ;;
5579 esac
5580 elif test "$with_gnu_ld" = yes; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5582 $as_echo_n "checking for GNU ld... " >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5585 $as_echo_n "checking for non-GNU ld... " >&6; }
5586 fi
5587 if test "${lt_cv_path_LD+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -z "$LD"; then
5591 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5592 for ac_dir in $PATH; do
5593 IFS="$lt_save_ifs"
5594 test -z "$ac_dir" && ac_dir=.
5595 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5596 lt_cv_path_LD="$ac_dir/$ac_prog"
5597 # Check to see if the program is GNU ld. I'd rather use --version,
5598 # but apparently some variants of GNU ld only accept -v.
5599 # Break only if it was the GNU/non-GNU ld that we prefer.
5600 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5601 *GNU* | *'with BFD'*)
5602 test "$with_gnu_ld" != no && break
5603 ;;
5604 *)
5605 test "$with_gnu_ld" != yes && break
5606 ;;
5607 esac
5608 fi
5609 done
5610 IFS="$lt_save_ifs"
5611 else
5612 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5613 fi
5614 fi
5615
5616 LD="$lt_cv_path_LD"
5617 if test -n "$LD"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5619 $as_echo "$LD" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5623 fi
5624 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5626 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5627 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5631 case `$LD -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 lt_cv_prog_gnu_ld=yes
5634 ;;
5635 *)
5636 lt_cv_prog_gnu_ld=no
5637 ;;
5638 esac
5639 fi
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5641 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5642 with_gnu_ld=$lt_cv_prog_gnu_ld
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5653 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5654 if test "${lt_cv_path_NM+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$NM"; then
5658 # Let the user override the test.
5659 lt_cv_path_NM="$NM"
5660 else
5661 lt_nm_to_check="${ac_tool_prefix}nm"
5662 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5663 lt_nm_to_check="$lt_nm_to_check nm"
5664 fi
5665 for lt_tmp_nm in $lt_nm_to_check; do
5666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5667 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5668 IFS="$lt_save_ifs"
5669 test -z "$ac_dir" && ac_dir=.
5670 tmp_nm="$ac_dir/$lt_tmp_nm"
5671 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5672 # Check to see if the nm accepts a BSD-compat flag.
5673 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5674 # nm: unknown option "B" ignored
5675 # Tru64's nm complains that /dev/null is an invalid object file
5676 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5677 */dev/null* | *'Invalid file or object type'*)
5678 lt_cv_path_NM="$tmp_nm -B"
5679 break
5680 ;;
5681 *)
5682 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5683 */dev/null*)
5684 lt_cv_path_NM="$tmp_nm -p"
5685 break
5686 ;;
5687 *)
5688 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5689 continue # so that we can try to find one that supports BSD flags
5690 ;;
5691 esac
5692 ;;
5693 esac
5694 fi
5695 done
5696 IFS="$lt_save_ifs"
5697 done
5698 : ${lt_cv_path_NM=no}
5699 fi
5700 fi
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5702 $as_echo "$lt_cv_path_NM" >&6; }
5703 if test "$lt_cv_path_NM" != "no"; then
5704 NM="$lt_cv_path_NM"
5705 else
5706 # Didn't find any BSD compatible name lister, look for dumpbin.
5707 if test -n "$DUMPBIN"; then :
5708 # Let the user override the test.
5709 else
5710 if test -n "$ac_tool_prefix"; then
5711 for ac_prog in dumpbin "link -dump"
5712 do
5713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 if test -n "$DUMPBIN"; then
5721 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5725 do
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5733 fi
5734 done
5735 done
5736 IFS=$as_save_IFS
5737
5738 fi
5739 fi
5740 DUMPBIN=$ac_cv_prog_DUMPBIN
5741 if test -n "$DUMPBIN"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5743 $as_echo "$DUMPBIN" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5747 fi
5748
5749
5750 test -n "$DUMPBIN" && break
5751 done
5752 fi
5753 if test -z "$DUMPBIN"; then
5754 ac_ct_DUMPBIN=$DUMPBIN
5755 for ac_prog in dumpbin "link -dump"
5756 do
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$ac_ct_DUMPBIN"; then
5765 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5769 do
5770 IFS=$as_save_IFS
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 break 2
5777 fi
5778 done
5779 done
5780 IFS=$as_save_IFS
5781
5782 fi
5783 fi
5784 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5785 if test -n "$ac_ct_DUMPBIN"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5787 $as_echo "$ac_ct_DUMPBIN" >&6; }
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5791 fi
5792
5793
5794 test -n "$ac_ct_DUMPBIN" && break
5795 done
5796
5797 if test "x$ac_ct_DUMPBIN" = x; then
5798 DUMPBIN=":"
5799 else
5800 case $cross_compiling:$ac_tool_warned in
5801 yes:)
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804 ac_tool_warned=yes ;;
5805 esac
5806 DUMPBIN=$ac_ct_DUMPBIN
5807 fi
5808 fi
5809
5810 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5811 *COFF*)
5812 DUMPBIN="$DUMPBIN -symbols"
5813 ;;
5814 *)
5815 DUMPBIN=:
5816 ;;
5817 esac
5818 fi
5819
5820 if test "$DUMPBIN" != ":"; then
5821 NM="$DUMPBIN"
5822 fi
5823 fi
5824 test -z "$NM" && NM=nm
5825
5826
5827
5828
5829
5830
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5832 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5833 if test "${lt_cv_nm_interface+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 lt_cv_nm_interface="BSD nm"
5837 echo "int some_variable = 0;" > conftest.$ac_ext
5838 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5839 (eval "$ac_compile" 2>conftest.err)
5840 cat conftest.err >&5
5841 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5842 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5843 cat conftest.err >&5
5844 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5845 cat conftest.out >&5
5846 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5847 lt_cv_nm_interface="MS dumpbin"
5848 fi
5849 rm -f conftest*
5850 fi
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5852 $as_echo "$lt_cv_nm_interface" >&6; }
5853
5854 # find the maximum length of command line arguments
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5856 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5857 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 i=0
5861 teststring="ABCD"
5862
5863 case $build_os in
5864 msdosdjgpp*)
5865 # On DJGPP, this test can blow up pretty badly due to problems in libc
5866 # (any single argument exceeding 2000 bytes causes a buffer overrun
5867 # during glob expansion). Even if it were fixed, the result of this
5868 # check would be larger than it should be.
5869 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5870 ;;
5871
5872 gnu*)
5873 # Under GNU Hurd, this test is not required because there is
5874 # no limit to the length of command line arguments.
5875 # Libtool will interpret -1 as no limit whatsoever
5876 lt_cv_sys_max_cmd_len=-1;
5877 ;;
5878
5879 cygwin* | mingw* | cegcc*)
5880 # On Win9x/ME, this test blows up -- it succeeds, but takes
5881 # about 5 minutes as the teststring grows exponentially.
5882 # Worse, since 9x/ME are not pre-emptively multitasking,
5883 # you end up with a "frozen" computer, even though with patience
5884 # the test eventually succeeds (with a max line length of 256k).
5885 # Instead, let's just punt: use the minimum linelength reported by
5886 # all of the supported platforms: 8192 (on NT/2K/XP).
5887 lt_cv_sys_max_cmd_len=8192;
5888 ;;
5889
5890 mint*)
5891 # On MiNT this can take a long time and run out of memory.
5892 lt_cv_sys_max_cmd_len=8192;
5893 ;;
5894
5895 amigaos*)
5896 # On AmigaOS with pdksh, this test takes hours, literally.
5897 # So we just punt and use a minimum line length of 8192.
5898 lt_cv_sys_max_cmd_len=8192;
5899 ;;
5900
5901 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5902 # This has been around since 386BSD, at least. Likely further.
5903 if test -x /sbin/sysctl; then
5904 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5905 elif test -x /usr/sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5907 else
5908 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5909 fi
5910 # And add a safety zone
5911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5913 ;;
5914
5915 interix*)
5916 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5917 lt_cv_sys_max_cmd_len=196608
5918 ;;
5919
5920 osf*)
5921 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5922 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5923 # nice to cause kernel panics so lets avoid the loop below.
5924 # First set a reasonable default.
5925 lt_cv_sys_max_cmd_len=16384
5926 #
5927 if test -x /sbin/sysconfig; then
5928 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5929 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5930 esac
5931 fi
5932 ;;
5933 sco3.2v5*)
5934 lt_cv_sys_max_cmd_len=102400
5935 ;;
5936 sysv5* | sco5v6* | sysv4.2uw2*)
5937 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5938 if test -n "$kargmax"; then
5939 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5940 else
5941 lt_cv_sys_max_cmd_len=32768
5942 fi
5943 ;;
5944 *)
5945 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5946 if test -n "$lt_cv_sys_max_cmd_len"; then
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5949 else
5950 # Make teststring a little bigger before we do anything with it.
5951 # a 1K string should be a reasonable start.
5952 for i in 1 2 3 4 5 6 7 8 ; do
5953 teststring=$teststring$teststring
5954 done
5955 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5956 # If test is not a shell built-in, we'll probably end up computing a
5957 # maximum length that is only half of the actual maximum length, but
5958 # we can't tell.
5959 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5960 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5961 test $i != 17 # 1/2 MB should be enough
5962 do
5963 i=`expr $i + 1`
5964 teststring=$teststring$teststring
5965 done
5966 # Only check the string length outside the loop.
5967 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5968 teststring=
5969 # Add a significant safety factor because C++ compilers can tack on
5970 # massive amounts of additional arguments before passing them to the
5971 # linker. It appears as though 1/2 is a usable value.
5972 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5973 fi
5974 ;;
5975 esac
5976
5977 fi
5978
5979 if test -n $lt_cv_sys_max_cmd_len ; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5981 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5984 $as_echo "none" >&6; }
5985 fi
5986 max_cmd_len=$lt_cv_sys_max_cmd_len
5987
5988
5989
5990
5991
5992
5993 : ${CP="cp -f"}
5994 : ${MV="mv -f"}
5995 : ${RM="rm -f"}
5996
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5998 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5999 # Try some XSI features
6000 xsi_shell=no
6001 ( _lt_dummy="a/b/c"
6002 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6003 = c,a/b,, \
6004 && eval 'test $(( 1 + 1 )) -eq 2 \
6005 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6006 && xsi_shell=yes
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6008 $as_echo "$xsi_shell" >&6; }
6009
6010
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6012 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6013 lt_shell_append=no
6014 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6015 >/dev/null 2>&1 \
6016 && lt_shell_append=yes
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6018 $as_echo "$lt_shell_append" >&6; }
6019
6020
6021 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6022 lt_unset=unset
6023 else
6024 lt_unset=false
6025 fi
6026
6027
6028
6029
6030
6031 # test EBCDIC or ASCII
6032 case `echo X|tr X '\101'` in
6033 A) # ASCII based system
6034 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6035 lt_SP2NL='tr \040 \012'
6036 lt_NL2SP='tr \015\012 \040\040'
6037 ;;
6038 *) # EBCDIC based system
6039 lt_SP2NL='tr \100 \n'
6040 lt_NL2SP='tr \r\n \100\100'
6041 ;;
6042 esac
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6053 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6054 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 lt_cv_ld_reload_flag='-r'
6058 fi
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6060 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6061 reload_flag=$lt_cv_ld_reload_flag
6062 case $reload_flag in
6063 "" | " "*) ;;
6064 *) reload_flag=" $reload_flag" ;;
6065 esac
6066 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6067 case $host_os in
6068 darwin*)
6069 if test "$GCC" = yes; then
6070 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6071 else
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6073 fi
6074 ;;
6075 esac
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085 if test -n "$ac_tool_prefix"; then
6086 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6087 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$OBJDUMP"; then
6094 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6098 do
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6106 fi
6107 done
6108 done
6109 IFS=$as_save_IFS
6110
6111 fi
6112 fi
6113 OBJDUMP=$ac_cv_prog_OBJDUMP
6114 if test -n "$OBJDUMP"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6116 $as_echo "$OBJDUMP" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6120 fi
6121
6122
6123 fi
6124 if test -z "$ac_cv_prog_OBJDUMP"; then
6125 ac_ct_OBJDUMP=$OBJDUMP
6126 # Extract the first word of "objdump", so it can be a program name with args.
6127 set dummy objdump; ac_word=$2
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 $as_echo_n "checking for $ac_word... " >&6; }
6130 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 if test -n "$ac_ct_OBJDUMP"; then
6134 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6135 else
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 for as_dir in $PATH
6138 do
6139 IFS=$as_save_IFS
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 break 2
6146 fi
6147 done
6148 done
6149 IFS=$as_save_IFS
6150
6151 fi
6152 fi
6153 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6154 if test -n "$ac_ct_OBJDUMP"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6156 $as_echo "$ac_ct_OBJDUMP" >&6; }
6157 else
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6160 fi
6161
6162 if test "x$ac_ct_OBJDUMP" = x; then
6163 OBJDUMP="false"
6164 else
6165 case $cross_compiling:$ac_tool_warned in
6166 yes:)
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169 ac_tool_warned=yes ;;
6170 esac
6171 OBJDUMP=$ac_ct_OBJDUMP
6172 fi
6173 else
6174 OBJDUMP="$ac_cv_prog_OBJDUMP"
6175 fi
6176
6177 test -z "$OBJDUMP" && OBJDUMP=objdump
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6189 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 lt_cv_file_magic_cmd='$MAGIC_CMD'
6193 lt_cv_file_magic_test_file=
6194 lt_cv_deplibs_check_method='unknown'
6195 # Need to set the preceding variable on all platforms that support
6196 # interlibrary dependencies.
6197 # 'none' -- dependencies not supported.
6198 # `unknown' -- same as none, but documents that we really don't know.
6199 # 'pass_all' -- all dependencies passed with no checks.
6200 # 'test_compile' -- check by making test program.
6201 # 'file_magic [[regex]]' -- check by looking for files in library path
6202 # which responds to the $file_magic_cmd with a given extended regex.
6203 # If you have `file' or equivalent on your system and you're not sure
6204 # whether `pass_all' will *always* work, you probably want this one.
6205
6206 case $host_os in
6207 aix[4-9]*)
6208 lt_cv_deplibs_check_method=pass_all
6209 ;;
6210
6211 beos*)
6212 lt_cv_deplibs_check_method=pass_all
6213 ;;
6214
6215 bsdi[45]*)
6216 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6217 lt_cv_file_magic_cmd='/usr/bin/file -L'
6218 lt_cv_file_magic_test_file=/shlib/libc.so
6219 ;;
6220
6221 cygwin*)
6222 # func_win32_libid is a shell function defined in ltmain.sh
6223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6224 lt_cv_file_magic_cmd='func_win32_libid'
6225 ;;
6226
6227 mingw* | pw32*)
6228 # Base MSYS/MinGW do not provide the 'file' command needed by
6229 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6230 # unless we find 'file', for example because we are cross-compiling.
6231 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6232 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6234 lt_cv_file_magic_cmd='func_win32_libid'
6235 else
6236 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6237 lt_cv_file_magic_cmd='$OBJDUMP -f'
6238 fi
6239 ;;
6240
6241 cegcc*)
6242 # use the weaker test based on 'objdump'. See mingw*.
6243 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6244 lt_cv_file_magic_cmd='$OBJDUMP -f'
6245 ;;
6246
6247 darwin* | rhapsody*)
6248 lt_cv_deplibs_check_method=pass_all
6249 ;;
6250
6251 freebsd* | dragonfly*)
6252 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6253 case $host_cpu in
6254 i*86 )
6255 # Not sure whether the presence of OpenBSD here was a mistake.
6256 # Let's accept both of them until this is cleared up.
6257 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6258 lt_cv_file_magic_cmd=/usr/bin/file
6259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6260 ;;
6261 esac
6262 else
6263 lt_cv_deplibs_check_method=pass_all
6264 fi
6265 ;;
6266
6267 gnu*)
6268 lt_cv_deplibs_check_method=pass_all
6269 ;;
6270
6271 haiku*)
6272 lt_cv_deplibs_check_method=pass_all
6273 ;;
6274
6275 hpux10.20* | hpux11*)
6276 lt_cv_file_magic_cmd=/usr/bin/file
6277 case $host_cpu in
6278 ia64*)
6279 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6280 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6281 ;;
6282 hppa*64*)
6283 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]'
6284 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6285 ;;
6286 *)
6287 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6288 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6289 ;;
6290 esac
6291 ;;
6292
6293 interix[3-9]*)
6294 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6296 ;;
6297
6298 irix5* | irix6* | nonstopux*)
6299 case $LD in
6300 *-32|*"-32 ") libmagic=32-bit;;
6301 *-n32|*"-n32 ") libmagic=N32;;
6302 *-64|*"-64 ") libmagic=64-bit;;
6303 *) libmagic=never-match;;
6304 esac
6305 lt_cv_deplibs_check_method=pass_all
6306 ;;
6307
6308 # This must be Linux ELF.
6309 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6310 lt_cv_deplibs_check_method=pass_all
6311 ;;
6312
6313 netbsd*)
6314 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6316 else
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6318 fi
6319 ;;
6320
6321 newos6*)
6322 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6323 lt_cv_file_magic_cmd=/usr/bin/file
6324 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6325 ;;
6326
6327 *nto* | *qnx*)
6328 lt_cv_deplibs_check_method=pass_all
6329 ;;
6330
6331 openbsd*)
6332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6334 else
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336 fi
6337 ;;
6338
6339 osf3* | osf4* | osf5*)
6340 lt_cv_deplibs_check_method=pass_all
6341 ;;
6342
6343 rdos*)
6344 lt_cv_deplibs_check_method=pass_all
6345 ;;
6346
6347 solaris*)
6348 lt_cv_deplibs_check_method=pass_all
6349 ;;
6350
6351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6352 lt_cv_deplibs_check_method=pass_all
6353 ;;
6354
6355 sysv4 | sysv4.3*)
6356 case $host_vendor in
6357 motorola)
6358 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]'
6359 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6360 ;;
6361 ncr)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364 sequent)
6365 lt_cv_file_magic_cmd='/bin/file'
6366 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6367 ;;
6368 sni)
6369 lt_cv_file_magic_cmd='/bin/file'
6370 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6371 lt_cv_file_magic_test_file=/lib/libc.so
6372 ;;
6373 siemens)
6374 lt_cv_deplibs_check_method=pass_all
6375 ;;
6376 pc)
6377 lt_cv_deplibs_check_method=pass_all
6378 ;;
6379 esac
6380 ;;
6381
6382 tpf*)
6383 lt_cv_deplibs_check_method=pass_all
6384 ;;
6385 esac
6386
6387 fi
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6389 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6390 file_magic_cmd=$lt_cv_file_magic_cmd
6391 deplibs_check_method=$lt_cv_deplibs_check_method
6392 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405 if test -n "$ac_tool_prefix"; then
6406 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6407 set dummy ${ac_tool_prefix}ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if test "${ac_cv_prog_AR+set}" = set; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$AR"; then
6414 ac_cv_prog_AR="$AR" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_AR="${ac_tool_prefix}ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6426 fi
6427 done
6428 done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 AR=$ac_cv_prog_AR
6434 if test -n "$AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6436 $as_echo "$AR" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442
6443 fi
6444 if test -z "$ac_cv_prog_AR"; then
6445 ac_ct_AR=$AR
6446 # Extract the first word of "ar", so it can be a program name with args.
6447 set dummy ar; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 if test -n "$ac_ct_AR"; then
6454 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6458 do
6459 IFS=$as_save_IFS
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6463 ac_cv_prog_ac_ct_AR="ar"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 break 2
6466 fi
6467 done
6468 done
6469 IFS=$as_save_IFS
6470
6471 fi
6472 fi
6473 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6474 if test -n "$ac_ct_AR"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6476 $as_echo "$ac_ct_AR" >&6; }
6477 else
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6480 fi
6481
6482 if test "x$ac_ct_AR" = x; then
6483 AR="false"
6484 else
6485 case $cross_compiling:$ac_tool_warned in
6486 yes:)
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6489 ac_tool_warned=yes ;;
6490 esac
6491 AR=$ac_ct_AR
6492 fi
6493 else
6494 AR="$ac_cv_prog_AR"
6495 fi
6496
6497 test -z "$AR" && AR=ar
6498 test -z "$AR_FLAGS" && AR_FLAGS=cru
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_STRIP+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$STRIP"; then
6519 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6531 fi
6532 done
6533 done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 STRIP=$ac_cv_prog_STRIP
6539 if test -n "$STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6541 $as_echo "$STRIP" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547
6548 fi
6549 if test -z "$ac_cv_prog_STRIP"; then
6550 ac_ct_STRIP=$STRIP
6551 # Extract the first word of "strip", so it can be a program name with args.
6552 set dummy strip; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 if test -n "$ac_ct_STRIP"; then
6559 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6563 do
6564 IFS=$as_save_IFS
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_STRIP="strip"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 break 2
6571 fi
6572 done
6573 done
6574 IFS=$as_save_IFS
6575
6576 fi
6577 fi
6578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6579 if test -n "$ac_ct_STRIP"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6581 $as_echo "$ac_ct_STRIP" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6585 fi
6586
6587 if test "x$ac_ct_STRIP" = x; then
6588 STRIP=":"
6589 else
6590 case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596 STRIP=$ac_ct_STRIP
6597 fi
6598 else
6599 STRIP="$ac_cv_prog_STRIP"
6600 fi
6601
6602 test -z "$STRIP" && STRIP=:
6603
6604
6605
6606
6607
6608
6609 if test -n "$ac_tool_prefix"; then
6610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$RANLIB"; then
6618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6622 do
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6630 fi
6631 done
6632 done
6633 IFS=$as_save_IFS
6634
6635 fi
6636 fi
6637 RANLIB=$ac_cv_prog_RANLIB
6638 if test -n "$RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6640 $as_echo "$RANLIB" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6644 fi
6645
6646
6647 fi
6648 if test -z "$ac_cv_prog_RANLIB"; then
6649 ac_ct_RANLIB=$RANLIB
6650 # Extract the first word of "ranlib", so it can be a program name with args.
6651 set dummy ranlib; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$ac_ct_RANLIB"; then
6658 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6662 do
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6667 ac_cv_prog_ac_ct_RANLIB="ranlib"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6670 fi
6671 done
6672 done
6673 IFS=$as_save_IFS
6674
6675 fi
6676 fi
6677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6678 if test -n "$ac_ct_RANLIB"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6680 $as_echo "$ac_ct_RANLIB" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6684 fi
6685
6686 if test "x$ac_ct_RANLIB" = x; then
6687 RANLIB=":"
6688 else
6689 case $cross_compiling:$ac_tool_warned in
6690 yes:)
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6693 ac_tool_warned=yes ;;
6694 esac
6695 RANLIB=$ac_ct_RANLIB
6696 fi
6697 else
6698 RANLIB="$ac_cv_prog_RANLIB"
6699 fi
6700
6701 test -z "$RANLIB" && RANLIB=:
6702
6703
6704
6705
6706
6707
6708 # Determine commands to create old-style static archives.
6709 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6710 old_postinstall_cmds='chmod 644 $oldlib'
6711 old_postuninstall_cmds=
6712
6713 if test -n "$RANLIB"; then
6714 case $host_os in
6715 openbsd*)
6716 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6717 ;;
6718 *)
6719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6720 ;;
6721 esac
6722 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6723 fi
6724
6725 case $host_os in
6726 darwin*)
6727 lock_old_archive_extraction=yes ;;
6728 *)
6729 lock_old_archive_extraction=no ;;
6730 esac
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770 # If no C compiler was specified, use CC.
6771 LTCC=${LTCC-"$CC"}
6772
6773 # If no C compiler flags were specified, use CFLAGS.
6774 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6775
6776 # Allow CC to be a program name with arguments.
6777 compiler=$CC
6778
6779
6780 # Check for command to grab the raw symbol name followed by C symbol from nm.
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6782 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6783 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6784 $as_echo_n "(cached) " >&6
6785 else
6786
6787 # These are sane defaults that work on at least a few old systems.
6788 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6789
6790 # Character class describing NM global symbol codes.
6791 symcode='[BCDEGRST]'
6792
6793 # Regexp to match symbols that can be accessed directly from C.
6794 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6795
6796 # Define system-specific variables.
6797 case $host_os in
6798 aix*)
6799 symcode='[BCDT]'
6800 ;;
6801 cygwin* | mingw* | pw32* | cegcc*)
6802 symcode='[ABCDGISTW]'
6803 ;;
6804 hpux*)
6805 if test "$host_cpu" = ia64; then
6806 symcode='[ABCDEGRST]'
6807 fi
6808 ;;
6809 irix* | nonstopux*)
6810 symcode='[BCDEGRST]'
6811 ;;
6812 osf*)
6813 symcode='[BCDEGQRST]'
6814 ;;
6815 solaris*)
6816 symcode='[BDRT]'
6817 ;;
6818 sco3.2v5*)
6819 symcode='[DT]'
6820 ;;
6821 sysv4.2uw2*)
6822 symcode='[DT]'
6823 ;;
6824 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6825 symcode='[ABDT]'
6826 ;;
6827 sysv4)
6828 symcode='[DFNSTU]'
6829 ;;
6830 esac
6831
6832 # If we're using GNU nm, then use its standard symbol codes.
6833 case `$NM -V 2>&1` in
6834 *GNU* | *'with BFD'*)
6835 symcode='[ABCDGIRSTW]' ;;
6836 esac
6837
6838 # Transform an extracted symbol line into a proper C declaration.
6839 # Some systems (esp. on ia64) link data and code symbols differently,
6840 # so use this general approach.
6841 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6842
6843 # Transform an extracted symbol line into symbol name and symbol address
6844 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6845 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'"
6846
6847 # Handle CRLF in mingw tool chain
6848 opt_cr=
6849 case $build_os in
6850 mingw*)
6851 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6852 ;;
6853 esac
6854
6855 # Try without a prefix underscore, then with it.
6856 for ac_symprfx in "" "_"; do
6857
6858 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6859 symxfrm="\\1 $ac_symprfx\\2 \\2"
6860
6861 # Write the raw and C identifiers.
6862 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6863 # Fake it for dumpbin and say T for any non-static function
6864 # and D for any global variable.
6865 # Also find C++ and __fastcall symbols from MSVC++,
6866 # which start with @ or ?.
6867 lt_cv_sys_global_symbol_pipe="$AWK '"\
6868 " {last_section=section; section=\$ 3};"\
6869 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6870 " \$ 0!~/External *\|/{next};"\
6871 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6872 " {if(hide[section]) next};"\
6873 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6874 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6875 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6876 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6877 " ' prfx=^$ac_symprfx"
6878 else
6879 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6880 fi
6881
6882 # Check to see that the pipe works correctly.
6883 pipe_works=no
6884
6885 rm -f conftest*
6886 cat > conftest.$ac_ext <<_LT_EOF
6887 #ifdef __cplusplus
6888 extern "C" {
6889 #endif
6890 char nm_test_var;
6891 void nm_test_func(void);
6892 void nm_test_func(void){}
6893 #ifdef __cplusplus
6894 }
6895 #endif
6896 int main(){nm_test_var='a';nm_test_func();return(0);}
6897 _LT_EOF
6898
6899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6900 (eval $ac_compile) 2>&5
6901 ac_status=$?
6902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6903 test $ac_status = 0; }; then
6904 # Now try to grab the symbols.
6905 nlist=conftest.nm
6906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6907 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6908 ac_status=$?
6909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6910 test $ac_status = 0; } && test -s "$nlist"; then
6911 # Try sorting and uniquifying the output.
6912 if sort "$nlist" | uniq > "$nlist"T; then
6913 mv -f "$nlist"T "$nlist"
6914 else
6915 rm -f "$nlist"T
6916 fi
6917
6918 # Make sure that we snagged all the symbols we need.
6919 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6920 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6921 cat <<_LT_EOF > conftest.$ac_ext
6922 #ifdef __cplusplus
6923 extern "C" {
6924 #endif
6925
6926 _LT_EOF
6927 # Now generate the symbol file.
6928 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6929
6930 cat <<_LT_EOF >> conftest.$ac_ext
6931
6932 /* The mapping between symbol names and symbols. */
6933 const struct {
6934 const char *name;
6935 void *address;
6936 }
6937 lt__PROGRAM__LTX_preloaded_symbols[] =
6938 {
6939 { "@PROGRAM@", (void *) 0 },
6940 _LT_EOF
6941 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6942 cat <<\_LT_EOF >> conftest.$ac_ext
6943 {0, (void *) 0}
6944 };
6945
6946 /* This works around a problem in FreeBSD linker */
6947 #ifdef FREEBSD_WORKAROUND
6948 static const void *lt_preloaded_setup() {
6949 return lt__PROGRAM__LTX_preloaded_symbols;
6950 }
6951 #endif
6952
6953 #ifdef __cplusplus
6954 }
6955 #endif
6956 _LT_EOF
6957 # Now try linking the two files.
6958 mv conftest.$ac_objext conftstm.$ac_objext
6959 lt_save_LIBS="$LIBS"
6960 lt_save_CFLAGS="$CFLAGS"
6961 LIBS="conftstm.$ac_objext"
6962 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6964 (eval $ac_link) 2>&5
6965 ac_status=$?
6966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6968 pipe_works=yes
6969 fi
6970 LIBS="$lt_save_LIBS"
6971 CFLAGS="$lt_save_CFLAGS"
6972 else
6973 echo "cannot find nm_test_func in $nlist" >&5
6974 fi
6975 else
6976 echo "cannot find nm_test_var in $nlist" >&5
6977 fi
6978 else
6979 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6980 fi
6981 else
6982 echo "$progname: failed program was:" >&5
6983 cat conftest.$ac_ext >&5
6984 fi
6985 rm -rf conftest* conftst*
6986
6987 # Do not use the global_symbol_pipe unless it works.
6988 if test "$pipe_works" = yes; then
6989 break
6990 else
6991 lt_cv_sys_global_symbol_pipe=
6992 fi
6993 done
6994
6995 fi
6996
6997 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6998 lt_cv_sys_global_symbol_to_cdecl=
6999 fi
7000 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7002 $as_echo "failed" >&6; }
7003 else
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7005 $as_echo "ok" >&6; }
7006 fi
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029 # Check whether --enable-libtool-lock was given.
7030 if test "${enable_libtool_lock+set}" = set; then :
7031 enableval=$enable_libtool_lock;
7032 fi
7033
7034 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7035
7036 # Some flags need to be propagated to the compiler or linker for good
7037 # libtool support.
7038 case $host in
7039 ia64-*-hpux*)
7040 # Find out which ABI we are using.
7041 echo 'int i;' > conftest.$ac_ext
7042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7043 (eval $ac_compile) 2>&5
7044 ac_status=$?
7045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7046 test $ac_status = 0; }; then
7047 case `/usr/bin/file conftest.$ac_objext` in
7048 *ELF-32*)
7049 HPUX_IA64_MODE="32"
7050 ;;
7051 *ELF-64*)
7052 HPUX_IA64_MODE="64"
7053 ;;
7054 esac
7055 fi
7056 rm -rf conftest*
7057 ;;
7058 *-*-irix6*)
7059 # Find out which ABI we are using.
7060 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 if test "$lt_cv_prog_gnu_ld" = yes; then
7067 case `/usr/bin/file conftest.$ac_objext` in
7068 *32-bit*)
7069 LD="${LD-ld} -melf32bsmip"
7070 ;;
7071 *N32*)
7072 LD="${LD-ld} -melf32bmipn32"
7073 ;;
7074 *64-bit*)
7075 LD="${LD-ld} -melf64bmip"
7076 ;;
7077 esac
7078 else
7079 case `/usr/bin/file conftest.$ac_objext` in
7080 *32-bit*)
7081 LD="${LD-ld} -32"
7082 ;;
7083 *N32*)
7084 LD="${LD-ld} -n32"
7085 ;;
7086 *64-bit*)
7087 LD="${LD-ld} -64"
7088 ;;
7089 esac
7090 fi
7091 fi
7092 rm -rf conftest*
7093 ;;
7094
7095 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7096 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7097 # Find out which ABI we are using.
7098 echo 'int i;' > conftest.$ac_ext
7099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7100 (eval $ac_compile) 2>&5
7101 ac_status=$?
7102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7103 test $ac_status = 0; }; then
7104 case `/usr/bin/file conftest.o` in
7105 *32-bit*)
7106 case $host in
7107 x86_64-*kfreebsd*-gnu)
7108 LD="${LD-ld} -m elf_i386_fbsd"
7109 ;;
7110 x86_64-*linux*)
7111 LD="${LD-ld} -m elf_i386"
7112 ;;
7113 ppc64-*linux*|powerpc64-*linux*)
7114 LD="${LD-ld} -m elf32ppclinux"
7115 ;;
7116 s390x-*linux*)
7117 LD="${LD-ld} -m elf_s390"
7118 ;;
7119 sparc64-*linux*)
7120 LD="${LD-ld} -m elf32_sparc"
7121 ;;
7122 esac
7123 ;;
7124 *64-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_x86_64_fbsd"
7128 ;;
7129 x86_64-*linux*)
7130 LD="${LD-ld} -m elf_x86_64"
7131 ;;
7132 ppc*-*linux*|powerpc*-*linux*)
7133 LD="${LD-ld} -m elf64ppc"
7134 ;;
7135 s390*-*linux*|s390*-*tpf*)
7136 LD="${LD-ld} -m elf64_s390"
7137 ;;
7138 sparc*-*linux*)
7139 LD="${LD-ld} -m elf64_sparc"
7140 ;;
7141 esac
7142 ;;
7143 esac
7144 fi
7145 rm -rf conftest*
7146 ;;
7147
7148 *-*-sco3.2v5*)
7149 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7150 SAVE_CFLAGS="$CFLAGS"
7151 CFLAGS="$CFLAGS -belf"
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7153 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7154 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7155 $as_echo_n "(cached) " >&6
7156 else
7157 ac_ext=c
7158 ac_cpp='$CPP $CPPFLAGS'
7159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7162
7163 if test x$gcc_no_link = xyes; then
7164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7165 fi
7166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7168
7169 int
7170 main ()
7171 {
7172
7173 ;
7174 return 0;
7175 }
7176 _ACEOF
7177 if ac_fn_c_try_link "$LINENO"; then :
7178 lt_cv_cc_needs_belf=yes
7179 else
7180 lt_cv_cc_needs_belf=no
7181 fi
7182 rm -f core conftest.err conftest.$ac_objext \
7183 conftest$ac_exeext conftest.$ac_ext
7184 ac_ext=c
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189
7190 fi
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7192 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7193 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7194 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7195 CFLAGS="$SAVE_CFLAGS"
7196 fi
7197 ;;
7198 sparc*-*solaris*)
7199 # Find out which ABI we are using.
7200 echo 'int i;' > conftest.$ac_ext
7201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7202 (eval $ac_compile) 2>&5
7203 ac_status=$?
7204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7205 test $ac_status = 0; }; then
7206 case `/usr/bin/file conftest.o` in
7207 *64-bit*)
7208 case $lt_cv_prog_gnu_ld in
7209 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7210 *)
7211 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7212 LD="${LD-ld} -64"
7213 fi
7214 ;;
7215 esac
7216 ;;
7217 esac
7218 fi
7219 rm -rf conftest*
7220 ;;
7221 esac
7222
7223 need_locks="$enable_libtool_lock"
7224
7225
7226 case $host_os in
7227 rhapsody* | darwin*)
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 if test -n "$DSYMUTIL"; then
7237 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7238 else
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 for as_dir in $PATH
7241 do
7242 IFS=$as_save_IFS
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 break 2
7249 fi
7250 done
7251 done
7252 IFS=$as_save_IFS
7253
7254 fi
7255 fi
7256 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7257 if test -n "$DSYMUTIL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7259 $as_echo "$DSYMUTIL" >&6; }
7260 else
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7263 fi
7264
7265
7266 fi
7267 if test -z "$ac_cv_prog_DSYMUTIL"; then
7268 ac_ct_DSYMUTIL=$DSYMUTIL
7269 # Extract the first word of "dsymutil", so it can be a program name with args.
7270 set dummy dsymutil; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7275 else
7276 if test -n "$ac_ct_DSYMUTIL"; then
7277 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7281 do
7282 IFS=$as_save_IFS
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 break 2
7289 fi
7290 done
7291 done
7292 IFS=$as_save_IFS
7293
7294 fi
7295 fi
7296 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7297 if test -n "$ac_ct_DSYMUTIL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7299 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7300 else
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7303 fi
7304
7305 if test "x$ac_ct_DSYMUTIL" = x; then
7306 DSYMUTIL=":"
7307 else
7308 case $cross_compiling:$ac_tool_warned in
7309 yes:)
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7313 esac
7314 DSYMUTIL=$ac_ct_DSYMUTIL
7315 fi
7316 else
7317 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7318 fi
7319
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$NMEDIT"; then
7329 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7333 do
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7341 fi
7342 done
7343 done
7344 IFS=$as_save_IFS
7345
7346 fi
7347 fi
7348 NMEDIT=$ac_cv_prog_NMEDIT
7349 if test -n "$NMEDIT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7351 $as_echo "$NMEDIT" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7355 fi
7356
7357
7358 fi
7359 if test -z "$ac_cv_prog_NMEDIT"; then
7360 ac_ct_NMEDIT=$NMEDIT
7361 # Extract the first word of "nmedit", so it can be a program name with args.
7362 set dummy nmedit; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7367 else
7368 if test -n "$ac_ct_NMEDIT"; then
7369 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7373 do
7374 IFS=$as_save_IFS
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 break 2
7381 fi
7382 done
7383 done
7384 IFS=$as_save_IFS
7385
7386 fi
7387 fi
7388 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7389 if test -n "$ac_ct_NMEDIT"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7391 $as_echo "$ac_ct_NMEDIT" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7395 fi
7396
7397 if test "x$ac_ct_NMEDIT" = x; then
7398 NMEDIT=":"
7399 else
7400 case $cross_compiling:$ac_tool_warned in
7401 yes:)
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7405 esac
7406 NMEDIT=$ac_ct_NMEDIT
7407 fi
7408 else
7409 NMEDIT="$ac_cv_prog_NMEDIT"
7410 fi
7411
7412 if test -n "$ac_tool_prefix"; then
7413 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_LIPO+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$LIPO"; then
7421 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7425 do
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7433 fi
7434 done
7435 done
7436 IFS=$as_save_IFS
7437
7438 fi
7439 fi
7440 LIPO=$ac_cv_prog_LIPO
7441 if test -n "$LIPO"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7443 $as_echo "$LIPO" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 fi
7448
7449
7450 fi
7451 if test -z "$ac_cv_prog_LIPO"; then
7452 ac_ct_LIPO=$LIPO
7453 # Extract the first word of "lipo", so it can be a program name with args.
7454 set dummy lipo; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 if test -n "$ac_ct_LIPO"; then
7461 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7465 do
7466 IFS=$as_save_IFS
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_ac_ct_LIPO="lipo"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 break 2
7473 fi
7474 done
7475 done
7476 IFS=$as_save_IFS
7477
7478 fi
7479 fi
7480 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7481 if test -n "$ac_ct_LIPO"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7483 $as_echo "$ac_ct_LIPO" >&6; }
7484 else
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487 fi
7488
7489 if test "x$ac_ct_LIPO" = x; then
7490 LIPO=":"
7491 else
7492 case $cross_compiling:$ac_tool_warned in
7493 yes:)
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7497 esac
7498 LIPO=$ac_ct_LIPO
7499 fi
7500 else
7501 LIPO="$ac_cv_prog_LIPO"
7502 fi
7503
7504 if test -n "$ac_tool_prefix"; then
7505 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7506 set dummy ${ac_tool_prefix}otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$OTOOL"; then
7513 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7517 do
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7525 fi
7526 done
7527 done
7528 IFS=$as_save_IFS
7529
7530 fi
7531 fi
7532 OTOOL=$ac_cv_prog_OTOOL
7533 if test -n "$OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7535 $as_echo "$OTOOL" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7539 fi
7540
7541
7542 fi
7543 if test -z "$ac_cv_prog_OTOOL"; then
7544 ac_ct_OTOOL=$OTOOL
7545 # Extract the first word of "otool", so it can be a program name with args.
7546 set dummy otool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$ac_ct_OTOOL"; then
7553 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7557 do
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_ac_ct_OTOOL="otool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7565 fi
7566 done
7567 done
7568 IFS=$as_save_IFS
7569
7570 fi
7571 fi
7572 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7573 if test -n "$ac_ct_OTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7575 $as_echo "$ac_ct_OTOOL" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7579 fi
7580
7581 if test "x$ac_ct_OTOOL" = x; then
7582 OTOOL=":"
7583 else
7584 case $cross_compiling:$ac_tool_warned in
7585 yes:)
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7588 ac_tool_warned=yes ;;
7589 esac
7590 OTOOL=$ac_ct_OTOOL
7591 fi
7592 else
7593 OTOOL="$ac_cv_prog_OTOOL"
7594 fi
7595
7596 if test -n "$ac_tool_prefix"; then
7597 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7598 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$OTOOL64"; then
7605 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7609 do
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7617 fi
7618 done
7619 done
7620 IFS=$as_save_IFS
7621
7622 fi
7623 fi
7624 OTOOL64=$ac_cv_prog_OTOOL64
7625 if test -n "$OTOOL64"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7627 $as_echo "$OTOOL64" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7631 fi
7632
7633
7634 fi
7635 if test -z "$ac_cv_prog_OTOOL64"; then
7636 ac_ct_OTOOL64=$OTOOL64
7637 # Extract the first word of "otool64", so it can be a program name with args.
7638 set dummy otool64; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7642 $as_echo_n "(cached) " >&6
7643 else
7644 if test -n "$ac_ct_OTOOL64"; then
7645 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7646 else
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 for as_dir in $PATH
7649 do
7650 IFS=$as_save_IFS
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_ac_ct_OTOOL64="otool64"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 break 2
7657 fi
7658 done
7659 done
7660 IFS=$as_save_IFS
7661
7662 fi
7663 fi
7664 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7665 if test -n "$ac_ct_OTOOL64"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7667 $as_echo "$ac_ct_OTOOL64" >&6; }
7668 else
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7671 fi
7672
7673 if test "x$ac_ct_OTOOL64" = x; then
7674 OTOOL64=":"
7675 else
7676 case $cross_compiling:$ac_tool_warned in
7677 yes:)
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7680 ac_tool_warned=yes ;;
7681 esac
7682 OTOOL64=$ac_ct_OTOOL64
7683 fi
7684 else
7685 OTOOL64="$ac_cv_prog_OTOOL64"
7686 fi
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7715 $as_echo_n "checking for -single_module linker flag... " >&6; }
7716 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7717 $as_echo_n "(cached) " >&6
7718 else
7719 lt_cv_apple_cc_single_mod=no
7720 if test -z "${LT_MULTI_MODULE}"; then
7721 # By default we will add the -single_module flag. You can override
7722 # by either setting the environment variable LT_MULTI_MODULE
7723 # non-empty at configure time, or by adding -multi_module to the
7724 # link flags.
7725 rm -rf libconftest.dylib*
7726 echo "int foo(void){return 1;}" > conftest.c
7727 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7728 -dynamiclib -Wl,-single_module conftest.c" >&5
7729 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7731 _lt_result=$?
7732 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7733 lt_cv_apple_cc_single_mod=yes
7734 else
7735 cat conftest.err >&5
7736 fi
7737 rm -rf libconftest.dylib*
7738 rm -f conftest.*
7739 fi
7740 fi
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7742 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7744 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7745 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7747 else
7748 lt_cv_ld_exported_symbols_list=no
7749 save_LDFLAGS=$LDFLAGS
7750 echo "_main" > conftest.sym
7751 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7752 if test x$gcc_no_link = xyes; then
7753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7754 fi
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757
7758 int
7759 main ()
7760 {
7761
7762 ;
7763 return 0;
7764 }
7765 _ACEOF
7766 if ac_fn_c_try_link "$LINENO"; then :
7767 lt_cv_ld_exported_symbols_list=yes
7768 else
7769 lt_cv_ld_exported_symbols_list=no
7770 fi
7771 rm -f core conftest.err conftest.$ac_objext \
7772 conftest$ac_exeext conftest.$ac_ext
7773 LDFLAGS="$save_LDFLAGS"
7774
7775 fi
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7777 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7779 $as_echo_n "checking for -force_load linker flag... " >&6; }
7780 if test "${lt_cv_ld_force_load+set}" = set; then :
7781 $as_echo_n "(cached) " >&6
7782 else
7783 lt_cv_ld_force_load=no
7784 cat > conftest.c << _LT_EOF
7785 int forced_loaded() { return 2;}
7786 _LT_EOF
7787 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7788 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7789 echo "$AR cru libconftest.a conftest.o" >&5
7790 $AR cru libconftest.a conftest.o 2>&5
7791 cat > conftest.c << _LT_EOF
7792 int main() { return 0;}
7793 _LT_EOF
7794 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7795 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7796 _lt_result=$?
7797 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7798 lt_cv_ld_force_load=yes
7799 else
7800 cat conftest.err >&5
7801 fi
7802 rm -f conftest.err libconftest.a conftest conftest.c
7803 rm -rf conftest.dSYM
7804
7805 fi
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7807 $as_echo "$lt_cv_ld_force_load" >&6; }
7808 case $host_os in
7809 rhapsody* | darwin1.[012])
7810 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7811 darwin1.*)
7812 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7813 darwin*) # darwin 5.x on
7814 # if running on 10.5 or later, the deployment target defaults
7815 # to the OS version, if on x86, and 10.4, the deployment
7816 # target defaults to 10.4. Don't you love it?
7817 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7818 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7819 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7820 10.[012]*)
7821 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7822 10.*)
7823 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7824 esac
7825 ;;
7826 esac
7827 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7828 _lt_dar_single_mod='$single_module'
7829 fi
7830 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7831 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7832 else
7833 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7834 fi
7835 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7836 _lt_dsymutil='~$DSYMUTIL $lib || :'
7837 else
7838 _lt_dsymutil=
7839 fi
7840 ;;
7841 esac
7842
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7844 $as_echo_n "checking for ANSI C header files... " >&6; }
7845 if test "${ac_cv_header_stdc+set}" = set; then :
7846 $as_echo_n "(cached) " >&6
7847 else
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 #include <stdlib.h>
7851 #include <stdarg.h>
7852 #include <string.h>
7853 #include <float.h>
7854
7855 int
7856 main ()
7857 {
7858
7859 ;
7860 return 0;
7861 }
7862 _ACEOF
7863 if ac_fn_c_try_compile "$LINENO"; then :
7864 ac_cv_header_stdc=yes
7865 else
7866 ac_cv_header_stdc=no
7867 fi
7868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7869
7870 if test $ac_cv_header_stdc = yes; then
7871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7874 #include <string.h>
7875
7876 _ACEOF
7877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7878 $EGREP "memchr" >/dev/null 2>&1; then :
7879
7880 else
7881 ac_cv_header_stdc=no
7882 fi
7883 rm -f conftest*
7884
7885 fi
7886
7887 if test $ac_cv_header_stdc = yes; then
7888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 #include <stdlib.h>
7892
7893 _ACEOF
7894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7895 $EGREP "free" >/dev/null 2>&1; then :
7896
7897 else
7898 ac_cv_header_stdc=no
7899 fi
7900 rm -f conftest*
7901
7902 fi
7903
7904 if test $ac_cv_header_stdc = yes; then
7905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7906 if test "$cross_compiling" = yes; then :
7907 :
7908 else
7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7911 #include <ctype.h>
7912 #include <stdlib.h>
7913 #if ((' ' & 0x0FF) == 0x020)
7914 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7915 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7916 #else
7917 # define ISLOWER(c) \
7918 (('a' <= (c) && (c) <= 'i') \
7919 || ('j' <= (c) && (c) <= 'r') \
7920 || ('s' <= (c) && (c) <= 'z'))
7921 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7922 #endif
7923
7924 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7925 int
7926 main ()
7927 {
7928 int i;
7929 for (i = 0; i < 256; i++)
7930 if (XOR (islower (i), ISLOWER (i))
7931 || toupper (i) != TOUPPER (i))
7932 return 2;
7933 return 0;
7934 }
7935 _ACEOF
7936 if ac_fn_c_try_run "$LINENO"; then :
7937
7938 else
7939 ac_cv_header_stdc=no
7940 fi
7941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7942 conftest.$ac_objext conftest.beam conftest.$ac_ext
7943 fi
7944
7945 fi
7946 fi
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7948 $as_echo "$ac_cv_header_stdc" >&6; }
7949 if test $ac_cv_header_stdc = yes; then
7950
7951 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7952
7953 fi
7954
7955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7957 inttypes.h stdint.h unistd.h
7958 do :
7959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7960 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7961 "
7962 eval as_val=\$$as_ac_Header
7963 if test "x$as_val" = x""yes; then :
7964 cat >>confdefs.h <<_ACEOF
7965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7966 _ACEOF
7967
7968 fi
7969
7970 done
7971
7972
7973 for ac_header in dlfcn.h
7974 do :
7975 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7976 "
7977 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7978 cat >>confdefs.h <<_ACEOF
7979 #define HAVE_DLFCN_H 1
7980 _ACEOF
7981
7982 fi
7983
7984 done
7985
7986
7987
7988
7989
7990
7991 # Set options
7992
7993
7994
7995
7996 enable_win32_dll=no
7997
7998
7999 # Check whether --enable-shared was given.
8000 if test "${enable_shared+set}" = set; then :
8001 enableval=$enable_shared; p=${PACKAGE-default}
8002 case $enableval in
8003 yes) enable_shared=yes ;;
8004 no) enable_shared=no ;;
8005 *)
8006 enable_shared=no
8007 # Look at the argument we got. We use all the common list separators.
8008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009 for pkg in $enableval; do
8010 IFS="$lt_save_ifs"
8011 if test "X$pkg" = "X$p"; then
8012 enable_shared=yes
8013 fi
8014 done
8015 IFS="$lt_save_ifs"
8016 ;;
8017 esac
8018 else
8019 enable_shared=yes
8020 fi
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030 # Check whether --enable-static was given.
8031 if test "${enable_static+set}" = set; then :
8032 enableval=$enable_static; p=${PACKAGE-default}
8033 case $enableval in
8034 yes) enable_static=yes ;;
8035 no) enable_static=no ;;
8036 *)
8037 enable_static=no
8038 # Look at the argument we got. We use all the common list separators.
8039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8040 for pkg in $enableval; do
8041 IFS="$lt_save_ifs"
8042 if test "X$pkg" = "X$p"; then
8043 enable_static=yes
8044 fi
8045 done
8046 IFS="$lt_save_ifs"
8047 ;;
8048 esac
8049 else
8050 enable_static=yes
8051 fi
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062 # Check whether --with-pic was given.
8063 if test "${with_pic+set}" = set; then :
8064 withval=$with_pic; pic_mode="$withval"
8065 else
8066 pic_mode=default
8067 fi
8068
8069
8070 test -z "$pic_mode" && pic_mode=default
8071
8072
8073
8074
8075
8076
8077
8078 # Check whether --enable-fast-install was given.
8079 if test "${enable_fast_install+set}" = set; then :
8080 enableval=$enable_fast_install; p=${PACKAGE-default}
8081 case $enableval in
8082 yes) enable_fast_install=yes ;;
8083 no) enable_fast_install=no ;;
8084 *)
8085 enable_fast_install=no
8086 # Look at the argument we got. We use all the common list separators.
8087 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8088 for pkg in $enableval; do
8089 IFS="$lt_save_ifs"
8090 if test "X$pkg" = "X$p"; then
8091 enable_fast_install=yes
8092 fi
8093 done
8094 IFS="$lt_save_ifs"
8095 ;;
8096 esac
8097 else
8098 enable_fast_install=yes
8099 fi
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111 # This can be used to rebuild libtool when needed
8112 LIBTOOL_DEPS="$ltmain"
8113
8114 # Always use our own libtool.
8115 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142 test -z "$LN_S" && LN_S="ln -s"
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157 if test -n "${ZSH_VERSION+set}" ; then
8158 setopt NO_GLOB_SUBST
8159 fi
8160
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8162 $as_echo_n "checking for objdir... " >&6; }
8163 if test "${lt_cv_objdir+set}" = set; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 rm -f .libs 2>/dev/null
8167 mkdir .libs 2>/dev/null
8168 if test -d .libs; then
8169 lt_cv_objdir=.libs
8170 else
8171 # MS-DOS does not allow filenames that begin with a dot.
8172 lt_cv_objdir=_libs
8173 fi
8174 rmdir .libs 2>/dev/null
8175 fi
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8177 $as_echo "$lt_cv_objdir" >&6; }
8178 objdir=$lt_cv_objdir
8179
8180
8181
8182
8183
8184 cat >>confdefs.h <<_ACEOF
8185 #define LT_OBJDIR "$lt_cv_objdir/"
8186 _ACEOF
8187
8188
8189
8190
8191 case $host_os in
8192 aix3*)
8193 # AIX sometimes has problems with the GCC collect2 program. For some
8194 # reason, if we set the COLLECT_NAMES environment variable, the problems
8195 # vanish in a puff of smoke.
8196 if test "X${COLLECT_NAMES+set}" != Xset; then
8197 COLLECT_NAMES=
8198 export COLLECT_NAMES
8199 fi
8200 ;;
8201 esac
8202
8203 # Global variables:
8204 ofile=libtool
8205 can_build_shared=yes
8206
8207 # All known linkers require a `.a' archive for static linking (except MSVC,
8208 # which needs '.lib').
8209 libext=a
8210
8211 with_gnu_ld="$lt_cv_prog_gnu_ld"
8212
8213 old_CC="$CC"
8214 old_CFLAGS="$CFLAGS"
8215
8216 # Set sane defaults for various variables
8217 test -z "$CC" && CC=cc
8218 test -z "$LTCC" && LTCC=$CC
8219 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8220 test -z "$LD" && LD=ld
8221 test -z "$ac_objext" && ac_objext=o
8222
8223 for cc_temp in $compiler""; do
8224 case $cc_temp in
8225 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8226 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8227 \-*) ;;
8228 *) break;;
8229 esac
8230 done
8231 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8232
8233
8234 # Only perform the check for file, if the check method requires it
8235 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8236 case $deplibs_check_method in
8237 file_magic*)
8238 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8240 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8241 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 case $MAGIC_CMD in
8245 [\\/*] | ?:[\\/]*)
8246 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8247 ;;
8248 *)
8249 lt_save_MAGIC_CMD="$MAGIC_CMD"
8250 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8251 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8252 for ac_dir in $ac_dummy; do
8253 IFS="$lt_save_ifs"
8254 test -z "$ac_dir" && ac_dir=.
8255 if test -f $ac_dir/${ac_tool_prefix}file; then
8256 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8257 if test -n "$file_magic_test_file"; then
8258 case $deplibs_check_method in
8259 "file_magic "*)
8260 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8261 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8262 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8263 $EGREP "$file_magic_regex" > /dev/null; then
8264 :
8265 else
8266 cat <<_LT_EOF 1>&2
8267
8268 *** Warning: the command libtool uses to detect shared libraries,
8269 *** $file_magic_cmd, produces output that libtool cannot recognize.
8270 *** The result is that libtool may fail to recognize shared libraries
8271 *** as such. This will affect the creation of libtool libraries that
8272 *** depend on shared libraries, but programs linked with such libtool
8273 *** libraries will work regardless of this problem. Nevertheless, you
8274 *** may want to report the problem to your system manager and/or to
8275 *** bug-libtool@gnu.org
8276
8277 _LT_EOF
8278 fi ;;
8279 esac
8280 fi
8281 break
8282 fi
8283 done
8284 IFS="$lt_save_ifs"
8285 MAGIC_CMD="$lt_save_MAGIC_CMD"
8286 ;;
8287 esac
8288 fi
8289
8290 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8291 if test -n "$MAGIC_CMD"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8293 $as_echo "$MAGIC_CMD" >&6; }
8294 else
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8297 fi
8298
8299
8300
8301
8302
8303 if test -z "$lt_cv_path_MAGIC_CMD"; then
8304 if test -n "$ac_tool_prefix"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8306 $as_echo_n "checking for file... " >&6; }
8307 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 case $MAGIC_CMD in
8311 [\\/*] | ?:[\\/]*)
8312 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8313 ;;
8314 *)
8315 lt_save_MAGIC_CMD="$MAGIC_CMD"
8316 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8317 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8318 for ac_dir in $ac_dummy; do
8319 IFS="$lt_save_ifs"
8320 test -z "$ac_dir" && ac_dir=.
8321 if test -f $ac_dir/file; then
8322 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8323 if test -n "$file_magic_test_file"; then
8324 case $deplibs_check_method in
8325 "file_magic "*)
8326 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8327 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8328 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8329 $EGREP "$file_magic_regex" > /dev/null; then
8330 :
8331 else
8332 cat <<_LT_EOF 1>&2
8333
8334 *** Warning: the command libtool uses to detect shared libraries,
8335 *** $file_magic_cmd, produces output that libtool cannot recognize.
8336 *** The result is that libtool may fail to recognize shared libraries
8337 *** as such. This will affect the creation of libtool libraries that
8338 *** depend on shared libraries, but programs linked with such libtool
8339 *** libraries will work regardless of this problem. Nevertheless, you
8340 *** may want to report the problem to your system manager and/or to
8341 *** bug-libtool@gnu.org
8342
8343 _LT_EOF
8344 fi ;;
8345 esac
8346 fi
8347 break
8348 fi
8349 done
8350 IFS="$lt_save_ifs"
8351 MAGIC_CMD="$lt_save_MAGIC_CMD"
8352 ;;
8353 esac
8354 fi
8355
8356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8357 if test -n "$MAGIC_CMD"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8359 $as_echo "$MAGIC_CMD" >&6; }
8360 else
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8363 fi
8364
8365
8366 else
8367 MAGIC_CMD=:
8368 fi
8369 fi
8370
8371 fi
8372 ;;
8373 esac
8374
8375 # Use C for the default configuration in the libtool script
8376
8377 lt_save_CC="$CC"
8378 ac_ext=c
8379 ac_cpp='$CPP $CPPFLAGS'
8380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8383
8384
8385 # Source file extension for C test sources.
8386 ac_ext=c
8387
8388 # Object file extension for compiled C test sources.
8389 objext=o
8390 objext=$objext
8391
8392 # Code to be used in simple compile tests
8393 lt_simple_compile_test_code="int some_variable = 0;"
8394
8395 # Code to be used in simple link tests
8396 lt_simple_link_test_code='int main(){return(0);}'
8397
8398
8399
8400
8401
8402
8403
8404 # If no C compiler was specified, use CC.
8405 LTCC=${LTCC-"$CC"}
8406
8407 # If no C compiler flags were specified, use CFLAGS.
8408 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8409
8410 # Allow CC to be a program name with arguments.
8411 compiler=$CC
8412
8413 # Save the default compiler, since it gets overwritten when the other
8414 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8415 compiler_DEFAULT=$CC
8416
8417 # save warnings/boilerplate of simple test code
8418 ac_outfile=conftest.$ac_objext
8419 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8420 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8421 _lt_compiler_boilerplate=`cat conftest.err`
8422 $RM conftest*
8423
8424 ac_outfile=conftest.$ac_objext
8425 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8426 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8427 _lt_linker_boilerplate=`cat conftest.err`
8428 $RM -r conftest*
8429
8430
8431 ## CAVEAT EMPTOR:
8432 ## There is no encapsulation within the following macros, do not change
8433 ## the running order or otherwise move them around unless you know exactly
8434 ## what you are doing...
8435 if test -n "$compiler"; then
8436
8437 lt_prog_compiler_no_builtin_flag=
8438
8439 if test "$GCC" = yes; then
8440 case $cc_basename in
8441 nvcc*)
8442 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8443 *)
8444 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8445 esac
8446
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8449 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 lt_cv_prog_compiler_rtti_exceptions=no
8453 ac_outfile=conftest.$ac_objext
8454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8455 lt_compiler_flag="-fno-rtti -fno-exceptions"
8456 # Insert the option either (1) after the last *FLAGS variable, or
8457 # (2) before a word containing "conftest.", or (3) at the end.
8458 # Note that $ac_compile itself does not contain backslashes and begins
8459 # with a dollar sign (not a hyphen), so the echo should work correctly.
8460 # The option is referenced via a variable to avoid confusing sed.
8461 lt_compile=`echo "$ac_compile" | $SED \
8462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8464 -e 's:$: $lt_compiler_flag:'`
8465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8466 (eval "$lt_compile" 2>conftest.err)
8467 ac_status=$?
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 if (exit $ac_status) && test -s "$ac_outfile"; then
8471 # The compiler can only warn and ignore the option if not recognized
8472 # So say no if there are warnings other than the usual output.
8473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8474 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8475 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8476 lt_cv_prog_compiler_rtti_exceptions=yes
8477 fi
8478 fi
8479 $RM conftest*
8480
8481 fi
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8484
8485 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8486 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8487 else
8488 :
8489 fi
8490
8491 fi
8492
8493
8494
8495
8496
8497
8498 lt_prog_compiler_wl=
8499 lt_prog_compiler_pic=
8500 lt_prog_compiler_static=
8501
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8504
8505 if test "$GCC" = yes; then
8506 lt_prog_compiler_wl='-Wl,'
8507 lt_prog_compiler_static='-static'
8508
8509 case $host_os in
8510 aix*)
8511 # All AIX code is PIC.
8512 if test "$host_cpu" = ia64; then
8513 # AIX 5 now supports IA64 processor
8514 lt_prog_compiler_static='-Bstatic'
8515 fi
8516 ;;
8517
8518 amigaos*)
8519 case $host_cpu in
8520 powerpc)
8521 # see comment about AmigaOS4 .so support
8522 lt_prog_compiler_pic='-fPIC'
8523 ;;
8524 m68k)
8525 # FIXME: we need at least 68020 code to build shared libraries, but
8526 # adding the `-m68020' flag to GCC prevents building anything better,
8527 # like `-m68040'.
8528 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8529 ;;
8530 esac
8531 ;;
8532
8533 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8534 # PIC is the default for these OSes.
8535 ;;
8536
8537 mingw* | cygwin* | pw32* | os2* | cegcc*)
8538 # This hack is so that the source file can tell whether it is being
8539 # built for inclusion in a dll (and should export symbols for example).
8540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8541 # (--disable-auto-import) libraries
8542 lt_prog_compiler_pic='-DDLL_EXPORT'
8543 ;;
8544
8545 darwin* | rhapsody*)
8546 # PIC is the default on this platform
8547 # Common symbols not allowed in MH_DYLIB files
8548 lt_prog_compiler_pic='-fno-common'
8549 ;;
8550
8551 haiku*)
8552 # PIC is the default for Haiku.
8553 # The "-static" flag exists, but is broken.
8554 lt_prog_compiler_static=
8555 ;;
8556
8557 hpux*)
8558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8560 # sets the default TLS model and affects inlining.
8561 case $host_cpu in
8562 hppa*64*)
8563 # +Z the default
8564 ;;
8565 *)
8566 lt_prog_compiler_pic='-fPIC'
8567 ;;
8568 esac
8569 ;;
8570
8571 interix[3-9]*)
8572 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8573 # Instead, we relocate shared libraries at runtime.
8574 ;;
8575
8576 msdosdjgpp*)
8577 # Just because we use GCC doesn't mean we suddenly get shared libraries
8578 # on systems that don't support them.
8579 lt_prog_compiler_can_build_shared=no
8580 enable_shared=no
8581 ;;
8582
8583 *nto* | *qnx*)
8584 # QNX uses GNU C++, but need to define -shared option too, otherwise
8585 # it will coredump.
8586 lt_prog_compiler_pic='-fPIC -shared'
8587 ;;
8588
8589 sysv4*MP*)
8590 if test -d /usr/nec; then
8591 lt_prog_compiler_pic=-Kconform_pic
8592 fi
8593 ;;
8594
8595 *)
8596 lt_prog_compiler_pic='-fPIC'
8597 ;;
8598 esac
8599
8600 case $cc_basename in
8601 nvcc*) # Cuda Compiler Driver 2.2
8602 lt_prog_compiler_wl='-Xlinker '
8603 lt_prog_compiler_pic='-Xcompiler -fPIC'
8604 ;;
8605 esac
8606 else
8607 # PORTME Check for flag to pass linker flags through the system compiler.
8608 case $host_os in
8609 aix*)
8610 lt_prog_compiler_wl='-Wl,'
8611 if test "$host_cpu" = ia64; then
8612 # AIX 5 now supports IA64 processor
8613 lt_prog_compiler_static='-Bstatic'
8614 else
8615 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8616 fi
8617 ;;
8618
8619 mingw* | cygwin* | pw32* | os2* | cegcc*)
8620 # This hack is so that the source file can tell whether it is being
8621 # built for inclusion in a dll (and should export symbols for example).
8622 lt_prog_compiler_pic='-DDLL_EXPORT'
8623 ;;
8624
8625 hpux9* | hpux10* | hpux11*)
8626 lt_prog_compiler_wl='-Wl,'
8627 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8628 # not for PA HP-UX.
8629 case $host_cpu in
8630 hppa*64*|ia64*)
8631 # +Z the default
8632 ;;
8633 *)
8634 lt_prog_compiler_pic='+Z'
8635 ;;
8636 esac
8637 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8638 lt_prog_compiler_static='${wl}-a ${wl}archive'
8639 ;;
8640
8641 irix5* | irix6* | nonstopux*)
8642 lt_prog_compiler_wl='-Wl,'
8643 # PIC (with -KPIC) is the default.
8644 lt_prog_compiler_static='-non_shared'
8645 ;;
8646
8647 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8648 case $cc_basename in
8649 # old Intel for x86_64 which still supported -KPIC.
8650 ecc*)
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_pic='-KPIC'
8653 lt_prog_compiler_static='-static'
8654 ;;
8655 # icc used to be incompatible with GCC.
8656 # ICC 10 doesn't accept -KPIC any more.
8657 icc* | ifort*)
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-fPIC'
8660 lt_prog_compiler_static='-static'
8661 ;;
8662 # Lahey Fortran 8.1.
8663 lf95*)
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='--shared'
8666 lt_prog_compiler_static='--static'
8667 ;;
8668 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8669 # Portland Group compilers (*not* the Pentium gcc compiler,
8670 # which looks to be a dead project)
8671 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-fpic'
8673 lt_prog_compiler_static='-Bstatic'
8674 ;;
8675 ccc*)
8676 lt_prog_compiler_wl='-Wl,'
8677 # All Alpha code is PIC.
8678 lt_prog_compiler_static='-non_shared'
8679 ;;
8680 xl* | bgxl* | bgf* | mpixl*)
8681 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='-qpic'
8684 lt_prog_compiler_static='-qstaticlink'
8685 ;;
8686 *)
8687 case `$CC -V 2>&1 | sed 5q` in
8688 *Sun\ F* | *Sun*Fortran*)
8689 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8690 lt_prog_compiler_pic='-KPIC'
8691 lt_prog_compiler_static='-Bstatic'
8692 lt_prog_compiler_wl=''
8693 ;;
8694 *Sun\ C*)
8695 # Sun C 5.9
8696 lt_prog_compiler_pic='-KPIC'
8697 lt_prog_compiler_static='-Bstatic'
8698 lt_prog_compiler_wl='-Wl,'
8699 ;;
8700 esac
8701 ;;
8702 esac
8703 ;;
8704
8705 newsos6)
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8708 ;;
8709
8710 *nto* | *qnx*)
8711 # QNX uses GNU C++, but need to define -shared option too, otherwise
8712 # it will coredump.
8713 lt_prog_compiler_pic='-fPIC -shared'
8714 ;;
8715
8716 osf3* | osf4* | osf5*)
8717 lt_prog_compiler_wl='-Wl,'
8718 # All OSF/1 code is PIC.
8719 lt_prog_compiler_static='-non_shared'
8720 ;;
8721
8722 rdos*)
8723 lt_prog_compiler_static='-non_shared'
8724 ;;
8725
8726 solaris*)
8727 lt_prog_compiler_pic='-KPIC'
8728 lt_prog_compiler_static='-Bstatic'
8729 case $cc_basename in
8730 f77* | f90* | f95*)
8731 lt_prog_compiler_wl='-Qoption ld ';;
8732 *)
8733 lt_prog_compiler_wl='-Wl,';;
8734 esac
8735 ;;
8736
8737 sunos4*)
8738 lt_prog_compiler_wl='-Qoption ld '
8739 lt_prog_compiler_pic='-PIC'
8740 lt_prog_compiler_static='-Bstatic'
8741 ;;
8742
8743 sysv4 | sysv4.2uw2* | sysv4.3*)
8744 lt_prog_compiler_wl='-Wl,'
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-Bstatic'
8747 ;;
8748
8749 sysv4*MP*)
8750 if test -d /usr/nec ;then
8751 lt_prog_compiler_pic='-Kconform_pic'
8752 lt_prog_compiler_static='-Bstatic'
8753 fi
8754 ;;
8755
8756 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8757 lt_prog_compiler_wl='-Wl,'
8758 lt_prog_compiler_pic='-KPIC'
8759 lt_prog_compiler_static='-Bstatic'
8760 ;;
8761
8762 unicos*)
8763 lt_prog_compiler_wl='-Wl,'
8764 lt_prog_compiler_can_build_shared=no
8765 ;;
8766
8767 uts4*)
8768 lt_prog_compiler_pic='-pic'
8769 lt_prog_compiler_static='-Bstatic'
8770 ;;
8771
8772 *)
8773 lt_prog_compiler_can_build_shared=no
8774 ;;
8775 esac
8776 fi
8777
8778 case $host_os in
8779 # For platforms which do not support PIC, -DPIC is meaningless:
8780 *djgpp*)
8781 lt_prog_compiler_pic=
8782 ;;
8783 *)
8784 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8785 ;;
8786 esac
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8788 $as_echo "$lt_prog_compiler_pic" >&6; }
8789
8790
8791
8792
8793
8794
8795 #
8796 # Check to make sure the PIC flag actually works.
8797 #
8798 if test -n "$lt_prog_compiler_pic"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8800 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8801 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8802 $as_echo_n "(cached) " >&6
8803 else
8804 lt_cv_prog_compiler_pic_works=no
8805 ac_outfile=conftest.$ac_objext
8806 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8807 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8808 # Insert the option either (1) after the last *FLAGS variable, or
8809 # (2) before a word containing "conftest.", or (3) at the end.
8810 # Note that $ac_compile itself does not contain backslashes and begins
8811 # with a dollar sign (not a hyphen), so the echo should work correctly.
8812 # The option is referenced via a variable to avoid confusing sed.
8813 lt_compile=`echo "$ac_compile" | $SED \
8814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8816 -e 's:$: $lt_compiler_flag:'`
8817 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8818 (eval "$lt_compile" 2>conftest.err)
8819 ac_status=$?
8820 cat conftest.err >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 if (exit $ac_status) && test -s "$ac_outfile"; then
8823 # The compiler can only warn and ignore the option if not recognized
8824 # So say no if there are warnings other than the usual output.
8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8826 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8827 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8828 lt_cv_prog_compiler_pic_works=yes
8829 fi
8830 fi
8831 $RM conftest*
8832
8833 fi
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8835 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8836
8837 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8838 case $lt_prog_compiler_pic in
8839 "" | " "*) ;;
8840 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8841 esac
8842 else
8843 lt_prog_compiler_pic=
8844 lt_prog_compiler_can_build_shared=no
8845 fi
8846
8847 fi
8848
8849
8850
8851
8852
8853
8854 #
8855 # Check to make sure the static flag actually works.
8856 #
8857 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8859 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8860 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 lt_cv_prog_compiler_static_works=no
8864 save_LDFLAGS="$LDFLAGS"
8865 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8866 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8867 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8868 # The linker can only warn and ignore the option if not recognized
8869 # So say no if there are warnings
8870 if test -s conftest.err; then
8871 # Append any errors to the config.log.
8872 cat conftest.err 1>&5
8873 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8874 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8875 if diff conftest.exp conftest.er2 >/dev/null; then
8876 lt_cv_prog_compiler_static_works=yes
8877 fi
8878 else
8879 lt_cv_prog_compiler_static_works=yes
8880 fi
8881 fi
8882 $RM -r conftest*
8883 LDFLAGS="$save_LDFLAGS"
8884
8885 fi
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8887 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8888
8889 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8890 :
8891 else
8892 lt_prog_compiler_static=
8893 fi
8894
8895
8896
8897
8898
8899
8900
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8902 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8903 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 lt_cv_prog_compiler_c_o=no
8907 $RM -r conftest 2>/dev/null
8908 mkdir conftest
8909 cd conftest
8910 mkdir out
8911 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8912
8913 lt_compiler_flag="-o out/conftest2.$ac_objext"
8914 # Insert the option either (1) after the last *FLAGS variable, or
8915 # (2) before a word containing "conftest.", or (3) at the end.
8916 # Note that $ac_compile itself does not contain backslashes and begins
8917 # with a dollar sign (not a hyphen), so the echo should work correctly.
8918 lt_compile=`echo "$ac_compile" | $SED \
8919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8921 -e 's:$: $lt_compiler_flag:'`
8922 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8923 (eval "$lt_compile" 2>out/conftest.err)
8924 ac_status=$?
8925 cat out/conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8928 then
8929 # The compiler can only warn and ignore the option if not recognized
8930 # So say no if there are warnings
8931 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8932 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8933 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8934 lt_cv_prog_compiler_c_o=yes
8935 fi
8936 fi
8937 chmod u+w . 2>&5
8938 $RM conftest*
8939 # SGI C++ compiler will create directory out/ii_files/ for
8940 # template instantiation
8941 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8942 $RM out/* && rmdir out
8943 cd ..
8944 $RM -r conftest
8945 $RM conftest*
8946
8947 fi
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8949 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8950
8951
8952
8953
8954
8955
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8957 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8958 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 lt_cv_prog_compiler_c_o=no
8962 $RM -r conftest 2>/dev/null
8963 mkdir conftest
8964 cd conftest
8965 mkdir out
8966 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8967
8968 lt_compiler_flag="-o out/conftest2.$ac_objext"
8969 # Insert the option either (1) after the last *FLAGS variable, or
8970 # (2) before a word containing "conftest.", or (3) at the end.
8971 # Note that $ac_compile itself does not contain backslashes and begins
8972 # with a dollar sign (not a hyphen), so the echo should work correctly.
8973 lt_compile=`echo "$ac_compile" | $SED \
8974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8976 -e 's:$: $lt_compiler_flag:'`
8977 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8978 (eval "$lt_compile" 2>out/conftest.err)
8979 ac_status=$?
8980 cat out/conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8983 then
8984 # The compiler can only warn and ignore the option if not recognized
8985 # So say no if there are warnings
8986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8987 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8988 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8989 lt_cv_prog_compiler_c_o=yes
8990 fi
8991 fi
8992 chmod u+w . 2>&5
8993 $RM conftest*
8994 # SGI C++ compiler will create directory out/ii_files/ for
8995 # template instantiation
8996 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8997 $RM out/* && rmdir out
8998 cd ..
8999 $RM -r conftest
9000 $RM conftest*
9001
9002 fi
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9004 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9005
9006
9007
9008
9009 hard_links="nottested"
9010 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9011 # do not overwrite the value of need_locks provided by the user
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9013 $as_echo_n "checking if we can lock with hard links... " >&6; }
9014 hard_links=yes
9015 $RM conftest*
9016 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9017 touch conftest.a
9018 ln conftest.a conftest.b 2>&5 || hard_links=no
9019 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9021 $as_echo "$hard_links" >&6; }
9022 if test "$hard_links" = no; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9024 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9025 need_locks=warn
9026 fi
9027 else
9028 need_locks=no
9029 fi
9030
9031
9032
9033
9034
9035
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9037 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9038
9039 runpath_var=
9040 allow_undefined_flag=
9041 always_export_symbols=no
9042 archive_cmds=
9043 archive_expsym_cmds=
9044 compiler_needs_object=no
9045 enable_shared_with_static_runtimes=no
9046 export_dynamic_flag_spec=
9047 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9048 hardcode_automatic=no
9049 hardcode_direct=no
9050 hardcode_direct_absolute=no
9051 hardcode_libdir_flag_spec=
9052 hardcode_libdir_flag_spec_ld=
9053 hardcode_libdir_separator=
9054 hardcode_minus_L=no
9055 hardcode_shlibpath_var=unsupported
9056 inherit_rpath=no
9057 link_all_deplibs=unknown
9058 module_cmds=
9059 module_expsym_cmds=
9060 old_archive_from_new_cmds=
9061 old_archive_from_expsyms_cmds=
9062 thread_safe_flag_spec=
9063 whole_archive_flag_spec=
9064 # include_expsyms should be a list of space-separated symbols to be *always*
9065 # included in the symbol list
9066 include_expsyms=
9067 # exclude_expsyms can be an extended regexp of symbols to exclude
9068 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9069 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9070 # as well as any symbol that contains `d'.
9071 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9072 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9073 # platforms (ab)use it in PIC code, but their linkers get confused if
9074 # the symbol is explicitly referenced. Since portable code cannot
9075 # rely on this symbol name, it's probably fine to never include it in
9076 # preloaded symbol tables.
9077 # Exclude shared library initialization/finalization symbols.
9078 extract_expsyms_cmds=
9079
9080 case $host_os in
9081 cygwin* | mingw* | pw32* | cegcc*)
9082 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9083 # When not using gcc, we currently assume that we are using
9084 # Microsoft Visual C++.
9085 if test "$GCC" != yes; then
9086 with_gnu_ld=no
9087 fi
9088 ;;
9089 interix*)
9090 # we just hope/assume this is gcc and not c89 (= MSVC++)
9091 with_gnu_ld=yes
9092 ;;
9093 openbsd*)
9094 with_gnu_ld=no
9095 ;;
9096 esac
9097
9098 ld_shlibs=yes
9099
9100 # On some targets, GNU ld is compatible enough with the native linker
9101 # that we're better off using the native interface for both.
9102 lt_use_gnu_ld_interface=no
9103 if test "$with_gnu_ld" = yes; then
9104 case $host_os in
9105 aix*)
9106 # The AIX port of GNU ld has always aspired to compatibility
9107 # with the native linker. However, as the warning in the GNU ld
9108 # block says, versions before 2.19.5* couldn't really create working
9109 # shared libraries, regardless of the interface used.
9110 case `$LD -v 2>&1` in
9111 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9112 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9113 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9114 *)
9115 lt_use_gnu_ld_interface=yes
9116 ;;
9117 esac
9118 ;;
9119 *)
9120 lt_use_gnu_ld_interface=yes
9121 ;;
9122 esac
9123 fi
9124
9125 if test "$lt_use_gnu_ld_interface" = yes; then
9126 # If archive_cmds runs LD, not CC, wlarc should be empty
9127 wlarc='${wl}'
9128
9129 # Set some defaults for GNU ld with shared library support. These
9130 # are reset later if shared libraries are not supported. Putting them
9131 # here allows them to be overridden if necessary.
9132 runpath_var=LD_RUN_PATH
9133 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134 export_dynamic_flag_spec='${wl}--export-dynamic'
9135 # ancient GNU ld didn't support --whole-archive et. al.
9136 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9137 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9138 else
9139 whole_archive_flag_spec=
9140 fi
9141 supports_anon_versioning=no
9142 case `$LD -v 2>&1` in
9143 *GNU\ gold*) supports_anon_versioning=yes ;;
9144 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9145 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9146 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9147 *\ 2.11.*) ;; # other 2.11 versions
9148 *) supports_anon_versioning=yes ;;
9149 esac
9150
9151 # See if GNU ld supports shared libraries.
9152 case $host_os in
9153 aix[3-9]*)
9154 # On AIX/PPC, the GNU linker is very broken
9155 if test "$host_cpu" != ia64; then
9156 ld_shlibs=no
9157 cat <<_LT_EOF 1>&2
9158
9159 *** Warning: the GNU linker, at least up to release 2.19, is reported
9160 *** to be unable to reliably create shared libraries on AIX.
9161 *** Therefore, libtool is disabling shared libraries support. If you
9162 *** really care for shared libraries, you may want to install binutils
9163 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9164 *** You will then need to restart the configuration process.
9165
9166 _LT_EOF
9167 fi
9168 ;;
9169
9170 amigaos*)
9171 case $host_cpu in
9172 powerpc)
9173 # see comment about AmigaOS4 .so support
9174 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175 archive_expsym_cmds=''
9176 ;;
9177 m68k)
9178 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)'
9179 hardcode_libdir_flag_spec='-L$libdir'
9180 hardcode_minus_L=yes
9181 ;;
9182 esac
9183 ;;
9184
9185 beos*)
9186 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187 allow_undefined_flag=unsupported
9188 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9189 # support --undefined. This deserves some investigation. FIXME
9190 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191 else
9192 ld_shlibs=no
9193 fi
9194 ;;
9195
9196 cygwin* | mingw* | pw32* | cegcc*)
9197 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9198 # as there is no search path for DLLs.
9199 hardcode_libdir_flag_spec='-L$libdir'
9200 export_dynamic_flag_spec='${wl}--export-all-symbols'
9201 allow_undefined_flag=unsupported
9202 always_export_symbols=no
9203 enable_shared_with_static_runtimes=yes
9204 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9205
9206 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9207 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9208 # If the export-symbols file already is a .def file (1st line
9209 # is EXPORTS), use it as is; otherwise, prepend...
9210 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9211 cp $export_symbols $output_objdir/$soname.def;
9212 else
9213 echo EXPORTS > $output_objdir/$soname.def;
9214 cat $export_symbols >> $output_objdir/$soname.def;
9215 fi~
9216 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9217 else
9218 ld_shlibs=no
9219 fi
9220 ;;
9221
9222 haiku*)
9223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224 link_all_deplibs=yes
9225 ;;
9226
9227 interix[3-9]*)
9228 hardcode_direct=no
9229 hardcode_shlibpath_var=no
9230 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9231 export_dynamic_flag_spec='${wl}-E'
9232 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9233 # Instead, shared libraries are loaded at an image base (0x10000000 by
9234 # default) and relocated if they conflict, which is a slow very memory
9235 # consuming and fragmenting process. To avoid this, we pick a random,
9236 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9237 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9238 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9239 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'
9240 ;;
9241
9242 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9243 tmp_diet=no
9244 if test "$host_os" = linux-dietlibc; then
9245 case $cc_basename in
9246 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9247 esac
9248 fi
9249 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9250 && test "$tmp_diet" = no
9251 then
9252 tmp_addflag=
9253 tmp_sharedflag='-shared'
9254 case $cc_basename,$host_cpu in
9255 pgcc*) # Portland Group C compiler
9256 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'
9257 tmp_addflag=' $pic_flag'
9258 ;;
9259 pgf77* | pgf90* | pgf95* | pgfortran*)
9260 # Portland Group f77 and f90 compilers
9261 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'
9262 tmp_addflag=' $pic_flag -Mnomain' ;;
9263 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9264 tmp_addflag=' -i_dynamic' ;;
9265 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9266 tmp_addflag=' -i_dynamic -nofor_main' ;;
9267 ifc* | ifort*) # Intel Fortran compiler
9268 tmp_addflag=' -nofor_main' ;;
9269 lf95*) # Lahey Fortran 8.1
9270 whole_archive_flag_spec=
9271 tmp_sharedflag='--shared' ;;
9272 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9273 tmp_sharedflag='-qmkshrobj'
9274 tmp_addflag= ;;
9275 nvcc*) # Cuda Compiler Driver 2.2
9276 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'
9277 compiler_needs_object=yes
9278 ;;
9279 esac
9280 case `$CC -V 2>&1 | sed 5q` in
9281 *Sun\ C*) # Sun C 5.9
9282 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'
9283 compiler_needs_object=yes
9284 tmp_sharedflag='-G' ;;
9285 *Sun\ F*) # Sun Fortran 8.3
9286 tmp_sharedflag='-G' ;;
9287 esac
9288 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289
9290 if test "x$supports_anon_versioning" = xyes; then
9291 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9292 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9293 echo "local: *; };" >> $output_objdir/$libname.ver~
9294 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9295 fi
9296
9297 case $cc_basename in
9298 xlf* | bgf* | bgxlf* | mpixlf*)
9299 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9300 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9301 hardcode_libdir_flag_spec=
9302 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9303 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9304 if test "x$supports_anon_versioning" = xyes; then
9305 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9306 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9307 echo "local: *; };" >> $output_objdir/$libname.ver~
9308 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9309 fi
9310 ;;
9311 esac
9312 else
9313 ld_shlibs=no
9314 fi
9315 ;;
9316
9317 netbsd*)
9318 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9319 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9320 wlarc=
9321 else
9322 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9324 fi
9325 ;;
9326
9327 solaris*)
9328 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9329 ld_shlibs=no
9330 cat <<_LT_EOF 1>&2
9331
9332 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9333 *** create shared libraries on Solaris systems. Therefore, libtool
9334 *** is disabling shared libraries support. We urge you to upgrade GNU
9335 *** binutils to release 2.9.1 or newer. Another option is to modify
9336 *** your PATH or compiler configuration so that the native linker is
9337 *** used, and then restart.
9338
9339 _LT_EOF
9340 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9342 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9343 else
9344 ld_shlibs=no
9345 fi
9346 ;;
9347
9348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9349 case `$LD -v 2>&1` in
9350 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9351 ld_shlibs=no
9352 cat <<_LT_EOF 1>&2
9353
9354 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9355 *** reliably create shared libraries on SCO systems. Therefore, libtool
9356 *** is disabling shared libraries support. We urge you to upgrade GNU
9357 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9358 *** your PATH or compiler configuration so that the native linker is
9359 *** used, and then restart.
9360
9361 _LT_EOF
9362 ;;
9363 *)
9364 # For security reasons, it is highly recommended that you always
9365 # use absolute paths for naming shared libraries, and exclude the
9366 # DT_RUNPATH tag from executables and libraries. But doing so
9367 # requires that you compile everything twice, which is a pain.
9368 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9372 else
9373 ld_shlibs=no
9374 fi
9375 ;;
9376 esac
9377 ;;
9378
9379 sunos4*)
9380 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9381 wlarc=
9382 hardcode_direct=yes
9383 hardcode_shlibpath_var=no
9384 ;;
9385
9386 *)
9387 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 else
9391 ld_shlibs=no
9392 fi
9393 ;;
9394 esac
9395
9396 if test "$ld_shlibs" = no; then
9397 runpath_var=
9398 hardcode_libdir_flag_spec=
9399 export_dynamic_flag_spec=
9400 whole_archive_flag_spec=
9401 fi
9402 else
9403 # PORTME fill in a description of your system's linker (not GNU ld)
9404 case $host_os in
9405 aix3*)
9406 allow_undefined_flag=unsupported
9407 always_export_symbols=yes
9408 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'
9409 # Note: this linker hardcodes the directories in LIBPATH if there
9410 # are no directories specified by -L.
9411 hardcode_minus_L=yes
9412 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9413 # Neither direct hardcoding nor static linking is supported with a
9414 # broken collect2.
9415 hardcode_direct=unsupported
9416 fi
9417 ;;
9418
9419 aix[4-9]*)
9420 if test "$host_cpu" = ia64; then
9421 # On IA64, the linker does run time linking by default, so we don't
9422 # have to do anything special.
9423 aix_use_runtimelinking=no
9424 exp_sym_flag='-Bexport'
9425 no_entry_flag=""
9426 else
9427 # If we're using GNU nm, then we don't want the "-C" option.
9428 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9429 # Also, AIX nm treats weak defined symbols like other global
9430 # defined symbols, whereas GNU nm marks them as "W".
9431 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9432 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'
9433 else
9434 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9435 fi
9436 aix_use_runtimelinking=no
9437
9438 # Test if we are trying to use run time linking or normal
9439 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9440 # need to do runtime linking.
9441 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9442 for ld_flag in $LDFLAGS; do
9443 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9444 aix_use_runtimelinking=yes
9445 break
9446 fi
9447 done
9448 ;;
9449 esac
9450
9451 exp_sym_flag='-bexport'
9452 no_entry_flag='-bnoentry'
9453 fi
9454
9455 # When large executables or shared objects are built, AIX ld can
9456 # have problems creating the table of contents. If linking a library
9457 # or program results in "error TOC overflow" add -mminimal-toc to
9458 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9459 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9460
9461 archive_cmds=''
9462 hardcode_direct=yes
9463 hardcode_direct_absolute=yes
9464 hardcode_libdir_separator=':'
9465 link_all_deplibs=yes
9466 file_list_spec='${wl}-f,'
9467
9468 if test "$GCC" = yes; then
9469 case $host_os in aix4.[012]|aix4.[012].*)
9470 # We only want to do this on AIX 4.2 and lower, the check
9471 # below for broken collect2 doesn't work under 4.3+
9472 collect2name=`${CC} -print-prog-name=collect2`
9473 if test -f "$collect2name" &&
9474 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9475 then
9476 # We have reworked collect2
9477 :
9478 else
9479 # We have old collect2
9480 hardcode_direct=unsupported
9481 # It fails to find uninstalled libraries when the uninstalled
9482 # path is not listed in the libpath. Setting hardcode_minus_L
9483 # to unsupported forces relinking
9484 hardcode_minus_L=yes
9485 hardcode_libdir_flag_spec='-L$libdir'
9486 hardcode_libdir_separator=
9487 fi
9488 ;;
9489 esac
9490 shared_flag='-shared'
9491 if test "$aix_use_runtimelinking" = yes; then
9492 shared_flag="$shared_flag "'${wl}-G'
9493 fi
9494 else
9495 # not using gcc
9496 if test "$host_cpu" = ia64; then
9497 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9498 # chokes on -Wl,-G. The following line is correct:
9499 shared_flag='-G'
9500 else
9501 if test "$aix_use_runtimelinking" = yes; then
9502 shared_flag='${wl}-G'
9503 else
9504 shared_flag='${wl}-bM:SRE'
9505 fi
9506 fi
9507 fi
9508
9509 export_dynamic_flag_spec='${wl}-bexpall'
9510 # It seems that -bexpall does not export symbols beginning with
9511 # underscore (_), so it is better to generate a list of symbols to export.
9512 always_export_symbols=yes
9513 if test "$aix_use_runtimelinking" = yes; then
9514 # Warning - without using the other runtime loading flags (-brtl),
9515 # -berok will link without error, but may produce a broken library.
9516 allow_undefined_flag='-berok'
9517 # Determine the default libpath from the value encoded in an
9518 # empty executable.
9519 if test x$gcc_no_link = xyes; then
9520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9521 fi
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9524
9525 int
9526 main ()
9527 {
9528
9529 ;
9530 return 0;
9531 }
9532 _ACEOF
9533 if ac_fn_c_try_link "$LINENO"; then :
9534
9535 lt_aix_libpath_sed='
9536 /Import File Strings/,/^$/ {
9537 /^0/ {
9538 s/^0 *\(.*\)$/\1/
9539 p
9540 }
9541 }'
9542 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9543 # Check for a 64-bit object if we didn't find anything.
9544 if test -z "$aix_libpath"; then
9545 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 fi
9547 fi
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9551
9552 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9553 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"
9554 else
9555 if test "$host_cpu" = ia64; then
9556 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9557 allow_undefined_flag="-z nodefs"
9558 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"
9559 else
9560 # Determine the default libpath from the value encoded in an
9561 # empty executable.
9562 if test x$gcc_no_link = xyes; then
9563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9564 fi
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9567
9568 int
9569 main ()
9570 {
9571
9572 ;
9573 return 0;
9574 }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577
9578 lt_aix_libpath_sed='
9579 /Import File Strings/,/^$/ {
9580 /^0/ {
9581 s/^0 *\(.*\)$/\1/
9582 p
9583 }
9584 }'
9585 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 # Check for a 64-bit object if we didn't find anything.
9587 if test -z "$aix_libpath"; then
9588 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 fi
9590 fi
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9594
9595 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9596 # Warning - without using the other run time loading flags,
9597 # -berok will link without error, but may produce a broken library.
9598 no_undefined_flag=' ${wl}-bernotok'
9599 allow_undefined_flag=' ${wl}-berok'
9600 if test "$with_gnu_ld" = yes; then
9601 # We only use this code for GNU lds that support --whole-archive.
9602 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9603 else
9604 # Exported symbols can be pulled into shared objects from archives
9605 whole_archive_flag_spec='$convenience'
9606 fi
9607 archive_cmds_need_lc=yes
9608 # This is similar to how AIX traditionally builds its shared libraries.
9609 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'
9610 fi
9611 fi
9612 ;;
9613
9614 amigaos*)
9615 case $host_cpu in
9616 powerpc)
9617 # see comment about AmigaOS4 .so support
9618 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9619 archive_expsym_cmds=''
9620 ;;
9621 m68k)
9622 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)'
9623 hardcode_libdir_flag_spec='-L$libdir'
9624 hardcode_minus_L=yes
9625 ;;
9626 esac
9627 ;;
9628
9629 bsdi[45]*)
9630 export_dynamic_flag_spec=-rdynamic
9631 ;;
9632
9633 cygwin* | mingw* | pw32* | cegcc*)
9634 # When not using gcc, we currently assume that we are using
9635 # Microsoft Visual C++.
9636 # hardcode_libdir_flag_spec is actually meaningless, as there is
9637 # no search path for DLLs.
9638 hardcode_libdir_flag_spec=' '
9639 allow_undefined_flag=unsupported
9640 # Tell ltmain to make .lib files, not .a files.
9641 libext=lib
9642 # Tell ltmain to make .dll files, not .so files.
9643 shrext_cmds=".dll"
9644 # FIXME: Setting linknames here is a bad hack.
9645 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9646 # The linker will automatically build a .lib file if we build a DLL.
9647 old_archive_from_new_cmds='true'
9648 # FIXME: Should let the user specify the lib program.
9649 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9650 fix_srcfile_path='`cygpath -w "$srcfile"`'
9651 enable_shared_with_static_runtimes=yes
9652 ;;
9653
9654 darwin* | rhapsody*)
9655
9656
9657 archive_cmds_need_lc=no
9658 hardcode_direct=no
9659 hardcode_automatic=yes
9660 hardcode_shlibpath_var=unsupported
9661 if test "$lt_cv_ld_force_load" = "yes"; then
9662 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\"`'
9663 else
9664 whole_archive_flag_spec=''
9665 fi
9666 link_all_deplibs=yes
9667 allow_undefined_flag="$_lt_dar_allow_undefined"
9668 case $cc_basename in
9669 ifort*) _lt_dar_can_shared=yes ;;
9670 *) _lt_dar_can_shared=$GCC ;;
9671 esac
9672 if test "$_lt_dar_can_shared" = "yes"; then
9673 output_verbose_link_cmd=func_echo_all
9674 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9675 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9676 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}"
9677 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}"
9678
9679 else
9680 ld_shlibs=no
9681 fi
9682
9683 ;;
9684
9685 dgux*)
9686 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_libdir_flag_spec='-L$libdir'
9688 hardcode_shlibpath_var=no
9689 ;;
9690
9691 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9692 # support. Future versions do this automatically, but an explicit c++rt0.o
9693 # does not break anything, and helps significantly (at the cost of a little
9694 # extra space).
9695 freebsd2.2*)
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9697 hardcode_libdir_flag_spec='-R$libdir'
9698 hardcode_direct=yes
9699 hardcode_shlibpath_var=no
9700 ;;
9701
9702 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9703 freebsd2.*)
9704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_direct=yes
9706 hardcode_minus_L=yes
9707 hardcode_shlibpath_var=no
9708 ;;
9709
9710 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9711 freebsd* | dragonfly*)
9712 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9713 hardcode_libdir_flag_spec='-R$libdir'
9714 hardcode_direct=yes
9715 hardcode_shlibpath_var=no
9716 ;;
9717
9718 hpux9*)
9719 if test "$GCC" = yes; then
9720 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'
9721 else
9722 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'
9723 fi
9724 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9725 hardcode_libdir_separator=:
9726 hardcode_direct=yes
9727
9728 # hardcode_minus_L: Not really in the search PATH,
9729 # but as the default location of the library.
9730 hardcode_minus_L=yes
9731 export_dynamic_flag_spec='${wl}-E'
9732 ;;
9733
9734 hpux10*)
9735 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9736 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9737 else
9738 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9739 fi
9740 if test "$with_gnu_ld" = no; then
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_flag_spec_ld='+b $libdir'
9743 hardcode_libdir_separator=:
9744 hardcode_direct=yes
9745 hardcode_direct_absolute=yes
9746 export_dynamic_flag_spec='${wl}-E'
9747 # hardcode_minus_L: Not really in the search PATH,
9748 # but as the default location of the library.
9749 hardcode_minus_L=yes
9750 fi
9751 ;;
9752
9753 hpux11*)
9754 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9755 case $host_cpu in
9756 hppa*64*)
9757 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9758 ;;
9759 ia64*)
9760 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9761 ;;
9762 *)
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 ;;
9765 esac
9766 else
9767 case $host_cpu in
9768 hppa*64*)
9769 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 ;;
9771 ia64*)
9772 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9773 ;;
9774 *)
9775
9776 # Older versions of the 11.00 compiler do not understand -b yet
9777 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9779 $as_echo_n "checking if $CC understands -b... " >&6; }
9780 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 lt_cv_prog_compiler__b=no
9784 save_LDFLAGS="$LDFLAGS"
9785 LDFLAGS="$LDFLAGS -b"
9786 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9787 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9788 # The linker can only warn and ignore the option if not recognized
9789 # So say no if there are warnings
9790 if test -s conftest.err; then
9791 # Append any errors to the config.log.
9792 cat conftest.err 1>&5
9793 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9794 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9795 if diff conftest.exp conftest.er2 >/dev/null; then
9796 lt_cv_prog_compiler__b=yes
9797 fi
9798 else
9799 lt_cv_prog_compiler__b=yes
9800 fi
9801 fi
9802 $RM -r conftest*
9803 LDFLAGS="$save_LDFLAGS"
9804
9805 fi
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9807 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9808
9809 if test x"$lt_cv_prog_compiler__b" = xyes; then
9810 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811 else
9812 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9813 fi
9814
9815 ;;
9816 esac
9817 fi
9818 if test "$with_gnu_ld" = no; then
9819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820 hardcode_libdir_separator=:
9821
9822 case $host_cpu in
9823 hppa*64*|ia64*)
9824 hardcode_direct=no
9825 hardcode_shlibpath_var=no
9826 ;;
9827 *)
9828 hardcode_direct=yes
9829 hardcode_direct_absolute=yes
9830 export_dynamic_flag_spec='${wl}-E'
9831
9832 # hardcode_minus_L: Not really in the search PATH,
9833 # but as the default location of the library.
9834 hardcode_minus_L=yes
9835 ;;
9836 esac
9837 fi
9838 ;;
9839
9840 irix5* | irix6* | nonstopux*)
9841 if test "$GCC" = yes; then
9842 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'
9843 # Try to use the -exported_symbol ld option, if it does not
9844 # work, assume that -exports_file does not work either and
9845 # implicitly export all symbols.
9846 save_LDFLAGS="$LDFLAGS"
9847 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9848 if test x$gcc_no_link = xyes; then
9849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9850 fi
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 int foo(void) {}
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 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'
9857
9858 fi
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LDFLAGS="$save_LDFLAGS"
9862 else
9863 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'
9864 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'
9865 fi
9866 archive_cmds_need_lc='no'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 inherit_rpath=yes
9870 link_all_deplibs=yes
9871 ;;
9872
9873 netbsd*)
9874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9876 else
9877 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9878 fi
9879 hardcode_libdir_flag_spec='-R$libdir'
9880 hardcode_direct=yes
9881 hardcode_shlibpath_var=no
9882 ;;
9883
9884 newsos6)
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_direct=yes
9887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888 hardcode_libdir_separator=:
9889 hardcode_shlibpath_var=no
9890 ;;
9891
9892 *nto* | *qnx*)
9893 ;;
9894
9895 openbsd*)
9896 if test -f /usr/libexec/ld.so; then
9897 hardcode_direct=yes
9898 hardcode_shlibpath_var=no
9899 hardcode_direct_absolute=yes
9900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904 export_dynamic_flag_spec='${wl}-E'
9905 else
9906 case $host_os in
9907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_libdir_flag_spec='-R$libdir'
9910 ;;
9911 *)
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914 ;;
9915 esac
9916 fi
9917 else
9918 ld_shlibs=no
9919 fi
9920 ;;
9921
9922 os2*)
9923 hardcode_libdir_flag_spec='-L$libdir'
9924 hardcode_minus_L=yes
9925 allow_undefined_flag=unsupported
9926 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'
9927 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9928 ;;
9929
9930 osf3*)
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9934 else
9935 allow_undefined_flag=' -expect_unresolved \*'
9936 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'
9937 fi
9938 archive_cmds_need_lc='no'
9939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940 hardcode_libdir_separator=:
9941 ;;
9942
9943 osf4* | osf5*) # as osf3* with the addition of -msym flag
9944 if test "$GCC" = yes; then
9945 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946 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'
9947 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9948 else
9949 allow_undefined_flag=' -expect_unresolved \*'
9950 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'
9951 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~
9952 $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'
9953
9954 # Both c and cxx compiler support -rpath directly
9955 hardcode_libdir_flag_spec='-rpath $libdir'
9956 fi
9957 archive_cmds_need_lc='no'
9958 hardcode_libdir_separator=:
9959 ;;
9960
9961 solaris*)
9962 no_undefined_flag=' -z defs'
9963 if test "$GCC" = yes; then
9964 wlarc='${wl}'
9965 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9968 else
9969 case `$CC -V 2>&1` in
9970 *"Compilers 5.0"*)
9971 wlarc=''
9972 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9975 ;;
9976 *)
9977 wlarc='${wl}'
9978 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981 ;;
9982 esac
9983 fi
9984 hardcode_libdir_flag_spec='-R$libdir'
9985 hardcode_shlibpath_var=no
9986 case $host_os in
9987 solaris2.[0-5] | solaris2.[0-5].*) ;;
9988 *)
9989 # The compiler driver will combine and reorder linker options,
9990 # but understands `-z linker_flag'. GCC discards it without `$wl',
9991 # but is careful enough not to reorder.
9992 # Supported since Solaris 2.6 (maybe 2.5.1?)
9993 if test "$GCC" = yes; then
9994 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9995 else
9996 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9997 fi
9998 ;;
9999 esac
10000 link_all_deplibs=yes
10001 ;;
10002
10003 sunos4*)
10004 if test "x$host_vendor" = xsequent; then
10005 # Use $CC to link under sequent, because it throws in some extra .o
10006 # files that make .init and .fini sections work.
10007 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10008 else
10009 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10010 fi
10011 hardcode_libdir_flag_spec='-L$libdir'
10012 hardcode_direct=yes
10013 hardcode_minus_L=yes
10014 hardcode_shlibpath_var=no
10015 ;;
10016
10017 sysv4)
10018 case $host_vendor in
10019 sni)
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_direct=yes # is this really true???
10022 ;;
10023 siemens)
10024 ## LD is ld it makes a PLAMLIB
10025 ## CC just makes a GrossModule.
10026 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027 reload_cmds='$CC -r -o $output$reload_objs'
10028 hardcode_direct=no
10029 ;;
10030 motorola)
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10033 ;;
10034 esac
10035 runpath_var='LD_RUN_PATH'
10036 hardcode_shlibpath_var=no
10037 ;;
10038
10039 sysv4.3*)
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_shlibpath_var=no
10042 export_dynamic_flag_spec='-Bexport'
10043 ;;
10044
10045 sysv4*MP*)
10046 if test -d /usr/nec; then
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_shlibpath_var=no
10049 runpath_var=LD_RUN_PATH
10050 hardcode_runpath_var=yes
10051 ld_shlibs=yes
10052 fi
10053 ;;
10054
10055 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056 no_undefined_flag='${wl}-z,text'
10057 archive_cmds_need_lc=no
10058 hardcode_shlibpath_var=no
10059 runpath_var='LD_RUN_PATH'
10060
10061 if test "$GCC" = yes; then
10062 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 else
10065 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 fi
10068 ;;
10069
10070 sysv5* | sco3.2v5* | sco5v6*)
10071 # Note: We can NOT use -z defs as we might desire, because we do not
10072 # link with -lc, and that would cause any symbols used from libc to
10073 # always be unresolved, which means just about no library would
10074 # ever link correctly. If we're not using GNU ld we use -z text
10075 # though, which does catch some bad symbols but isn't as heavy-handed
10076 # as -z defs.
10077 no_undefined_flag='${wl}-z,text'
10078 allow_undefined_flag='${wl}-z,nodefs'
10079 archive_cmds_need_lc=no
10080 hardcode_shlibpath_var=no
10081 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082 hardcode_libdir_separator=':'
10083 link_all_deplibs=yes
10084 export_dynamic_flag_spec='${wl}-Bexport'
10085 runpath_var='LD_RUN_PATH'
10086
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 else
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 fi
10094 ;;
10095
10096 uts4*)
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec='-L$libdir'
10099 hardcode_shlibpath_var=no
10100 ;;
10101
10102 *)
10103 ld_shlibs=no
10104 ;;
10105 esac
10106
10107 if test x$host_vendor = xsni; then
10108 case $host in
10109 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110 export_dynamic_flag_spec='${wl}-Blargedynsym'
10111 ;;
10112 esac
10113 fi
10114 fi
10115
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117 $as_echo "$ld_shlibs" >&6; }
10118 test "$ld_shlibs" = no && can_build_shared=no
10119
10120 with_gnu_ld=$with_gnu_ld
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136 #
10137 # Do we need to explicitly link libc?
10138 #
10139 case "x$archive_cmds_need_lc" in
10140 x|xyes)
10141 # Assume -lc should be added
10142 archive_cmds_need_lc=yes
10143
10144 if test "$enable_shared" = yes && test "$GCC" = yes; then
10145 case $archive_cmds in
10146 *'~'*)
10147 # FIXME: we may have to deal with multi-command sequences.
10148 ;;
10149 '$CC '*)
10150 # Test whether the compiler implicitly links with -lc since on some
10151 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152 # to ld, don't add -lc before -lgcc.
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 $RM conftest*
10159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160
10161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162 (eval $ac_compile) 2>&5
10163 ac_status=$?
10164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165 test $ac_status = 0; } 2>conftest.err; then
10166 soname=conftest
10167 lib=conftest
10168 libobjs=conftest.$ac_objext
10169 deplibs=
10170 wl=$lt_prog_compiler_wl
10171 pic_flag=$lt_prog_compiler_pic
10172 compiler_flags=-v
10173 linker_flags=-v
10174 verstring=
10175 output_objdir=.
10176 libname=conftest
10177 lt_save_allow_undefined_flag=$allow_undefined_flag
10178 allow_undefined_flag=
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10181 ac_status=$?
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; }
10184 then
10185 lt_cv_archive_cmds_need_lc=no
10186 else
10187 lt_cv_archive_cmds_need_lc=yes
10188 fi
10189 allow_undefined_flag=$lt_save_allow_undefined_flag
10190 else
10191 cat conftest.err 1>&5
10192 fi
10193 $RM conftest*
10194
10195 fi
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10199 ;;
10200 esac
10201 fi
10202 ;;
10203 esac
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10362 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10363
10364 if test "$GCC" = yes; then
10365 case $host_os in
10366 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10367 *) lt_awk_arg="/^libraries:/" ;;
10368 esac
10369 case $host_os in
10370 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10371 *) lt_sed_strip_eq="s,=/,/,g" ;;
10372 esac
10373 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10374 case $lt_search_path_spec in
10375 *\;*)
10376 # if the path contains ";" then we assume it to be the separator
10377 # otherwise default to the standard path separator (i.e. ":") - it is
10378 # assumed that no part of a normal pathname contains ";" but that should
10379 # okay in the real world where ";" in dirpaths is itself problematic.
10380 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10381 ;;
10382 *)
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10384 ;;
10385 esac
10386 # Ok, now we have the path, separated by spaces, we can step through it
10387 # and add multilib dir if necessary.
10388 lt_tmp_lt_search_path_spec=
10389 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10390 for lt_sys_path in $lt_search_path_spec; do
10391 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10392 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10393 else
10394 test -d "$lt_sys_path" && \
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10396 fi
10397 done
10398 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10399 BEGIN {RS=" "; FS="/|\n";} {
10400 lt_foo="";
10401 lt_count=0;
10402 for (lt_i = NF; lt_i > 0; lt_i--) {
10403 if ($lt_i != "" && $lt_i != ".") {
10404 if ($lt_i == "..") {
10405 lt_count++;
10406 } else {
10407 if (lt_count == 0) {
10408 lt_foo="/" $lt_i lt_foo;
10409 } else {
10410 lt_count--;
10411 }
10412 }
10413 }
10414 }
10415 if (lt_foo != "") { lt_freq[lt_foo]++; }
10416 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10417 }'`
10418 # AWK program above erroneously prepends '/' to C:/dos/paths
10419 # for these hosts.
10420 case $host_os in
10421 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10422 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10423 esac
10424 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10425 else
10426 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10427 fi
10428 library_names_spec=
10429 libname_spec='lib$name'
10430 soname_spec=
10431 shrext_cmds=".so"
10432 postinstall_cmds=
10433 postuninstall_cmds=
10434 finish_cmds=
10435 finish_eval=
10436 shlibpath_var=
10437 shlibpath_overrides_runpath=unknown
10438 version_type=none
10439 dynamic_linker="$host_os ld.so"
10440 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10441 need_lib_prefix=unknown
10442 hardcode_into_libs=no
10443
10444 # when you set need_version to no, make sure it does not cause -set_version
10445 # flags to be left without arguments
10446 need_version=unknown
10447
10448 case $host_os in
10449 aix3*)
10450 version_type=linux
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10452 shlibpath_var=LIBPATH
10453
10454 # AIX 3 has no versioning support, so we append a major version to the name.
10455 soname_spec='${libname}${release}${shared_ext}$major'
10456 ;;
10457
10458 aix[4-9]*)
10459 version_type=linux
10460 need_lib_prefix=no
10461 need_version=no
10462 hardcode_into_libs=yes
10463 if test "$host_cpu" = ia64; then
10464 # AIX 5 supports IA64
10465 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10466 shlibpath_var=LD_LIBRARY_PATH
10467 else
10468 # With GCC up to 2.95.x, collect2 would create an import file
10469 # for dependence libraries. The import file would start with
10470 # the line `#! .'. This would cause the generated library to
10471 # depend on `.', always an invalid library. This was fixed in
10472 # development snapshots of GCC prior to 3.0.
10473 case $host_os in
10474 aix4 | aix4.[01] | aix4.[01].*)
10475 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10476 echo ' yes '
10477 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10478 :
10479 else
10480 can_build_shared=no
10481 fi
10482 ;;
10483 esac
10484 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10485 # soname into executable. Probably we can add versioning support to
10486 # collect2, so additional links can be useful in future.
10487 if test "$aix_use_runtimelinking" = yes; then
10488 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10489 # instead of lib<name>.a to let people know that these are not
10490 # typical AIX shared libraries.
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492 else
10493 # We preserve .a as extension for shared libraries through AIX4.2
10494 # and later when we are not doing run time linking.
10495 library_names_spec='${libname}${release}.a $libname.a'
10496 soname_spec='${libname}${release}${shared_ext}$major'
10497 fi
10498 shlibpath_var=LIBPATH
10499 fi
10500 ;;
10501
10502 amigaos*)
10503 case $host_cpu in
10504 powerpc)
10505 # Since July 2007 AmigaOS4 officially supports .so libraries.
10506 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10508 ;;
10509 m68k)
10510 library_names_spec='$libname.ixlibrary $libname.a'
10511 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10512 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'
10513 ;;
10514 esac
10515 ;;
10516
10517 beos*)
10518 library_names_spec='${libname}${shared_ext}'
10519 dynamic_linker="$host_os ld.so"
10520 shlibpath_var=LIBRARY_PATH
10521 ;;
10522
10523 bsdi[45]*)
10524 version_type=linux
10525 need_version=no
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10531 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10532 # the default ld.so.conf also contains /usr/contrib/lib and
10533 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10534 # libtool to hard-code these into programs
10535 ;;
10536
10537 cygwin* | mingw* | pw32* | cegcc*)
10538 version_type=windows
10539 shrext_cmds=".dll"
10540 need_version=no
10541 need_lib_prefix=no
10542
10543 case $GCC,$host_os in
10544 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10545 library_names_spec='$libname.dll.a'
10546 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10547 postinstall_cmds='base_file=`basename \${file}`~
10548 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10549 dldir=$destdir/`dirname \$dlpath`~
10550 test -d \$dldir || mkdir -p \$dldir~
10551 $install_prog $dir/$dlname \$dldir/$dlname~
10552 chmod a+x \$dldir/$dlname~
10553 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10554 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10555 fi'
10556 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10557 dlpath=$dir/\$dldll~
10558 $RM \$dlpath'
10559 shlibpath_overrides_runpath=yes
10560
10561 case $host_os in
10562 cygwin*)
10563 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10564 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565
10566 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10567 ;;
10568 mingw* | cegcc*)
10569 # MinGW DLLs use traditional 'lib' prefix
10570 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571 ;;
10572 pw32*)
10573 # pw32 DLLs use 'pw' prefix rather than 'lib'
10574 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 ;;
10576 esac
10577 ;;
10578
10579 *)
10580 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10581 ;;
10582 esac
10583 dynamic_linker='Win32 ld.exe'
10584 # FIXME: first we should search . and the directory the executable is in
10585 shlibpath_var=PATH
10586 ;;
10587
10588 darwin* | rhapsody*)
10589 dynamic_linker="$host_os dyld"
10590 version_type=darwin
10591 need_lib_prefix=no
10592 need_version=no
10593 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10594 soname_spec='${libname}${release}${major}$shared_ext'
10595 shlibpath_overrides_runpath=yes
10596 shlibpath_var=DYLD_LIBRARY_PATH
10597 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10598
10599 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10600 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10601 ;;
10602
10603 dgux*)
10604 version_type=linux
10605 need_lib_prefix=no
10606 need_version=no
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10610 ;;
10611
10612 freebsd* | dragonfly*)
10613 # DragonFly does not have aout. When/if they implement a new
10614 # versioning mechanism, adjust this.
10615 if test -x /usr/bin/objformat; then
10616 objformat=`/usr/bin/objformat`
10617 else
10618 case $host_os in
10619 freebsd[23].*) objformat=aout ;;
10620 *) objformat=elf ;;
10621 esac
10622 fi
10623 version_type=freebsd-$objformat
10624 case $version_type in
10625 freebsd-elf*)
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10627 need_version=no
10628 need_lib_prefix=no
10629 ;;
10630 freebsd-*)
10631 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10632 need_version=yes
10633 ;;
10634 esac
10635 shlibpath_var=LD_LIBRARY_PATH
10636 case $host_os in
10637 freebsd2.*)
10638 shlibpath_overrides_runpath=yes
10639 ;;
10640 freebsd3.[01]* | freebsdelf3.[01]*)
10641 shlibpath_overrides_runpath=yes
10642 hardcode_into_libs=yes
10643 ;;
10644 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10645 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10646 shlibpath_overrides_runpath=no
10647 hardcode_into_libs=yes
10648 ;;
10649 *) # from 4.6 on, and DragonFly
10650 shlibpath_overrides_runpath=yes
10651 hardcode_into_libs=yes
10652 ;;
10653 esac
10654 ;;
10655
10656 gnu*)
10657 version_type=linux
10658 need_lib_prefix=no
10659 need_version=no
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 hardcode_into_libs=yes
10664 ;;
10665
10666 haiku*)
10667 version_type=linux
10668 need_lib_prefix=no
10669 need_version=no
10670 dynamic_linker="$host_os runtime_loader"
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LIBRARY_PATH
10674 shlibpath_overrides_runpath=yes
10675 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10676 hardcode_into_libs=yes
10677 ;;
10678
10679 hpux9* | hpux10* | hpux11*)
10680 # Give a soname corresponding to the major version so that dld.sl refuses to
10681 # link against other versions.
10682 version_type=sunos
10683 need_lib_prefix=no
10684 need_version=no
10685 case $host_cpu in
10686 ia64*)
10687 shrext_cmds='.so'
10688 hardcode_into_libs=yes
10689 dynamic_linker="$host_os dld.so"
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 if test "X$HPUX_IA64_MODE" = X32; then
10695 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10696 else
10697 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10698 fi
10699 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10700 ;;
10701 hppa*64*)
10702 shrext_cmds='.sl'
10703 hardcode_into_libs=yes
10704 dynamic_linker="$host_os dld.sl"
10705 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10706 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10708 soname_spec='${libname}${release}${shared_ext}$major'
10709 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10711 ;;
10712 *)
10713 shrext_cmds='.sl'
10714 dynamic_linker="$host_os dld.sl"
10715 shlibpath_var=SHLIB_PATH
10716 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 ;;
10720 esac
10721 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10722 postinstall_cmds='chmod 555 $lib'
10723 # or fails outright, so override atomically:
10724 install_override_mode=555
10725 ;;
10726
10727 interix[3-9]*)
10728 version_type=linux
10729 need_lib_prefix=no
10730 need_version=no
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10734 shlibpath_var=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath=no
10736 hardcode_into_libs=yes
10737 ;;
10738
10739 irix5* | irix6* | nonstopux*)
10740 case $host_os in
10741 nonstopux*) version_type=nonstopux ;;
10742 *)
10743 if test "$lt_cv_prog_gnu_ld" = yes; then
10744 version_type=linux
10745 else
10746 version_type=irix
10747 fi ;;
10748 esac
10749 need_lib_prefix=no
10750 need_version=no
10751 soname_spec='${libname}${release}${shared_ext}$major'
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10753 case $host_os in
10754 irix5* | nonstopux*)
10755 libsuff= shlibsuff=
10756 ;;
10757 *)
10758 case $LD in # libtool.m4 will add one of these switches to LD
10759 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10760 libsuff= shlibsuff= libmagic=32-bit;;
10761 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10762 libsuff=32 shlibsuff=N32 libmagic=N32;;
10763 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10764 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10765 *) libsuff= shlibsuff= libmagic=never-match;;
10766 esac
10767 ;;
10768 esac
10769 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10770 shlibpath_overrides_runpath=no
10771 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10772 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10773 hardcode_into_libs=yes
10774 ;;
10775
10776 # No shared lib support for Linux oldld, aout, or coff.
10777 linux*oldld* | linux*aout* | linux*coff*)
10778 dynamic_linker=no
10779 ;;
10780
10781 # This must be Linux ELF.
10782 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10783 version_type=linux
10784 need_lib_prefix=no
10785 need_version=no
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=no
10791
10792 # Some binutils ld are patched to set DT_RUNPATH
10793 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10794 $as_echo_n "(cached) " >&6
10795 else
10796 lt_cv_shlibpath_overrides_runpath=no
10797 save_LDFLAGS=$LDFLAGS
10798 save_libdir=$libdir
10799 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10800 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10801 if test x$gcc_no_link = xyes; then
10802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10803 fi
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806
10807 int
10808 main ()
10809 {
10810
10811 ;
10812 return 0;
10813 }
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10817 lt_cv_shlibpath_overrides_runpath=yes
10818 fi
10819 fi
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LDFLAGS=$save_LDFLAGS
10823 libdir=$save_libdir
10824
10825 fi
10826
10827 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10828
10829 # This implies no fast_install, which is unacceptable.
10830 # Some rework will be needed to allow for fast_install
10831 # before this can be enabled.
10832 hardcode_into_libs=yes
10833
10834 # Append ld.so.conf contents to the search path
10835 if test -f /etc/ld.so.conf; then
10836 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' ' '`
10837 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10838 fi
10839
10840 # We used to test for /lib/ld.so.1 and disable shared libraries on
10841 # powerpc, because MkLinux only supported shared libraries with the
10842 # GNU dynamic linker. Since this was broken with cross compilers,
10843 # most powerpc-linux boxes support dynamic linking these days and
10844 # people can always --disable-shared, the test was removed, and we
10845 # assume the GNU/Linux dynamic linker is in use.
10846 dynamic_linker='GNU/Linux ld.so'
10847 ;;
10848
10849 netbsd*)
10850 version_type=sunos
10851 need_lib_prefix=no
10852 need_version=no
10853 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10855 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10856 dynamic_linker='NetBSD (a.out) ld.so'
10857 else
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 dynamic_linker='NetBSD ld.elf_so'
10861 fi
10862 shlibpath_var=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath=yes
10864 hardcode_into_libs=yes
10865 ;;
10866
10867 newsos6)
10868 version_type=linux
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870 shlibpath_var=LD_LIBRARY_PATH
10871 shlibpath_overrides_runpath=yes
10872 ;;
10873
10874 *nto* | *qnx*)
10875 version_type=qnx
10876 need_lib_prefix=no
10877 need_version=no
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879 soname_spec='${libname}${release}${shared_ext}$major'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=no
10882 hardcode_into_libs=yes
10883 dynamic_linker='ldqnx.so'
10884 ;;
10885
10886 openbsd*)
10887 version_type=sunos
10888 sys_lib_dlsearch_path_spec="/usr/lib"
10889 need_lib_prefix=no
10890 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10891 case $host_os in
10892 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10893 *) need_version=no ;;
10894 esac
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10899 case $host_os in
10900 openbsd2.[89] | openbsd2.[89].*)
10901 shlibpath_overrides_runpath=no
10902 ;;
10903 *)
10904 shlibpath_overrides_runpath=yes
10905 ;;
10906 esac
10907 else
10908 shlibpath_overrides_runpath=yes
10909 fi
10910 ;;
10911
10912 os2*)
10913 libname_spec='$name'
10914 shrext_cmds=".dll"
10915 need_lib_prefix=no
10916 library_names_spec='$libname${shared_ext} $libname.a'
10917 dynamic_linker='OS/2 ld.exe'
10918 shlibpath_var=LIBPATH
10919 ;;
10920
10921 osf3* | osf4* | osf5*)
10922 version_type=osf
10923 need_lib_prefix=no
10924 need_version=no
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10929 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10930 ;;
10931
10932 rdos*)
10933 dynamic_linker=no
10934 ;;
10935
10936 solaris*)
10937 version_type=linux
10938 need_lib_prefix=no
10939 need_version=no
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 soname_spec='${libname}${release}${shared_ext}$major'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath=yes
10944 hardcode_into_libs=yes
10945 # ldd complains unless libraries are executable
10946 postinstall_cmds='chmod +x $lib'
10947 ;;
10948
10949 sunos4*)
10950 version_type=sunos
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=yes
10955 if test "$with_gnu_ld" = yes; then
10956 need_lib_prefix=no
10957 fi
10958 need_version=yes
10959 ;;
10960
10961 sysv4 | sysv4.3*)
10962 version_type=linux
10963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964 soname_spec='${libname}${release}${shared_ext}$major'
10965 shlibpath_var=LD_LIBRARY_PATH
10966 case $host_vendor in
10967 sni)
10968 shlibpath_overrides_runpath=no
10969 need_lib_prefix=no
10970 runpath_var=LD_RUN_PATH
10971 ;;
10972 siemens)
10973 need_lib_prefix=no
10974 ;;
10975 motorola)
10976 need_lib_prefix=no
10977 need_version=no
10978 shlibpath_overrides_runpath=no
10979 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10980 ;;
10981 esac
10982 ;;
10983
10984 sysv4*MP*)
10985 if test -d /usr/nec ;then
10986 version_type=linux
10987 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10988 soname_spec='$libname${shared_ext}.$major'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 fi
10991 ;;
10992
10993 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10994 version_type=freebsd-elf
10995 need_lib_prefix=no
10996 need_version=no
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11002 if test "$with_gnu_ld" = yes; then
11003 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11004 else
11005 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11006 case $host_os in
11007 sco3.2v5*)
11008 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11009 ;;
11010 esac
11011 fi
11012 sys_lib_dlsearch_path_spec='/usr/lib'
11013 ;;
11014
11015 tpf*)
11016 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11017 version_type=linux
11018 need_lib_prefix=no
11019 need_version=no
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 shlibpath_overrides_runpath=no
11023 hardcode_into_libs=yes
11024 ;;
11025
11026 uts4*)
11027 version_type=linux
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 shlibpath_var=LD_LIBRARY_PATH
11031 ;;
11032
11033 *)
11034 dynamic_linker=no
11035 ;;
11036 esac
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11038 $as_echo "$dynamic_linker" >&6; }
11039 test "$dynamic_linker" = no && can_build_shared=no
11040
11041 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11042 if test "$GCC" = yes; then
11043 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11044 fi
11045
11046 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11047 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11048 fi
11049 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11050 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11051 fi
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11145 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11146 hardcode_action=
11147 if test -n "$hardcode_libdir_flag_spec" ||
11148 test -n "$runpath_var" ||
11149 test "X$hardcode_automatic" = "Xyes" ; then
11150
11151 # We can hardcode non-existent directories.
11152 if test "$hardcode_direct" != no &&
11153 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11154 # have to relink, otherwise we might link with an installed library
11155 # when we should be linking with a yet-to-be-installed one
11156 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11157 test "$hardcode_minus_L" != no; then
11158 # Linking always hardcodes the temporary library directory.
11159 hardcode_action=relink
11160 else
11161 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11162 hardcode_action=immediate
11163 fi
11164 else
11165 # We cannot hardcode anything, or else we can only hardcode existing
11166 # directories.
11167 hardcode_action=unsupported
11168 fi
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11170 $as_echo "$hardcode_action" >&6; }
11171
11172 if test "$hardcode_action" = relink ||
11173 test "$inherit_rpath" = yes; then
11174 # Fast installation is not supported
11175 enable_fast_install=no
11176 elif test "$shlibpath_overrides_runpath" = yes ||
11177 test "$enable_shared" = no; then
11178 # Fast installation is not necessary
11179 enable_fast_install=needless
11180 fi
11181
11182
11183
11184
11185
11186
11187 if test "x$enable_dlopen" != xyes; then
11188 enable_dlopen=unknown
11189 enable_dlopen_self=unknown
11190 enable_dlopen_self_static=unknown
11191 else
11192 lt_cv_dlopen=no
11193 lt_cv_dlopen_libs=
11194
11195 case $host_os in
11196 beos*)
11197 lt_cv_dlopen="load_add_on"
11198 lt_cv_dlopen_libs=
11199 lt_cv_dlopen_self=yes
11200 ;;
11201
11202 mingw* | pw32* | cegcc*)
11203 lt_cv_dlopen="LoadLibrary"
11204 lt_cv_dlopen_libs=
11205 ;;
11206
11207 cygwin*)
11208 lt_cv_dlopen="dlopen"
11209 lt_cv_dlopen_libs=
11210 ;;
11211
11212 darwin*)
11213 # if libdl is installed we need to link against it
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11216 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11217 $as_echo_n "(cached) " >&6
11218 else
11219 ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-ldl $LIBS"
11221 if test x$gcc_no_link = xyes; then
11222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11223 fi
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char dlopen ();
11234 int
11235 main ()
11236 {
11237 return dlopen ();
11238 ;
11239 return 0;
11240 }
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_dl_dlopen=yes
11244 else
11245 ac_cv_lib_dl_dlopen=no
11246 fi
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11250 fi
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11252 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11253 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11254 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11255 else
11256
11257 lt_cv_dlopen="dyld"
11258 lt_cv_dlopen_libs=
11259 lt_cv_dlopen_self=yes
11260
11261 fi
11262
11263 ;;
11264
11265 *)
11266 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11267 if test "x$ac_cv_func_shl_load" = x""yes; then :
11268 lt_cv_dlopen="shl_load"
11269 else
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11271 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11272 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-ldld $LIBS"
11277 if test x$gcc_no_link = xyes; then
11278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11279 fi
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char shl_load ();
11290 int
11291 main ()
11292 {
11293 return shl_load ();
11294 ;
11295 return 0;
11296 }
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_dld_shl_load=yes
11300 else
11301 ac_cv_lib_dld_shl_load=no
11302 fi
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11306 fi
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11308 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11309 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11310 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11311 else
11312 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11313 if test "x$ac_cv_func_dlopen" = x""yes; then :
11314 lt_cv_dlopen="dlopen"
11315 else
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11317 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11318 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11319 $as_echo_n "(cached) " >&6
11320 else
11321 ac_check_lib_save_LIBS=$LIBS
11322 LIBS="-ldl $LIBS"
11323 if test x$gcc_no_link = xyes; then
11324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11325 fi
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11332 #ifdef __cplusplus
11333 extern "C"
11334 #endif
11335 char dlopen ();
11336 int
11337 main ()
11338 {
11339 return dlopen ();
11340 ;
11341 return 0;
11342 }
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 ac_cv_lib_dl_dlopen=yes
11346 else
11347 ac_cv_lib_dl_dlopen=no
11348 fi
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11352 fi
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11356 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11357 else
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11359 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11360 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11361 $as_echo_n "(cached) " >&6
11362 else
11363 ac_check_lib_save_LIBS=$LIBS
11364 LIBS="-lsvld $LIBS"
11365 if test x$gcc_no_link = xyes; then
11366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11367 fi
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 char dlopen ();
11378 int
11379 main ()
11380 {
11381 return dlopen ();
11382 ;
11383 return 0;
11384 }
11385 _ACEOF
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 ac_cv_lib_svld_dlopen=yes
11388 else
11389 ac_cv_lib_svld_dlopen=no
11390 fi
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_lib_save_LIBS
11394 fi
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11396 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11397 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11398 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11399 else
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11401 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11402 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11403 $as_echo_n "(cached) " >&6
11404 else
11405 ac_check_lib_save_LIBS=$LIBS
11406 LIBS="-ldld $LIBS"
11407 if test x$gcc_no_link = xyes; then
11408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11409 fi
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char dld_link ();
11420 int
11421 main ()
11422 {
11423 return dld_link ();
11424 ;
11425 return 0;
11426 }
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 ac_cv_lib_dld_dld_link=yes
11430 else
11431 ac_cv_lib_dld_dld_link=no
11432 fi
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_lib_save_LIBS
11436 fi
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11438 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11439 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11440 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11441 fi
11442
11443
11444 fi
11445
11446
11447 fi
11448
11449
11450 fi
11451
11452
11453 fi
11454
11455
11456 fi
11457
11458 ;;
11459 esac
11460
11461 if test "x$lt_cv_dlopen" != xno; then
11462 enable_dlopen=yes
11463 else
11464 enable_dlopen=no
11465 fi
11466
11467 case $lt_cv_dlopen in
11468 dlopen)
11469 save_CPPFLAGS="$CPPFLAGS"
11470 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11471
11472 save_LDFLAGS="$LDFLAGS"
11473 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11474
11475 save_LIBS="$LIBS"
11476 LIBS="$lt_cv_dlopen_libs $LIBS"
11477
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11479 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11480 if test "${lt_cv_dlopen_self+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 if test "$cross_compiling" = yes; then :
11484 lt_cv_dlopen_self=cross
11485 else
11486 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11487 lt_status=$lt_dlunknown
11488 cat > conftest.$ac_ext <<_LT_EOF
11489 #line 11489 "configure"
11490 #include "confdefs.h"
11491
11492 #if HAVE_DLFCN_H
11493 #include <dlfcn.h>
11494 #endif
11495
11496 #include <stdio.h>
11497
11498 #ifdef RTLD_GLOBAL
11499 # define LT_DLGLOBAL RTLD_GLOBAL
11500 #else
11501 # ifdef DL_GLOBAL
11502 # define LT_DLGLOBAL DL_GLOBAL
11503 # else
11504 # define LT_DLGLOBAL 0
11505 # endif
11506 #endif
11507
11508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11509 find out it does not work in some platform. */
11510 #ifndef LT_DLLAZY_OR_NOW
11511 # ifdef RTLD_LAZY
11512 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11513 # else
11514 # ifdef DL_LAZY
11515 # define LT_DLLAZY_OR_NOW DL_LAZY
11516 # else
11517 # ifdef RTLD_NOW
11518 # define LT_DLLAZY_OR_NOW RTLD_NOW
11519 # else
11520 # ifdef DL_NOW
11521 # define LT_DLLAZY_OR_NOW DL_NOW
11522 # else
11523 # define LT_DLLAZY_OR_NOW 0
11524 # endif
11525 # endif
11526 # endif
11527 # endif
11528 #endif
11529
11530 /* When -fvisbility=hidden is used, assume the code has been annotated
11531 correspondingly for the symbols needed. */
11532 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11533 void fnord () __attribute__((visibility("default")));
11534 #endif
11535
11536 void fnord () { int i=42; }
11537 int main ()
11538 {
11539 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11540 int status = $lt_dlunknown;
11541
11542 if (self)
11543 {
11544 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11545 else
11546 {
11547 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11548 else puts (dlerror ());
11549 }
11550 /* dlclose (self); */
11551 }
11552 else
11553 puts (dlerror ());
11554
11555 return status;
11556 }
11557 _LT_EOF
11558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11559 (eval $ac_link) 2>&5
11560 ac_status=$?
11561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11562 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11563 (./conftest; exit; ) >&5 2>/dev/null
11564 lt_status=$?
11565 case x$lt_status in
11566 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11567 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11568 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11569 esac
11570 else :
11571 # compilation failed
11572 lt_cv_dlopen_self=no
11573 fi
11574 fi
11575 rm -fr conftest*
11576
11577
11578 fi
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11580 $as_echo "$lt_cv_dlopen_self" >&6; }
11581
11582 if test "x$lt_cv_dlopen_self" = xyes; then
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11586 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11587 $as_echo_n "(cached) " >&6
11588 else
11589 if test "$cross_compiling" = yes; then :
11590 lt_cv_dlopen_self_static=cross
11591 else
11592 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11593 lt_status=$lt_dlunknown
11594 cat > conftest.$ac_ext <<_LT_EOF
11595 #line 11595 "configure"
11596 #include "confdefs.h"
11597
11598 #if HAVE_DLFCN_H
11599 #include <dlfcn.h>
11600 #endif
11601
11602 #include <stdio.h>
11603
11604 #ifdef RTLD_GLOBAL
11605 # define LT_DLGLOBAL RTLD_GLOBAL
11606 #else
11607 # ifdef DL_GLOBAL
11608 # define LT_DLGLOBAL DL_GLOBAL
11609 # else
11610 # define LT_DLGLOBAL 0
11611 # endif
11612 #endif
11613
11614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11615 find out it does not work in some platform. */
11616 #ifndef LT_DLLAZY_OR_NOW
11617 # ifdef RTLD_LAZY
11618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11619 # else
11620 # ifdef DL_LAZY
11621 # define LT_DLLAZY_OR_NOW DL_LAZY
11622 # else
11623 # ifdef RTLD_NOW
11624 # define LT_DLLAZY_OR_NOW RTLD_NOW
11625 # else
11626 # ifdef DL_NOW
11627 # define LT_DLLAZY_OR_NOW DL_NOW
11628 # else
11629 # define LT_DLLAZY_OR_NOW 0
11630 # endif
11631 # endif
11632 # endif
11633 # endif
11634 #endif
11635
11636 /* When -fvisbility=hidden is used, assume the code has been annotated
11637 correspondingly for the symbols needed. */
11638 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11639 void fnord () __attribute__((visibility("default")));
11640 #endif
11641
11642 void fnord () { int i=42; }
11643 int main ()
11644 {
11645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11646 int status = $lt_dlunknown;
11647
11648 if (self)
11649 {
11650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11651 else
11652 {
11653 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11654 else puts (dlerror ());
11655 }
11656 /* dlclose (self); */
11657 }
11658 else
11659 puts (dlerror ());
11660
11661 return status;
11662 }
11663 _LT_EOF
11664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11665 (eval $ac_link) 2>&5
11666 ac_status=$?
11667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11668 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11669 (./conftest; exit; ) >&5 2>/dev/null
11670 lt_status=$?
11671 case x$lt_status in
11672 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11673 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11674 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11675 esac
11676 else :
11677 # compilation failed
11678 lt_cv_dlopen_self_static=no
11679 fi
11680 fi
11681 rm -fr conftest*
11682
11683
11684 fi
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11686 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11687 fi
11688
11689 CPPFLAGS="$save_CPPFLAGS"
11690 LDFLAGS="$save_LDFLAGS"
11691 LIBS="$save_LIBS"
11692 ;;
11693 esac
11694
11695 case $lt_cv_dlopen_self in
11696 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11697 *) enable_dlopen_self=unknown ;;
11698 esac
11699
11700 case $lt_cv_dlopen_self_static in
11701 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11702 *) enable_dlopen_self_static=unknown ;;
11703 esac
11704 fi
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722 striplib=
11723 old_striplib=
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11725 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11726 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11727 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11728 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11730 $as_echo "yes" >&6; }
11731 else
11732 # FIXME - insert some real tests, host_os isn't really good enough
11733 case $host_os in
11734 darwin*)
11735 if test -n "$STRIP" ; then
11736 striplib="$STRIP -x"
11737 old_striplib="$STRIP -S"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11739 $as_echo "yes" >&6; }
11740 else
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11743 fi
11744 ;;
11745 *)
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747 $as_echo "no" >&6; }
11748 ;;
11749 esac
11750 fi
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763 # Report which library types will actually be built
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11765 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11767 $as_echo "$can_build_shared" >&6; }
11768
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11770 $as_echo_n "checking whether to build shared libraries... " >&6; }
11771 test "$can_build_shared" = "no" && enable_shared=no
11772
11773 # On AIX, shared libraries and static libraries use the same namespace, and
11774 # are all built from PIC.
11775 case $host_os in
11776 aix3*)
11777 test "$enable_shared" = yes && enable_static=no
11778 if test -n "$RANLIB"; then
11779 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11780 postinstall_cmds='$RANLIB $lib'
11781 fi
11782 ;;
11783
11784 aix[4-9]*)
11785 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11786 test "$enable_shared" = yes && enable_static=no
11787 fi
11788 ;;
11789 esac
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11791 $as_echo "$enable_shared" >&6; }
11792
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11794 $as_echo_n "checking whether to build static libraries... " >&6; }
11795 # Make sure either enable_shared or enable_static is yes.
11796 test "$enable_shared" = yes || enable_static=yes
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11798 $as_echo "$enable_static" >&6; }
11799
11800
11801
11802
11803 fi
11804 ac_ext=c
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11809
11810 CC="$lt_save_CC"
11811
11812 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11813 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11814 (test "X$CXX" != "Xg++"))) ; then
11815 ac_ext=cpp
11816 ac_cpp='$CXXCPP $CPPFLAGS'
11817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11821 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11822 if test -z "$CXXCPP"; then
11823 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11824 $as_echo_n "(cached) " >&6
11825 else
11826 # Double quotes because CXXCPP needs to be expanded
11827 for CXXCPP in "$CXX -E" "/lib/cpp"
11828 do
11829 ac_preproc_ok=false
11830 for ac_cxx_preproc_warn_flag in '' yes
11831 do
11832 # Use a header file that comes with gcc, so configuring glibc
11833 # with a fresh cross-compiler works.
11834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11835 # <limits.h> exists even on freestanding compilers.
11836 # On the NeXT, cc -E runs the code through the compiler's parser,
11837 # not just through cpp. "Syntax error" is here to catch this case.
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 #ifdef __STDC__
11841 # include <limits.h>
11842 #else
11843 # include <assert.h>
11844 #endif
11845 Syntax error
11846 _ACEOF
11847 if ac_fn_cxx_try_cpp "$LINENO"; then :
11848
11849 else
11850 # Broken: fails on valid input.
11851 continue
11852 fi
11853 rm -f conftest.err conftest.$ac_ext
11854
11855 # OK, works on sane cases. Now check whether nonexistent headers
11856 # can be detected and how.
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11859 #include <ac_nonexistent.h>
11860 _ACEOF
11861 if ac_fn_cxx_try_cpp "$LINENO"; then :
11862 # Broken: success on invalid input.
11863 continue
11864 else
11865 # Passes both tests.
11866 ac_preproc_ok=:
11867 break
11868 fi
11869 rm -f conftest.err conftest.$ac_ext
11870
11871 done
11872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11873 rm -f conftest.err conftest.$ac_ext
11874 if $ac_preproc_ok; then :
11875 break
11876 fi
11877
11878 done
11879 ac_cv_prog_CXXCPP=$CXXCPP
11880
11881 fi
11882 CXXCPP=$ac_cv_prog_CXXCPP
11883 else
11884 ac_cv_prog_CXXCPP=$CXXCPP
11885 fi
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11887 $as_echo "$CXXCPP" >&6; }
11888 ac_preproc_ok=false
11889 for ac_cxx_preproc_warn_flag in '' yes
11890 do
11891 # Use a header file that comes with gcc, so configuring glibc
11892 # with a fresh cross-compiler works.
11893 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11894 # <limits.h> exists even on freestanding compilers.
11895 # On the NeXT, cc -E runs the code through the compiler's parser,
11896 # not just through cpp. "Syntax error" is here to catch this case.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #ifdef __STDC__
11900 # include <limits.h>
11901 #else
11902 # include <assert.h>
11903 #endif
11904 Syntax error
11905 _ACEOF
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907
11908 else
11909 # Broken: fails on valid input.
11910 continue
11911 fi
11912 rm -f conftest.err conftest.$ac_ext
11913
11914 # OK, works on sane cases. Now check whether nonexistent headers
11915 # can be detected and how.
11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917 /* end confdefs.h. */
11918 #include <ac_nonexistent.h>
11919 _ACEOF
11920 if ac_fn_cxx_try_cpp "$LINENO"; then :
11921 # Broken: success on invalid input.
11922 continue
11923 else
11924 # Passes both tests.
11925 ac_preproc_ok=:
11926 break
11927 fi
11928 rm -f conftest.err conftest.$ac_ext
11929
11930 done
11931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11932 rm -f conftest.err conftest.$ac_ext
11933 if $ac_preproc_ok; then :
11934
11935 else
11936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11938 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11939 See \`config.log' for more details." "$LINENO" 5; }
11940 fi
11941
11942 ac_ext=c
11943 ac_cpp='$CPP $CPPFLAGS'
11944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11947
11948 else
11949 _lt_caught_CXX_error=yes
11950 fi
11951
11952 ac_ext=cpp
11953 ac_cpp='$CXXCPP $CPPFLAGS'
11954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11957
11958 archive_cmds_need_lc_CXX=no
11959 allow_undefined_flag_CXX=
11960 always_export_symbols_CXX=no
11961 archive_expsym_cmds_CXX=
11962 compiler_needs_object_CXX=no
11963 export_dynamic_flag_spec_CXX=
11964 hardcode_direct_CXX=no
11965 hardcode_direct_absolute_CXX=no
11966 hardcode_libdir_flag_spec_CXX=
11967 hardcode_libdir_flag_spec_ld_CXX=
11968 hardcode_libdir_separator_CXX=
11969 hardcode_minus_L_CXX=no
11970 hardcode_shlibpath_var_CXX=unsupported
11971 hardcode_automatic_CXX=no
11972 inherit_rpath_CXX=no
11973 module_cmds_CXX=
11974 module_expsym_cmds_CXX=
11975 link_all_deplibs_CXX=unknown
11976 old_archive_cmds_CXX=$old_archive_cmds
11977 reload_flag_CXX=$reload_flag
11978 reload_cmds_CXX=$reload_cmds
11979 no_undefined_flag_CXX=
11980 whole_archive_flag_spec_CXX=
11981 enable_shared_with_static_runtimes_CXX=no
11982
11983 # Source file extension for C++ test sources.
11984 ac_ext=cpp
11985
11986 # Object file extension for compiled C++ test sources.
11987 objext=o
11988 objext_CXX=$objext
11989
11990 # No sense in running all these tests if we already determined that
11991 # the CXX compiler isn't working. Some variables (like enable_shared)
11992 # are currently assumed to apply to all compilers on this platform,
11993 # and will be corrupted by setting them based on a non-working compiler.
11994 if test "$_lt_caught_CXX_error" != yes; then
11995 # Code to be used in simple compile tests
11996 lt_simple_compile_test_code="int some_variable = 0;"
11997
11998 # Code to be used in simple link tests
11999 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12000
12001 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12002
12003
12004
12005
12006
12007
12008 # If no C compiler was specified, use CC.
12009 LTCC=${LTCC-"$CC"}
12010
12011 # If no C compiler flags were specified, use CFLAGS.
12012 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12013
12014 # Allow CC to be a program name with arguments.
12015 compiler=$CC
12016
12017
12018 # save warnings/boilerplate of simple test code
12019 ac_outfile=conftest.$ac_objext
12020 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12021 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12022 _lt_compiler_boilerplate=`cat conftest.err`
12023 $RM conftest*
12024
12025 ac_outfile=conftest.$ac_objext
12026 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12027 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12028 _lt_linker_boilerplate=`cat conftest.err`
12029 $RM -r conftest*
12030
12031
12032 # Allow CC to be a program name with arguments.
12033 lt_save_CC=$CC
12034 lt_save_LD=$LD
12035 lt_save_GCC=$GCC
12036 GCC=$GXX
12037 lt_save_with_gnu_ld=$with_gnu_ld
12038 lt_save_path_LD=$lt_cv_path_LD
12039 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12040 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12041 else
12042 $as_unset lt_cv_prog_gnu_ld
12043 fi
12044 if test -n "${lt_cv_path_LDCXX+set}"; then
12045 lt_cv_path_LD=$lt_cv_path_LDCXX
12046 else
12047 $as_unset lt_cv_path_LD
12048 fi
12049 test -z "${LDCXX+set}" || LD=$LDCXX
12050 CC=${CXX-"c++"}
12051 compiler=$CC
12052 compiler_CXX=$CC
12053 for cc_temp in $compiler""; do
12054 case $cc_temp in
12055 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12056 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12057 \-*) ;;
12058 *) break;;
12059 esac
12060 done
12061 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12062
12063
12064 if test -n "$compiler"; then
12065 # We don't want -fno-exception when compiling C++ code, so set the
12066 # no_builtin_flag separately
12067 if test "$GXX" = yes; then
12068 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12069 else
12070 lt_prog_compiler_no_builtin_flag_CXX=
12071 fi
12072
12073 if test "$GXX" = yes; then
12074 # Set up default GNU C++ configuration
12075
12076
12077
12078 # Check whether --with-gnu-ld was given.
12079 if test "${with_gnu_ld+set}" = set; then :
12080 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12081 else
12082 with_gnu_ld=no
12083 fi
12084
12085 ac_prog=ld
12086 if test "$GCC" = yes; then
12087 # Check if gcc -print-prog-name=ld gives a path.
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12089 $as_echo_n "checking for ld used by $CC... " >&6; }
12090 case $host in
12091 *-*-mingw*)
12092 # gcc leaves a trailing carriage return which upsets mingw
12093 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12094 *)
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12096 esac
12097 case $ac_prog in
12098 # Accept absolute paths.
12099 [\\/]* | ?:[\\/]*)
12100 re_direlt='/[^/][^/]*/\.\./'
12101 # Canonicalize the pathname of ld
12102 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12103 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12104 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12105 done
12106 test -z "$LD" && LD="$ac_prog"
12107 ;;
12108 "")
12109 # If it fails, then pretend we aren't using GCC.
12110 ac_prog=ld
12111 ;;
12112 *)
12113 # If it is relative, then search for the first ld in PATH.
12114 with_gnu_ld=unknown
12115 ;;
12116 esac
12117 elif test "$with_gnu_ld" = yes; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12119 $as_echo_n "checking for GNU ld... " >&6; }
12120 else
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12122 $as_echo_n "checking for non-GNU ld... " >&6; }
12123 fi
12124 if test "${lt_cv_path_LD+set}" = set; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 if test -z "$LD"; then
12128 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12129 for ac_dir in $PATH; do
12130 IFS="$lt_save_ifs"
12131 test -z "$ac_dir" && ac_dir=.
12132 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12133 lt_cv_path_LD="$ac_dir/$ac_prog"
12134 # Check to see if the program is GNU ld. I'd rather use --version,
12135 # but apparently some variants of GNU ld only accept -v.
12136 # Break only if it was the GNU/non-GNU ld that we prefer.
12137 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12138 *GNU* | *'with BFD'*)
12139 test "$with_gnu_ld" != no && break
12140 ;;
12141 *)
12142 test "$with_gnu_ld" != yes && break
12143 ;;
12144 esac
12145 fi
12146 done
12147 IFS="$lt_save_ifs"
12148 else
12149 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12150 fi
12151 fi
12152
12153 LD="$lt_cv_path_LD"
12154 if test -n "$LD"; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12156 $as_echo "$LD" >&6; }
12157 else
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12160 fi
12161 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12164 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12168 case `$LD -v 2>&1 </dev/null` in
12169 *GNU* | *'with BFD'*)
12170 lt_cv_prog_gnu_ld=yes
12171 ;;
12172 *)
12173 lt_cv_prog_gnu_ld=no
12174 ;;
12175 esac
12176 fi
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12178 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12179 with_gnu_ld=$lt_cv_prog_gnu_ld
12180
12181
12182
12183
12184
12185
12186
12187 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12188 # archiving commands below assume that GNU ld is being used.
12189 if test "$with_gnu_ld" = yes; then
12190 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12191 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12192
12193 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12194 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12195
12196 # If archive_cmds runs LD, not CC, wlarc should be empty
12197 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12198 # investigate it a little bit more. (MM)
12199 wlarc='${wl}'
12200
12201 # ancient GNU ld didn't support --whole-archive et. al.
12202 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12203 $GREP 'no-whole-archive' > /dev/null; then
12204 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12205 else
12206 whole_archive_flag_spec_CXX=
12207 fi
12208 else
12209 with_gnu_ld=no
12210 wlarc=
12211
12212 # A generic and very simple default shared library creation
12213 # command for GNU C++ for the case where it uses the native
12214 # linker, instead of GNU ld. If possible, this setting should
12215 # overridden to take advantage of the native linker features on
12216 # the platform it is being used on.
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12218 fi
12219
12220 # Commands to make compiler produce verbose output that lists
12221 # what "hidden" libraries, object files and flags are used when
12222 # linking a shared library.
12223 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12224
12225 else
12226 GXX=no
12227 with_gnu_ld=no
12228 wlarc=
12229 fi
12230
12231 # PORTME: fill in a description of your system's C++ link characteristics
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12233 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12234 ld_shlibs_CXX=yes
12235 case $host_os in
12236 aix3*)
12237 # FIXME: insert proper C++ library support
12238 ld_shlibs_CXX=no
12239 ;;
12240 aix[4-9]*)
12241 if test "$host_cpu" = ia64; then
12242 # On IA64, the linker does run time linking by default, so we don't
12243 # have to do anything special.
12244 aix_use_runtimelinking=no
12245 exp_sym_flag='-Bexport'
12246 no_entry_flag=""
12247 else
12248 aix_use_runtimelinking=no
12249
12250 # Test if we are trying to use run time linking or normal
12251 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12252 # need to do runtime linking.
12253 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12254 for ld_flag in $LDFLAGS; do
12255 case $ld_flag in
12256 *-brtl*)
12257 aix_use_runtimelinking=yes
12258 break
12259 ;;
12260 esac
12261 done
12262 ;;
12263 esac
12264
12265 exp_sym_flag='-bexport'
12266 no_entry_flag='-bnoentry'
12267 fi
12268
12269 # When large executables or shared objects are built, AIX ld can
12270 # have problems creating the table of contents. If linking a library
12271 # or program results in "error TOC overflow" add -mminimal-toc to
12272 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12273 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12274
12275 archive_cmds_CXX=''
12276 hardcode_direct_CXX=yes
12277 hardcode_direct_absolute_CXX=yes
12278 hardcode_libdir_separator_CXX=':'
12279 link_all_deplibs_CXX=yes
12280 file_list_spec_CXX='${wl}-f,'
12281
12282 if test "$GXX" = yes; then
12283 case $host_os in aix4.[012]|aix4.[012].*)
12284 # We only want to do this on AIX 4.2 and lower, the check
12285 # below for broken collect2 doesn't work under 4.3+
12286 collect2name=`${CC} -print-prog-name=collect2`
12287 if test -f "$collect2name" &&
12288 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12289 then
12290 # We have reworked collect2
12291 :
12292 else
12293 # We have old collect2
12294 hardcode_direct_CXX=unsupported
12295 # It fails to find uninstalled libraries when the uninstalled
12296 # path is not listed in the libpath. Setting hardcode_minus_L
12297 # to unsupported forces relinking
12298 hardcode_minus_L_CXX=yes
12299 hardcode_libdir_flag_spec_CXX='-L$libdir'
12300 hardcode_libdir_separator_CXX=
12301 fi
12302 esac
12303 shared_flag='-shared'
12304 if test "$aix_use_runtimelinking" = yes; then
12305 shared_flag="$shared_flag "'${wl}-G'
12306 fi
12307 else
12308 # not using gcc
12309 if test "$host_cpu" = ia64; then
12310 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12311 # chokes on -Wl,-G. The following line is correct:
12312 shared_flag='-G'
12313 else
12314 if test "$aix_use_runtimelinking" = yes; then
12315 shared_flag='${wl}-G'
12316 else
12317 shared_flag='${wl}-bM:SRE'
12318 fi
12319 fi
12320 fi
12321
12322 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12323 # It seems that -bexpall does not export symbols beginning with
12324 # underscore (_), so it is better to generate a list of symbols to
12325 # export.
12326 always_export_symbols_CXX=yes
12327 if test "$aix_use_runtimelinking" = yes; then
12328 # Warning - without using the other runtime loading flags (-brtl),
12329 # -berok will link without error, but may produce a broken library.
12330 allow_undefined_flag_CXX='-berok'
12331 # Determine the default libpath from the value encoded in an empty
12332 # executable.
12333 if test x$gcc_no_link = xyes; then
12334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12335 fi
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12338
12339 int
12340 main ()
12341 {
12342
12343 ;
12344 return 0;
12345 }
12346 _ACEOF
12347 if ac_fn_cxx_try_link "$LINENO"; then :
12348
12349 lt_aix_libpath_sed='
12350 /Import File Strings/,/^$/ {
12351 /^0/ {
12352 s/^0 *\(.*\)$/\1/
12353 p
12354 }
12355 }'
12356 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12357 # Check for a 64-bit object if we didn't find anything.
12358 if test -z "$aix_libpath"; then
12359 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12360 fi
12361 fi
12362 rm -f core conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12365
12366 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12367
12368 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"
12369 else
12370 if test "$host_cpu" = ia64; then
12371 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12372 allow_undefined_flag_CXX="-z nodefs"
12373 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"
12374 else
12375 # Determine the default libpath from the value encoded in an
12376 # empty executable.
12377 if test x$gcc_no_link = xyes; then
12378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12379 fi
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12382
12383 int
12384 main ()
12385 {
12386
12387 ;
12388 return 0;
12389 }
12390 _ACEOF
12391 if ac_fn_cxx_try_link "$LINENO"; then :
12392
12393 lt_aix_libpath_sed='
12394 /Import File Strings/,/^$/ {
12395 /^0/ {
12396 s/^0 *\(.*\)$/\1/
12397 p
12398 }
12399 }'
12400 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12401 # Check for a 64-bit object if we didn't find anything.
12402 if test -z "$aix_libpath"; then
12403 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12404 fi
12405 fi
12406 rm -f core conftest.err conftest.$ac_objext \
12407 conftest$ac_exeext conftest.$ac_ext
12408 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12409
12410 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12411 # Warning - without using the other run time loading flags,
12412 # -berok will link without error, but may produce a broken library.
12413 no_undefined_flag_CXX=' ${wl}-bernotok'
12414 allow_undefined_flag_CXX=' ${wl}-berok'
12415 if test "$with_gnu_ld" = yes; then
12416 # We only use this code for GNU lds that support --whole-archive.
12417 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12418 else
12419 # Exported symbols can be pulled into shared objects from archives
12420 whole_archive_flag_spec_CXX='$convenience'
12421 fi
12422 archive_cmds_need_lc_CXX=yes
12423 # This is similar to how AIX traditionally builds its shared
12424 # libraries.
12425 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'
12426 fi
12427 fi
12428 ;;
12429
12430 beos*)
12431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12432 allow_undefined_flag_CXX=unsupported
12433 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12434 # support --undefined. This deserves some investigation. FIXME
12435 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12436 else
12437 ld_shlibs_CXX=no
12438 fi
12439 ;;
12440
12441 chorus*)
12442 case $cc_basename in
12443 *)
12444 # FIXME: insert proper C++ library support
12445 ld_shlibs_CXX=no
12446 ;;
12447 esac
12448 ;;
12449
12450 cygwin* | mingw* | pw32* | cegcc*)
12451 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12452 # as there is no search path for DLLs.
12453 hardcode_libdir_flag_spec_CXX='-L$libdir'
12454 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12455 allow_undefined_flag_CXX=unsupported
12456 always_export_symbols_CXX=no
12457 enable_shared_with_static_runtimes_CXX=yes
12458
12459 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12460 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'
12461 # If the export-symbols file already is a .def file (1st line
12462 # is EXPORTS), use it as is; otherwise, prepend...
12463 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12464 cp $export_symbols $output_objdir/$soname.def;
12465 else
12466 echo EXPORTS > $output_objdir/$soname.def;
12467 cat $export_symbols >> $output_objdir/$soname.def;
12468 fi~
12469 $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'
12470 else
12471 ld_shlibs_CXX=no
12472 fi
12473 ;;
12474 darwin* | rhapsody*)
12475
12476
12477 archive_cmds_need_lc_CXX=no
12478 hardcode_direct_CXX=no
12479 hardcode_automatic_CXX=yes
12480 hardcode_shlibpath_var_CXX=unsupported
12481 if test "$lt_cv_ld_force_load" = "yes"; then
12482 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\"`'
12483 else
12484 whole_archive_flag_spec_CXX=''
12485 fi
12486 link_all_deplibs_CXX=yes
12487 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12488 case $cc_basename in
12489 ifort*) _lt_dar_can_shared=yes ;;
12490 *) _lt_dar_can_shared=$GCC ;;
12491 esac
12492 if test "$_lt_dar_can_shared" = "yes"; then
12493 output_verbose_link_cmd=func_echo_all
12494 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}"
12495 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12496 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}"
12497 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}"
12498 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12499 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}"
12500 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}"
12501 fi
12502
12503 else
12504 ld_shlibs_CXX=no
12505 fi
12506
12507 ;;
12508
12509 dgux*)
12510 case $cc_basename in
12511 ec++*)
12512 # FIXME: insert proper C++ library support
12513 ld_shlibs_CXX=no
12514 ;;
12515 ghcx*)
12516 # Green Hills C++ Compiler
12517 # FIXME: insert proper C++ library support
12518 ld_shlibs_CXX=no
12519 ;;
12520 *)
12521 # FIXME: insert proper C++ library support
12522 ld_shlibs_CXX=no
12523 ;;
12524 esac
12525 ;;
12526
12527 freebsd2.*)
12528 # C++ shared libraries reported to be fairly broken before
12529 # switch to ELF
12530 ld_shlibs_CXX=no
12531 ;;
12532
12533 freebsd-elf*)
12534 archive_cmds_need_lc_CXX=no
12535 ;;
12536
12537 freebsd* | dragonfly*)
12538 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12539 # conventions
12540 ld_shlibs_CXX=yes
12541 ;;
12542
12543 gnu*)
12544 ;;
12545
12546 haiku*)
12547 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12548 link_all_deplibs_CXX=yes
12549 ;;
12550
12551 hpux9*)
12552 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12553 hardcode_libdir_separator_CXX=:
12554 export_dynamic_flag_spec_CXX='${wl}-E'
12555 hardcode_direct_CXX=yes
12556 hardcode_minus_L_CXX=yes # Not in the search PATH,
12557 # but as the default
12558 # location of the library.
12559
12560 case $cc_basename in
12561 CC*)
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12564 ;;
12565 aCC*)
12566 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'
12567 # Commands to make compiler produce verbose output that lists
12568 # what "hidden" libraries, object files and flags are used when
12569 # linking a shared library.
12570 #
12571 # There doesn't appear to be a way to prevent this compiler from
12572 # explicitly linking system object files so we need to strip them
12573 # from the output so that they don't get included in the library
12574 # dependencies.
12575 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"'
12576 ;;
12577 *)
12578 if test "$GXX" = yes; then
12579 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'
12580 else
12581 # FIXME: insert proper C++ library support
12582 ld_shlibs_CXX=no
12583 fi
12584 ;;
12585 esac
12586 ;;
12587
12588 hpux10*|hpux11*)
12589 if test $with_gnu_ld = no; then
12590 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591 hardcode_libdir_separator_CXX=:
12592
12593 case $host_cpu in
12594 hppa*64*|ia64*)
12595 ;;
12596 *)
12597 export_dynamic_flag_spec_CXX='${wl}-E'
12598 ;;
12599 esac
12600 fi
12601 case $host_cpu in
12602 hppa*64*|ia64*)
12603 hardcode_direct_CXX=no
12604 hardcode_shlibpath_var_CXX=no
12605 ;;
12606 *)
12607 hardcode_direct_CXX=yes
12608 hardcode_direct_absolute_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12612 ;;
12613 esac
12614
12615 case $cc_basename in
12616 CC*)
12617 # FIXME: insert proper C++ library support
12618 ld_shlibs_CXX=no
12619 ;;
12620 aCC*)
12621 case $host_cpu in
12622 hppa*64*)
12623 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12624 ;;
12625 ia64*)
12626 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 ;;
12628 *)
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630 ;;
12631 esac
12632 # Commands to make compiler produce verbose output that lists
12633 # what "hidden" libraries, object files and flags are used when
12634 # linking a shared library.
12635 #
12636 # There doesn't appear to be a way to prevent this compiler from
12637 # explicitly linking system object files so we need to strip them
12638 # from the output so that they don't get included in the library
12639 # dependencies.
12640 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"'
12641 ;;
12642 *)
12643 if test "$GXX" = yes; then
12644 if test $with_gnu_ld = no; then
12645 case $host_cpu in
12646 hppa*64*)
12647 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648 ;;
12649 ia64*)
12650 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 *)
12653 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'
12654 ;;
12655 esac
12656 fi
12657 else
12658 # FIXME: insert proper C++ library support
12659 ld_shlibs_CXX=no
12660 fi
12661 ;;
12662 esac
12663 ;;
12664
12665 interix[3-9]*)
12666 hardcode_direct_CXX=no
12667 hardcode_shlibpath_var_CXX=no
12668 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12669 export_dynamic_flag_spec_CXX='${wl}-E'
12670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12671 # Instead, shared libraries are loaded at an image base (0x10000000 by
12672 # default) and relocated if they conflict, which is a slow very memory
12673 # consuming and fragmenting process. To avoid this, we pick a random,
12674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12676 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'
12677 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'
12678 ;;
12679 irix5* | irix6*)
12680 case $cc_basename in
12681 CC*)
12682 # SGI C++
12683 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'
12684
12685 # Archives containing C++ object files must be created using
12686 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12687 # necessary to make sure instantiated templates are included
12688 # in the archive.
12689 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12690 ;;
12691 *)
12692 if test "$GXX" = yes; then
12693 if test "$with_gnu_ld" = no; then
12694 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'
12695 else
12696 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'
12697 fi
12698 fi
12699 link_all_deplibs_CXX=yes
12700 ;;
12701 esac
12702 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12703 hardcode_libdir_separator_CXX=:
12704 inherit_rpath_CXX=yes
12705 ;;
12706
12707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12708 case $cc_basename in
12709 KCC*)
12710 # Kuck and Associates, Inc. (KAI) C++ Compiler
12711
12712 # KCC will only create a shared library if the output file
12713 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12714 # to its proper name (with version) after linking.
12715 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'
12716 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'
12717 # Commands to make compiler produce verbose output that lists
12718 # what "hidden" libraries, object files and flags are used when
12719 # linking a shared library.
12720 #
12721 # There doesn't appear to be a way to prevent this compiler from
12722 # explicitly linking system object files so we need to strip them
12723 # from the output so that they don't get included in the library
12724 # dependencies.
12725 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"'
12726
12727 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12728 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12729
12730 # Archives containing C++ object files must be created using
12731 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12732 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12733 ;;
12734 icpc* | ecpc* )
12735 # Intel C++
12736 with_gnu_ld=yes
12737 # version 8.0 and above of icpc choke on multiply defined symbols
12738 # if we add $predep_objects and $postdep_objects, however 7.1 and
12739 # earlier do not add the objects themselves.
12740 case `$CC -V 2>&1` in
12741 *"Version 7."*)
12742 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743 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'
12744 ;;
12745 *) # Version 8.0 or newer
12746 tmp_idyn=
12747 case $host_cpu in
12748 ia64*) tmp_idyn=' -i_dynamic';;
12749 esac
12750 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12751 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'
12752 ;;
12753 esac
12754 archive_cmds_need_lc_CXX=no
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12758 ;;
12759 pgCC* | pgcpp*)
12760 # Portland Group C++ compiler
12761 case `$CC -V` in
12762 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12763 prelink_cmds_CXX='tpldir=Template.dir~
12764 rm -rf $tpldir~
12765 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12766 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12767 old_archive_cmds_CXX='tpldir=Template.dir~
12768 rm -rf $tpldir~
12769 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12770 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12771 $RANLIB $oldlib'
12772 archive_cmds_CXX='tpldir=Template.dir~
12773 rm -rf $tpldir~
12774 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12775 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12776 archive_expsym_cmds_CXX='tpldir=Template.dir~
12777 rm -rf $tpldir~
12778 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12779 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12780 ;;
12781 *) # Version 6 and above use weak symbols
12782 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12783 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'
12784 ;;
12785 esac
12786
12787 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12788 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12789 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'
12790 ;;
12791 cxx*)
12792 # Compaq C++
12793 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12795
12796 runpath_var=LD_RUN_PATH
12797 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12798 hardcode_libdir_separator_CXX=:
12799
12800 # Commands to make compiler produce verbose output that lists
12801 # what "hidden" libraries, object files and flags are used when
12802 # linking a shared library.
12803 #
12804 # There doesn't appear to be a way to prevent this compiler from
12805 # explicitly linking system object files so we need to strip them
12806 # from the output so that they don't get included in the library
12807 # dependencies.
12808 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'
12809 ;;
12810 xl* | mpixl* | bgxl*)
12811 # IBM XL 8.0 on PPC, with GNU ld
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12814 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815 if test "x$supports_anon_versioning" = xyes; then
12816 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12817 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12818 echo "local: *; };" >> $output_objdir/$libname.ver~
12819 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12820 fi
12821 ;;
12822 *)
12823 case `$CC -V 2>&1 | sed 5q` in
12824 *Sun\ C*)
12825 # Sun C++ 5.9
12826 no_undefined_flag_CXX=' -zdefs'
12827 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12828 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'
12829 hardcode_libdir_flag_spec_CXX='-R$libdir'
12830 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'
12831 compiler_needs_object_CXX=yes
12832
12833 # Not sure whether something based on
12834 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12835 # would be better.
12836 output_verbose_link_cmd='func_echo_all'
12837
12838 # Archives containing C++ object files must be created using
12839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12840 # necessary to make sure instantiated templates are included
12841 # in the archive.
12842 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12843 ;;
12844 esac
12845 ;;
12846 esac
12847 ;;
12848
12849 lynxos*)
12850 # FIXME: insert proper C++ library support
12851 ld_shlibs_CXX=no
12852 ;;
12853
12854 m88k*)
12855 # FIXME: insert proper C++ library support
12856 ld_shlibs_CXX=no
12857 ;;
12858
12859 mvs*)
12860 case $cc_basename in
12861 cxx*)
12862 # FIXME: insert proper C++ library support
12863 ld_shlibs_CXX=no
12864 ;;
12865 *)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12868 ;;
12869 esac
12870 ;;
12871
12872 netbsd*)
12873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12874 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12875 wlarc=
12876 hardcode_libdir_flag_spec_CXX='-R$libdir'
12877 hardcode_direct_CXX=yes
12878 hardcode_shlibpath_var_CXX=no
12879 fi
12880 # Workaround some broken pre-1.5 toolchains
12881 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12882 ;;
12883
12884 *nto* | *qnx*)
12885 ld_shlibs_CXX=yes
12886 ;;
12887
12888 openbsd2*)
12889 # C++ shared libraries are fairly broken
12890 ld_shlibs_CXX=no
12891 ;;
12892
12893 openbsd*)
12894 if test -f /usr/libexec/ld.so; then
12895 hardcode_direct_CXX=yes
12896 hardcode_shlibpath_var_CXX=no
12897 hardcode_direct_absolute_CXX=yes
12898 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12899 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12900 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12901 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12902 export_dynamic_flag_spec_CXX='${wl}-E'
12903 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12904 fi
12905 output_verbose_link_cmd=func_echo_all
12906 else
12907 ld_shlibs_CXX=no
12908 fi
12909 ;;
12910
12911 osf3* | osf4* | osf5*)
12912 case $cc_basename in
12913 KCC*)
12914 # Kuck and Associates, Inc. (KAI) C++ Compiler
12915
12916 # KCC will only create a shared library if the output file
12917 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12918 # to its proper name (with version) after linking.
12919 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'
12920
12921 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12922 hardcode_libdir_separator_CXX=:
12923
12924 # Archives containing C++ object files must be created using
12925 # the KAI C++ compiler.
12926 case $host in
12927 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12928 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12929 esac
12930 ;;
12931 RCC*)
12932 # Rational C++ 2.4.1
12933 # FIXME: insert proper C++ library support
12934 ld_shlibs_CXX=no
12935 ;;
12936 cxx*)
12937 case $host in
12938 osf3*)
12939 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12940 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'
12941 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12942 ;;
12943 *)
12944 allow_undefined_flag_CXX=' -expect_unresolved \*'
12945 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'
12946 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12947 echo "-hidden">> $lib.exp~
12948 $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~
12949 $RM $lib.exp'
12950 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12951 ;;
12952 esac
12953
12954 hardcode_libdir_separator_CXX=:
12955
12956 # Commands to make compiler produce verbose output that lists
12957 # what "hidden" libraries, object files and flags are used when
12958 # linking a shared library.
12959 #
12960 # There doesn't appear to be a way to prevent this compiler from
12961 # explicitly linking system object files so we need to strip them
12962 # from the output so that they don't get included in the library
12963 # dependencies.
12964 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"'
12965 ;;
12966 *)
12967 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12968 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12969 case $host in
12970 osf3*)
12971 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'
12972 ;;
12973 *)
12974 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'
12975 ;;
12976 esac
12977
12978 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12979 hardcode_libdir_separator_CXX=:
12980
12981 # Commands to make compiler produce verbose output that lists
12982 # what "hidden" libraries, object files and flags are used when
12983 # linking a shared library.
12984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12985
12986 else
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12989 fi
12990 ;;
12991 esac
12992 ;;
12993
12994 psos*)
12995 # FIXME: insert proper C++ library support
12996 ld_shlibs_CXX=no
12997 ;;
12998
12999 sunos4*)
13000 case $cc_basename in
13001 CC*)
13002 # Sun C++ 4.x
13003 # FIXME: insert proper C++ library support
13004 ld_shlibs_CXX=no
13005 ;;
13006 lcc*)
13007 # Lucid
13008 # FIXME: insert proper C++ library support
13009 ld_shlibs_CXX=no
13010 ;;
13011 *)
13012 # FIXME: insert proper C++ library support
13013 ld_shlibs_CXX=no
13014 ;;
13015 esac
13016 ;;
13017
13018 solaris*)
13019 case $cc_basename in
13020 CC*)
13021 # Sun C++ 4.2, 5.x and Centerline C++
13022 archive_cmds_need_lc_CXX=yes
13023 no_undefined_flag_CXX=' -zdefs'
13024 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13025 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13026 $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'
13027
13028 hardcode_libdir_flag_spec_CXX='-R$libdir'
13029 hardcode_shlibpath_var_CXX=no
13030 case $host_os in
13031 solaris2.[0-5] | solaris2.[0-5].*) ;;
13032 *)
13033 # The compiler driver will combine and reorder linker options,
13034 # but understands `-z linker_flag'.
13035 # Supported since Solaris 2.6 (maybe 2.5.1?)
13036 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13037 ;;
13038 esac
13039 link_all_deplibs_CXX=yes
13040
13041 output_verbose_link_cmd='func_echo_all'
13042
13043 # Archives containing C++ object files must be created using
13044 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13045 # necessary to make sure instantiated templates are included
13046 # in the archive.
13047 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13048 ;;
13049 gcx*)
13050 # Green Hills C++ Compiler
13051 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13052
13053 # The C++ compiler must be used to create the archive.
13054 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13055 ;;
13056 *)
13057 # GNU C++ compiler with Solaris linker
13058 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13060 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13061 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13062 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13063 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13064
13065 # Commands to make compiler produce verbose output that lists
13066 # what "hidden" libraries, object files and flags are used when
13067 # linking a shared library.
13068 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13069 else
13070 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13071 # platform.
13072 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080 fi
13081
13082 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13083 case $host_os in
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13085 *)
13086 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13087 ;;
13088 esac
13089 fi
13090 ;;
13091 esac
13092 ;;
13093
13094 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13095 no_undefined_flag_CXX='${wl}-z,text'
13096 archive_cmds_need_lc_CXX=no
13097 hardcode_shlibpath_var_CXX=no
13098 runpath_var='LD_RUN_PATH'
13099
13100 case $cc_basename in
13101 CC*)
13102 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104 ;;
13105 *)
13106 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 ;;
13109 esac
13110 ;;
13111
13112 sysv5* | sco3.2v5* | sco5v6*)
13113 # Note: We can NOT use -z defs as we might desire, because we do not
13114 # link with -lc, and that would cause any symbols used from libc to
13115 # always be unresolved, which means just about no library would
13116 # ever link correctly. If we're not using GNU ld we use -z text
13117 # though, which does catch some bad symbols but isn't as heavy-handed
13118 # as -z defs.
13119 no_undefined_flag_CXX='${wl}-z,text'
13120 allow_undefined_flag_CXX='${wl}-z,nodefs'
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_shlibpath_var_CXX=no
13123 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13124 hardcode_libdir_separator_CXX=':'
13125 link_all_deplibs_CXX=yes
13126 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13127 runpath_var='LD_RUN_PATH'
13128
13129 case $cc_basename in
13130 CC*)
13131 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13134 '"$old_archive_cmds_CXX"
13135 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13136 '"$reload_cmds_CXX"
13137 ;;
13138 *)
13139 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 ;;
13142 esac
13143 ;;
13144
13145 tandem*)
13146 case $cc_basename in
13147 NCC*)
13148 # NonStop-UX NCC 3.20
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13151 ;;
13152 *)
13153 # FIXME: insert proper C++ library support
13154 ld_shlibs_CXX=no
13155 ;;
13156 esac
13157 ;;
13158
13159 vxworks*)
13160 # FIXME: insert proper C++ library support
13161 ld_shlibs_CXX=no
13162 ;;
13163
13164 *)
13165 # FIXME: insert proper C++ library support
13166 ld_shlibs_CXX=no
13167 ;;
13168 esac
13169
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13171 $as_echo "$ld_shlibs_CXX" >&6; }
13172 test "$ld_shlibs_CXX" = no && can_build_shared=no
13173
13174 GCC_CXX="$GXX"
13175 LD_CXX="$LD"
13176
13177 ## CAVEAT EMPTOR:
13178 ## There is no encapsulation within the following macros, do not change
13179 ## the running order or otherwise move them around unless you know exactly
13180 ## what you are doing...
13181 # Dependencies to place before and after the object being linked:
13182 predep_objects_CXX=
13183 postdep_objects_CXX=
13184 predeps_CXX=
13185 postdeps_CXX=
13186 compiler_lib_search_path_CXX=
13187
13188 cat > conftest.$ac_ext <<_LT_EOF
13189 class Foo
13190 {
13191 public:
13192 Foo (void) { a = 0; }
13193 private:
13194 int a;
13195 };
13196 _LT_EOF
13197
13198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13199 (eval $ac_compile) 2>&5
13200 ac_status=$?
13201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202 test $ac_status = 0; }; then
13203 # Parse the compiler output and extract the necessary
13204 # objects, libraries and library flags.
13205
13206 # Sentinel used to keep track of whether or not we are before
13207 # the conftest object file.
13208 pre_test_object_deps_done=no
13209
13210 for p in `eval "$output_verbose_link_cmd"`; do
13211 case $p in
13212
13213 -L* | -R* | -l*)
13214 # Some compilers place space between "-{L,R}" and the path.
13215 # Remove the space.
13216 if test $p = "-L" ||
13217 test $p = "-R"; then
13218 prev=$p
13219 continue
13220 else
13221 prev=
13222 fi
13223
13224 if test "$pre_test_object_deps_done" = no; then
13225 case $p in
13226 -L* | -R*)
13227 # Internal compiler library paths should come after those
13228 # provided the user. The postdeps already come after the
13229 # user supplied libs so there is no need to process them.
13230 if test -z "$compiler_lib_search_path_CXX"; then
13231 compiler_lib_search_path_CXX="${prev}${p}"
13232 else
13233 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13234 fi
13235 ;;
13236 # The "-l" case would never come before the object being
13237 # linked, so don't bother handling this case.
13238 esac
13239 else
13240 if test -z "$postdeps_CXX"; then
13241 postdeps_CXX="${prev}${p}"
13242 else
13243 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13244 fi
13245 fi
13246 ;;
13247
13248 *.$objext)
13249 # This assumes that the test object file only shows up
13250 # once in the compiler output.
13251 if test "$p" = "conftest.$objext"; then
13252 pre_test_object_deps_done=yes
13253 continue
13254 fi
13255
13256 if test "$pre_test_object_deps_done" = no; then
13257 if test -z "$predep_objects_CXX"; then
13258 predep_objects_CXX="$p"
13259 else
13260 predep_objects_CXX="$predep_objects_CXX $p"
13261 fi
13262 else
13263 if test -z "$postdep_objects_CXX"; then
13264 postdep_objects_CXX="$p"
13265 else
13266 postdep_objects_CXX="$postdep_objects_CXX $p"
13267 fi
13268 fi
13269 ;;
13270
13271 *) ;; # Ignore the rest.
13272
13273 esac
13274 done
13275
13276 # Clean up.
13277 rm -f a.out a.exe
13278 else
13279 echo "libtool.m4: error: problem compiling CXX test program"
13280 fi
13281
13282 $RM -f confest.$objext
13283
13284 # PORTME: override above test on systems where it is broken
13285 case $host_os in
13286 interix[3-9]*)
13287 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13288 # hack all around it, let's just trust "g++" to DTRT.
13289 predep_objects_CXX=
13290 postdep_objects_CXX=
13291 postdeps_CXX=
13292 ;;
13293
13294 linux*)
13295 case `$CC -V 2>&1 | sed 5q` in
13296 *Sun\ C*)
13297 # Sun C++ 5.9
13298
13299 # The more standards-conforming stlport4 library is
13300 # incompatible with the Cstd library. Avoid specifying
13301 # it if it's in CXXFLAGS. Ignore libCrun as
13302 # -library=stlport4 depends on it.
13303 case " $CXX $CXXFLAGS " in
13304 *" -library=stlport4 "*)
13305 solaris_use_stlport4=yes
13306 ;;
13307 esac
13308
13309 if test "$solaris_use_stlport4" != yes; then
13310 postdeps_CXX='-library=Cstd -library=Crun'
13311 fi
13312 ;;
13313 esac
13314 ;;
13315
13316 solaris*)
13317 case $cc_basename in
13318 CC*)
13319 # The more standards-conforming stlport4 library is
13320 # incompatible with the Cstd library. Avoid specifying
13321 # it if it's in CXXFLAGS. Ignore libCrun as
13322 # -library=stlport4 depends on it.
13323 case " $CXX $CXXFLAGS " in
13324 *" -library=stlport4 "*)
13325 solaris_use_stlport4=yes
13326 ;;
13327 esac
13328
13329 # Adding this requires a known-good setup of shared libraries for
13330 # Sun compiler versions before 5.6, else PIC objects from an old
13331 # archive will be linked into the output, leading to subtle bugs.
13332 if test "$solaris_use_stlport4" != yes; then
13333 postdeps_CXX='-library=Cstd -library=Crun'
13334 fi
13335 ;;
13336 esac
13337 ;;
13338 esac
13339
13340
13341 case " $postdeps_CXX " in
13342 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13343 esac
13344 compiler_lib_search_dirs_CXX=
13345 if test -n "${compiler_lib_search_path_CXX}"; then
13346 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13347 fi
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379 lt_prog_compiler_wl_CXX=
13380 lt_prog_compiler_pic_CXX=
13381 lt_prog_compiler_static_CXX=
13382
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13384 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13385
13386 # C++ specific cases for pic, static, wl, etc.
13387 if test "$GXX" = yes; then
13388 lt_prog_compiler_wl_CXX='-Wl,'
13389 lt_prog_compiler_static_CXX='-static'
13390
13391 case $host_os in
13392 aix*)
13393 # All AIX code is PIC.
13394 if test "$host_cpu" = ia64; then
13395 # AIX 5 now supports IA64 processor
13396 lt_prog_compiler_static_CXX='-Bstatic'
13397 fi
13398 ;;
13399
13400 amigaos*)
13401 case $host_cpu in
13402 powerpc)
13403 # see comment about AmigaOS4 .so support
13404 lt_prog_compiler_pic_CXX='-fPIC'
13405 ;;
13406 m68k)
13407 # FIXME: we need at least 68020 code to build shared libraries, but
13408 # adding the `-m68020' flag to GCC prevents building anything better,
13409 # like `-m68040'.
13410 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13411 ;;
13412 esac
13413 ;;
13414
13415 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13416 # PIC is the default for these OSes.
13417 ;;
13418 mingw* | cygwin* | os2* | pw32* | cegcc*)
13419 # This hack is so that the source file can tell whether it is being
13420 # built for inclusion in a dll (and should export symbols for example).
13421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13422 # (--disable-auto-import) libraries
13423 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13424 ;;
13425 darwin* | rhapsody*)
13426 # PIC is the default on this platform
13427 # Common symbols not allowed in MH_DYLIB files
13428 lt_prog_compiler_pic_CXX='-fno-common'
13429 ;;
13430 *djgpp*)
13431 # DJGPP does not support shared libraries at all
13432 lt_prog_compiler_pic_CXX=
13433 ;;
13434 haiku*)
13435 # PIC is the default for Haiku.
13436 # The "-static" flag exists, but is broken.
13437 lt_prog_compiler_static_CXX=
13438 ;;
13439 interix[3-9]*)
13440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13441 # Instead, we relocate shared libraries at runtime.
13442 ;;
13443 sysv4*MP*)
13444 if test -d /usr/nec; then
13445 lt_prog_compiler_pic_CXX=-Kconform_pic
13446 fi
13447 ;;
13448 hpux*)
13449 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13450 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13451 # sets the default TLS model and affects inlining.
13452 case $host_cpu in
13453 hppa*64*)
13454 ;;
13455 *)
13456 lt_prog_compiler_pic_CXX='-fPIC'
13457 ;;
13458 esac
13459 ;;
13460 *qnx* | *nto*)
13461 # QNX uses GNU C++, but need to define -shared option too, otherwise
13462 # it will coredump.
13463 lt_prog_compiler_pic_CXX='-fPIC -shared'
13464 ;;
13465 *)
13466 lt_prog_compiler_pic_CXX='-fPIC'
13467 ;;
13468 esac
13469 else
13470 case $host_os in
13471 aix[4-9]*)
13472 # All AIX code is PIC.
13473 if test "$host_cpu" = ia64; then
13474 # AIX 5 now supports IA64 processor
13475 lt_prog_compiler_static_CXX='-Bstatic'
13476 else
13477 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13478 fi
13479 ;;
13480 chorus*)
13481 case $cc_basename in
13482 cxch68*)
13483 # Green Hills C++ Compiler
13484 # _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"
13485 ;;
13486 esac
13487 ;;
13488 dgux*)
13489 case $cc_basename in
13490 ec++*)
13491 lt_prog_compiler_pic_CXX='-KPIC'
13492 ;;
13493 ghcx*)
13494 # Green Hills C++ Compiler
13495 lt_prog_compiler_pic_CXX='-pic'
13496 ;;
13497 *)
13498 ;;
13499 esac
13500 ;;
13501 freebsd* | dragonfly*)
13502 # FreeBSD uses GNU C++
13503 ;;
13504 hpux9* | hpux10* | hpux11*)
13505 case $cc_basename in
13506 CC*)
13507 lt_prog_compiler_wl_CXX='-Wl,'
13508 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13509 if test "$host_cpu" != ia64; then
13510 lt_prog_compiler_pic_CXX='+Z'
13511 fi
13512 ;;
13513 aCC*)
13514 lt_prog_compiler_wl_CXX='-Wl,'
13515 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13516 case $host_cpu in
13517 hppa*64*|ia64*)
13518 # +Z the default
13519 ;;
13520 *)
13521 lt_prog_compiler_pic_CXX='+Z'
13522 ;;
13523 esac
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 interix*)
13530 # This is c89, which is MS Visual C++ (no shared libs)
13531 # Anyone wants to do a port?
13532 ;;
13533 irix5* | irix6* | nonstopux*)
13534 case $cc_basename in
13535 CC*)
13536 lt_prog_compiler_wl_CXX='-Wl,'
13537 lt_prog_compiler_static_CXX='-non_shared'
13538 # CC pic flag -KPIC is the default.
13539 ;;
13540 *)
13541 ;;
13542 esac
13543 ;;
13544 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13545 case $cc_basename in
13546 KCC*)
13547 # KAI C++ Compiler
13548 lt_prog_compiler_wl_CXX='--backend -Wl,'
13549 lt_prog_compiler_pic_CXX='-fPIC'
13550 ;;
13551 ecpc* )
13552 # old Intel C++ for x86_64 which still supported -KPIC.
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_pic_CXX='-KPIC'
13555 lt_prog_compiler_static_CXX='-static'
13556 ;;
13557 icpc* )
13558 # Intel C++, used to be incompatible with GCC.
13559 # ICC 10 doesn't accept -KPIC any more.
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_pic_CXX='-fPIC'
13562 lt_prog_compiler_static_CXX='-static'
13563 ;;
13564 pgCC* | pgcpp*)
13565 # Portland Group C++ compiler
13566 lt_prog_compiler_wl_CXX='-Wl,'
13567 lt_prog_compiler_pic_CXX='-fpic'
13568 lt_prog_compiler_static_CXX='-Bstatic'
13569 ;;
13570 cxx*)
13571 # Compaq C++
13572 # Make sure the PIC flag is empty. It appears that all Alpha
13573 # Linux and Compaq Tru64 Unix objects are PIC.
13574 lt_prog_compiler_pic_CXX=
13575 lt_prog_compiler_static_CXX='-non_shared'
13576 ;;
13577 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13578 # IBM XL 8.0, 9.0 on PPC and BlueGene
13579 lt_prog_compiler_wl_CXX='-Wl,'
13580 lt_prog_compiler_pic_CXX='-qpic'
13581 lt_prog_compiler_static_CXX='-qstaticlink'
13582 ;;
13583 *)
13584 case `$CC -V 2>&1 | sed 5q` in
13585 *Sun\ C*)
13586 # Sun C++ 5.9
13587 lt_prog_compiler_pic_CXX='-KPIC'
13588 lt_prog_compiler_static_CXX='-Bstatic'
13589 lt_prog_compiler_wl_CXX='-Qoption ld '
13590 ;;
13591 esac
13592 ;;
13593 esac
13594 ;;
13595 lynxos*)
13596 ;;
13597 m88k*)
13598 ;;
13599 mvs*)
13600 case $cc_basename in
13601 cxx*)
13602 lt_prog_compiler_pic_CXX='-W c,exportall'
13603 ;;
13604 *)
13605 ;;
13606 esac
13607 ;;
13608 netbsd*)
13609 ;;
13610 *qnx* | *nto*)
13611 # QNX uses GNU C++, but need to define -shared option too, otherwise
13612 # it will coredump.
13613 lt_prog_compiler_pic_CXX='-fPIC -shared'
13614 ;;
13615 osf3* | osf4* | osf5*)
13616 case $cc_basename in
13617 KCC*)
13618 lt_prog_compiler_wl_CXX='--backend -Wl,'
13619 ;;
13620 RCC*)
13621 # Rational C++ 2.4.1
13622 lt_prog_compiler_pic_CXX='-pic'
13623 ;;
13624 cxx*)
13625 # Digital/Compaq C++
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 # Make sure the PIC flag is empty. It appears that all Alpha
13628 # Linux and Compaq Tru64 Unix objects are PIC.
13629 lt_prog_compiler_pic_CXX=
13630 lt_prog_compiler_static_CXX='-non_shared'
13631 ;;
13632 *)
13633 ;;
13634 esac
13635 ;;
13636 psos*)
13637 ;;
13638 solaris*)
13639 case $cc_basename in
13640 CC*)
13641 # Sun C++ 4.2, 5.x and Centerline C++
13642 lt_prog_compiler_pic_CXX='-KPIC'
13643 lt_prog_compiler_static_CXX='-Bstatic'
13644 lt_prog_compiler_wl_CXX='-Qoption ld '
13645 ;;
13646 gcx*)
13647 # Green Hills C++ Compiler
13648 lt_prog_compiler_pic_CXX='-PIC'
13649 ;;
13650 *)
13651 ;;
13652 esac
13653 ;;
13654 sunos4*)
13655 case $cc_basename in
13656 CC*)
13657 # Sun C++ 4.x
13658 lt_prog_compiler_pic_CXX='-pic'
13659 lt_prog_compiler_static_CXX='-Bstatic'
13660 ;;
13661 lcc*)
13662 # Lucid
13663 lt_prog_compiler_pic_CXX='-pic'
13664 ;;
13665 *)
13666 ;;
13667 esac
13668 ;;
13669 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13670 case $cc_basename in
13671 CC*)
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-KPIC'
13674 lt_prog_compiler_static_CXX='-Bstatic'
13675 ;;
13676 esac
13677 ;;
13678 tandem*)
13679 case $cc_basename in
13680 NCC*)
13681 # NonStop-UX NCC 3.20
13682 lt_prog_compiler_pic_CXX='-KPIC'
13683 ;;
13684 *)
13685 ;;
13686 esac
13687 ;;
13688 vxworks*)
13689 ;;
13690 *)
13691 lt_prog_compiler_can_build_shared_CXX=no
13692 ;;
13693 esac
13694 fi
13695
13696 case $host_os in
13697 # For platforms which do not support PIC, -DPIC is meaningless:
13698 *djgpp*)
13699 lt_prog_compiler_pic_CXX=
13700 ;;
13701 *)
13702 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13703 ;;
13704 esac
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13706 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13707
13708
13709
13710 #
13711 # Check to make sure the PIC flag actually works.
13712 #
13713 if test -n "$lt_prog_compiler_pic_CXX"; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13715 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13716 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 lt_cv_prog_compiler_pic_works_CXX=no
13720 ac_outfile=conftest.$ac_objext
13721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13722 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13723 # Insert the option either (1) after the last *FLAGS variable, or
13724 # (2) before a word containing "conftest.", or (3) at the end.
13725 # Note that $ac_compile itself does not contain backslashes and begins
13726 # with a dollar sign (not a hyphen), so the echo should work correctly.
13727 # The option is referenced via a variable to avoid confusing sed.
13728 lt_compile=`echo "$ac_compile" | $SED \
13729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13731 -e 's:$: $lt_compiler_flag:'`
13732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13733 (eval "$lt_compile" 2>conftest.err)
13734 ac_status=$?
13735 cat conftest.err >&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 if (exit $ac_status) && test -s "$ac_outfile"; then
13738 # The compiler can only warn and ignore the option if not recognized
13739 # So say no if there are warnings other than the usual output.
13740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13742 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13743 lt_cv_prog_compiler_pic_works_CXX=yes
13744 fi
13745 fi
13746 $RM conftest*
13747
13748 fi
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13750 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13751
13752 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13753 case $lt_prog_compiler_pic_CXX in
13754 "" | " "*) ;;
13755 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13756 esac
13757 else
13758 lt_prog_compiler_pic_CXX=
13759 lt_prog_compiler_can_build_shared_CXX=no
13760 fi
13761
13762 fi
13763
13764
13765
13766 #
13767 # Check to make sure the static flag actually works.
13768 #
13769 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13771 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13772 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 lt_cv_prog_compiler_static_works_CXX=no
13776 save_LDFLAGS="$LDFLAGS"
13777 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13778 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13779 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13780 # The linker can only warn and ignore the option if not recognized
13781 # So say no if there are warnings
13782 if test -s conftest.err; then
13783 # Append any errors to the config.log.
13784 cat conftest.err 1>&5
13785 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13787 if diff conftest.exp conftest.er2 >/dev/null; then
13788 lt_cv_prog_compiler_static_works_CXX=yes
13789 fi
13790 else
13791 lt_cv_prog_compiler_static_works_CXX=yes
13792 fi
13793 fi
13794 $RM -r conftest*
13795 LDFLAGS="$save_LDFLAGS"
13796
13797 fi
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13799 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13800
13801 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13802 :
13803 else
13804 lt_prog_compiler_static_CXX=
13805 fi
13806
13807
13808
13809
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13812 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 lt_cv_prog_compiler_c_o_CXX=no
13816 $RM -r conftest 2>/dev/null
13817 mkdir conftest
13818 cd conftest
13819 mkdir out
13820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13821
13822 lt_compiler_flag="-o out/conftest2.$ac_objext"
13823 # Insert the option either (1) after the last *FLAGS variable, or
13824 # (2) before a word containing "conftest.", or (3) at the end.
13825 # Note that $ac_compile itself does not contain backslashes and begins
13826 # with a dollar sign (not a hyphen), so the echo should work correctly.
13827 lt_compile=`echo "$ac_compile" | $SED \
13828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13830 -e 's:$: $lt_compiler_flag:'`
13831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13832 (eval "$lt_compile" 2>out/conftest.err)
13833 ac_status=$?
13834 cat out/conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13837 then
13838 # The compiler can only warn and ignore the option if not recognized
13839 # So say no if there are warnings
13840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13841 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13842 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13843 lt_cv_prog_compiler_c_o_CXX=yes
13844 fi
13845 fi
13846 chmod u+w . 2>&5
13847 $RM conftest*
13848 # SGI C++ compiler will create directory out/ii_files/ for
13849 # template instantiation
13850 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13851 $RM out/* && rmdir out
13852 cd ..
13853 $RM -r conftest
13854 $RM conftest*
13855
13856 fi
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13858 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13859
13860
13861
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13864 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 lt_cv_prog_compiler_c_o_CXX=no
13868 $RM -r conftest 2>/dev/null
13869 mkdir conftest
13870 cd conftest
13871 mkdir out
13872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13873
13874 lt_compiler_flag="-o out/conftest2.$ac_objext"
13875 # Insert the option either (1) after the last *FLAGS variable, or
13876 # (2) before a word containing "conftest.", or (3) at the end.
13877 # Note that $ac_compile itself does not contain backslashes and begins
13878 # with a dollar sign (not a hyphen), so the echo should work correctly.
13879 lt_compile=`echo "$ac_compile" | $SED \
13880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13882 -e 's:$: $lt_compiler_flag:'`
13883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13884 (eval "$lt_compile" 2>out/conftest.err)
13885 ac_status=$?
13886 cat out/conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13889 then
13890 # The compiler can only warn and ignore the option if not recognized
13891 # So say no if there are warnings
13892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13895 lt_cv_prog_compiler_c_o_CXX=yes
13896 fi
13897 fi
13898 chmod u+w . 2>&5
13899 $RM conftest*
13900 # SGI C++ compiler will create directory out/ii_files/ for
13901 # template instantiation
13902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13903 $RM out/* && rmdir out
13904 cd ..
13905 $RM -r conftest
13906 $RM conftest*
13907
13908 fi
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13911
13912
13913
13914
13915 hard_links="nottested"
13916 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13917 # do not overwrite the value of need_locks provided by the user
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13919 $as_echo_n "checking if we can lock with hard links... " >&6; }
13920 hard_links=yes
13921 $RM conftest*
13922 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13923 touch conftest.a
13924 ln conftest.a conftest.b 2>&5 || hard_links=no
13925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13927 $as_echo "$hard_links" >&6; }
13928 if test "$hard_links" = no; then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13930 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13931 need_locks=warn
13932 fi
13933 else
13934 need_locks=no
13935 fi
13936
13937
13938
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13940 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13941
13942 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13943 case $host_os in
13944 aix[4-9]*)
13945 # If we're using GNU nm, then we don't want the "-C" option.
13946 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13947 # Also, AIX nm treats weak defined symbols like other global defined
13948 # symbols, whereas GNU nm marks them as "W".
13949 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13950 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'
13951 else
13952 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13953 fi
13954 ;;
13955 pw32*)
13956 export_symbols_cmds_CXX="$ltdll_cmds"
13957 ;;
13958 cygwin* | mingw* | cegcc*)
13959 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'
13960 ;;
13961 *)
13962 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13963 ;;
13964 esac
13965 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13966
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13968 $as_echo "$ld_shlibs_CXX" >&6; }
13969 test "$ld_shlibs_CXX" = no && can_build_shared=no
13970
13971 with_gnu_ld_CXX=$with_gnu_ld
13972
13973
13974
13975
13976
13977
13978 #
13979 # Do we need to explicitly link libc?
13980 #
13981 case "x$archive_cmds_need_lc_CXX" in
13982 x|xyes)
13983 # Assume -lc should be added
13984 archive_cmds_need_lc_CXX=yes
13985
13986 if test "$enable_shared" = yes && test "$GCC" = yes; then
13987 case $archive_cmds_CXX in
13988 *'~'*)
13989 # FIXME: we may have to deal with multi-command sequences.
13990 ;;
13991 '$CC '*)
13992 # Test whether the compiler implicitly links with -lc since on some
13993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13994 # to ld, don't add -lc before -lgcc.
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13997 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13998 $as_echo_n "(cached) " >&6
13999 else
14000 $RM conftest*
14001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14002
14003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14004 (eval $ac_compile) 2>&5
14005 ac_status=$?
14006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007 test $ac_status = 0; } 2>conftest.err; then
14008 soname=conftest
14009 lib=conftest
14010 libobjs=conftest.$ac_objext
14011 deplibs=
14012 wl=$lt_prog_compiler_wl_CXX
14013 pic_flag=$lt_prog_compiler_pic_CXX
14014 compiler_flags=-v
14015 linker_flags=-v
14016 verstring=
14017 output_objdir=.
14018 libname=conftest
14019 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14020 allow_undefined_flag_CXX=
14021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14022 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14023 ac_status=$?
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; }
14026 then
14027 lt_cv_archive_cmds_need_lc_CXX=no
14028 else
14029 lt_cv_archive_cmds_need_lc_CXX=yes
14030 fi
14031 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14032 else
14033 cat conftest.err 1>&5
14034 fi
14035 $RM conftest*
14036
14037 fi
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14039 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14040 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14041 ;;
14042 esac
14043 fi
14044 ;;
14045 esac
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14111 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14112
14113 library_names_spec=
14114 libname_spec='lib$name'
14115 soname_spec=
14116 shrext_cmds=".so"
14117 postinstall_cmds=
14118 postuninstall_cmds=
14119 finish_cmds=
14120 finish_eval=
14121 shlibpath_var=
14122 shlibpath_overrides_runpath=unknown
14123 version_type=none
14124 dynamic_linker="$host_os ld.so"
14125 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14126 need_lib_prefix=unknown
14127 hardcode_into_libs=no
14128
14129 # when you set need_version to no, make sure it does not cause -set_version
14130 # flags to be left without arguments
14131 need_version=unknown
14132
14133 case $host_os in
14134 aix3*)
14135 version_type=linux
14136 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14137 shlibpath_var=LIBPATH
14138
14139 # AIX 3 has no versioning support, so we append a major version to the name.
14140 soname_spec='${libname}${release}${shared_ext}$major'
14141 ;;
14142
14143 aix[4-9]*)
14144 version_type=linux
14145 need_lib_prefix=no
14146 need_version=no
14147 hardcode_into_libs=yes
14148 if test "$host_cpu" = ia64; then
14149 # AIX 5 supports IA64
14150 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14151 shlibpath_var=LD_LIBRARY_PATH
14152 else
14153 # With GCC up to 2.95.x, collect2 would create an import file
14154 # for dependence libraries. The import file would start with
14155 # the line `#! .'. This would cause the generated library to
14156 # depend on `.', always an invalid library. This was fixed in
14157 # development snapshots of GCC prior to 3.0.
14158 case $host_os in
14159 aix4 | aix4.[01] | aix4.[01].*)
14160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14161 echo ' yes '
14162 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14163 :
14164 else
14165 can_build_shared=no
14166 fi
14167 ;;
14168 esac
14169 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14170 # soname into executable. Probably we can add versioning support to
14171 # collect2, so additional links can be useful in future.
14172 if test "$aix_use_runtimelinking" = yes; then
14173 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14174 # instead of lib<name>.a to let people know that these are not
14175 # typical AIX shared libraries.
14176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177 else
14178 # We preserve .a as extension for shared libraries through AIX4.2
14179 # and later when we are not doing run time linking.
14180 library_names_spec='${libname}${release}.a $libname.a'
14181 soname_spec='${libname}${release}${shared_ext}$major'
14182 fi
14183 shlibpath_var=LIBPATH
14184 fi
14185 ;;
14186
14187 amigaos*)
14188 case $host_cpu in
14189 powerpc)
14190 # Since July 2007 AmigaOS4 officially supports .so libraries.
14191 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14193 ;;
14194 m68k)
14195 library_names_spec='$libname.ixlibrary $libname.a'
14196 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14197 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'
14198 ;;
14199 esac
14200 ;;
14201
14202 beos*)
14203 library_names_spec='${libname}${shared_ext}'
14204 dynamic_linker="$host_os ld.so"
14205 shlibpath_var=LIBRARY_PATH
14206 ;;
14207
14208 bsdi[45]*)
14209 version_type=linux
14210 need_version=no
14211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 soname_spec='${libname}${release}${shared_ext}$major'
14213 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14214 shlibpath_var=LD_LIBRARY_PATH
14215 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14216 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14217 # the default ld.so.conf also contains /usr/contrib/lib and
14218 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14219 # libtool to hard-code these into programs
14220 ;;
14221
14222 cygwin* | mingw* | pw32* | cegcc*)
14223 version_type=windows
14224 shrext_cmds=".dll"
14225 need_version=no
14226 need_lib_prefix=no
14227
14228 case $GCC,$host_os in
14229 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14230 library_names_spec='$libname.dll.a'
14231 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14232 postinstall_cmds='base_file=`basename \${file}`~
14233 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14234 dldir=$destdir/`dirname \$dlpath`~
14235 test -d \$dldir || mkdir -p \$dldir~
14236 $install_prog $dir/$dlname \$dldir/$dlname~
14237 chmod a+x \$dldir/$dlname~
14238 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14239 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14240 fi'
14241 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14242 dlpath=$dir/\$dldll~
14243 $RM \$dlpath'
14244 shlibpath_overrides_runpath=yes
14245
14246 case $host_os in
14247 cygwin*)
14248 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14249 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14250
14251 ;;
14252 mingw* | cegcc*)
14253 # MinGW DLLs use traditional 'lib' prefix
14254 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14255 ;;
14256 pw32*)
14257 # pw32 DLLs use 'pw' prefix rather than 'lib'
14258 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 ;;
14260 esac
14261 ;;
14262
14263 *)
14264 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14265 ;;
14266 esac
14267 dynamic_linker='Win32 ld.exe'
14268 # FIXME: first we should search . and the directory the executable is in
14269 shlibpath_var=PATH
14270 ;;
14271
14272 darwin* | rhapsody*)
14273 dynamic_linker="$host_os dyld"
14274 version_type=darwin
14275 need_lib_prefix=no
14276 need_version=no
14277 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14278 soname_spec='${libname}${release}${major}$shared_ext'
14279 shlibpath_overrides_runpath=yes
14280 shlibpath_var=DYLD_LIBRARY_PATH
14281 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14282
14283 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14284 ;;
14285
14286 dgux*)
14287 version_type=linux
14288 need_lib_prefix=no
14289 need_version=no
14290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14291 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LD_LIBRARY_PATH
14293 ;;
14294
14295 freebsd* | dragonfly*)
14296 # DragonFly does not have aout. When/if they implement a new
14297 # versioning mechanism, adjust this.
14298 if test -x /usr/bin/objformat; then
14299 objformat=`/usr/bin/objformat`
14300 else
14301 case $host_os in
14302 freebsd[23].*) objformat=aout ;;
14303 *) objformat=elf ;;
14304 esac
14305 fi
14306 version_type=freebsd-$objformat
14307 case $version_type in
14308 freebsd-elf*)
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14310 need_version=no
14311 need_lib_prefix=no
14312 ;;
14313 freebsd-*)
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14315 need_version=yes
14316 ;;
14317 esac
14318 shlibpath_var=LD_LIBRARY_PATH
14319 case $host_os in
14320 freebsd2.*)
14321 shlibpath_overrides_runpath=yes
14322 ;;
14323 freebsd3.[01]* | freebsdelf3.[01]*)
14324 shlibpath_overrides_runpath=yes
14325 hardcode_into_libs=yes
14326 ;;
14327 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14328 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14329 shlibpath_overrides_runpath=no
14330 hardcode_into_libs=yes
14331 ;;
14332 *) # from 4.6 on, and DragonFly
14333 shlibpath_overrides_runpath=yes
14334 hardcode_into_libs=yes
14335 ;;
14336 esac
14337 ;;
14338
14339 gnu*)
14340 version_type=linux
14341 need_lib_prefix=no
14342 need_version=no
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14344 soname_spec='${libname}${release}${shared_ext}$major'
14345 shlibpath_var=LD_LIBRARY_PATH
14346 hardcode_into_libs=yes
14347 ;;
14348
14349 haiku*)
14350 version_type=linux
14351 need_lib_prefix=no
14352 need_version=no
14353 dynamic_linker="$host_os runtime_loader"
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LIBRARY_PATH
14357 shlibpath_overrides_runpath=yes
14358 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14359 hardcode_into_libs=yes
14360 ;;
14361
14362 hpux9* | hpux10* | hpux11*)
14363 # Give a soname corresponding to the major version so that dld.sl refuses to
14364 # link against other versions.
14365 version_type=sunos
14366 need_lib_prefix=no
14367 need_version=no
14368 case $host_cpu in
14369 ia64*)
14370 shrext_cmds='.so'
14371 hardcode_into_libs=yes
14372 dynamic_linker="$host_os dld.so"
14373 shlibpath_var=LD_LIBRARY_PATH
14374 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14376 soname_spec='${libname}${release}${shared_ext}$major'
14377 if test "X$HPUX_IA64_MODE" = X32; then
14378 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14379 else
14380 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14381 fi
14382 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14383 ;;
14384 hppa*64*)
14385 shrext_cmds='.sl'
14386 hardcode_into_libs=yes
14387 dynamic_linker="$host_os dld.sl"
14388 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14389 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14392 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14394 ;;
14395 *)
14396 shrext_cmds='.sl'
14397 dynamic_linker="$host_os dld.sl"
14398 shlibpath_var=SHLIB_PATH
14399 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 ;;
14403 esac
14404 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14405 postinstall_cmds='chmod 555 $lib'
14406 # or fails outright, so override atomically:
14407 install_override_mode=555
14408 ;;
14409
14410 interix[3-9]*)
14411 version_type=linux
14412 need_lib_prefix=no
14413 need_version=no
14414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14415 soname_spec='${libname}${release}${shared_ext}$major'
14416 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=no
14419 hardcode_into_libs=yes
14420 ;;
14421
14422 irix5* | irix6* | nonstopux*)
14423 case $host_os in
14424 nonstopux*) version_type=nonstopux ;;
14425 *)
14426 if test "$lt_cv_prog_gnu_ld" = yes; then
14427 version_type=linux
14428 else
14429 version_type=irix
14430 fi ;;
14431 esac
14432 need_lib_prefix=no
14433 need_version=no
14434 soname_spec='${libname}${release}${shared_ext}$major'
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14436 case $host_os in
14437 irix5* | nonstopux*)
14438 libsuff= shlibsuff=
14439 ;;
14440 *)
14441 case $LD in # libtool.m4 will add one of these switches to LD
14442 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14443 libsuff= shlibsuff= libmagic=32-bit;;
14444 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14445 libsuff=32 shlibsuff=N32 libmagic=N32;;
14446 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14447 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14448 *) libsuff= shlibsuff= libmagic=never-match;;
14449 esac
14450 ;;
14451 esac
14452 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14453 shlibpath_overrides_runpath=no
14454 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14455 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14456 hardcode_into_libs=yes
14457 ;;
14458
14459 # No shared lib support for Linux oldld, aout, or coff.
14460 linux*oldld* | linux*aout* | linux*coff*)
14461 dynamic_linker=no
14462 ;;
14463
14464 # This must be Linux ELF.
14465 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14466 version_type=linux
14467 need_lib_prefix=no
14468 need_version=no
14469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14470 soname_spec='${libname}${release}${shared_ext}$major'
14471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14472 shlibpath_var=LD_LIBRARY_PATH
14473 shlibpath_overrides_runpath=no
14474
14475 # Some binutils ld are patched to set DT_RUNPATH
14476 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14477 $as_echo_n "(cached) " >&6
14478 else
14479 lt_cv_shlibpath_overrides_runpath=no
14480 save_LDFLAGS=$LDFLAGS
14481 save_libdir=$libdir
14482 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14483 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14484 if test x$gcc_no_link = xyes; then
14485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14486 fi
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489
14490 int
14491 main ()
14492 {
14493
14494 ;
14495 return 0;
14496 }
14497 _ACEOF
14498 if ac_fn_cxx_try_link "$LINENO"; then :
14499 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14500 lt_cv_shlibpath_overrides_runpath=yes
14501 fi
14502 fi
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14505 LDFLAGS=$save_LDFLAGS
14506 libdir=$save_libdir
14507
14508 fi
14509
14510 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14511
14512 # This implies no fast_install, which is unacceptable.
14513 # Some rework will be needed to allow for fast_install
14514 # before this can be enabled.
14515 hardcode_into_libs=yes
14516
14517 # Append ld.so.conf contents to the search path
14518 if test -f /etc/ld.so.conf; then
14519 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' ' '`
14520 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14521 fi
14522
14523 # We used to test for /lib/ld.so.1 and disable shared libraries on
14524 # powerpc, because MkLinux only supported shared libraries with the
14525 # GNU dynamic linker. Since this was broken with cross compilers,
14526 # most powerpc-linux boxes support dynamic linking these days and
14527 # people can always --disable-shared, the test was removed, and we
14528 # assume the GNU/Linux dynamic linker is in use.
14529 dynamic_linker='GNU/Linux ld.so'
14530 ;;
14531
14532 netbsd*)
14533 version_type=sunos
14534 need_lib_prefix=no
14535 need_version=no
14536 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14538 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14539 dynamic_linker='NetBSD (a.out) ld.so'
14540 else
14541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14542 soname_spec='${libname}${release}${shared_ext}$major'
14543 dynamic_linker='NetBSD ld.elf_so'
14544 fi
14545 shlibpath_var=LD_LIBRARY_PATH
14546 shlibpath_overrides_runpath=yes
14547 hardcode_into_libs=yes
14548 ;;
14549
14550 newsos6)
14551 version_type=linux
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 shlibpath_var=LD_LIBRARY_PATH
14554 shlibpath_overrides_runpath=yes
14555 ;;
14556
14557 *nto* | *qnx*)
14558 version_type=qnx
14559 need_lib_prefix=no
14560 need_version=no
14561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562 soname_spec='${libname}${release}${shared_ext}$major'
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=no
14565 hardcode_into_libs=yes
14566 dynamic_linker='ldqnx.so'
14567 ;;
14568
14569 openbsd*)
14570 version_type=sunos
14571 sys_lib_dlsearch_path_spec="/usr/lib"
14572 need_lib_prefix=no
14573 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14574 case $host_os in
14575 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14576 *) need_version=no ;;
14577 esac
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14582 case $host_os in
14583 openbsd2.[89] | openbsd2.[89].*)
14584 shlibpath_overrides_runpath=no
14585 ;;
14586 *)
14587 shlibpath_overrides_runpath=yes
14588 ;;
14589 esac
14590 else
14591 shlibpath_overrides_runpath=yes
14592 fi
14593 ;;
14594
14595 os2*)
14596 libname_spec='$name'
14597 shrext_cmds=".dll"
14598 need_lib_prefix=no
14599 library_names_spec='$libname${shared_ext} $libname.a'
14600 dynamic_linker='OS/2 ld.exe'
14601 shlibpath_var=LIBPATH
14602 ;;
14603
14604 osf3* | osf4* | osf5*)
14605 version_type=osf
14606 need_lib_prefix=no
14607 need_version=no
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 shlibpath_var=LD_LIBRARY_PATH
14611 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14612 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14613 ;;
14614
14615 rdos*)
14616 dynamic_linker=no
14617 ;;
14618
14619 solaris*)
14620 version_type=linux
14621 need_lib_prefix=no
14622 need_version=no
14623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14624 soname_spec='${libname}${release}${shared_ext}$major'
14625 shlibpath_var=LD_LIBRARY_PATH
14626 shlibpath_overrides_runpath=yes
14627 hardcode_into_libs=yes
14628 # ldd complains unless libraries are executable
14629 postinstall_cmds='chmod +x $lib'
14630 ;;
14631
14632 sunos4*)
14633 version_type=sunos
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14635 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 if test "$with_gnu_ld" = yes; then
14639 need_lib_prefix=no
14640 fi
14641 need_version=yes
14642 ;;
14643
14644 sysv4 | sysv4.3*)
14645 version_type=linux
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14647 soname_spec='${libname}${release}${shared_ext}$major'
14648 shlibpath_var=LD_LIBRARY_PATH
14649 case $host_vendor in
14650 sni)
14651 shlibpath_overrides_runpath=no
14652 need_lib_prefix=no
14653 runpath_var=LD_RUN_PATH
14654 ;;
14655 siemens)
14656 need_lib_prefix=no
14657 ;;
14658 motorola)
14659 need_lib_prefix=no
14660 need_version=no
14661 shlibpath_overrides_runpath=no
14662 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14663 ;;
14664 esac
14665 ;;
14666
14667 sysv4*MP*)
14668 if test -d /usr/nec ;then
14669 version_type=linux
14670 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14671 soname_spec='$libname${shared_ext}.$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 fi
14674 ;;
14675
14676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14677 version_type=freebsd-elf
14678 need_lib_prefix=no
14679 need_version=no
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14681 soname_spec='${libname}${release}${shared_ext}$major'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 hardcode_into_libs=yes
14685 if test "$with_gnu_ld" = yes; then
14686 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14687 else
14688 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14689 case $host_os in
14690 sco3.2v5*)
14691 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14692 ;;
14693 esac
14694 fi
14695 sys_lib_dlsearch_path_spec='/usr/lib'
14696 ;;
14697
14698 tpf*)
14699 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14700 version_type=linux
14701 need_lib_prefix=no
14702 need_version=no
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 shlibpath_var=LD_LIBRARY_PATH
14705 shlibpath_overrides_runpath=no
14706 hardcode_into_libs=yes
14707 ;;
14708
14709 uts4*)
14710 version_type=linux
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14712 soname_spec='${libname}${release}${shared_ext}$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14714 ;;
14715
14716 *)
14717 dynamic_linker=no
14718 ;;
14719 esac
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14721 $as_echo "$dynamic_linker" >&6; }
14722 test "$dynamic_linker" = no && can_build_shared=no
14723
14724 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14725 if test "$GCC" = yes; then
14726 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14727 fi
14728
14729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14730 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14731 fi
14732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14733 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14734 fi
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14775 hardcode_action_CXX=
14776 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14777 test -n "$runpath_var_CXX" ||
14778 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14779
14780 # We can hardcode non-existent directories.
14781 if test "$hardcode_direct_CXX" != no &&
14782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14783 # have to relink, otherwise we might link with an installed library
14784 # when we should be linking with a yet-to-be-installed one
14785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14786 test "$hardcode_minus_L_CXX" != no; then
14787 # Linking always hardcodes the temporary library directory.
14788 hardcode_action_CXX=relink
14789 else
14790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14791 hardcode_action_CXX=immediate
14792 fi
14793 else
14794 # We cannot hardcode anything, or else we can only hardcode existing
14795 # directories.
14796 hardcode_action_CXX=unsupported
14797 fi
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14799 $as_echo "$hardcode_action_CXX" >&6; }
14800
14801 if test "$hardcode_action_CXX" = relink ||
14802 test "$inherit_rpath_CXX" = yes; then
14803 # Fast installation is not supported
14804 enable_fast_install=no
14805 elif test "$shlibpath_overrides_runpath" = yes ||
14806 test "$enable_shared" = no; then
14807 # Fast installation is not necessary
14808 enable_fast_install=needless
14809 fi
14810
14811
14812
14813
14814
14815
14816
14817 fi # test -n "$compiler"
14818
14819 CC=$lt_save_CC
14820 LDCXX=$LD
14821 LD=$lt_save_LD
14822 GCC=$lt_save_GCC
14823 with_gnu_ld=$lt_save_with_gnu_ld
14824 lt_cv_path_LDCXX=$lt_cv_path_LD
14825 lt_cv_path_LD=$lt_save_path_LD
14826 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14827 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14828 fi # test "$_lt_caught_CXX_error" != yes
14829
14830 ac_ext=c
14831 ac_cpp='$CPP $CPPFLAGS'
14832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848 ac_config_commands="$ac_config_commands libtool"
14849
14850
14851
14852
14853 # Only expand once:
14854
14855
14856
14857
14858
14859 case $host in
14860 *-cygwin* | *-mingw*)
14861 # 'host' will be top-level target in the case of a target lib,
14862 # we must compare to with_cross_host to decide if this is a native
14863 # or cross-compiler and select where to install dlls appropriately.
14864 if test -n "$with_cross_host" &&
14865 test x"$with_cross_host" != x"no"; then
14866 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14867 else
14868 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14869 fi
14870 ;;
14871 *)
14872 lt_host_flags=
14873 ;;
14874 esac
14875
14876
14877
14878
14879
14880
14881 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14882 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14883
14884 # Possibly disable most of the library.
14885 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14886 ## than just ignoring the results. Faster /and/ more correct, win win.
14887
14888 # Check whether --enable-hosted-libstdcxx was given.
14889 if test "${enable_hosted_libstdcxx+set}" = set; then :
14890 enableval=$enable_hosted_libstdcxx;
14891 else
14892 case "$host" in
14893 arm*-*-symbianelf*)
14894 enable_hosted_libstdcxx=no
14895 ;;
14896 *)
14897 enable_hosted_libstdcxx=yes
14898 ;;
14899 esac
14900 fi
14901
14902 if test "$enable_hosted_libstdcxx" = no; then
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14904 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14905 is_hosted=no
14906 hosted_define=0
14907 enable_abi_check=no
14908 enable_libstdcxx_pch=no
14909 else
14910 is_hosted=yes
14911 hosted_define=1
14912 fi
14913
14914
14915 cat >>confdefs.h <<_ACEOF
14916 #define _GLIBCXX_HOSTED $hosted_define
14917 _ACEOF
14918
14919
14920
14921 # Enable compiler support that doesn't require linking.
14922
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14924 $as_echo_n "checking for exception model to use... " >&6; }
14925
14926 ac_ext=cpp
14927 ac_cpp='$CXXCPP $CPPFLAGS'
14928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14931
14932 # Check whether --enable-sjlj-exceptions was given.
14933 if test "${enable_sjlj_exceptions+set}" = set; then :
14934 enableval=$enable_sjlj_exceptions;
14935 case "$enableval" in
14936 yes|no|auto) ;;
14937 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14938 esac
14939
14940 else
14941 enable_sjlj_exceptions=auto
14942 fi
14943
14944
14945
14946 if test $enable_sjlj_exceptions = auto; then
14947 # Botheration. Now we've got to detect the exception model. Link tests
14948 # against libgcc.a are problematic since we've not been given proper -L
14949 # bits for single-tree newlib and libgloss.
14950 #
14951 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14952 cat > conftest.$ac_ext << EOF
14953 #line 14953 "configure"
14954 struct S { ~S(); };
14955 void bar();
14956 void foo()
14957 {
14958 S s;
14959 bar();
14960 }
14961 EOF
14962 old_CXXFLAGS="$CXXFLAGS"
14963 CXXFLAGS=-S
14964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14965 (eval $ac_compile) 2>&5
14966 ac_status=$?
14967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14968 test $ac_status = 0; }; then
14969 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14970 enable_sjlj_exceptions=yes
14971 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=no
14973 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 fi
14976 fi
14977 CXXFLAGS="$old_CXXFLAGS"
14978 rm -f conftest*
14979 fi
14980
14981 # This is a tad weird, for hysterical raisins. We have to map
14982 # enable/disable to two different models.
14983 case $enable_sjlj_exceptions in
14984 yes)
14985
14986 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14987
14988 ac_exception_model_name=sjlj
14989 ;;
14990 no)
14991 ac_exception_model_name="call frame"
14992 ;;
14993 *)
14994 as_fn_error "unable to detect exception model" "$LINENO" 5
14995 ;;
14996 esac
14997 ac_ext=c
14998 ac_cpp='$CPP $CPPFLAGS'
14999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15002
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15004 $as_echo "$ac_exception_model_name" >&6; }
15005
15006
15007 # Check whether --enable-libstdcxx-pch was given.
15008 if test "${enable_libstdcxx_pch+set}" = set; then :
15009 enableval=$enable_libstdcxx_pch;
15010 case "$enableval" in
15011 yes|no) ;;
15012 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15013 esac
15014
15015 else
15016 enable_libstdcxx_pch=$is_hosted
15017 fi
15018
15019
15020 if test $enable_libstdcxx_pch = yes; then
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15022 $as_echo_n "checking for compiler with PCH support... " >&6; }
15023 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 ac_save_CXXFLAGS="$CXXFLAGS"
15027 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15028
15029 ac_ext=cpp
15030 ac_cpp='$CXXCPP $CPPFLAGS'
15031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034
15035 echo '#include <math.h>' > conftest.h
15036 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15037 -o conftest.h.gch 1>&5 2>&1 &&
15038 echo '#error "pch failed"' > conftest.h &&
15039 echo '#include "conftest.h"' > conftest.cc &&
15040 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15041 then
15042 glibcxx_cv_prog_CXX_pch=yes
15043 else
15044 glibcxx_cv_prog_CXX_pch=no
15045 fi
15046 rm -f conftest*
15047 CXXFLAGS=$ac_save_CXXFLAGS
15048 ac_ext=c
15049 ac_cpp='$CPP $CPPFLAGS'
15050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15053
15054
15055 fi
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15057 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15058 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15059 fi
15060
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15062 $as_echo_n "checking for enabled PCH... " >&6; }
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15064 $as_echo "$enable_libstdcxx_pch" >&6; }
15065
15066
15067 if test $enable_libstdcxx_pch = yes; then
15068 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15069 else
15070 glibcxx_PCHFLAGS=""
15071 fi
15072
15073
15074
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15076 $as_echo_n "checking for thread model used by GCC... " >&6; }
15077 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15079 $as_echo "$target_thread_file" >&6; }
15080
15081
15082
15083 ac_ext=cpp
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15088
15089 old_CXXFLAGS="$CXXFLAGS"
15090
15091 # Do link tests if possible, instead asm tests, limited to some platforms
15092 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15093 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15094 atomic_builtins_link_tests=no
15095 if test x$gcc_no_link != xyes; then
15096 # Can do link tests. Limit to some tested platforms
15097 case "$host" in
15098 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15099 atomic_builtins_link_tests=yes
15100 ;;
15101 esac
15102 fi
15103
15104 if test x$atomic_builtins_link_tests = xyes; then
15105
15106 # Do link tests.
15107
15108 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15109
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15111 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15112 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115
15116 if test x$gcc_no_link = xyes; then
15117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15118 fi
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121
15122 int
15123 main ()
15124 {
15125 typedef bool atomic_type;
15126 atomic_type c1;
15127 atomic_type c2;
15128 const atomic_type c3(0);
15129 __sync_fetch_and_add(&c1, c2);
15130 __sync_val_compare_and_swap(&c1, c3, c2);
15131 __sync_lock_test_and_set(&c1, c3);
15132 __sync_lock_release(&c1);
15133 __sync_synchronize();
15134 ;
15135 return 0;
15136 }
15137 _ACEOF
15138 if ac_fn_cxx_try_link "$LINENO"; then :
15139 glibcxx_cv_atomic_bool=yes
15140 else
15141 glibcxx_cv_atomic_bool=no
15142 fi
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145
15146 fi
15147
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15149 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15150
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15152 $as_echo_n "checking for atomic builtins for short... " >&6; }
15153 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156
15157 if test x$gcc_no_link = xyes; then
15158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15159 fi
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162
15163 int
15164 main ()
15165 {
15166 typedef short atomic_type;
15167 atomic_type c1;
15168 atomic_type c2;
15169 const atomic_type c3(0);
15170 __sync_fetch_and_add(&c1, c2);
15171 __sync_val_compare_and_swap(&c1, c3, c2);
15172 __sync_lock_test_and_set(&c1, c3);
15173 __sync_lock_release(&c1);
15174 __sync_synchronize();
15175 ;
15176 return 0;
15177 }
15178 _ACEOF
15179 if ac_fn_cxx_try_link "$LINENO"; then :
15180 glibcxx_cv_atomic_short=yes
15181 else
15182 glibcxx_cv_atomic_short=no
15183 fi
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186
15187 fi
15188
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15190 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15191
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15193 $as_echo_n "checking for atomic builtins for int... " >&6; }
15194 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197
15198 if test x$gcc_no_link = xyes; then
15199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15200 fi
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203
15204 int
15205 main ()
15206 {
15207 typedef int atomic_type;
15208 atomic_type c1;
15209 atomic_type c2;
15210 const atomic_type c3(0);
15211 __sync_fetch_and_add(&c1, c2);
15212 __sync_val_compare_and_swap(&c1, c3, c2);
15213 __sync_lock_test_and_set(&c1, c3);
15214 __sync_lock_release(&c1);
15215 __sync_synchronize();
15216 ;
15217 return 0;
15218 }
15219 _ACEOF
15220 if ac_fn_cxx_try_link "$LINENO"; then :
15221 glibcxx_cv_atomic_int=yes
15222 else
15223 glibcxx_cv_atomic_int=no
15224 fi
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15227
15228 fi
15229
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15231 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15232
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15234 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15235 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15236 $as_echo_n "(cached) " >&6
15237 else
15238
15239 if test x$gcc_no_link = xyes; then
15240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15241 fi
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244
15245 int
15246 main ()
15247 {
15248 typedef long long atomic_type;
15249 atomic_type c1;
15250 atomic_type c2;
15251 const atomic_type c3(0);
15252 __sync_fetch_and_add(&c1, c2);
15253 __sync_val_compare_and_swap(&c1, c3, c2);
15254 __sync_lock_test_and_set(&c1, c3);
15255 __sync_lock_release(&c1);
15256 __sync_synchronize();
15257 ;
15258 return 0;
15259 }
15260 _ACEOF
15261 if ac_fn_cxx_try_link "$LINENO"; then :
15262 glibcxx_cv_atomic_long_long=yes
15263 else
15264 glibcxx_cv_atomic_long_long=no
15265 fi
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15268
15269 fi
15270
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15272 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15273
15274 else
15275
15276 # Do asm tests.
15277
15278 # Compile unoptimized.
15279 CXXFLAGS='-O0 -S'
15280
15281 # Fake what AC_TRY_COMPILE does.
15282
15283 cat > conftest.$ac_ext << EOF
15284 #line 15284 "configure"
15285 int main()
15286 {
15287 typedef bool atomic_type;
15288 atomic_type c1;
15289 atomic_type c2;
15290 const atomic_type c3(0);
15291 __sync_fetch_and_add(&c1, c2);
15292 __sync_val_compare_and_swap(&c1, c3, c2);
15293 __sync_lock_test_and_set(&c1, c3);
15294 __sync_lock_release(&c1);
15295 __sync_synchronize();
15296 return 0;
15297 }
15298 EOF
15299
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15301 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15303 (eval $ac_compile) 2>&5
15304 ac_status=$?
15305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15306 test $ac_status = 0; }; then
15307 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15308 glibcxx_cv_atomic_bool=no
15309 else
15310 glibcxx_cv_atomic_bool=yes
15311 fi
15312 fi
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15314 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15315 rm -f conftest*
15316
15317 cat > conftest.$ac_ext << EOF
15318 #line 15318 "configure"
15319 int main()
15320 {
15321 typedef short atomic_type;
15322 atomic_type c1;
15323 atomic_type c2;
15324 const atomic_type c3(0);
15325 __sync_fetch_and_add(&c1, c2);
15326 __sync_val_compare_and_swap(&c1, c3, c2);
15327 __sync_lock_test_and_set(&c1, c3);
15328 __sync_lock_release(&c1);
15329 __sync_synchronize();
15330 return 0;
15331 }
15332 EOF
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15335 $as_echo_n "checking for atomic builtins for short... " >&6; }
15336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15337 (eval $ac_compile) 2>&5
15338 ac_status=$?
15339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15340 test $ac_status = 0; }; then
15341 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15342 glibcxx_cv_atomic_short=no
15343 else
15344 glibcxx_cv_atomic_short=yes
15345 fi
15346 fi
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15348 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15349 rm -f conftest*
15350
15351 cat > conftest.$ac_ext << EOF
15352 #line 15352 "configure"
15353 int main()
15354 {
15355 // NB: _Atomic_word not necessarily int.
15356 typedef int atomic_type;
15357 atomic_type c1;
15358 atomic_type c2;
15359 const atomic_type c3(0);
15360 __sync_fetch_and_add(&c1, c2);
15361 __sync_val_compare_and_swap(&c1, c3, c2);
15362 __sync_lock_test_and_set(&c1, c3);
15363 __sync_lock_release(&c1);
15364 __sync_synchronize();
15365 return 0;
15366 }
15367 EOF
15368
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15370 $as_echo_n "checking for atomic builtins for int... " >&6; }
15371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15372 (eval $ac_compile) 2>&5
15373 ac_status=$?
15374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15375 test $ac_status = 0; }; then
15376 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15377 glibcxx_cv_atomic_int=no
15378 else
15379 glibcxx_cv_atomic_int=yes
15380 fi
15381 fi
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15383 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15384 rm -f conftest*
15385
15386 cat > conftest.$ac_ext << EOF
15387 #line 15387 "configure"
15388 int main()
15389 {
15390 typedef long long atomic_type;
15391 atomic_type c1;
15392 atomic_type c2;
15393 const atomic_type c3(0);
15394 __sync_fetch_and_add(&c1, c2);
15395 __sync_val_compare_and_swap(&c1, c3, c2);
15396 __sync_lock_test_and_set(&c1, c3);
15397 __sync_lock_release(&c1);
15398 __sync_synchronize();
15399 return 0;
15400 }
15401 EOF
15402
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15404 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_long_long=no
15412 else
15413 glibcxx_cv_atomic_long_long=yes
15414 fi
15415 fi
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15417 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15418 rm -f conftest*
15419
15420 fi
15421
15422 CXXFLAGS="$old_CXXFLAGS"
15423 ac_ext=c
15424 ac_cpp='$CPP $CPPFLAGS'
15425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15428
15429
15430 # Set atomicity_dir to builtins if either of above tests pass.
15431 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15432
15433 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15434
15435 atomicity_dir=cpu/generic/atomicity_builtins
15436 fi
15437
15438 # If still generic, set to mutex.
15439 if test $atomicity_dir = "cpu/generic" ; then
15440 atomicity_dir=cpu/generic/atomicity_mutex
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15442 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15443 if test "x$target_thread_file" = xsingle; then
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15445 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15447 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15448 else
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15450 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15452 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15453 fi
15454 fi
15455
15456
15457
15458
15459 # Fake what AC_TRY_COMPILE does, without linking as this is
15460 # unnecessary for this test.
15461
15462 cat > conftest.$ac_ext << EOF
15463 #line 15463 "configure"
15464 int main()
15465 {
15466 _Decimal32 d1;
15467 _Decimal64 d2;
15468 _Decimal128 d3;
15469 return 0;
15470 }
15471 EOF
15472
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15474 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15476 (eval $ac_compile) 2>&5
15477 ac_status=$?
15478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479 test $ac_status = 0; }; then
15480
15481 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15482
15483 enable_dfp=yes
15484 else
15485 enable_dfp=no
15486 fi
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15488 $as_echo "$enable_dfp" >&6; }
15489 rm -f conftest*
15490
15491
15492
15493
15494 ac_ext=cpp
15495 ac_cpp='$CXXCPP $CPPFLAGS'
15496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15499
15500
15501 # Fake what AC_TRY_COMPILE does, without linking as this is
15502 # unnecessary for this test.
15503
15504 cat > conftest.$ac_ext << EOF
15505 #line 15505 "configure"
15506 template<typename T1, typename T2>
15507 struct same
15508 { typedef T2 type; };
15509
15510 template<typename T>
15511 struct same<T, T>;
15512
15513 int main()
15514 {
15515 typename same<long, __int128>::type i1;
15516 typename same<long long, __int128>::type i2;
15517 }
15518 EOF
15519
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15521 $as_echo_n "checking for __int128... " >&6; }
15522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15523 (eval $ac_compile) 2>&5
15524 ac_status=$?
15525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15526 test $ac_status = 0; }; then
15527
15528 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15529
15530 enable_int128=yes
15531 else
15532 enable_int128=no
15533 fi
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15535 $as_echo "$enable_int128" >&6; }
15536 rm -f conftest*
15537
15538 cat > conftest.$ac_ext << EOF
15539 #line 15539 "configure"
15540 template<typename T1, typename T2>
15541 struct same
15542 { typedef T2 type; };
15543
15544 template<typename T>
15545 struct same<T, T>;
15546
15547 int main()
15548 {
15549 typename same<double, __float128>::type f1;
15550 typename same<long double, __float128>::type f2;
15551 }
15552 EOF
15553
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15555 $as_echo_n "checking for __float128... " >&6; }
15556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15557 (eval $ac_compile) 2>&5
15558 ac_status=$?
15559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15560 test $ac_status = 0; }; then
15561
15562 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15563
15564 enable_float128=yes
15565 else
15566 enable_float128=no
15567 fi
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15569 $as_echo "$enable_float128" >&6; }
15570 rm -f conftest*
15571
15572 ac_ext=c
15573 ac_cpp='$CPP $CPPFLAGS'
15574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15577
15578
15579
15580 # Checks for compiler support that doesn't require linking.
15581
15582 # All these tests are for C++; save the language and the compiler flags.
15583 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15584 # found in GLIBCXX_CONFIGURE.
15585
15586 ac_ext=cpp
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15591
15592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15593 ac_save_CXXFLAGS="$CXXFLAGS"
15594
15595 # Check for maintainer-mode bits.
15596 if test x"$USE_MAINTAINER_MODE" = xno; then
15597 WERROR=''
15598 else
15599 WERROR='-Werror'
15600 fi
15601
15602 # Check for -ffunction-sections -fdata-sections
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15604 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15605 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 int foo; void bar() { };
15609 int
15610 main ()
15611 {
15612
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 if ac_fn_cxx_try_compile "$LINENO"; then :
15618 ac_fdsections=yes
15619 else
15620 ac_fdsections=no
15621 fi
15622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623 if test "$ac_test_CXXFLAGS" = set; then
15624 CXXFLAGS="$ac_save_CXXFLAGS"
15625 else
15626 # this is the suspicious part
15627 CXXFLAGS=''
15628 fi
15629 if test x"$ac_fdsections" = x"yes"; then
15630 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15631 fi
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15633 $as_echo "$ac_fdsections" >&6; }
15634
15635 ac_ext=c
15636 ac_cpp='$CPP $CPPFLAGS'
15637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15640
15641
15642
15643
15644
15645 # Enable all the variable C++ runtime options that don't require linking.
15646
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15648 $as_echo_n "checking for underlying I/O to use... " >&6; }
15649 # Check whether --enable-cstdio was given.
15650 if test "${enable_cstdio+set}" = set; then :
15651 enableval=$enable_cstdio;
15652 case "$enableval" in
15653 stdio) ;;
15654 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15655 esac
15656
15657 else
15658 enable_cstdio=stdio
15659 fi
15660
15661
15662
15663 # Now that libio has been removed, you can have any color you want as long
15664 # as it's black. This is one big no-op until other packages are added, but
15665 # showing the framework never hurts.
15666 case ${enable_cstdio} in
15667 stdio)
15668 CSTDIO_H=config/io/c_io_stdio.h
15669 BASIC_FILE_H=config/io/basic_file_stdio.h
15670 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15672 $as_echo "stdio" >&6; }
15673 ;;
15674 esac
15675
15676
15677
15678
15679
15680
15681 # Check whether --enable-clocale was given.
15682 if test "${enable_clocale+set}" = set; then :
15683 enableval=$enable_clocale;
15684 case "$enableval" in
15685 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15686 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15687 esac
15688
15689 else
15690 enable_clocale=auto
15691 fi
15692
15693
15694
15695 # Deal with gettext issues. Default to not using it (=no) until we detect
15696 # support for it later. Let the user turn it off via --e/d, but let that
15697 # default to on for easier handling.
15698 USE_NLS=no
15699 # Check whether --enable-nls was given.
15700 if test "${enable_nls+set}" = set; then :
15701 enableval=$enable_nls;
15702 else
15703 enable_nls=yes
15704 fi
15705
15706
15707 # Either a known package, or "auto"
15708 if test $enable_clocale = no || test $enable_clocale = yes; then
15709 enable_clocale=auto
15710 fi
15711 enable_clocale_flag=$enable_clocale
15712
15713 # Probe for locale model to use if none specified.
15714 # Default to "generic".
15715 if test $enable_clocale_flag = auto; then
15716 case ${target_os} in
15717 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15718 enable_clocale_flag=gnu
15719 ;;
15720 darwin* | freebsd*)
15721 enable_clocale_flag=darwin
15722 ;;
15723 *)
15724 if test x"$with_newlib" = x"yes"; then
15725 enable_clocale_flag=newlib
15726 else
15727 enable_clocale_flag=generic
15728 fi
15729 ;;
15730 esac
15731 fi
15732
15733 # Sanity check model, and test for special functionality.
15734 if test $enable_clocale_flag = gnu; then
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737
15738 #include <features.h>
15739 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15740 _GLIBCXX_ok
15741 #endif
15742
15743 _ACEOF
15744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15745 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15746 enable_clocale_flag=gnu
15747 else
15748 enable_clocale_flag=generic
15749 fi
15750 rm -f conftest*
15751
15752
15753 # Set it to scream when it hurts.
15754 ac_save_CFLAGS="$CFLAGS"
15755 CFLAGS="-Wimplicit-function-declaration -Werror"
15756
15757 # Use strxfrm_l if available.
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15760 #define _GNU_SOURCE 1
15761 #include <string.h>
15762 #include <locale.h>
15763 int
15764 main ()
15765 {
15766 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 if ac_fn_c_try_compile "$LINENO"; then :
15772
15773 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15774
15775 fi
15776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15777
15778 # Use strerror_l if available.
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15781 #define _GNU_SOURCE 1
15782 #include <string.h>
15783 #include <locale.h>
15784 int
15785 main ()
15786 {
15787 __locale_t loc; strerror_l(5, loc);
15788 ;
15789 return 0;
15790 }
15791 _ACEOF
15792 if ac_fn_c_try_compile "$LINENO"; then :
15793
15794 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15795
15796 fi
15797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15798
15799 CFLAGS="$ac_save_CFLAGS"
15800 fi
15801
15802 # Perhaps use strerror_r if available, and strerror_l isn't.
15803 ac_save_CFLAGS="$CFLAGS"
15804 CFLAGS="-Wimplicit-function-declaration -Werror"
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #define _GNU_SOURCE 1
15808 #include <string.h>
15809 #include <locale.h>
15810 int
15811 main ()
15812 {
15813 char s[128]; strerror_r(5, s, 128);
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 if ac_fn_c_try_compile "$LINENO"; then :
15819
15820 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15821
15822 fi
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824 CFLAGS="$ac_save_CFLAGS"
15825
15826 # Set configure bits for specified locale package
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15828 $as_echo_n "checking for C locale to use... " >&6; }
15829 case ${enable_clocale_flag} in
15830 generic)
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15832 $as_echo "generic" >&6; }
15833
15834 CLOCALE_H=config/locale/generic/c_locale.h
15835 CLOCALE_CC=config/locale/generic/c_locale.cc
15836 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15837 CCOLLATE_CC=config/locale/generic/collate_members.cc
15838 CCTYPE_CC=config/locale/generic/ctype_members.cc
15839 CMESSAGES_H=config/locale/generic/messages_members.h
15840 CMESSAGES_CC=config/locale/generic/messages_members.cc
15841 CMONEY_CC=config/locale/generic/monetary_members.cc
15842 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15843 CTIME_H=config/locale/generic/time_members.h
15844 CTIME_CC=config/locale/generic/time_members.cc
15845 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15846 ;;
15847 darwin)
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15849 $as_echo "darwin or freebsd" >&6; }
15850
15851 CLOCALE_H=config/locale/generic/c_locale.h
15852 CLOCALE_CC=config/locale/generic/c_locale.cc
15853 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15854 CCOLLATE_CC=config/locale/generic/collate_members.cc
15855 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15856 CMESSAGES_H=config/locale/generic/messages_members.h
15857 CMESSAGES_CC=config/locale/generic/messages_members.cc
15858 CMONEY_CC=config/locale/generic/monetary_members.cc
15859 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15860 CTIME_H=config/locale/generic/time_members.h
15861 CTIME_CC=config/locale/generic/time_members.cc
15862 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15863 ;;
15864
15865 gnu)
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15867 $as_echo "gnu" >&6; }
15868
15869 # Declare intention to use gettext, and add support for specific
15870 # languages.
15871 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15872 ALL_LINGUAS="de fr"
15873
15874 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15875 # Extract the first word of "msgfmt", so it can be a program name with args.
15876 set dummy msgfmt; ac_word=$2
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15878 $as_echo_n "checking for $ac_word... " >&6; }
15879 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 if test -n "$check_msgfmt"; then
15883 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15884 else
15885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15886 for as_dir in $PATH
15887 do
15888 IFS=$as_save_IFS
15889 test -z "$as_dir" && as_dir=.
15890 for ac_exec_ext in '' $ac_executable_extensions; do
15891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15892 ac_cv_prog_check_msgfmt="yes"
15893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15894 break 2
15895 fi
15896 done
15897 done
15898 IFS=$as_save_IFS
15899
15900 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15901 fi
15902 fi
15903 check_msgfmt=$ac_cv_prog_check_msgfmt
15904 if test -n "$check_msgfmt"; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15906 $as_echo "$check_msgfmt" >&6; }
15907 else
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15909 $as_echo "no" >&6; }
15910 fi
15911
15912
15913 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15914 USE_NLS=yes
15915 fi
15916 # Export the build objects.
15917 for ling in $ALL_LINGUAS; do \
15918 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15919 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15920 done
15921
15922
15923
15924 CLOCALE_H=config/locale/gnu/c_locale.h
15925 CLOCALE_CC=config/locale/gnu/c_locale.cc
15926 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15927 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15928 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15929 CMESSAGES_H=config/locale/gnu/messages_members.h
15930 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15931 CMONEY_CC=config/locale/gnu/monetary_members.cc
15932 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15933 CTIME_H=config/locale/gnu/time_members.h
15934 CTIME_CC=config/locale/gnu/time_members.cc
15935 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15936 ;;
15937 ieee_1003.1-2001)
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15939 $as_echo "IEEE 1003.1" >&6; }
15940
15941 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15942 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15943 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15944 CCOLLATE_CC=config/locale/generic/collate_members.cc
15945 CCTYPE_CC=config/locale/generic/ctype_members.cc
15946 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15947 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15948 CMONEY_CC=config/locale/generic/monetary_members.cc
15949 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15950 CTIME_H=config/locale/generic/time_members.h
15951 CTIME_CC=config/locale/generic/time_members.cc
15952 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15953 ;;
15954 newlib)
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15956 $as_echo "newlib" >&6; }
15957
15958 CLOCALE_H=config/locale/generic/c_locale.h
15959 CLOCALE_CC=config/locale/generic/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15963 CMESSAGES_H=config/locale/generic/messages_members.h
15964 CMESSAGES_CC=config/locale/generic/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15970 ;;
15971 esac
15972
15973 # This is where the testsuite looks for locale catalogs, using the
15974 # -DLOCALEDIR define during testsuite compilation.
15975 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15976
15977
15978 # A standalone libintl (e.g., GNU libintl) may be in use.
15979 if test $USE_NLS = yes; then
15980 for ac_header in libintl.h
15981 do :
15982 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15983 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_LIBINTL_H 1
15986 _ACEOF
15987
15988 else
15989 USE_NLS=no
15990 fi
15991
15992 done
15993
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15995 $as_echo_n "checking for library containing gettext... " >&6; }
15996 if test "${ac_cv_search_gettext+set}" = set; then :
15997 $as_echo_n "(cached) " >&6
15998 else
15999 ac_func_search_save_LIBS=$LIBS
16000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16001 /* end confdefs.h. */
16002
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16006 #ifdef __cplusplus
16007 extern "C"
16008 #endif
16009 char gettext ();
16010 int
16011 main ()
16012 {
16013 return gettext ();
16014 ;
16015 return 0;
16016 }
16017 _ACEOF
16018 for ac_lib in '' intl; do
16019 if test -z "$ac_lib"; then
16020 ac_res="none required"
16021 else
16022 ac_res=-l$ac_lib
16023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16024 fi
16025 if test x$gcc_no_link = xyes; then
16026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16027 fi
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_search_gettext=$ac_res
16030 fi
16031 rm -f core conftest.err conftest.$ac_objext \
16032 conftest$ac_exeext
16033 if test "${ac_cv_search_gettext+set}" = set; then :
16034 break
16035 fi
16036 done
16037 if test "${ac_cv_search_gettext+set}" = set; then :
16038
16039 else
16040 ac_cv_search_gettext=no
16041 fi
16042 rm conftest.$ac_ext
16043 LIBS=$ac_func_search_save_LIBS
16044 fi
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16046 $as_echo "$ac_cv_search_gettext" >&6; }
16047 ac_res=$ac_cv_search_gettext
16048 if test "$ac_res" != no; then :
16049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16050
16051 else
16052 USE_NLS=no
16053 fi
16054
16055 fi
16056 if test $USE_NLS = yes; then
16057
16058 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16059
16060 fi
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16078 $as_echo_n "checking for std::allocator base class... " >&6; }
16079 # Check whether --enable-libstdcxx-allocator was given.
16080 if test "${enable_libstdcxx_allocator+set}" = set; then :
16081 enableval=$enable_libstdcxx_allocator;
16082 case "$enableval" in
16083 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16084 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16085 esac
16086
16087 else
16088 enable_libstdcxx_allocator=auto
16089 fi
16090
16091
16092
16093 # If they didn't use this option switch, or if they specified --enable
16094 # with no specific model, we'll have to look for one. If they
16095 # specified --disable (???), do likewise.
16096 if test $enable_libstdcxx_allocator = no ||
16097 test $enable_libstdcxx_allocator = yes;
16098 then
16099 enable_libstdcxx_allocator=auto
16100 fi
16101
16102 # Either a known package, or "auto". Auto implies the default choice
16103 # for a particular platform.
16104 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16105
16106 # Probe for host-specific support if no specific model is specified.
16107 # Default to "new".
16108 if test $enable_libstdcxx_allocator_flag = auto; then
16109 case ${target_os} in
16110 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16111 enable_libstdcxx_allocator_flag=new
16112 ;;
16113 *)
16114 enable_libstdcxx_allocator_flag=new
16115 ;;
16116 esac
16117 fi
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16119 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16120
16121
16122 # Set configure bits for specified locale package
16123 case ${enable_libstdcxx_allocator_flag} in
16124 bitmap)
16125 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16126 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16127 ;;
16128 malloc)
16129 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16130 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16131 ;;
16132 mt)
16133 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16134 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16135 ;;
16136 new)
16137 ALLOCATOR_H=config/allocator/new_allocator_base.h
16138 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16139 ;;
16140 pool)
16141 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16142 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16143 ;;
16144 esac
16145
16146
16147
16148
16149
16150 # Check whether --enable-cheaders was given.
16151 if test "${enable_cheaders+set}" = set; then :
16152 enableval=$enable_cheaders;
16153 case "$enableval" in
16154 c|c_std|c_global) ;;
16155 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16156 esac
16157
16158 else
16159 enable_cheaders=$c_model
16160 fi
16161
16162
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16164 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16165
16166 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16167
16168 # Allow overrides to configure.host here.
16169 if test $enable_cheaders = c_global; then
16170 c_compatibility=yes
16171 fi
16172
16173
16174
16175
16176
16177
16178
16179 # Check whether --enable-long-long was given.
16180 if test "${enable_long_long+set}" = set; then :
16181 enableval=$enable_long_long;
16182 case "$enableval" in
16183 yes|no) ;;
16184 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16185 esac
16186
16187 else
16188 enable_long_long=yes
16189 fi
16190
16191
16192 if test $enable_long_long = yes; then
16193
16194 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16195
16196 fi
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16198 $as_echo_n "checking for enabled long long specializations... " >&6; }
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16200 $as_echo "$enable_long_long" >&6; }
16201
16202
16203 # Check whether --enable-wchar_t was given.
16204 if test "${enable_wchar_t+set}" = set; then :
16205 enableval=$enable_wchar_t;
16206 case "$enableval" in
16207 yes|no) ;;
16208 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16209 esac
16210
16211 else
16212 enable_wchar_t=yes
16213 fi
16214
16215
16216
16217 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16218 for ac_header in wchar.h
16219 do :
16220 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16221 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_WCHAR_H 1
16224 _ACEOF
16225 ac_has_wchar_h=yes
16226 else
16227 ac_has_wchar_h=no
16228 fi
16229
16230 done
16231
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16233 $as_echo_n "checking for mbstate_t... " >&6; }
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #include <wchar.h>
16237 int
16238 main ()
16239 {
16240 mbstate_t teststate;
16241 ;
16242 return 0;
16243 }
16244 _ACEOF
16245 if ac_fn_c_try_compile "$LINENO"; then :
16246 have_mbstate_t=yes
16247 else
16248 have_mbstate_t=no
16249 fi
16250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16252 $as_echo "$have_mbstate_t" >&6; }
16253 if test x"$have_mbstate_t" = xyes; then
16254
16255 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16256
16257 fi
16258
16259 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16260 # ac_has_wchar_h.
16261 for ac_header in wctype.h
16262 do :
16263 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16264 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16265 cat >>confdefs.h <<_ACEOF
16266 #define HAVE_WCTYPE_H 1
16267 _ACEOF
16268 ac_has_wctype_h=yes
16269 else
16270 ac_has_wctype_h=no
16271 fi
16272
16273 done
16274
16275
16276 if test x"$enable_wchar_t" = x"yes"; then
16277
16278
16279 ac_ext=cpp
16280 ac_cpp='$CXXCPP $CPPFLAGS'
16281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16284
16285
16286 if test x"$ac_has_wchar_h" = xyes &&
16287 test x"$ac_has_wctype_h" = xyes; then
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #include <wchar.h>
16291 #include <stddef.h>
16292 wint_t i;
16293 long l = WEOF;
16294 long j = WCHAR_MIN;
16295 long k = WCHAR_MAX;
16296 namespace test
16297 {
16298 using ::btowc;
16299 using ::fgetwc;
16300 using ::fgetws;
16301 using ::fputwc;
16302 using ::fputws;
16303 using ::fwide;
16304 using ::fwprintf;
16305 using ::fwscanf;
16306 using ::getwc;
16307 using ::getwchar;
16308 using ::mbrlen;
16309 using ::mbrtowc;
16310 using ::mbsinit;
16311 using ::mbsrtowcs;
16312 using ::putwc;
16313 using ::putwchar;
16314 using ::swprintf;
16315 using ::swscanf;
16316 using ::ungetwc;
16317 using ::vfwprintf;
16318 using ::vswprintf;
16319 using ::vwprintf;
16320 using ::wcrtomb;
16321 using ::wcscat;
16322 using ::wcschr;
16323 using ::wcscmp;
16324 using ::wcscoll;
16325 using ::wcscpy;
16326 using ::wcscspn;
16327 using ::wcsftime;
16328 using ::wcslen;
16329 using ::wcsncat;
16330 using ::wcsncmp;
16331 using ::wcsncpy;
16332 using ::wcspbrk;
16333 using ::wcsrchr;
16334 using ::wcsrtombs;
16335 using ::wcsspn;
16336 using ::wcsstr;
16337 using ::wcstod;
16338 using ::wcstok;
16339 using ::wcstol;
16340 using ::wcstoul;
16341 using ::wcsxfrm;
16342 using ::wctob;
16343 using ::wmemchr;
16344 using ::wmemcmp;
16345 using ::wmemcpy;
16346 using ::wmemmove;
16347 using ::wmemset;
16348 using ::wprintf;
16349 using ::wscanf;
16350 }
16351
16352 int
16353 main ()
16354 {
16355
16356 ;
16357 return 0;
16358 }
16359 _ACEOF
16360 if ac_fn_cxx_try_compile "$LINENO"; then :
16361
16362 else
16363 enable_wchar_t=no
16364 fi
16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16366 else
16367 enable_wchar_t=no
16368 fi
16369
16370 ac_ext=c
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375
16376 fi
16377
16378 if test x"$enable_wchar_t" = x"yes"; then
16379
16380 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16381
16382 fi
16383
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16385 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16387 $as_echo "$enable_wchar_t" >&6; }
16388
16389
16390
16391 # Check whether --enable-c99 was given.
16392 if test "${enable_c99+set}" = set; then :
16393 enableval=$enable_c99;
16394 case "$enableval" in
16395 yes|no) ;;
16396 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16397 esac
16398
16399 else
16400 enable_c99=yes
16401 fi
16402
16403
16404
16405 if test x"$enable_c99" = x"yes"; then
16406
16407
16408 ac_ext=cpp
16409 ac_cpp='$CXXCPP $CPPFLAGS'
16410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16413
16414
16415 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16416 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16417 # spuriously enabled.
16418 # Long term, -std=c++0x could be even better, could manage to explicitely
16419 # request C99 facilities to the underlying C headers.
16420 ac_save_CXXFLAGS="$CXXFLAGS"
16421 CXXFLAGS="$CXXFLAGS -std=c++98"
16422 ac_save_LIBS="$LIBS"
16423 ac_save_gcc_no_link="$gcc_no_link"
16424
16425 if test x$gcc_no_link != xyes; then
16426 # Use -fno-exceptions to that the C driver can link these tests without
16427 # hitting undefined references to personality routines.
16428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16430 $as_echo_n "checking for sin in -lm... " >&6; }
16431 if test "${ac_cv_lib_m_sin+set}" = set; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 ac_check_lib_save_LIBS=$LIBS
16435 LIBS="-lm $LIBS"
16436 if test x$gcc_no_link = xyes; then
16437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16438 fi
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16445 #ifdef __cplusplus
16446 extern "C"
16447 #endif
16448 char sin ();
16449 int
16450 main ()
16451 {
16452 return sin ();
16453 ;
16454 return 0;
16455 }
16456 _ACEOF
16457 if ac_fn_cxx_try_link "$LINENO"; then :
16458 ac_cv_lib_m_sin=yes
16459 else
16460 ac_cv_lib_m_sin=no
16461 fi
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 LIBS=$ac_check_lib_save_LIBS
16465 fi
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16467 $as_echo "$ac_cv_lib_m_sin" >&6; }
16468 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16469
16470 LIBS="$LIBS -lm"
16471
16472 else
16473
16474 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16475 gcc_no_link=yes
16476
16477 fi
16478
16479 fi
16480
16481 # Check for the existence of <math.h> functions used if C99 is enabled.
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16483 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16484 if test "${glibcxx_cv_c99_math+set}" = set; then :
16485 $as_echo_n "(cached) " >&6
16486 else
16487
16488 if test x$gcc_no_link = xyes; then
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16491 #include <math.h>
16492 volatile double d1, d2;
16493 volatile int i;
16494 int
16495 main ()
16496 {
16497 i = fpclassify(d1);
16498 i = isfinite(d1);
16499 i = isinf(d1);
16500 i = isnan(d1);
16501 i = isnormal(d1);
16502 i = signbit(d1);
16503 i = isgreater(d1, d2);
16504 i = isgreaterequal(d1, d2);
16505 i = isless(d1, d2);
16506 i = islessequal(d1, d2);
16507 i = islessgreater(d1, d2);
16508 i = islessgreater(d1, d2);
16509 i = isunordered(d1, d2);
16510
16511 ;
16512 return 0;
16513 }
16514 _ACEOF
16515 if ac_fn_cxx_try_compile "$LINENO"; then :
16516 glibcxx_cv_c99_math=yes
16517 else
16518 glibcxx_cv_c99_math=no
16519 fi
16520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16521 else
16522 if test x$gcc_no_link = xyes; then
16523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16524 fi
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16527 #include <math.h>
16528 volatile double d1, d2;
16529 volatile int i;
16530 int
16531 main ()
16532 {
16533 i = fpclassify(d1);
16534 i = isfinite(d1);
16535 i = isinf(d1);
16536 i = isnan(d1);
16537 i = isnormal(d1);
16538 i = signbit(d1);
16539 i = isgreater(d1, d2);
16540 i = isgreaterequal(d1, d2);
16541 i = isless(d1, d2);
16542 i = islessequal(d1, d2);
16543 i = islessgreater(d1, d2);
16544 i = islessgreater(d1, d2);
16545 i = isunordered(d1, d2);
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 if ac_fn_cxx_try_link "$LINENO"; then :
16552 glibcxx_cv_c99_math=yes
16553 else
16554 glibcxx_cv_c99_math=no
16555 fi
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16558 fi
16559
16560 fi
16561
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16563 $as_echo "$glibcxx_cv_c99_math" >&6; }
16564 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16565
16566 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16567
16568 fi
16569
16570 # Check for the existence of <complex.h> complex math functions.
16571 # This is necessary even though libstdc++ uses the builtin versions
16572 # of these functions, because if the builtin cannot be used, a reference
16573 # to the library function is emitted.
16574 for ac_header in tgmath.h
16575 do :
16576 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16577 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_TGMATH_H 1
16580 _ACEOF
16581 ac_has_tgmath_h=yes
16582 else
16583 ac_has_tgmath_h=no
16584 fi
16585
16586 done
16587
16588 for ac_header in complex.h
16589 do :
16590 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16591 if test "x$ac_cv_header_complex_h" = x""yes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_COMPLEX_H 1
16594 _ACEOF
16595 ac_has_complex_h=yes
16596 else
16597 ac_has_complex_h=no
16598 fi
16599
16600 done
16601
16602 glibcxx_cv_c99_complex=no;
16603 if test x"$ac_has_complex_h" = x"yes"; then
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16605 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16606 if test x$gcc_no_link = xyes; then
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #include <complex.h>
16610 typedef __complex__ float float_type;
16611 typedef __complex__ double double_type;
16612 typedef __complex__ long double ld_type;
16613 volatile float_type tmpf;
16614 volatile double_type tmpd;
16615 volatile ld_type tmpld;
16616 volatile float f;
16617 volatile double d;
16618 volatile long double ld;
16619 int
16620 main ()
16621 {
16622 f = cabsf(tmpf);
16623 f = cargf(tmpf);
16624 tmpf = ccosf(tmpf);
16625 tmpf = ccoshf(tmpf);
16626 tmpf = cexpf(tmpf);
16627 tmpf = clogf(tmpf);
16628 tmpf = csinf(tmpf);
16629 tmpf = csinhf(tmpf);
16630 tmpf = csqrtf(tmpf);
16631 tmpf = ctanf(tmpf);
16632 tmpf = ctanhf(tmpf);
16633 tmpf = cpowf(tmpf, tmpf);
16634 tmpf = cprojf(tmpf);
16635 d = cabs(tmpd);
16636 d = carg(tmpd);
16637 tmpd = ccos(tmpd);
16638 tmpd = ccosh(tmpd);
16639 tmpd = cexp(tmpd);
16640 tmpd = clog(tmpd);
16641 tmpd = csin(tmpd);
16642 tmpd = csinh(tmpd);
16643 tmpd = csqrt(tmpd);
16644 tmpd = ctan(tmpd);
16645 tmpd = ctanh(tmpd);
16646 tmpd = cpow(tmpd, tmpd);
16647 tmpd = cproj(tmpd);
16648 ld = cabsl(tmpld);
16649 ld = cargl(tmpld);
16650 tmpld = ccosl(tmpld);
16651 tmpld = ccoshl(tmpld);
16652 tmpld = cexpl(tmpld);
16653 tmpld = clogl(tmpld);
16654 tmpld = csinl(tmpld);
16655 tmpld = csinhl(tmpld);
16656 tmpld = csqrtl(tmpld);
16657 tmpld = ctanl(tmpld);
16658 tmpld = ctanhl(tmpld);
16659 tmpld = cpowl(tmpld, tmpld);
16660 tmpld = cprojl(tmpld);
16661
16662 ;
16663 return 0;
16664 }
16665 _ACEOF
16666 if ac_fn_cxx_try_compile "$LINENO"; then :
16667 glibcxx_cv_c99_complex=yes
16668 else
16669 glibcxx_cv_c99_complex=no
16670 fi
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672 else
16673 if test x$gcc_no_link = xyes; then
16674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16675 fi
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <complex.h>
16679 typedef __complex__ float float_type;
16680 typedef __complex__ double double_type;
16681 typedef __complex__ long double ld_type;
16682 volatile float_type tmpf;
16683 volatile double_type tmpd;
16684 volatile ld_type tmpld;
16685 volatile float f;
16686 volatile double d;
16687 volatile long double ld;
16688 int
16689 main ()
16690 {
16691 f = cabsf(tmpf);
16692 f = cargf(tmpf);
16693 tmpf = ccosf(tmpf);
16694 tmpf = ccoshf(tmpf);
16695 tmpf = cexpf(tmpf);
16696 tmpf = clogf(tmpf);
16697 tmpf = csinf(tmpf);
16698 tmpf = csinhf(tmpf);
16699 tmpf = csqrtf(tmpf);
16700 tmpf = ctanf(tmpf);
16701 tmpf = ctanhf(tmpf);
16702 tmpf = cpowf(tmpf, tmpf);
16703 tmpf = cprojf(tmpf);
16704 d = cabs(tmpd);
16705 d = carg(tmpd);
16706 tmpd = ccos(tmpd);
16707 tmpd = ccosh(tmpd);
16708 tmpd = cexp(tmpd);
16709 tmpd = clog(tmpd);
16710 tmpd = csin(tmpd);
16711 tmpd = csinh(tmpd);
16712 tmpd = csqrt(tmpd);
16713 tmpd = ctan(tmpd);
16714 tmpd = ctanh(tmpd);
16715 tmpd = cpow(tmpd, tmpd);
16716 tmpd = cproj(tmpd);
16717 ld = cabsl(tmpld);
16718 ld = cargl(tmpld);
16719 tmpld = ccosl(tmpld);
16720 tmpld = ccoshl(tmpld);
16721 tmpld = cexpl(tmpld);
16722 tmpld = clogl(tmpld);
16723 tmpld = csinl(tmpld);
16724 tmpld = csinhl(tmpld);
16725 tmpld = csqrtl(tmpld);
16726 tmpld = ctanl(tmpld);
16727 tmpld = ctanhl(tmpld);
16728 tmpld = cpowl(tmpld, tmpld);
16729 tmpld = cprojl(tmpld);
16730
16731 ;
16732 return 0;
16733 }
16734 _ACEOF
16735 if ac_fn_cxx_try_link "$LINENO"; then :
16736 glibcxx_cv_c99_complex=yes
16737 else
16738 glibcxx_cv_c99_complex=no
16739 fi
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 fi
16743 fi
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16745 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16746 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16747
16748 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16749
16750 fi
16751
16752 # Check for the existence in <stdio.h> of vscanf, et. al.
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16754 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16755 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16756 $as_echo_n "(cached) " >&6
16757 else
16758
16759 if test x$gcc_no_link = xyes; then
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <stdio.h>
16763 #include <stdarg.h>
16764 void foo(char* fmt, ...)
16765 {
16766 va_list args; va_start(args, fmt);
16767 vfscanf(stderr, "%i", args);
16768 vscanf("%i", args);
16769 vsnprintf(fmt, 0, "%i", args);
16770 vsscanf(fmt, "%i", args);
16771 }
16772 int
16773 main ()
16774 {
16775 snprintf("12", 0, "%i");
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_cxx_try_compile "$LINENO"; then :
16781 glibcxx_cv_c99_stdio=yes
16782 else
16783 glibcxx_cv_c99_stdio=no
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16786 else
16787 if test x$gcc_no_link = xyes; then
16788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16789 fi
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16792 #include <stdio.h>
16793 #include <stdarg.h>
16794 void foo(char* fmt, ...)
16795 {
16796 va_list args; va_start(args, fmt);
16797 vfscanf(stderr, "%i", args);
16798 vscanf("%i", args);
16799 vsnprintf(fmt, 0, "%i", args);
16800 vsscanf(fmt, "%i", args);
16801 }
16802 int
16803 main ()
16804 {
16805 snprintf("12", 0, "%i");
16806 ;
16807 return 0;
16808 }
16809 _ACEOF
16810 if ac_fn_cxx_try_link "$LINENO"; then :
16811 glibcxx_cv_c99_stdio=yes
16812 else
16813 glibcxx_cv_c99_stdio=no
16814 fi
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16817 fi
16818
16819 fi
16820
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16822 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16823
16824 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16826 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16827 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830
16831 if test x$gcc_no_link = xyes; then
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #include <stdlib.h>
16835 volatile float f;
16836 volatile long double ld;
16837 volatile unsigned long long ll;
16838 lldiv_t mydivt;
16839 int
16840 main ()
16841 {
16842 char* tmp;
16843 f = strtof("gnu", &tmp);
16844 ld = strtold("gnu", &tmp);
16845 ll = strtoll("gnu", &tmp, 10);
16846 ll = strtoull("gnu", &tmp, 10);
16847 ll = llabs(10);
16848 mydivt = lldiv(10,1);
16849 ll = mydivt.quot;
16850 ll = mydivt.rem;
16851 ll = atoll("10");
16852 _Exit(0);
16853
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 if ac_fn_cxx_try_compile "$LINENO"; then :
16859 glibcxx_cv_c99_stdlib=yes
16860 else
16861 glibcxx_cv_c99_stdlib=no
16862 fi
16863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16864 else
16865 if test x$gcc_no_link = xyes; then
16866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16867 fi
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #include <stdlib.h>
16871 volatile float f;
16872 volatile long double ld;
16873 volatile unsigned long long ll;
16874 lldiv_t mydivt;
16875 int
16876 main ()
16877 {
16878 char* tmp;
16879 f = strtof("gnu", &tmp);
16880 ld = strtold("gnu", &tmp);
16881 ll = strtoll("gnu", &tmp, 10);
16882 ll = strtoull("gnu", &tmp, 10);
16883 ll = llabs(10);
16884 mydivt = lldiv(10,1);
16885 ll = mydivt.quot;
16886 ll = mydivt.rem;
16887 ll = atoll("10");
16888 _Exit(0);
16889
16890 ;
16891 return 0;
16892 }
16893 _ACEOF
16894 if ac_fn_cxx_try_link "$LINENO"; then :
16895 glibcxx_cv_c99_stdlib=yes
16896 else
16897 glibcxx_cv_c99_stdlib=no
16898 fi
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16901 fi
16902
16903 fi
16904
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16906 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16907
16908 # Check for the existence in <wchar.h> of wcstold, etc.
16909 glibcxx_cv_c99_wchar=no;
16910 if test x"$ac_has_wchar_h" = xyes &&
16911 test x"$ac_has_wctype_h" = xyes; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16913 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <wchar.h>
16917 namespace test
16918 {
16919 using ::wcstold;
16920 using ::wcstoll;
16921 using ::wcstoull;
16922 }
16923
16924 int
16925 main ()
16926 {
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16933 glibcxx_cv_c99_wchar=yes
16934 else
16935 glibcxx_cv_c99_wchar=no
16936 fi
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16938
16939 # Checks for wide character functions that may not be present.
16940 # Injection of these is wrapped with guard macros.
16941 # NB: only put functions here, instead of immediately above, if
16942 # absolutely necessary.
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <wchar.h>
16946 namespace test { using ::vfwscanf; }
16947 int
16948 main ()
16949 {
16950
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 if ac_fn_cxx_try_compile "$LINENO"; then :
16956
16957 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16958
16959 fi
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #include <wchar.h>
16965 namespace test { using ::vswscanf; }
16966 int
16967 main ()
16968 {
16969
16970 ;
16971 return 0;
16972 }
16973 _ACEOF
16974 if ac_fn_cxx_try_compile "$LINENO"; then :
16975
16976 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16977
16978 fi
16979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16980
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #include <wchar.h>
16984 namespace test { using ::vwscanf; }
16985 int
16986 main ()
16987 {
16988
16989 ;
16990 return 0;
16991 }
16992 _ACEOF
16993 if ac_fn_cxx_try_compile "$LINENO"; then :
16994
16995 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16996
16997 fi
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16999
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <wchar.h>
17003 namespace test { using ::wcstof; }
17004 int
17005 main ()
17006 {
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 if ac_fn_cxx_try_compile "$LINENO"; then :
17013
17014 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17015
17016 fi
17017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17018
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <wctype.h>
17022 int
17023 main ()
17024 {
17025 wint_t t; int i = iswblank(t);
17026 ;
17027 return 0;
17028 }
17029 _ACEOF
17030 if ac_fn_cxx_try_compile "$LINENO"; then :
17031
17032 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17033
17034 fi
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17038 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17039 fi
17040
17041 # Option parsed, now set things appropriately.
17042 if test x"$glibcxx_cv_c99_math" = x"no" ||
17043 test x"$glibcxx_cv_c99_complex" = x"no" ||
17044 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17045 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17046 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17047 enable_c99=no;
17048 else
17049
17050 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17051
17052 fi
17053
17054 gcc_no_link="$ac_save_gcc_no_link"
17055 LIBS="$ac_save_LIBS"
17056 CXXFLAGS="$ac_save_CXXFLAGS"
17057 ac_ext=c
17058 ac_cpp='$CPP $CPPFLAGS'
17059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17062
17063 fi
17064
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17066 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17068 $as_echo "$enable_c99" >&6; }
17069
17070
17071 # Check whether --enable-concept-checks was given.
17072 if test "${enable_concept_checks+set}" = set; then :
17073 enableval=$enable_concept_checks;
17074 case "$enableval" in
17075 yes|no) ;;
17076 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17077 esac
17078
17079 else
17080 enable_concept_checks=no
17081 fi
17082
17083
17084 if test $enable_concept_checks = yes; then
17085
17086 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17087
17088 fi
17089
17090
17091 # Check whether --enable-libstdcxx-debug-flags was given.
17092 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17093 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17094 xno | x) enable_libstdcxx_debug_flags= ;;
17095 x-*) ;;
17096 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17097 esac
17098 else
17099 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17100 fi
17101
17102
17103
17104 # Option parsed, now set things appropriately
17105 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17106
17107
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17109 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17110
17111
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17113 $as_echo_n "checking for additional debug build... " >&6; }
17114 # Check whether --enable-libstdcxx-debug was given.
17115 if test "${enable_libstdcxx_debug+set}" = set; then :
17116 enableval=$enable_libstdcxx_debug;
17117 case "$enableval" in
17118 yes|no) ;;
17119 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17120 esac
17121
17122 else
17123 enable_libstdcxx_debug=no
17124 fi
17125
17126
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17128 $as_echo "$enable_libstdcxx_debug" >&6; }
17129
17130
17131
17132
17133 enable_parallel=no;
17134
17135 # See if configured libgomp/omp.h exists. (libgomp may be in
17136 # noconfigdirs but not explicitly disabled.)
17137 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17138 enable_parallel=yes;
17139 else
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17141 $as_echo "$as_me: target-libgomp not built" >&6;}
17142 fi
17143
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17145 $as_echo_n "checking for parallel mode support... " >&6; }
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17147 $as_echo "$enable_parallel" >&6; }
17148
17149
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17151 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17152 # Check whether --enable-cxx-flags was given.
17153 if test "${enable_cxx_flags+set}" = set; then :
17154 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17155 xno | x) enable_cxx_flags= ;;
17156 x-*) ;;
17157 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17158 esac
17159 else
17160 enable_cxx_flags=
17161 fi
17162
17163
17164
17165 # Run through flags (either default or command-line) and set anything
17166 # extra (e.g., #defines) that must accompany particular g++ options.
17167 if test -n "$enable_cxx_flags"; then
17168 for f in $enable_cxx_flags; do
17169 case "$f" in
17170 -fhonor-std) ;;
17171 -*) ;;
17172 *) # and we're trying to pass /what/ exactly?
17173 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17174 esac
17175 done
17176 fi
17177
17178 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17180 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17181
17182
17183
17184 # Check whether --enable-fully-dynamic-string was given.
17185 if test "${enable_fully_dynamic_string+set}" = set; then :
17186 enableval=$enable_fully_dynamic_string;
17187 case "$enableval" in
17188 yes|no) ;;
17189 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17190 esac
17191
17192 else
17193 enable_fully_dynamic_string=no
17194 fi
17195
17196
17197 if test $enable_fully_dynamic_string = yes; then
17198 enable_fully_dynamic_string_def=1
17199 else
17200 enable_fully_dynamic_string_def=0
17201 fi
17202
17203 cat >>confdefs.h <<_ACEOF
17204 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17205 _ACEOF
17206
17207
17208
17209
17210 # Check whether --enable-extern-template was given.
17211 if test "${enable_extern_template+set}" = set; then :
17212 enableval=$enable_extern_template;
17213 case "$enableval" in
17214 yes|no) ;;
17215 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17216 esac
17217
17218 else
17219 enable_extern_template=yes
17220 fi
17221
17222
17223
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17225 $as_echo_n "checking for extern template support... " >&6; }
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17227 $as_echo "$enable_extern_template" >&6; }
17228
17229
17230
17231
17232 # Checks for operating systems support that doesn't require linking.
17233
17234
17235
17236 ac_ext=cpp
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17241
17242
17243 case "$host" in
17244 *-*-solaris2.*)
17245 # Solaris 8 FCS only had an overload for double std::abs(double) in
17246 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17247 # introduced the full set also found from Solaris 9 onwards.
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17249 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17250 if test "${glibcxx_cv_abs_float+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 #include <math.h>
17257 namespace std {
17258 inline float abs(float __x)
17259 { return __builtin_fabsf(__x); }
17260 }
17261
17262 _ACEOF
17263 if ac_fn_cxx_try_compile "$LINENO"; then :
17264 glibcxx_cv_abs_float=no
17265 else
17266 glibcxx_cv_abs_float=yes
17267
17268 fi
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 fi
17271
17272
17273 # autoheader cannot handle indented templates.
17274
17275
17276
17277 if test $glibcxx_cv_abs_float = yes; then
17278 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17279
17280 else
17281 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17282
17283 fi
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17285 $as_echo "$glibcxx_cv_abs_float" >&6; }
17286 ;;
17287 esac
17288
17289 ac_ext=c
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17294
17295
17296
17297
17298
17299 ac_ext=cpp
17300 ac_cpp='$CXXCPP $CPPFLAGS'
17301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17304
17305
17306 case "$host" in
17307 *-*-solaris2.*)
17308 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17309 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17310 # (SPARC) and 109608-02 (x86) introduced them.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17312 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17313 if test "${glibcxx_cv_abs_long+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <stdlib.h>
17320 namespace std {
17321 inline long
17322 abs(long __i) { return labs(__i); }
17323 }
17324
17325 _ACEOF
17326 if ac_fn_cxx_try_compile "$LINENO"; then :
17327 glibcxx_cv_abs_long=no
17328 else
17329 glibcxx_cv_abs_long=yes
17330
17331 fi
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 fi
17334
17335
17336 # autoheader cannot handle indented templates.
17337
17338 if test $glibcxx_cv_abs_long = yes; then
17339 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17340
17341 fi
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17343 $as_echo "$glibcxx_cv_abs_long" >&6; }
17344 ;;
17345 esac
17346
17347 ac_ext=c
17348 ac_cpp='$CPP $CPPFLAGS'
17349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17352
17353
17354
17355
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17357 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17358 if test "${glibcxx_cv_system_error1+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <errno.h>
17365 int
17366 main ()
17367 {
17368 int i = EOWNERDEAD;
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374 glibcxx_cv_system_error1=yes
17375 else
17376 glibcxx_cv_system_error1=no
17377 fi
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17383 $as_echo "$glibcxx_cv_system_error1" >&6; }
17384 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17385
17386 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17387
17388 fi
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17390 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17391 if test "${glibcxx_cv_system_error2+set}" = set; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <errno.h>
17398 int
17399 main ()
17400 {
17401 int i = ENOTRECOVERABLE;
17402 ;
17403 return 0;
17404 }
17405 _ACEOF
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 glibcxx_cv_system_error2=yes
17408 else
17409 glibcxx_cv_system_error2=no
17410 fi
17411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412
17413 fi
17414
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17416 $as_echo "$glibcxx_cv_system_error2" >&6; }
17417 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17418
17419 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17420
17421 fi
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17423 $as_echo_n "checking for ENOLINK... " >&6; }
17424 if test "${glibcxx_cv_system_error3+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17430 #include <errno.h>
17431 int
17432 main ()
17433 {
17434 int i = ENOLINK;
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 glibcxx_cv_system_error3=yes
17441 else
17442 glibcxx_cv_system_error3=no
17443 fi
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445
17446 fi
17447
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17449 $as_echo "$glibcxx_cv_system_error3" >&6; }
17450 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17451
17452 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17453
17454 fi
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17456 $as_echo_n "checking for EPROTO... " >&6; }
17457 if test "${glibcxx_cv_system_error4+set}" = set; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #include <errno.h>
17464 int
17465 main ()
17466 {
17467 int i = EPROTO;
17468 ;
17469 return 0;
17470 }
17471 _ACEOF
17472 if ac_fn_c_try_compile "$LINENO"; then :
17473 glibcxx_cv_system_error4=yes
17474 else
17475 glibcxx_cv_system_error4=no
17476 fi
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478
17479 fi
17480
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17482 $as_echo "$glibcxx_cv_system_error4" >&6; }
17483 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17484
17485 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17486
17487 fi
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17489 $as_echo_n "checking for ENODATA... " >&6; }
17490 if test "${glibcxx_cv_system_error5+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #include <errno.h>
17497 int
17498 main ()
17499 {
17500 int i = ENODATA;
17501 ;
17502 return 0;
17503 }
17504 _ACEOF
17505 if ac_fn_c_try_compile "$LINENO"; then :
17506 glibcxx_cv_system_error5=yes
17507 else
17508 glibcxx_cv_system_error5=no
17509 fi
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511
17512 fi
17513
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17515 $as_echo "$glibcxx_cv_system_error5" >&6; }
17516 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17517
17518 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17519
17520 fi
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17522 $as_echo_n "checking for ENOSR... " >&6; }
17523 if test "${glibcxx_cv_system_error6+set}" = set; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #include <errno.h>
17530 int
17531 main ()
17532 {
17533 int i = ENOSR;
17534 ;
17535 return 0;
17536 }
17537 _ACEOF
17538 if ac_fn_c_try_compile "$LINENO"; then :
17539 glibcxx_cv_system_error6=yes
17540 else
17541 glibcxx_cv_system_error6=no
17542 fi
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545 fi
17546
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17548 $as_echo "$glibcxx_cv_system_error6" >&6; }
17549 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17550
17551 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17552
17553 fi
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17555 $as_echo_n "checking for ENOSTR... " >&6; }
17556 if test "${glibcxx_cv_system_error7+set}" = set; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 #include <errno.h>
17563 int
17564 main ()
17565 {
17566 int i = ENOSTR;
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 glibcxx_cv_system_error7=yes
17573 else
17574 glibcxx_cv_system_error7=no
17575 fi
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577
17578 fi
17579
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17581 $as_echo "$glibcxx_cv_system_error7" >&6; }
17582 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17583
17584 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17585
17586 fi
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17588 $as_echo_n "checking for ETIME... " >&6; }
17589 if test "${glibcxx_cv_system_error8+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17592
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <errno.h>
17596 int
17597 main ()
17598 {
17599 int i = ETIME;
17600 ;
17601 return 0;
17602 }
17603 _ACEOF
17604 if ac_fn_c_try_compile "$LINENO"; then :
17605 glibcxx_cv_system_error8=yes
17606 else
17607 glibcxx_cv_system_error8=no
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610
17611 fi
17612
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17614 $as_echo "$glibcxx_cv_system_error8" >&6; }
17615 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17616
17617 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17618
17619 fi
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17621 $as_echo_n "checking for EBADMSG... " >&6; }
17622 if test "${glibcxx_cv_system_error9+set}" = set; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <errno.h>
17629 int
17630 main ()
17631 {
17632 int i = EBADMSG;
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 if ac_fn_c_try_compile "$LINENO"; then :
17638 glibcxx_cv_system_error9=yes
17639 else
17640 glibcxx_cv_system_error9=no
17641 fi
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643
17644 fi
17645
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17647 $as_echo "$glibcxx_cv_system_error9" >&6; }
17648 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17649
17650 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17651
17652 fi
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17654 $as_echo_n "checking for ECANCELED... " >&6; }
17655 if test "${glibcxx_cv_system_error10+set}" = set; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17661 #include <errno.h>
17662 int
17663 main ()
17664 {
17665 int i = ECANCELED;
17666 ;
17667 return 0;
17668 }
17669 _ACEOF
17670 if ac_fn_c_try_compile "$LINENO"; then :
17671 glibcxx_cv_system_error10=yes
17672 else
17673 glibcxx_cv_system_error10=no
17674 fi
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676
17677 fi
17678
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17680 $as_echo "$glibcxx_cv_system_error10" >&6; }
17681 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17682
17683 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17684
17685 fi
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17687 $as_echo_n "checking for EOVERFLOW... " >&6; }
17688 if test "${glibcxx_cv_system_error11+set}" = set; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #include <errno.h>
17695 int
17696 main ()
17697 {
17698 int i = EOVERFLOW;
17699 ;
17700 return 0;
17701 }
17702 _ACEOF
17703 if ac_fn_c_try_compile "$LINENO"; then :
17704 glibcxx_cv_system_error11=yes
17705 else
17706 glibcxx_cv_system_error11=no
17707 fi
17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709
17710 fi
17711
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17713 $as_echo "$glibcxx_cv_system_error11" >&6; }
17714 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17715
17716 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17717
17718 fi
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17720 $as_echo_n "checking for ENOTSUP... " >&6; }
17721 if test "${glibcxx_cv_system_error12+set}" = set; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 #include <errno.h>
17728 int
17729 main ()
17730 {
17731 int i = ENOTSUP;
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 if ac_fn_c_try_compile "$LINENO"; then :
17737 glibcxx_cv_system_error12=yes
17738 else
17739 glibcxx_cv_system_error12=no
17740 fi
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742
17743 fi
17744
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17746 $as_echo "$glibcxx_cv_system_error12" >&6; }
17747 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17748
17749 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17750
17751 fi
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17753 $as_echo_n "checking for EIDRM... " >&6; }
17754 if test "${glibcxx_cv_system_error13+set}" = set; then :
17755 $as_echo_n "(cached) " >&6
17756 else
17757
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 #include <errno.h>
17761 int
17762 main ()
17763 {
17764 int i = EIDRM;
17765 ;
17766 return 0;
17767 }
17768 _ACEOF
17769 if ac_fn_c_try_compile "$LINENO"; then :
17770 glibcxx_cv_system_error13=yes
17771 else
17772 glibcxx_cv_system_error13=no
17773 fi
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775
17776 fi
17777
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17779 $as_echo "$glibcxx_cv_system_error13" >&6; }
17780 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17781
17782 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17783
17784 fi
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17786 $as_echo_n "checking for ETXTBSY... " >&6; }
17787 if test "${glibcxx_cv_system_error14+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17793 #include <errno.h>
17794 int
17795 main ()
17796 {
17797 int i = ETXTBSY;
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 if ac_fn_c_try_compile "$LINENO"; then :
17803 glibcxx_cv_system_error14=yes
17804 else
17805 glibcxx_cv_system_error14=no
17806 fi
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808
17809 fi
17810
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17812 $as_echo "$glibcxx_cv_system_error14" >&6; }
17813 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17814
17815 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17816
17817 fi
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17819 $as_echo_n "checking for ECHILD... " >&6; }
17820 if test "${glibcxx_cv_system_error15+set}" = set; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17826 #include <errno.h>
17827 int
17828 main ()
17829 {
17830 int i = ECHILD;
17831 ;
17832 return 0;
17833 }
17834 _ACEOF
17835 if ac_fn_c_try_compile "$LINENO"; then :
17836 glibcxx_cv_system_error15=yes
17837 else
17838 glibcxx_cv_system_error15=no
17839 fi
17840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841
17842 fi
17843
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17845 $as_echo "$glibcxx_cv_system_error15" >&6; }
17846 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17847
17848 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17849
17850 fi
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17852 $as_echo_n "checking for ENOSPC... " >&6; }
17853 if test "${glibcxx_cv_system_error16+set}" = set; then :
17854 $as_echo_n "(cached) " >&6
17855 else
17856
17857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #include <errno.h>
17860 int
17861 main ()
17862 {
17863 int i = ENOSPC;
17864 ;
17865 return 0;
17866 }
17867 _ACEOF
17868 if ac_fn_c_try_compile "$LINENO"; then :
17869 glibcxx_cv_system_error16=yes
17870 else
17871 glibcxx_cv_system_error16=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17874
17875 fi
17876
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17878 $as_echo "$glibcxx_cv_system_error16" >&6; }
17879 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17880
17881 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17882
17883 fi
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17885 $as_echo_n "checking for EPERM... " >&6; }
17886 if test "${glibcxx_cv_system_error17+set}" = set; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 #include <errno.h>
17893 int
17894 main ()
17895 {
17896 int i = EPERM;
17897 ;
17898 return 0;
17899 }
17900 _ACEOF
17901 if ac_fn_c_try_compile "$LINENO"; then :
17902 glibcxx_cv_system_error17=yes
17903 else
17904 glibcxx_cv_system_error17=no
17905 fi
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907
17908 fi
17909
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17911 $as_echo "$glibcxx_cv_system_error17" >&6; }
17912 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17913
17914 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17915
17916 fi
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17918 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17919 if test "${glibcxx_cv_system_error18+set}" = set; then :
17920 $as_echo_n "(cached) " >&6
17921 else
17922
17923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17925 #include <errno.h>
17926 int
17927 main ()
17928 {
17929 int i = ETIMEDOUT;
17930 ;
17931 return 0;
17932 }
17933 _ACEOF
17934 if ac_fn_c_try_compile "$LINENO"; then :
17935 glibcxx_cv_system_error18=yes
17936 else
17937 glibcxx_cv_system_error18=no
17938 fi
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940
17941 fi
17942
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17944 $as_echo "$glibcxx_cv_system_error18" >&6; }
17945 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17946
17947 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17948
17949 fi
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17951 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17952 if test "${glibcxx_cv_system_error19+set}" = set; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955
17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17958 #include <errno.h>
17959 int
17960 main ()
17961 {
17962 int i = EWOULDBLOCK;
17963 ;
17964 return 0;
17965 }
17966 _ACEOF
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968 glibcxx_cv_system_error19=yes
17969 else
17970 glibcxx_cv_system_error19=no
17971 fi
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973
17974 fi
17975
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17977 $as_echo "$glibcxx_cv_system_error19" >&6; }
17978 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17979
17980 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17981
17982 fi
17983
17984
17985
17986 # For the streamoff typedef.
17987
17988
17989
17990 ac_ext=cpp
17991 ac_cpp='$CXXCPP $CPPFLAGS'
17992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17995
17996
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17998 $as_echo_n "checking for int64_t... " >&6; }
17999 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18000 $as_echo_n "(cached) " >&6
18001 else
18002
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h. */
18005 #include <stdint.h>
18006 int
18007 main ()
18008 {
18009 int64_t var;
18010 ;
18011 return 0;
18012 }
18013 _ACEOF
18014 if ac_fn_cxx_try_compile "$LINENO"; then :
18015 glibcxx_cv_INT64_T=yes
18016 else
18017 glibcxx_cv_INT64_T=no
18018 fi
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020
18021 fi
18022
18023
18024 if test $glibcxx_cv_INT64_T = yes; then
18025
18026 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18029 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18030
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18032 $as_echo_n "checking for int64_t as long... " >&6; }
18033 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18034 $as_echo_n "(cached) " >&6
18035 else
18036
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 #include <stdint.h>
18040 template<typename, typename> struct same { enum { value = -1 }; };
18041 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18042 int array[same<int64_t, long>::value];
18043 int
18044 main ()
18045 {
18046
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18052 glibcxx_cv_int64_t_long=yes
18053 else
18054 glibcxx_cv_int64_t_long=no
18055 fi
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057
18058 fi
18059
18060
18061 if test $glibcxx_cv_int64_t_long = yes; then
18062
18063 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18064
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18066 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18067 fi
18068
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18070 $as_echo_n "checking for int64_t as long long... " >&6; }
18071 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18072 $as_echo_n "(cached) " >&6
18073 else
18074
18075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18076 /* end confdefs.h. */
18077 #include <stdint.h>
18078 template<typename, typename> struct same { enum { value = -1 }; };
18079 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18080 int array[same<int64_t, long long>::value];
18081 int
18082 main ()
18083 {
18084
18085 ;
18086 return 0;
18087 }
18088 _ACEOF
18089 if ac_fn_cxx_try_compile "$LINENO"; then :
18090 glibcxx_cv_int64_t_long_long=yes
18091 else
18092 glibcxx_cv_int64_t_long_long=no
18093 fi
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095
18096 fi
18097
18098
18099 if test $glibcxx_cv_int64_t_long_long = yes; then
18100
18101 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18102
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18104 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18105 fi
18106 fi
18107
18108 ac_ext=c
18109 ac_cpp='$CPP $CPPFLAGS'
18110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18113
18114
18115
18116 # For LFS support.
18117
18118
18119 ac_ext=cpp
18120 ac_cpp='$CXXCPP $CPPFLAGS'
18121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18124
18125 ac_save_CXXFLAGS="$CXXFLAGS"
18126 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18128 $as_echo_n "checking for LFS support... " >&6; }
18129 if test "${glibcxx_cv_LFS+set}" = set; then :
18130 $as_echo_n "(cached) " >&6
18131 else
18132
18133 if test x$gcc_no_link = xyes; then
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18136 #include <unistd.h>
18137 #include <stdio.h>
18138 #include <sys/stat.h>
18139
18140 int
18141 main ()
18142 {
18143 FILE* fp;
18144 fopen64("t", "w");
18145 fseeko64(fp, 0, SEEK_CUR);
18146 ftello64(fp);
18147 lseek64(1, 0, SEEK_CUR);
18148 struct stat64 buf;
18149 fstat64(1, &buf);
18150 ;
18151 return 0;
18152 }
18153 _ACEOF
18154 if ac_fn_cxx_try_compile "$LINENO"; then :
18155 glibcxx_cv_LFS=yes
18156 else
18157 glibcxx_cv_LFS=no
18158 fi
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 else
18161 if test x$gcc_no_link = xyes; then
18162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18163 fi
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <unistd.h>
18167 #include <stdio.h>
18168 #include <sys/stat.h>
18169
18170 int
18171 main ()
18172 {
18173 FILE* fp;
18174 fopen64("t", "w");
18175 fseeko64(fp, 0, SEEK_CUR);
18176 ftello64(fp);
18177 lseek64(1, 0, SEEK_CUR);
18178 struct stat64 buf;
18179 fstat64(1, &buf);
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 if ac_fn_cxx_try_link "$LINENO"; then :
18185 glibcxx_cv_LFS=yes
18186 else
18187 glibcxx_cv_LFS=no
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18191 fi
18192
18193 fi
18194
18195 if test $glibcxx_cv_LFS = yes; then
18196
18197 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18198
18199 fi
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18201 $as_echo "$glibcxx_cv_LFS" >&6; }
18202 CXXFLAGS="$ac_save_CXXFLAGS"
18203 ac_ext=c
18204 ac_cpp='$CPP $CPPFLAGS'
18205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18208
18209
18210
18211 # For showmanyc_helper().
18212 for ac_header in sys/ioctl.h sys/filio.h
18213 do :
18214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18215 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18216 eval as_val=\$$as_ac_Header
18217 if test "x$as_val" = x""yes; then :
18218 cat >>confdefs.h <<_ACEOF
18219 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18220 _ACEOF
18221
18222 fi
18223
18224 done
18225
18226
18227
18228
18229 ac_ext=cpp
18230 ac_cpp='$CXXCPP $CPPFLAGS'
18231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234
18235 ac_save_CXXFLAGS="$CXXFLAGS"
18236 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18237
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18239 $as_echo_n "checking for poll... " >&6; }
18240 if test "${glibcxx_cv_POLL+set}" = set; then :
18241 $as_echo_n "(cached) " >&6
18242 else
18243
18244 if test x$gcc_no_link = xyes; then
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247 #include <poll.h>
18248 int
18249 main ()
18250 {
18251 struct pollfd pfd[1];
18252 pfd[0].events = POLLIN;
18253 poll(pfd, 1, 0);
18254 ;
18255 return 0;
18256 }
18257 _ACEOF
18258 if ac_fn_cxx_try_compile "$LINENO"; then :
18259 glibcxx_cv_POLL=yes
18260 else
18261 glibcxx_cv_POLL=no
18262 fi
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 else
18265 if test x$gcc_no_link = xyes; then
18266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18267 fi
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <poll.h>
18271 int
18272 main ()
18273 {
18274 struct pollfd pfd[1];
18275 pfd[0].events = POLLIN;
18276 poll(pfd, 1, 0);
18277 ;
18278 return 0;
18279 }
18280 _ACEOF
18281 if ac_fn_cxx_try_link "$LINENO"; then :
18282 glibcxx_cv_POLL=yes
18283 else
18284 glibcxx_cv_POLL=no
18285 fi
18286 rm -f core conftest.err conftest.$ac_objext \
18287 conftest$ac_exeext conftest.$ac_ext
18288 fi
18289
18290 fi
18291
18292 if test $glibcxx_cv_POLL = yes; then
18293
18294 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18295
18296 fi
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18298 $as_echo "$glibcxx_cv_POLL" >&6; }
18299
18300 CXXFLAGS="$ac_save_CXXFLAGS"
18301 ac_ext=c
18302 ac_cpp='$CPP $CPPFLAGS'
18303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18306
18307
18308
18309
18310
18311 ac_ext=cpp
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316
18317 ac_save_CXXFLAGS="$CXXFLAGS"
18318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18319
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18321 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18322 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325
18326 if test x$gcc_no_link = xyes; then
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <sys/stat.h>
18330 int
18331 main ()
18332 {
18333 struct stat buffer;
18334 fstat(0, &buffer);
18335 S_ISREG(buffer.st_mode);
18336 ;
18337 return 0;
18338 }
18339 _ACEOF
18340 if ac_fn_cxx_try_compile "$LINENO"; then :
18341 glibcxx_cv_S_ISREG=yes
18342 else
18343 glibcxx_cv_S_ISREG=no
18344 fi
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 else
18347 if test x$gcc_no_link = xyes; then
18348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18349 fi
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #include <sys/stat.h>
18353 int
18354 main ()
18355 {
18356 struct stat buffer;
18357 fstat(0, &buffer);
18358 S_ISREG(buffer.st_mode);
18359 ;
18360 return 0;
18361 }
18362 _ACEOF
18363 if ac_fn_cxx_try_link "$LINENO"; then :
18364 glibcxx_cv_S_ISREG=yes
18365 else
18366 glibcxx_cv_S_ISREG=no
18367 fi
18368 rm -f core conftest.err conftest.$ac_objext \
18369 conftest$ac_exeext conftest.$ac_ext
18370 fi
18371
18372 fi
18373
18374 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18377
18378 if test x$gcc_no_link = xyes; then
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18381 #include <sys/stat.h>
18382 int
18383 main ()
18384 {
18385 struct stat buffer;
18386 fstat(0, &buffer);
18387 S_IFREG & buffer.st_mode;
18388 ;
18389 return 0;
18390 }
18391 _ACEOF
18392 if ac_fn_cxx_try_compile "$LINENO"; then :
18393 glibcxx_cv_S_IFREG=yes
18394 else
18395 glibcxx_cv_S_IFREG=no
18396 fi
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398 else
18399 if test x$gcc_no_link = xyes; then
18400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18401 fi
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #include <sys/stat.h>
18405 int
18406 main ()
18407 {
18408 struct stat buffer;
18409 fstat(0, &buffer);
18410 S_IFREG & buffer.st_mode;
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 if ac_fn_cxx_try_link "$LINENO"; then :
18416 glibcxx_cv_S_IFREG=yes
18417 else
18418 glibcxx_cv_S_IFREG=no
18419 fi
18420 rm -f core conftest.err conftest.$ac_objext \
18421 conftest$ac_exeext conftest.$ac_ext
18422 fi
18423
18424 fi
18425
18426 res=no
18427 if test $glibcxx_cv_S_ISREG = yes; then
18428
18429 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18430
18431 res=S_ISREG
18432 elif test $glibcxx_cv_S_IFREG = yes; then
18433
18434 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18435
18436 res=S_IFREG
18437 fi
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18439 $as_echo "$res" >&6; }
18440
18441 CXXFLAGS="$ac_save_CXXFLAGS"
18442 ac_ext=c
18443 ac_cpp='$CPP $CPPFLAGS'
18444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447
18448
18449
18450 # For xsputn_2().
18451 for ac_header in sys/uio.h
18452 do :
18453 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18454 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_SYS_UIO_H 1
18457 _ACEOF
18458
18459 fi
18460
18461 done
18462
18463
18464
18465
18466 ac_ext=cpp
18467 ac_cpp='$CXXCPP $CPPFLAGS'
18468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18471
18472 ac_save_CXXFLAGS="$CXXFLAGS"
18473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18474
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18476 $as_echo_n "checking for writev... " >&6; }
18477 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18478 $as_echo_n "(cached) " >&6
18479 else
18480
18481 if test x$gcc_no_link = xyes; then
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 #include <sys/uio.h>
18485 int
18486 main ()
18487 {
18488 struct iovec iov[2];
18489 writev(0, iov, 0);
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_compile "$LINENO"; then :
18495 glibcxx_cv_WRITEV=yes
18496 else
18497 glibcxx_cv_WRITEV=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 else
18501 if test x$gcc_no_link = xyes; then
18502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18503 fi
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18506 #include <sys/uio.h>
18507 int
18508 main ()
18509 {
18510 struct iovec iov[2];
18511 writev(0, iov, 0);
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 if ac_fn_cxx_try_link "$LINENO"; then :
18517 glibcxx_cv_WRITEV=yes
18518 else
18519 glibcxx_cv_WRITEV=no
18520 fi
18521 rm -f core conftest.err conftest.$ac_objext \
18522 conftest$ac_exeext conftest.$ac_ext
18523 fi
18524
18525 fi
18526
18527 if test $glibcxx_cv_WRITEV = yes; then
18528
18529 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18530
18531 fi
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18533 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18534
18535 CXXFLAGS="$ac_save_CXXFLAGS"
18536 ac_ext=c
18537 ac_cpp='$CPP $CPPFLAGS'
18538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18541
18542
18543
18544 # For C99 support to TR1.
18545
18546
18547
18548 ac_ext=cpp
18549 ac_cpp='$CXXCPP $CPPFLAGS'
18550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18553
18554
18555 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18556 # undefined and fake C99 facilities may be spuriously enabled.
18557 ac_save_CXXFLAGS="$CXXFLAGS"
18558 CXXFLAGS="$CXXFLAGS -std=c++98"
18559
18560 # Check for the existence of <complex.h> complex math functions used
18561 # by tr1/complex.
18562 for ac_header in complex.h
18563 do :
18564 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18565 if test "x$ac_cv_header_complex_h" = x""yes; then :
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_COMPLEX_H 1
18568 _ACEOF
18569 ac_has_complex_h=yes
18570 else
18571 ac_has_complex_h=no
18572 fi
18573
18574 done
18575
18576 ac_c99_complex_tr1=no;
18577 if test x"$ac_has_complex_h" = x"yes"; then
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18579 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582 #include <complex.h>
18583 int
18584 main ()
18585 {
18586 typedef __complex__ float float_type; float_type tmpf;
18587 cacosf(tmpf);
18588 casinf(tmpf);
18589 catanf(tmpf);
18590 cacoshf(tmpf);
18591 casinhf(tmpf);
18592 catanhf(tmpf);
18593 typedef __complex__ double double_type; double_type tmpd;
18594 cacos(tmpd);
18595 casin(tmpd);
18596 catan(tmpd);
18597 cacosh(tmpd);
18598 casinh(tmpd);
18599 catanh(tmpd);
18600 typedef __complex__ long double ld_type; ld_type tmpld;
18601 cacosl(tmpld);
18602 casinl(tmpld);
18603 catanl(tmpld);
18604 cacoshl(tmpld);
18605 casinhl(tmpld);
18606 catanhl(tmpld);
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 if ac_fn_cxx_try_compile "$LINENO"; then :
18613 ac_c99_complex_tr1=yes
18614 else
18615 ac_c99_complex_tr1=no
18616 fi
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618 fi
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18620 $as_echo "$ac_c99_complex_tr1" >&6; }
18621 if test x"$ac_c99_complex_tr1" = x"yes"; then
18622
18623 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18624
18625 fi
18626
18627 # Check for the existence of <ctype.h> functions.
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18629 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18630 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18633
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <ctype.h>
18637 int
18638 main ()
18639 {
18640 int ch;
18641 int ret;
18642 ret = isblank(ch);
18643
18644 ;
18645 return 0;
18646 }
18647 _ACEOF
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 glibcxx_cv_c99_ctype_tr1=yes
18650 else
18651 glibcxx_cv_c99_ctype_tr1=no
18652 fi
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654
18655 fi
18656
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18658 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18659 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18660
18661 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18662
18663 fi
18664
18665 # Check for the existence of <fenv.h> functions.
18666 for ac_header in fenv.h
18667 do :
18668 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18669 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18670 cat >>confdefs.h <<_ACEOF
18671 #define HAVE_FENV_H 1
18672 _ACEOF
18673 ac_has_fenv_h=yes
18674 else
18675 ac_has_fenv_h=no
18676 fi
18677
18678 done
18679
18680 ac_c99_fenv_tr1=no;
18681 if test x"$ac_has_fenv_h" = x"yes"; then
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18683 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18686 #include <fenv.h>
18687 int
18688 main ()
18689 {
18690 int except, mode;
18691 fexcept_t* pflag;
18692 fenv_t* penv;
18693 int ret;
18694 ret = feclearexcept(except);
18695 ret = fegetexceptflag(pflag, except);
18696 ret = feraiseexcept(except);
18697 ret = fesetexceptflag(pflag, except);
18698 ret = fetestexcept(except);
18699 ret = fegetround();
18700 ret = fesetround(mode);
18701 ret = fegetenv(penv);
18702 ret = feholdexcept(penv);
18703 ret = fesetenv(penv);
18704 ret = feupdateenv(penv);
18705
18706 ;
18707 return 0;
18708 }
18709 _ACEOF
18710 if ac_fn_cxx_try_compile "$LINENO"; then :
18711 ac_c99_fenv_tr1=yes
18712 else
18713 ac_c99_fenv_tr1=no
18714 fi
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18716 fi
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18718 $as_echo "$ac_c99_fenv_tr1" >&6; }
18719 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18720
18721 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18722
18723 fi
18724
18725 # Check for the existence of <stdint.h> types.
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18727 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18728 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18731
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #define __STDC_LIMIT_MACROS
18735 #define __STDC_CONSTANT_MACROS
18736 #include <stdint.h>
18737 int
18738 main ()
18739 {
18740 typedef int8_t my_int8_t;
18741 my_int8_t i8 = INT8_MIN;
18742 i8 = INT8_MAX;
18743 typedef int16_t my_int16_t;
18744 my_int16_t i16 = INT16_MIN;
18745 i16 = INT16_MAX;
18746 typedef int32_t my_int32_t;
18747 my_int32_t i32 = INT32_MIN;
18748 i32 = INT32_MAX;
18749 typedef int64_t my_int64_t;
18750 my_int64_t i64 = INT64_MIN;
18751 i64 = INT64_MAX;
18752 typedef int_fast8_t my_int_fast8_t;
18753 my_int_fast8_t if8 = INT_FAST8_MIN;
18754 if8 = INT_FAST8_MAX;
18755 typedef int_fast16_t my_int_fast16_t;
18756 my_int_fast16_t if16 = INT_FAST16_MIN;
18757 if16 = INT_FAST16_MAX;
18758 typedef int_fast32_t my_int_fast32_t;
18759 my_int_fast32_t if32 = INT_FAST32_MIN;
18760 if32 = INT_FAST32_MAX;
18761 typedef int_fast64_t my_int_fast64_t;
18762 my_int_fast64_t if64 = INT_FAST64_MIN;
18763 if64 = INT_FAST64_MAX;
18764 typedef int_least8_t my_int_least8_t;
18765 my_int_least8_t il8 = INT_LEAST8_MIN;
18766 il8 = INT_LEAST8_MAX;
18767 typedef int_least16_t my_int_least16_t;
18768 my_int_least16_t il16 = INT_LEAST16_MIN;
18769 il16 = INT_LEAST16_MAX;
18770 typedef int_least32_t my_int_least32_t;
18771 my_int_least32_t il32 = INT_LEAST32_MIN;
18772 il32 = INT_LEAST32_MAX;
18773 typedef int_least64_t my_int_least64_t;
18774 my_int_least64_t il64 = INT_LEAST64_MIN;
18775 il64 = INT_LEAST64_MAX;
18776 typedef intmax_t my_intmax_t;
18777 my_intmax_t im = INTMAX_MAX;
18778 im = INTMAX_MIN;
18779 typedef intptr_t my_intptr_t;
18780 my_intptr_t ip = INTPTR_MAX;
18781 ip = INTPTR_MIN;
18782 typedef uint8_t my_uint8_t;
18783 my_uint8_t ui8 = UINT8_MAX;
18784 ui8 = UINT8_MAX;
18785 typedef uint16_t my_uint16_t;
18786 my_uint16_t ui16 = UINT16_MAX;
18787 ui16 = UINT16_MAX;
18788 typedef uint32_t my_uint32_t;
18789 my_uint32_t ui32 = UINT32_MAX;
18790 ui32 = UINT32_MAX;
18791 typedef uint64_t my_uint64_t;
18792 my_uint64_t ui64 = UINT64_MAX;
18793 ui64 = UINT64_MAX;
18794 typedef uint_fast8_t my_uint_fast8_t;
18795 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18796 uif8 = UINT_FAST8_MAX;
18797 typedef uint_fast16_t my_uint_fast16_t;
18798 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18799 uif16 = UINT_FAST16_MAX;
18800 typedef uint_fast32_t my_uint_fast32_t;
18801 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18802 uif32 = UINT_FAST32_MAX;
18803 typedef uint_fast64_t my_uint_fast64_t;
18804 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18805 uif64 = UINT_FAST64_MAX;
18806 typedef uint_least8_t my_uint_least8_t;
18807 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18808 uil8 = UINT_LEAST8_MAX;
18809 typedef uint_least16_t my_uint_least16_t;
18810 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18811 uil16 = UINT_LEAST16_MAX;
18812 typedef uint_least32_t my_uint_least32_t;
18813 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18814 uil32 = UINT_LEAST32_MAX;
18815 typedef uint_least64_t my_uint_least64_t;
18816 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18817 uil64 = UINT_LEAST64_MAX;
18818 typedef uintmax_t my_uintmax_t;
18819 my_uintmax_t uim = UINTMAX_MAX;
18820 uim = UINTMAX_MAX;
18821 typedef uintptr_t my_uintptr_t;
18822 my_uintptr_t uip = UINTPTR_MAX;
18823 uip = UINTPTR_MAX;
18824
18825 ;
18826 return 0;
18827 }
18828 _ACEOF
18829 if ac_fn_cxx_try_compile "$LINENO"; then :
18830 glibcxx_cv_c99_stdint_tr1=yes
18831 else
18832 glibcxx_cv_c99_stdint_tr1=no
18833 fi
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835
18836 fi
18837
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18839 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18840 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18841
18842 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18843
18844 fi
18845
18846 # Check for the existence of <math.h> functions.
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18848 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18849 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18852
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 #include <math.h>
18856 int
18857 main ()
18858 {
18859 typedef double_t my_double_t;
18860 typedef float_t my_float_t;
18861 acosh(0.0);
18862 acoshf(0.0f);
18863 acoshl(0.0l);
18864 asinh(0.0);
18865 asinhf(0.0f);
18866 asinhl(0.0l);
18867 atanh(0.0);
18868 atanhf(0.0f);
18869 atanhl(0.0l);
18870 cbrt(0.0);
18871 cbrtf(0.0f);
18872 cbrtl(0.0l);
18873 copysign(0.0, 0.0);
18874 copysignf(0.0f, 0.0f);
18875 copysignl(0.0l, 0.0l);
18876 erf(0.0);
18877 erff(0.0f);
18878 erfl(0.0l);
18879 erfc(0.0);
18880 erfcf(0.0f);
18881 erfcl(0.0l);
18882 exp2(0.0);
18883 exp2f(0.0f);
18884 exp2l(0.0l);
18885 expm1(0.0);
18886 expm1f(0.0f);
18887 expm1l(0.0l);
18888 fdim(0.0, 0.0);
18889 fdimf(0.0f, 0.0f);
18890 fdiml(0.0l, 0.0l);
18891 fma(0.0, 0.0, 0.0);
18892 fmaf(0.0f, 0.0f, 0.0f);
18893 fmal(0.0l, 0.0l, 0.0l);
18894 fmax(0.0, 0.0);
18895 fmaxf(0.0f, 0.0f);
18896 fmaxl(0.0l, 0.0l);
18897 fmin(0.0, 0.0);
18898 fminf(0.0f, 0.0f);
18899 fminl(0.0l, 0.0l);
18900 hypot(0.0, 0.0);
18901 hypotf(0.0f, 0.0f);
18902 hypotl(0.0l, 0.0l);
18903 ilogb(0.0);
18904 ilogbf(0.0f);
18905 ilogbl(0.0l);
18906 lgamma(0.0);
18907 lgammaf(0.0f);
18908 lgammal(0.0l);
18909 llrint(0.0);
18910 llrintf(0.0f);
18911 llrintl(0.0l);
18912 llround(0.0);
18913 llroundf(0.0f);
18914 llroundl(0.0l);
18915 log1p(0.0);
18916 log1pf(0.0f);
18917 log1pl(0.0l);
18918 log2(0.0);
18919 log2f(0.0f);
18920 log2l(0.0l);
18921 logb(0.0);
18922 logbf(0.0f);
18923 logbl(0.0l);
18924 lrint(0.0);
18925 lrintf(0.0f);
18926 lrintl(0.0l);
18927 lround(0.0);
18928 lroundf(0.0f);
18929 lroundl(0.0l);
18930 nan(0);
18931 nanf(0);
18932 nanl(0);
18933 nearbyint(0.0);
18934 nearbyintf(0.0f);
18935 nearbyintl(0.0l);
18936 nextafter(0.0, 0.0);
18937 nextafterf(0.0f, 0.0f);
18938 nextafterl(0.0l, 0.0l);
18939 nexttoward(0.0, 0.0);
18940 nexttowardf(0.0f, 0.0f);
18941 nexttowardl(0.0l, 0.0l);
18942 remainder(0.0, 0.0);
18943 remainderf(0.0f, 0.0f);
18944 remainderl(0.0l, 0.0l);
18945 remquo(0.0, 0.0, 0);
18946 remquof(0.0f, 0.0f, 0);
18947 remquol(0.0l, 0.0l, 0);
18948 rint(0.0);
18949 rintf(0.0f);
18950 rintl(0.0l);
18951 round(0.0);
18952 roundf(0.0f);
18953 roundl(0.0l);
18954 scalbln(0.0, 0l);
18955 scalblnf(0.0f, 0l);
18956 scalblnl(0.0l, 0l);
18957 scalbn(0.0, 0);
18958 scalbnf(0.0f, 0);
18959 scalbnl(0.0l, 0);
18960 tgamma(0.0);
18961 tgammaf(0.0f);
18962 tgammal(0.0l);
18963 trunc(0.0);
18964 truncf(0.0f);
18965 truncl(0.0l);
18966
18967 ;
18968 return 0;
18969 }
18970 _ACEOF
18971 if ac_fn_cxx_try_compile "$LINENO"; then :
18972 glibcxx_cv_c99_math_tr1=yes
18973 else
18974 glibcxx_cv_c99_math_tr1=no
18975 fi
18976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18977
18978 fi
18979
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18981 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18982 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18983
18984 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18985
18986 fi
18987
18988 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18989 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18990 ac_c99_inttypes_tr1=no;
18991 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18993 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 #include <inttypes.h>
18997 int
18998 main ()
18999 {
19000 intmax_t i, numer, denom, base;
19001 const char* s;
19002 char** endptr;
19003 intmax_t ret = imaxabs(i);
19004 imaxdiv_t dret = imaxdiv(numer, denom);
19005 ret = strtoimax(s, endptr, base);
19006 uintmax_t uret = strtoumax(s, endptr, base);
19007
19008 ;
19009 return 0;
19010 }
19011 _ACEOF
19012 if ac_fn_cxx_try_compile "$LINENO"; then :
19013 ac_c99_inttypes_tr1=yes
19014 else
19015 ac_c99_inttypes_tr1=no
19016 fi
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 fi
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19020 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19021 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19022
19023 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19024
19025 fi
19026
19027 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19028 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19029 ac_c99_inttypes_wchar_t_tr1=no;
19030 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19032 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <inttypes.h>
19036 int
19037 main ()
19038 {
19039 intmax_t base;
19040 const wchar_t* s;
19041 wchar_t** endptr;
19042 intmax_t ret = wcstoimax(s, endptr, base);
19043 uintmax_t uret = wcstoumax(s, endptr, base);
19044
19045 ;
19046 return 0;
19047 }
19048 _ACEOF
19049 if ac_fn_cxx_try_compile "$LINENO"; then :
19050 ac_c99_inttypes_wchar_t_tr1=yes
19051 else
19052 ac_c99_inttypes_wchar_t_tr1=no
19053 fi
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19055 fi
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19057 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19058 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19059
19060 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19061
19062 fi
19063
19064 # Check for the existence of the <stdbool.h> header.
19065 for ac_header in stdbool.h
19066 do :
19067 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19068 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STDBOOL_H 1
19071 _ACEOF
19072
19073 fi
19074
19075 done
19076
19077
19078 # Check for the existence of the <stdalign.h> header.
19079 for ac_header in stdalign.h
19080 do :
19081 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19082 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STDALIGN_H 1
19085 _ACEOF
19086
19087 fi
19088
19089 done
19090
19091
19092 CXXFLAGS="$ac_save_CXXFLAGS"
19093 ac_ext=c
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19098
19099
19100
19101 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19102
19103
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19105 $as_echo_n "checking for the value of EOF... " >&6; }
19106 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19107 $as_echo_n "(cached) " >&6
19108 else
19109
19110 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19111
19112 else
19113 as_fn_error "computing EOF failed" "$LINENO" 5
19114 fi
19115
19116
19117 fi
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19119 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19120
19121 cat >>confdefs.h <<_ACEOF
19122 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19123 _ACEOF
19124
19125
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19127 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19128 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19129 $as_echo_n "(cached) " >&6
19130 else
19131
19132 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19133
19134 else
19135 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19136 fi
19137
19138
19139 fi
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19141 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19142
19143 cat >>confdefs.h <<_ACEOF
19144 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19145 _ACEOF
19146
19147
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19149 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19150 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19151 $as_echo_n "(cached) " >&6
19152 else
19153
19154 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19155
19156 else
19157 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19158 fi
19159
19160
19161 fi
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19163 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19164
19165 cat >>confdefs.h <<_ACEOF
19166 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19167 _ACEOF
19168
19169
19170
19171 # For gettimeofday support.
19172
19173
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19175 $as_echo_n "checking for gettimeofday... " >&6; }
19176
19177
19178 ac_ext=cpp
19179 ac_cpp='$CXXCPP $CPPFLAGS'
19180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19183
19184 ac_save_CXXFLAGS="$CXXFLAGS"
19185 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19186
19187 ac_has_gettimeofday=no;
19188 for ac_header in sys/time.h
19189 do :
19190 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19191 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_SYS_TIME_H 1
19194 _ACEOF
19195 ac_has_sys_time_h=yes
19196 else
19197 ac_has_sys_time_h=no
19198 fi
19199
19200 done
19201
19202 if test x"$ac_has_sys_time_h" = x"yes"; then
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19204 $as_echo_n "checking for gettimeofday... " >&6; }
19205 if test x$gcc_no_link = xyes; then
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19208 #include <sys/time.h>
19209 int
19210 main ()
19211 {
19212 timeval tv; gettimeofday(&tv, 0);
19213 ;
19214 return 0;
19215 }
19216 _ACEOF
19217 if ac_fn_cxx_try_compile "$LINENO"; then :
19218 ac_has_gettimeofday=yes
19219 else
19220 ac_has_gettimeofday=no
19221 fi
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 else
19224 if test x$gcc_no_link = xyes; then
19225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19226 fi
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229 #include <sys/time.h>
19230 int
19231 main ()
19232 {
19233 timeval tv; gettimeofday(&tv, 0);
19234 ;
19235 return 0;
19236 }
19237 _ACEOF
19238 if ac_fn_cxx_try_link "$LINENO"; then :
19239 ac_has_gettimeofday=yes
19240 else
19241 ac_has_gettimeofday=no
19242 fi
19243 rm -f core conftest.err conftest.$ac_objext \
19244 conftest$ac_exeext conftest.$ac_ext
19245 fi
19246
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19248 $as_echo "$ac_has_gettimeofday" >&6; }
19249 fi
19250
19251 if test x"$ac_has_gettimeofday" = x"yes"; then
19252
19253 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19254
19255 fi
19256
19257 CXXFLAGS="$ac_save_CXXFLAGS"
19258 ac_ext=c
19259 ac_cpp='$CPP $CPPFLAGS'
19260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19263
19264
19265
19266 # For clock_gettime, nanosleep and sched_yield support.
19267 # NB: The default is [no], because otherwise it requires linking.
19268
19269
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19271 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19272 # Check whether --enable-libstdcxx-time was given.
19273 if test "${enable_libstdcxx_time+set}" = set; then :
19274 enableval=$enable_libstdcxx_time;
19275 case "$enableval" in
19276 yes|no|rt) ;;
19277 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19278 esac
19279
19280 else
19281 enable_libstdcxx_time=no
19282 fi
19283
19284
19285
19286
19287 ac_ext=cpp
19288 ac_cpp='$CXXCPP $CPPFLAGS'
19289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19292
19293 ac_save_CXXFLAGS="$CXXFLAGS"
19294 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19295 ac_save_LIBS="$LIBS"
19296
19297 ac_has_clock_monotonic=no
19298 ac_has_clock_realtime=no
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19300 $as_echo "$enable_libstdcxx_time" >&6; }
19301
19302 if test x"$enable_libstdcxx_time" != x"no"; then
19303
19304 if test x"$enable_libstdcxx_time" = x"rt"; then
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19306 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19307 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19308 $as_echo_n "(cached) " >&6
19309 else
19310 ac_func_search_save_LIBS=$LIBS
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313
19314 /* Override any GCC internal prototype to avoid an error.
19315 Use char because int might match the return type of a GCC
19316 builtin and then its argument prototype would still apply. */
19317 #ifdef __cplusplus
19318 extern "C"
19319 #endif
19320 char clock_gettime ();
19321 int
19322 main ()
19323 {
19324 return clock_gettime ();
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 for ac_lib in '' rt posix4; do
19330 if test -z "$ac_lib"; then
19331 ac_res="none required"
19332 else
19333 ac_res=-l$ac_lib
19334 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19335 fi
19336 if test x$gcc_no_link = xyes; then
19337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338 fi
19339 if ac_fn_cxx_try_link "$LINENO"; then :
19340 ac_cv_search_clock_gettime=$ac_res
19341 fi
19342 rm -f core conftest.err conftest.$ac_objext \
19343 conftest$ac_exeext
19344 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19345 break
19346 fi
19347 done
19348 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19349
19350 else
19351 ac_cv_search_clock_gettime=no
19352 fi
19353 rm conftest.$ac_ext
19354 LIBS=$ac_func_search_save_LIBS
19355 fi
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19357 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19358 ac_res=$ac_cv_search_clock_gettime
19359 if test "$ac_res" != no; then :
19360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19361
19362 fi
19363
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19365 $as_echo_n "checking for library containing nanosleep... " >&6; }
19366 if test "${ac_cv_search_nanosleep+set}" = set; then :
19367 $as_echo_n "(cached) " >&6
19368 else
19369 ac_func_search_save_LIBS=$LIBS
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372
19373 /* Override any GCC internal prototype to avoid an error.
19374 Use char because int might match the return type of a GCC
19375 builtin and then its argument prototype would still apply. */
19376 #ifdef __cplusplus
19377 extern "C"
19378 #endif
19379 char nanosleep ();
19380 int
19381 main ()
19382 {
19383 return nanosleep ();
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 for ac_lib in '' rt posix4; do
19389 if test -z "$ac_lib"; then
19390 ac_res="none required"
19391 else
19392 ac_res=-l$ac_lib
19393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19394 fi
19395 if test x$gcc_no_link = xyes; then
19396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19397 fi
19398 if ac_fn_cxx_try_link "$LINENO"; then :
19399 ac_cv_search_nanosleep=$ac_res
19400 fi
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext
19403 if test "${ac_cv_search_nanosleep+set}" = set; then :
19404 break
19405 fi
19406 done
19407 if test "${ac_cv_search_nanosleep+set}" = set; then :
19408
19409 else
19410 ac_cv_search_nanosleep=no
19411 fi
19412 rm conftest.$ac_ext
19413 LIBS=$ac_func_search_save_LIBS
19414 fi
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19416 $as_echo "$ac_cv_search_nanosleep" >&6; }
19417 ac_res=$ac_cv_search_nanosleep
19418 if test "$ac_res" != no; then :
19419 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19420
19421 fi
19422
19423 else
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19425 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19426 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 ac_func_search_save_LIBS=$LIBS
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432
19433 /* Override any GCC internal prototype to avoid an error.
19434 Use char because int might match the return type of a GCC
19435 builtin and then its argument prototype would still apply. */
19436 #ifdef __cplusplus
19437 extern "C"
19438 #endif
19439 char clock_gettime ();
19440 int
19441 main ()
19442 {
19443 return clock_gettime ();
19444 ;
19445 return 0;
19446 }
19447 _ACEOF
19448 for ac_lib in '' posix4; do
19449 if test -z "$ac_lib"; then
19450 ac_res="none required"
19451 else
19452 ac_res=-l$ac_lib
19453 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19454 fi
19455 if test x$gcc_no_link = xyes; then
19456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19457 fi
19458 if ac_fn_cxx_try_link "$LINENO"; then :
19459 ac_cv_search_clock_gettime=$ac_res
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext
19463 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19464 break
19465 fi
19466 done
19467 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19468
19469 else
19470 ac_cv_search_clock_gettime=no
19471 fi
19472 rm conftest.$ac_ext
19473 LIBS=$ac_func_search_save_LIBS
19474 fi
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19476 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19477 ac_res=$ac_cv_search_clock_gettime
19478 if test "$ac_res" != no; then :
19479 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19480
19481 fi
19482
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19484 $as_echo_n "checking for library containing nanosleep... " >&6; }
19485 if test "${ac_cv_search_nanosleep+set}" = set; then :
19486 $as_echo_n "(cached) " >&6
19487 else
19488 ac_func_search_save_LIBS=$LIBS
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491
19492 /* Override any GCC internal prototype to avoid an error.
19493 Use char because int might match the return type of a GCC
19494 builtin and then its argument prototype would still apply. */
19495 #ifdef __cplusplus
19496 extern "C"
19497 #endif
19498 char nanosleep ();
19499 int
19500 main ()
19501 {
19502 return nanosleep ();
19503 ;
19504 return 0;
19505 }
19506 _ACEOF
19507 for ac_lib in '' posix4; do
19508 if test -z "$ac_lib"; then
19509 ac_res="none required"
19510 else
19511 ac_res=-l$ac_lib
19512 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19513 fi
19514 if test x$gcc_no_link = xyes; then
19515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19516 fi
19517 if ac_fn_cxx_try_link "$LINENO"; then :
19518 ac_cv_search_nanosleep=$ac_res
19519 fi
19520 rm -f core conftest.err conftest.$ac_objext \
19521 conftest$ac_exeext
19522 if test "${ac_cv_search_nanosleep+set}" = set; then :
19523 break
19524 fi
19525 done
19526 if test "${ac_cv_search_nanosleep+set}" = set; then :
19527
19528 else
19529 ac_cv_search_nanosleep=no
19530 fi
19531 rm conftest.$ac_ext
19532 LIBS=$ac_func_search_save_LIBS
19533 fi
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19535 $as_echo "$ac_cv_search_nanosleep" >&6; }
19536 ac_res=$ac_cv_search_nanosleep
19537 if test "$ac_res" != no; then :
19538 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19539
19540 fi
19541
19542 fi
19543
19544 case "$ac_cv_search_clock_gettime" in
19545 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19546 ;;
19547 esac
19548 case "$ac_cv_search_nanosleep" in
19549 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19550 ;;
19551 esac
19552
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19554 $as_echo_n "checking for library containing sched_yield... " >&6; }
19555 if test "${ac_cv_search_sched_yield+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19557 else
19558 ac_func_search_save_LIBS=$LIBS
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561
19562 /* Override any GCC internal prototype to avoid an error.
19563 Use char because int might match the return type of a GCC
19564 builtin and then its argument prototype would still apply. */
19565 #ifdef __cplusplus
19566 extern "C"
19567 #endif
19568 char sched_yield ();
19569 int
19570 main ()
19571 {
19572 return sched_yield ();
19573 ;
19574 return 0;
19575 }
19576 _ACEOF
19577 for ac_lib in '' rt posix4; do
19578 if test -z "$ac_lib"; then
19579 ac_res="none required"
19580 else
19581 ac_res=-l$ac_lib
19582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19583 fi
19584 if test x$gcc_no_link = xyes; then
19585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19586 fi
19587 if ac_fn_cxx_try_link "$LINENO"; then :
19588 ac_cv_search_sched_yield=$ac_res
19589 fi
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext
19592 if test "${ac_cv_search_sched_yield+set}" = set; then :
19593 break
19594 fi
19595 done
19596 if test "${ac_cv_search_sched_yield+set}" = set; then :
19597
19598 else
19599 ac_cv_search_sched_yield=no
19600 fi
19601 rm conftest.$ac_ext
19602 LIBS=$ac_func_search_save_LIBS
19603 fi
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19605 $as_echo "$ac_cv_search_sched_yield" >&6; }
19606 ac_res=$ac_cv_search_sched_yield
19607 if test "$ac_res" != no; then :
19608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19609
19610 fi
19611
19612
19613 case "$ac_cv_search_sched_yield" in
19614 -lposix4*)
19615 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19616
19617 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19618
19619 ;;
19620 -lrt*)
19621 if test x"$enable_libstdcxx_time" = x"rt"; then
19622 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19623
19624 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19625
19626 fi
19627 ;;
19628 *)
19629
19630 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19631
19632 ;;
19633 esac
19634
19635 for ac_header in unistd.h
19636 do :
19637 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19638 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19639 cat >>confdefs.h <<_ACEOF
19640 #define HAVE_UNISTD_H 1
19641 _ACEOF
19642 ac_has_unistd_h=yes
19643 else
19644 ac_has_unistd_h=no
19645 fi
19646
19647 done
19648
19649
19650 if test x"$ac_has_unistd_h" = x"yes"; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19652 $as_echo_n "checking for monotonic clock... " >&6; }
19653 if test x$gcc_no_link = xyes; then
19654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19655 fi
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 #include <unistd.h>
19659 #include <time.h>
19660
19661 int
19662 main ()
19663 {
19664 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19665 timespec tp;
19666 #endif
19667 clock_gettime(CLOCK_MONOTONIC, &tp);
19668
19669 ;
19670 return 0;
19671 }
19672 _ACEOF
19673 if ac_fn_cxx_try_link "$LINENO"; then :
19674 ac_has_clock_monotonic=yes
19675 else
19676 ac_has_clock_monotonic=no
19677 fi
19678 rm -f core conftest.err conftest.$ac_objext \
19679 conftest$ac_exeext conftest.$ac_ext
19680
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19682 $as_echo "$ac_has_clock_monotonic" >&6; }
19683
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19685 $as_echo_n "checking for realtime clock... " >&6; }
19686 if test x$gcc_no_link = xyes; then
19687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19688 fi
19689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h. */
19691 #include <unistd.h>
19692 #include <time.h>
19693
19694 int
19695 main ()
19696 {
19697 #if _POSIX_TIMERS > 0
19698 timespec tp;
19699 #endif
19700 clock_gettime(CLOCK_REALTIME, &tp);
19701
19702 ;
19703 return 0;
19704 }
19705 _ACEOF
19706 if ac_fn_cxx_try_link "$LINENO"; then :
19707 ac_has_clock_realtime=yes
19708 else
19709 ac_has_clock_realtime=no
19710 fi
19711 rm -f core conftest.err conftest.$ac_objext \
19712 conftest$ac_exeext conftest.$ac_ext
19713
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19715 $as_echo "$ac_has_clock_realtime" >&6; }
19716
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19718 $as_echo_n "checking for nanosleep... " >&6; }
19719 if test x$gcc_no_link = xyes; then
19720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19721 fi
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #include <unistd.h>
19725 #include <time.h>
19726
19727 int
19728 main ()
19729 {
19730 #if _POSIX_TIMERS > 0
19731 timespec tp;
19732 #endif
19733 nanosleep(&tp, 0);
19734
19735 ;
19736 return 0;
19737 }
19738 _ACEOF
19739 if ac_fn_cxx_try_link "$LINENO"; then :
19740 ac_has_nanosleep=yes
19741 else
19742 ac_has_nanosleep=no
19743 fi
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19746
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19748 $as_echo "$ac_has_nanosleep" >&6; }
19749 fi
19750 fi
19751
19752 if test x"$ac_has_clock_monotonic" = x"yes"; then
19753
19754 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19755
19756 fi
19757
19758 if test x"$ac_has_clock_realtime" = x"yes"; then
19759
19760 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19761
19762 fi
19763
19764 if test x"$ac_has_nanosleep" = x"yes"; then
19765
19766 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19767
19768 fi
19769
19770
19771
19772 CXXFLAGS="$ac_save_CXXFLAGS"
19773 LIBS="$ac_save_LIBS"
19774 ac_ext=c
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19779
19780
19781
19782 # For gthread support
19783
19784
19785 ac_ext=cpp
19786 ac_cpp='$CXXCPP $CPPFLAGS'
19787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19790
19791
19792 ac_save_CXXFLAGS="$CXXFLAGS"
19793 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19794 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19795
19796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19797 case $target_thread_file in
19798 posix)
19799 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19800 esac
19801
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19803 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19804
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #include <unistd.h>
19808 int
19809 main ()
19810 {
19811
19812 // In case of POSIX threads check _POSIX_TIMEOUTS.
19813 #if (defined(_PTHREADS) \
19814 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19815 #error
19816 #endif
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 if ac_fn_cxx_try_compile "$LINENO"; then :
19823 ac_gthread_use_mutex_timedlock=1
19824 else
19825 ac_gthread_use_mutex_timedlock=0
19826 fi
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
19829
19830 cat >>confdefs.h <<_ACEOF
19831 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19832 _ACEOF
19833
19834
19835 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19836 else res_mutex_timedlock=no ; fi
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19838 $as_echo "$res_mutex_timedlock" >&6; }
19839
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19841 $as_echo_n "checking for gthreads library... " >&6; }
19842
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #include "gthr.h"
19846 int
19847 main ()
19848 {
19849
19850 #ifndef __GTHREADS_CXX0X
19851 #error
19852 #endif
19853
19854 ;
19855 return 0;
19856 }
19857 _ACEOF
19858 if ac_fn_cxx_try_compile "$LINENO"; then :
19859 ac_has_gthreads=yes
19860 else
19861 ac_has_gthreads=no
19862 fi
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19864
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19866 $as_echo "$ac_has_gthreads" >&6; }
19867
19868 if test x"$ac_has_gthreads" = x"yes"; then
19869
19870 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19871
19872 fi
19873
19874 CXXFLAGS="$ac_save_CXXFLAGS"
19875 ac_ext=c
19876 ac_cpp='$CPP $CPPFLAGS'
19877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19880
19881
19882
19883
19884 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19885 if test "x$ac_cv_header_locale_h" = x""yes; then :
19886
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19888 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19889 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19890 $as_echo_n "(cached) " >&6
19891 else
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <locale.h>
19895 int
19896 main ()
19897 {
19898 return LC_MESSAGES
19899 ;
19900 return 0;
19901 }
19902 _ACEOF
19903 if ac_fn_c_try_compile "$LINENO"; then :
19904 ac_cv_val_LC_MESSAGES=yes
19905 else
19906 ac_cv_val_LC_MESSAGES=no
19907 fi
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909 fi
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19911 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19912 if test $ac_cv_val_LC_MESSAGES = yes; then
19913
19914 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19915
19916 fi
19917
19918 fi
19919
19920
19921
19922
19923 # For hardware_concurrency
19924 for ac_header in sys/sysinfo.h
19925 do :
19926 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19927 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19928 cat >>confdefs.h <<_ACEOF
19929 #define HAVE_SYS_SYSINFO_H 1
19930 _ACEOF
19931
19932 fi
19933
19934 done
19935
19936
19937
19938
19939 ac_ext=cpp
19940 ac_cpp='$CXXCPP $CPPFLAGS'
19941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19944
19945 ac_save_CXXFLAGS="$CXXFLAGS"
19946 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19947
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19949 $as_echo_n "checking for get_nprocs... " >&6; }
19950 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19951 $as_echo_n "(cached) " >&6
19952 else
19953
19954 if test x$gcc_no_link = xyes; then
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <sys/sysinfo.h>
19958 int
19959 main ()
19960 {
19961 int n = get_nprocs();
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 if ac_fn_cxx_try_compile "$LINENO"; then :
19967 glibcxx_cv_GET_NPROCS=yes
19968 else
19969 glibcxx_cv_GET_NPROCS=no
19970 fi
19971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972 else
19973 if test x$gcc_no_link = xyes; then
19974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19975 fi
19976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19978 #include <sys/sysinfo.h>
19979 int
19980 main ()
19981 {
19982 int n = get_nprocs();
19983 ;
19984 return 0;
19985 }
19986 _ACEOF
19987 if ac_fn_cxx_try_link "$LINENO"; then :
19988 glibcxx_cv_GET_NPROCS=yes
19989 else
19990 glibcxx_cv_GET_NPROCS=no
19991 fi
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19994 fi
19995
19996 fi
19997
19998 if test $glibcxx_cv_GET_NPROCS = yes; then
19999
20000 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20001
20002 fi
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20004 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20005
20006 CXXFLAGS="$ac_save_CXXFLAGS"
20007 ac_ext=c
20008 ac_cpp='$CPP $CPPFLAGS'
20009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20012
20013
20014 for ac_header in unistd.h
20015 do :
20016 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20017 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_UNISTD_H 1
20020 _ACEOF
20021
20022 fi
20023
20024 done
20025
20026
20027
20028
20029 ac_ext=cpp
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20034
20035 ac_save_CXXFLAGS="$CXXFLAGS"
20036 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20037
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20039 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20040 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20041 $as_echo_n "(cached) " >&6
20042 else
20043
20044 if test x$gcc_no_link = xyes; then
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20047 #include <unistd.h>
20048 int
20049 main ()
20050 {
20051 int n = sysconf(_SC_NPROCESSORS_ONLN);
20052 ;
20053 return 0;
20054 }
20055 _ACEOF
20056 if ac_fn_cxx_try_compile "$LINENO"; then :
20057 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20058 else
20059 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20060 fi
20061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20062 else
20063 if test x$gcc_no_link = xyes; then
20064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20065 fi
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <unistd.h>
20069 int
20070 main ()
20071 {
20072 int n = sysconf(_SC_NPROCESSORS_ONLN);
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 if ac_fn_cxx_try_link "$LINENO"; then :
20078 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20079 else
20080 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20081 fi
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20084 fi
20085
20086 fi
20087
20088 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20089
20090 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20091
20092 fi
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20094 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20095
20096 CXXFLAGS="$ac_save_CXXFLAGS"
20097 ac_ext=c
20098 ac_cpp='$CPP $CPPFLAGS'
20099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20102
20103
20104
20105
20106
20107 ac_ext=cpp
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20112
20113 ac_save_CXXFLAGS="$CXXFLAGS"
20114 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20115
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20117 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20118 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20119 $as_echo_n "(cached) " >&6
20120 else
20121
20122 if test x$gcc_no_link = xyes; then
20123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20125 #include <unistd.h>
20126 int
20127 main ()
20128 {
20129 int n = sysconf(_SC_NPROC_ONLN);
20130 ;
20131 return 0;
20132 }
20133 _ACEOF
20134 if ac_fn_cxx_try_compile "$LINENO"; then :
20135 glibcxx_cv_SC_NPROC_ONLN=yes
20136 else
20137 glibcxx_cv_SC_NPROC_ONLN=no
20138 fi
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 else
20141 if test x$gcc_no_link = xyes; then
20142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 fi
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <unistd.h>
20147 int
20148 main ()
20149 {
20150 int n = sysconf(_SC_NPROC_ONLN);
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 if ac_fn_cxx_try_link "$LINENO"; then :
20156 glibcxx_cv_SC_NPROC_ONLN=yes
20157 else
20158 glibcxx_cv_SC_NPROC_ONLN=no
20159 fi
20160 rm -f core conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20162 fi
20163
20164 fi
20165
20166 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20167
20168 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20169
20170 fi
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20172 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20173
20174 CXXFLAGS="$ac_save_CXXFLAGS"
20175 ac_ext=c
20176 ac_cpp='$CPP $CPPFLAGS'
20177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180
20181
20182
20183
20184
20185 ac_ext=cpp
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20190
20191 ac_save_CXXFLAGS="$CXXFLAGS"
20192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20193
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20195 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20196 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20199
20200 if test x$gcc_no_link = xyes; then
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <pthread.h>
20204 int
20205 main ()
20206 {
20207 int n = pthread_num_processors_np();
20208 ;
20209 return 0;
20210 }
20211 _ACEOF
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20214 else
20215 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20216 fi
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 else
20219 if test x$gcc_no_link = xyes; then
20220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20221 fi
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <pthread.h>
20225 int
20226 main ()
20227 {
20228 int n = pthread_num_processors_np();
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 if ac_fn_cxx_try_link "$LINENO"; then :
20234 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20235 else
20236 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20237 fi
20238 rm -f core conftest.err conftest.$ac_objext \
20239 conftest$ac_exeext conftest.$ac_ext
20240 fi
20241
20242 fi
20243
20244 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20245
20246 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20247
20248 fi
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20250 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20251
20252 CXXFLAGS="$ac_save_CXXFLAGS"
20253 ac_ext=c
20254 ac_cpp='$CPP $CPPFLAGS'
20255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20258
20259
20260
20261
20262
20263 ac_ext=cpp
20264 ac_cpp='$CXXCPP $CPPFLAGS'
20265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20268
20269 ac_save_CXXFLAGS="$CXXFLAGS"
20270 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20271
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20273 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20274 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20275 $as_echo_n "(cached) " >&6
20276 else
20277
20278 if test x$gcc_no_link = xyes; then
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20281
20282 #include <stddef.h>
20283 #include <sys/sysctl.h>
20284
20285 int
20286 main ()
20287 {
20288
20289 int count;
20290 size_t size = sizeof(count);
20291 int mib[] = { CTL_HW, HW_NCPU };
20292 sysctl(mib, 2, &count, &size, NULL, 0);
20293
20294 ;
20295 return 0;
20296 }
20297 _ACEOF
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 glibcxx_cv_SYSCTL_HW_NCPU=yes
20300 else
20301 glibcxx_cv_SYSCTL_HW_NCPU=no
20302 fi
20303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 else
20305 if test x$gcc_no_link = xyes; then
20306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20307 fi
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310
20311 #include <stddef.h>
20312 #include <sys/sysctl.h>
20313
20314 int
20315 main ()
20316 {
20317
20318 int count;
20319 size_t size = sizeof(count);
20320 int mib[] = { CTL_HW, HW_NCPU };
20321 sysctl(mib, 2, &count, &size, NULL, 0);
20322
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 if ac_fn_cxx_try_link "$LINENO"; then :
20328 glibcxx_cv_SYSCTL_HW_NCPU=yes
20329 else
20330 glibcxx_cv_SYSCTL_HW_NCPU=no
20331 fi
20332 rm -f core conftest.err conftest.$ac_objext \
20333 conftest$ac_exeext conftest.$ac_ext
20334 fi
20335
20336 fi
20337
20338 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20339
20340 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20341
20342 fi
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20344 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20345
20346 CXXFLAGS="$ac_save_CXXFLAGS"
20347 ac_ext=c
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352
20353
20354
20355 # Check for available headers.
20356 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20357 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20358 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20359 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20360 wchar.h wctype.h
20361 do :
20362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20364 eval as_val=\$$as_ac_Header
20365 if test "x$as_val" = x""yes; then :
20366 cat >>confdefs.h <<_ACEOF
20367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20368 _ACEOF
20369
20370 fi
20371
20372 done
20373
20374
20375 # Only do link tests if native. Else, hardcode.
20376 if $GLIBCXX_IS_NATIVE; then
20377
20378 # We can do more elaborate tests that assume a working linker.
20379 CANADIAN=no
20380
20381
20382
20383 # Check whether --with-gnu-ld was given.
20384 if test "${with_gnu_ld+set}" = set; then :
20385 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20386 else
20387 with_gnu_ld=no
20388 fi
20389
20390 ac_prog=ld
20391 if test "$GCC" = yes; then
20392 # Check if gcc -print-prog-name=ld gives a path.
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20394 $as_echo_n "checking for ld used by $CC... " >&6; }
20395 case $host in
20396 *-*-mingw*)
20397 # gcc leaves a trailing carriage return which upsets mingw
20398 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20399 *)
20400 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20401 esac
20402 case $ac_prog in
20403 # Accept absolute paths.
20404 [\\/]* | ?:[\\/]*)
20405 re_direlt='/[^/][^/]*/\.\./'
20406 # Canonicalize the pathname of ld
20407 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20408 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20409 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20410 done
20411 test -z "$LD" && LD="$ac_prog"
20412 ;;
20413 "")
20414 # If it fails, then pretend we aren't using GCC.
20415 ac_prog=ld
20416 ;;
20417 *)
20418 # If it is relative, then search for the first ld in PATH.
20419 with_gnu_ld=unknown
20420 ;;
20421 esac
20422 elif test "$with_gnu_ld" = yes; then
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20424 $as_echo_n "checking for GNU ld... " >&6; }
20425 else
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20427 $as_echo_n "checking for non-GNU ld... " >&6; }
20428 fi
20429 if test "${lt_cv_path_LD+set}" = set; then :
20430 $as_echo_n "(cached) " >&6
20431 else
20432 if test -z "$LD"; then
20433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20434 for ac_dir in $PATH; do
20435 IFS="$lt_save_ifs"
20436 test -z "$ac_dir" && ac_dir=.
20437 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20438 lt_cv_path_LD="$ac_dir/$ac_prog"
20439 # Check to see if the program is GNU ld. I'd rather use --version,
20440 # but apparently some variants of GNU ld only accept -v.
20441 # Break only if it was the GNU/non-GNU ld that we prefer.
20442 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20443 *GNU* | *'with BFD'*)
20444 test "$with_gnu_ld" != no && break
20445 ;;
20446 *)
20447 test "$with_gnu_ld" != yes && break
20448 ;;
20449 esac
20450 fi
20451 done
20452 IFS="$lt_save_ifs"
20453 else
20454 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20455 fi
20456 fi
20457
20458 LD="$lt_cv_path_LD"
20459 if test -n "$LD"; then
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20461 $as_echo "$LD" >&6; }
20462 else
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20464 $as_echo "no" >&6; }
20465 fi
20466 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20468 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20469 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20470 $as_echo_n "(cached) " >&6
20471 else
20472 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20473 case `$LD -v 2>&1 </dev/null` in
20474 *GNU* | *'with BFD'*)
20475 lt_cv_prog_gnu_ld=yes
20476 ;;
20477 *)
20478 lt_cv_prog_gnu_ld=no
20479 ;;
20480 esac
20481 fi
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20483 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20484 with_gnu_ld=$lt_cv_prog_gnu_ld
20485
20486
20487
20488
20489
20490
20491
20492 # If we're not using GNU ld, then there's no point in even trying these
20493 # tests. Check for that first. We should have already tested for gld
20494 # by now (in libtool), but require it now just to be safe...
20495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20497
20498
20499
20500 # The name set by libtool depends on the version of libtool. Shame on us
20501 # for depending on an impl detail, but c'est la vie. Older versions used
20502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20505 # set (hence we're using an older libtool), then set it.
20506 if test x${with_gnu_ld+set} != xset; then
20507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20509 with_gnu_ld=no
20510 else
20511 with_gnu_ld=$ac_cv_prog_gnu_ld
20512 fi
20513 fi
20514
20515 # Start by getting the version number. I think the libtool test already
20516 # does some of this, but throws away the result.
20517 glibcxx_ld_is_gold=no
20518 if test x"$with_gnu_ld" = x"yes"; then
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20520 $as_echo_n "checking for ld version... " >&6; }
20521
20522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20523 glibcxx_ld_is_gold=yes
20524 fi
20525 ldver=`$LD --version 2>/dev/null |
20526 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20527
20528 glibcxx_gnu_ld_version=`echo $ldver | \
20529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20532 fi
20533
20534 # Set --gc-sections.
20535 glibcxx_have_gc_sections=no
20536 if test "$glibcxx_ld_is_gold" = "yes"; then
20537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20538 glibcxx_have_gc_sections=yes
20539 fi
20540 else
20541 glibcxx_gcsections_min_ld=21602
20542 if test x"$with_gnu_ld" = x"yes" &&
20543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20544 glibcxx_have_gc_sections=yes
20545 fi
20546 fi
20547 if test "$glibcxx_have_gc_sections" = "yes"; then
20548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20549 # NB: This flag only works reliably after 2.16.1. Configure tests
20550 # for this are difficult, so hard wire a value that should work.
20551
20552 ac_test_CFLAGS="${CFLAGS+set}"
20553 ac_save_CFLAGS="$CFLAGS"
20554 CFLAGS='-Wl,--gc-sections'
20555
20556 # Check for -Wl,--gc-sections
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20561 fi
20562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h. */
20564 int one(void) { return 1; }
20565 int two(void) { return 2; }
20566
20567 int
20568 main ()
20569 {
20570 two();
20571 ;
20572 return 0;
20573 }
20574 _ACEOF
20575 if ac_fn_c_try_link "$LINENO"; then :
20576 ac_gcsections=yes
20577 else
20578 ac_gcsections=no
20579 fi
20580 rm -f core conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20582 if test "$ac_gcsections" = "yes"; then
20583 rm -f conftest.c
20584 touch conftest.c
20585 if $CC -c conftest.c; then
20586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20587 grep "Warning: gc-sections option ignored" > /dev/null; then
20588 ac_gcsections=no
20589 fi
20590 fi
20591 rm -f conftest.c conftest.o conftest
20592 fi
20593 if test "$ac_gcsections" = "yes"; then
20594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20595 fi
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20597 $as_echo "$ac_gcsections" >&6; }
20598
20599 if test "$ac_test_CFLAGS" = set; then
20600 CFLAGS="$ac_save_CFLAGS"
20601 else
20602 # this is the suspicious part
20603 CFLAGS=''
20604 fi
20605 fi
20606
20607 # Set -z,relro.
20608 # Note this is only for shared objects.
20609 ac_ld_relro=no
20610 if test x"$with_gnu_ld" = x"yes"; then
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20614 if test -n "$cxx_z_relo"; then
20615 OPT_LDFLAGS="-Wl,-z,relro"
20616 ac_ld_relro=yes
20617 fi
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20619 $as_echo "$ac_ld_relro" >&6; }
20620 fi
20621
20622 # Set linker optimization flags.
20623 if test x"$with_gnu_ld" = x"yes"; then
20624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20625 fi
20626
20627
20628
20629
20630
20631 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20632 ac_save_CXXFLAGS="$CXXFLAGS"
20633 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20634
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20636 $as_echo_n "checking for sin in -lm... " >&6; }
20637 if test "${ac_cv_lib_m_sin+set}" = set; then :
20638 $as_echo_n "(cached) " >&6
20639 else
20640 ac_check_lib_save_LIBS=$LIBS
20641 LIBS="-lm $LIBS"
20642 if test x$gcc_no_link = xyes; then
20643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20644 fi
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20647
20648 /* Override any GCC internal prototype to avoid an error.
20649 Use char because int might match the return type of a GCC
20650 builtin and then its argument prototype would still apply. */
20651 #ifdef __cplusplus
20652 extern "C"
20653 #endif
20654 char sin ();
20655 int
20656 main ()
20657 {
20658 return sin ();
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 if ac_fn_c_try_link "$LINENO"; then :
20664 ac_cv_lib_m_sin=yes
20665 else
20666 ac_cv_lib_m_sin=no
20667 fi
20668 rm -f core conftest.err conftest.$ac_objext \
20669 conftest$ac_exeext conftest.$ac_ext
20670 LIBS=$ac_check_lib_save_LIBS
20671 fi
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20673 $as_echo "$ac_cv_lib_m_sin" >&6; }
20674 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20675 libm="-lm"
20676 fi
20677
20678 ac_save_LIBS="$LIBS"
20679 LIBS="$LIBS $libm"
20680
20681
20682
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20684 $as_echo_n "checking for isinf declaration... " >&6; }
20685 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20686 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20687 $as_echo_n "(cached) " >&6
20688 else
20689
20690
20691 ac_ext=cpp
20692 ac_cpp='$CXXCPP $CPPFLAGS'
20693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20696
20697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20698 /* end confdefs.h. */
20699 #include <math.h>
20700 #ifdef HAVE_IEEEFP_H
20701 #include <ieeefp.h>
20702 #endif
20703
20704 int
20705 main ()
20706 {
20707 isinf(0);
20708 ;
20709 return 0;
20710 }
20711 _ACEOF
20712 if ac_fn_cxx_try_compile "$LINENO"; then :
20713 glibcxx_cv_func_isinf_use=yes
20714 else
20715 glibcxx_cv_func_isinf_use=no
20716 fi
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20718 ac_ext=c
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20723
20724
20725 fi
20726
20727 fi
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20729 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20730
20731 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20732 for ac_func in isinf
20733 do :
20734 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20735 if test "x$ac_cv_func_isinf" = x""yes; then :
20736 cat >>confdefs.h <<_ACEOF
20737 #define HAVE_ISINF 1
20738 _ACEOF
20739
20740 fi
20741 done
20742
20743 else
20744
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20746 $as_echo_n "checking for _isinf declaration... " >&6; }
20747 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20748 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20749 $as_echo_n "(cached) " >&6
20750 else
20751
20752
20753 ac_ext=cpp
20754 ac_cpp='$CXXCPP $CPPFLAGS'
20755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20758
20759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20760 /* end confdefs.h. */
20761 #include <math.h>
20762 #ifdef HAVE_IEEEFP_H
20763 #include <ieeefp.h>
20764 #endif
20765
20766 int
20767 main ()
20768 {
20769 _isinf(0);
20770 ;
20771 return 0;
20772 }
20773 _ACEOF
20774 if ac_fn_cxx_try_compile "$LINENO"; then :
20775 glibcxx_cv_func__isinf_use=yes
20776 else
20777 glibcxx_cv_func__isinf_use=no
20778 fi
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 ac_ext=c
20781 ac_cpp='$CPP $CPPFLAGS'
20782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20785
20786
20787 fi
20788
20789 fi
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20791 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20792
20793 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20794 for ac_func in _isinf
20795 do :
20796 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20797 if test "x$ac_cv_func__isinf" = x""yes; then :
20798 cat >>confdefs.h <<_ACEOF
20799 #define HAVE__ISINF 1
20800 _ACEOF
20801
20802 fi
20803 done
20804
20805 fi
20806 fi
20807
20808
20809
20810
20811
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20813 $as_echo_n "checking for isnan declaration... " >&6; }
20814 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20815 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20816 $as_echo_n "(cached) " >&6
20817 else
20818
20819
20820 ac_ext=cpp
20821 ac_cpp='$CXXCPP $CPPFLAGS'
20822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20825
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20828 #include <math.h>
20829 #ifdef HAVE_IEEEFP_H
20830 #include <ieeefp.h>
20831 #endif
20832
20833 int
20834 main ()
20835 {
20836 isnan(0);
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 if ac_fn_cxx_try_compile "$LINENO"; then :
20842 glibcxx_cv_func_isnan_use=yes
20843 else
20844 glibcxx_cv_func_isnan_use=no
20845 fi
20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20852
20853
20854 fi
20855
20856 fi
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20858 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20859
20860 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20861 for ac_func in isnan
20862 do :
20863 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20864 if test "x$ac_cv_func_isnan" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define HAVE_ISNAN 1
20867 _ACEOF
20868
20869 fi
20870 done
20871
20872 else
20873
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20875 $as_echo_n "checking for _isnan declaration... " >&6; }
20876 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20877 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20878 $as_echo_n "(cached) " >&6
20879 else
20880
20881
20882 ac_ext=cpp
20883 ac_cpp='$CXXCPP $CPPFLAGS'
20884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20887
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20890 #include <math.h>
20891 #ifdef HAVE_IEEEFP_H
20892 #include <ieeefp.h>
20893 #endif
20894
20895 int
20896 main ()
20897 {
20898 _isnan(0);
20899 ;
20900 return 0;
20901 }
20902 _ACEOF
20903 if ac_fn_cxx_try_compile "$LINENO"; then :
20904 glibcxx_cv_func__isnan_use=yes
20905 else
20906 glibcxx_cv_func__isnan_use=no
20907 fi
20908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20909 ac_ext=c
20910 ac_cpp='$CPP $CPPFLAGS'
20911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20914
20915
20916 fi
20917
20918 fi
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20920 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20921
20922 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20923 for ac_func in _isnan
20924 do :
20925 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20926 if test "x$ac_cv_func__isnan" = x""yes; then :
20927 cat >>confdefs.h <<_ACEOF
20928 #define HAVE__ISNAN 1
20929 _ACEOF
20930
20931 fi
20932 done
20933
20934 fi
20935 fi
20936
20937
20938
20939
20940
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20942 $as_echo_n "checking for finite declaration... " >&6; }
20943 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20944 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20945 $as_echo_n "(cached) " >&6
20946 else
20947
20948
20949 ac_ext=cpp
20950 ac_cpp='$CXXCPP $CPPFLAGS'
20951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20954
20955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20956 /* end confdefs.h. */
20957 #include <math.h>
20958 #ifdef HAVE_IEEEFP_H
20959 #include <ieeefp.h>
20960 #endif
20961
20962 int
20963 main ()
20964 {
20965 finite(0);
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 if ac_fn_cxx_try_compile "$LINENO"; then :
20971 glibcxx_cv_func_finite_use=yes
20972 else
20973 glibcxx_cv_func_finite_use=no
20974 fi
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20976 ac_ext=c
20977 ac_cpp='$CPP $CPPFLAGS'
20978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20981
20982
20983 fi
20984
20985 fi
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20987 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20988
20989 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20990 for ac_func in finite
20991 do :
20992 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20993 if test "x$ac_cv_func_finite" = x""yes; then :
20994 cat >>confdefs.h <<_ACEOF
20995 #define HAVE_FINITE 1
20996 _ACEOF
20997
20998 fi
20999 done
21000
21001 else
21002
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21004 $as_echo_n "checking for _finite declaration... " >&6; }
21005 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21006 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21008 else
21009
21010
21011 ac_ext=cpp
21012 ac_cpp='$CXXCPP $CPPFLAGS'
21013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21016
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21019 #include <math.h>
21020 #ifdef HAVE_IEEEFP_H
21021 #include <ieeefp.h>
21022 #endif
21023
21024 int
21025 main ()
21026 {
21027 _finite(0);
21028 ;
21029 return 0;
21030 }
21031 _ACEOF
21032 if ac_fn_cxx_try_compile "$LINENO"; then :
21033 glibcxx_cv_func__finite_use=yes
21034 else
21035 glibcxx_cv_func__finite_use=no
21036 fi
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 ac_ext=c
21039 ac_cpp='$CPP $CPPFLAGS'
21040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21043
21044
21045 fi
21046
21047 fi
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21049 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21050
21051 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21052 for ac_func in _finite
21053 do :
21054 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21055 if test "x$ac_cv_func__finite" = x""yes; then :
21056 cat >>confdefs.h <<_ACEOF
21057 #define HAVE__FINITE 1
21058 _ACEOF
21059
21060 fi
21061 done
21062
21063 fi
21064 fi
21065
21066
21067
21068
21069
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21071 $as_echo_n "checking for sincos declaration... " >&6; }
21072 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21073 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21074 $as_echo_n "(cached) " >&6
21075 else
21076
21077
21078 ac_ext=cpp
21079 ac_cpp='$CXXCPP $CPPFLAGS'
21080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21083
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21086 #include <math.h>
21087 int
21088 main ()
21089 {
21090 sincos(0, 0, 0);
21091 ;
21092 return 0;
21093 }
21094 _ACEOF
21095 if ac_fn_cxx_try_compile "$LINENO"; then :
21096 glibcxx_cv_func_sincos_use=yes
21097 else
21098 glibcxx_cv_func_sincos_use=no
21099 fi
21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21101 ac_ext=c
21102 ac_cpp='$CPP $CPPFLAGS'
21103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21106
21107
21108 fi
21109
21110 fi
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21112 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21113
21114 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21115 for ac_func in sincos
21116 do :
21117 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21118 if test "x$ac_cv_func_sincos" = x""yes; then :
21119 cat >>confdefs.h <<_ACEOF
21120 #define HAVE_SINCOS 1
21121 _ACEOF
21122
21123 fi
21124 done
21125
21126 else
21127
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21129 $as_echo_n "checking for _sincos declaration... " >&6; }
21130 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21131 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21132 $as_echo_n "(cached) " >&6
21133 else
21134
21135
21136 ac_ext=cpp
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21141
21142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 /* end confdefs.h. */
21144 #include <math.h>
21145 int
21146 main ()
21147 {
21148 _sincos(0, 0, 0);
21149 ;
21150 return 0;
21151 }
21152 _ACEOF
21153 if ac_fn_cxx_try_compile "$LINENO"; then :
21154 glibcxx_cv_func__sincos_use=yes
21155 else
21156 glibcxx_cv_func__sincos_use=no
21157 fi
21158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21159 ac_ext=c
21160 ac_cpp='$CPP $CPPFLAGS'
21161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21164
21165
21166 fi
21167
21168 fi
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21170 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21171
21172 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21173 for ac_func in _sincos
21174 do :
21175 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21176 if test "x$ac_cv_func__sincos" = x""yes; then :
21177 cat >>confdefs.h <<_ACEOF
21178 #define HAVE__SINCOS 1
21179 _ACEOF
21180
21181 fi
21182 done
21183
21184 fi
21185 fi
21186
21187
21188
21189
21190
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21192 $as_echo_n "checking for fpclass declaration... " >&6; }
21193 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21194 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21195 $as_echo_n "(cached) " >&6
21196 else
21197
21198
21199 ac_ext=cpp
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21204
21205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21207 #include <math.h>
21208 #ifdef HAVE_IEEEFP_H
21209 #include <ieeefp.h>
21210 #endif
21211
21212 int
21213 main ()
21214 {
21215 fpclass(0);
21216 ;
21217 return 0;
21218 }
21219 _ACEOF
21220 if ac_fn_cxx_try_compile "$LINENO"; then :
21221 glibcxx_cv_func_fpclass_use=yes
21222 else
21223 glibcxx_cv_func_fpclass_use=no
21224 fi
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 ac_ext=c
21227 ac_cpp='$CPP $CPPFLAGS'
21228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21231
21232
21233 fi
21234
21235 fi
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21237 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21238
21239 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21240 for ac_func in fpclass
21241 do :
21242 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21243 if test "x$ac_cv_func_fpclass" = x""yes; then :
21244 cat >>confdefs.h <<_ACEOF
21245 #define HAVE_FPCLASS 1
21246 _ACEOF
21247
21248 fi
21249 done
21250
21251 else
21252
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21254 $as_echo_n "checking for _fpclass declaration... " >&6; }
21255 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21256 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21257 $as_echo_n "(cached) " >&6
21258 else
21259
21260
21261 ac_ext=cpp
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21266
21267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h. */
21269 #include <math.h>
21270 #ifdef HAVE_IEEEFP_H
21271 #include <ieeefp.h>
21272 #endif
21273
21274 int
21275 main ()
21276 {
21277 _fpclass(0);
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 if ac_fn_cxx_try_compile "$LINENO"; then :
21283 glibcxx_cv_func__fpclass_use=yes
21284 else
21285 glibcxx_cv_func__fpclass_use=no
21286 fi
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21288 ac_ext=c
21289 ac_cpp='$CPP $CPPFLAGS'
21290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21293
21294
21295 fi
21296
21297 fi
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21299 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21300
21301 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21302 for ac_func in _fpclass
21303 do :
21304 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21305 if test "x$ac_cv_func__fpclass" = x""yes; then :
21306 cat >>confdefs.h <<_ACEOF
21307 #define HAVE__FPCLASS 1
21308 _ACEOF
21309
21310 fi
21311 done
21312
21313 fi
21314 fi
21315
21316
21317
21318
21319
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21321 $as_echo_n "checking for qfpclass declaration... " >&6; }
21322 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21323 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21324 $as_echo_n "(cached) " >&6
21325 else
21326
21327
21328 ac_ext=cpp
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21336 #include <math.h>
21337 #ifdef HAVE_IEEEFP_H
21338 #include <ieeefp.h>
21339 #endif
21340
21341 int
21342 main ()
21343 {
21344 qfpclass(0);
21345 ;
21346 return 0;
21347 }
21348 _ACEOF
21349 if ac_fn_cxx_try_compile "$LINENO"; then :
21350 glibcxx_cv_func_qfpclass_use=yes
21351 else
21352 glibcxx_cv_func_qfpclass_use=no
21353 fi
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355 ac_ext=c
21356 ac_cpp='$CPP $CPPFLAGS'
21357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21360
21361
21362 fi
21363
21364 fi
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21366 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21367
21368 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21369 for ac_func in qfpclass
21370 do :
21371 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21372 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21373 cat >>confdefs.h <<_ACEOF
21374 #define HAVE_QFPCLASS 1
21375 _ACEOF
21376
21377 fi
21378 done
21379
21380 else
21381
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21383 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21384 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21385 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21388
21389
21390 ac_ext=cpp
21391 ac_cpp='$CXXCPP $CPPFLAGS'
21392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21395
21396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21397 /* end confdefs.h. */
21398 #include <math.h>
21399 #ifdef HAVE_IEEEFP_H
21400 #include <ieeefp.h>
21401 #endif
21402
21403 int
21404 main ()
21405 {
21406 _qfpclass(0);
21407 ;
21408 return 0;
21409 }
21410 _ACEOF
21411 if ac_fn_cxx_try_compile "$LINENO"; then :
21412 glibcxx_cv_func__qfpclass_use=yes
21413 else
21414 glibcxx_cv_func__qfpclass_use=no
21415 fi
21416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21417 ac_ext=c
21418 ac_cpp='$CPP $CPPFLAGS'
21419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21422
21423
21424 fi
21425
21426 fi
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21428 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21429
21430 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21431 for ac_func in _qfpclass
21432 do :
21433 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21434 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21435 cat >>confdefs.h <<_ACEOF
21436 #define HAVE__QFPCLASS 1
21437 _ACEOF
21438
21439 fi
21440 done
21441
21442 fi
21443 fi
21444
21445
21446
21447
21448
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21450 $as_echo_n "checking for hypot declaration... " >&6; }
21451 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21452 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21453 $as_echo_n "(cached) " >&6
21454 else
21455
21456
21457 ac_ext=cpp
21458 ac_cpp='$CXXCPP $CPPFLAGS'
21459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21462
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <math.h>
21466 int
21467 main ()
21468 {
21469 hypot(0, 0);
21470 ;
21471 return 0;
21472 }
21473 _ACEOF
21474 if ac_fn_cxx_try_compile "$LINENO"; then :
21475 glibcxx_cv_func_hypot_use=yes
21476 else
21477 glibcxx_cv_func_hypot_use=no
21478 fi
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 ac_ext=c
21481 ac_cpp='$CPP $CPPFLAGS'
21482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21485
21486
21487 fi
21488
21489 fi
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21491 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21492
21493 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21494 for ac_func in hypot
21495 do :
21496 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21497 if test "x$ac_cv_func_hypot" = x""yes; then :
21498 cat >>confdefs.h <<_ACEOF
21499 #define HAVE_HYPOT 1
21500 _ACEOF
21501
21502 fi
21503 done
21504
21505 else
21506
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21508 $as_echo_n "checking for _hypot declaration... " >&6; }
21509 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21510 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21511 $as_echo_n "(cached) " >&6
21512 else
21513
21514
21515 ac_ext=cpp
21516 ac_cpp='$CXXCPP $CPPFLAGS'
21517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21520
21521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21522 /* end confdefs.h. */
21523 #include <math.h>
21524 int
21525 main ()
21526 {
21527 _hypot(0, 0);
21528 ;
21529 return 0;
21530 }
21531 _ACEOF
21532 if ac_fn_cxx_try_compile "$LINENO"; then :
21533 glibcxx_cv_func__hypot_use=yes
21534 else
21535 glibcxx_cv_func__hypot_use=no
21536 fi
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 ac_ext=c
21539 ac_cpp='$CPP $CPPFLAGS'
21540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21543
21544
21545 fi
21546
21547 fi
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21549 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21550
21551 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21552 for ac_func in _hypot
21553 do :
21554 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21555 if test "x$ac_cv_func__hypot" = x""yes; then :
21556 cat >>confdefs.h <<_ACEOF
21557 #define HAVE__HYPOT 1
21558 _ACEOF
21559
21560 fi
21561 done
21562
21563 fi
21564 fi
21565
21566
21567
21568
21569
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21571 $as_echo_n "checking for float trig functions... " >&6; }
21572 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21573 $as_echo_n "(cached) " >&6
21574 else
21575
21576
21577 ac_ext=cpp
21578 ac_cpp='$CXXCPP $CPPFLAGS'
21579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21582
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21585 #include <math.h>
21586 int
21587 main ()
21588 {
21589 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 if ac_fn_cxx_try_compile "$LINENO"; then :
21595 glibcxx_cv_func_float_trig_use=yes
21596 else
21597 glibcxx_cv_func_float_trig_use=no
21598 fi
21599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21600 ac_ext=c
21601 ac_cpp='$CPP $CPPFLAGS'
21602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21605
21606 fi
21607
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21609 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21610 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21611 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21612 do :
21613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21615 eval as_val=\$$as_ac_var
21616 if test "x$as_val" = x""yes; then :
21617 cat >>confdefs.h <<_ACEOF
21618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21619 _ACEOF
21620
21621 fi
21622 done
21623
21624 else
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21626 $as_echo_n "checking for _float trig functions... " >&6; }
21627 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21630
21631
21632 ac_ext=cpp
21633 ac_cpp='$CXXCPP $CPPFLAGS'
21634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21637
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21640 #include <math.h>
21641 int
21642 main ()
21643 {
21644 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21645 ;
21646 return 0;
21647 }
21648 _ACEOF
21649 if ac_fn_cxx_try_compile "$LINENO"; then :
21650 glibcxx_cv_func__float_trig_use=yes
21651 else
21652 glibcxx_cv_func__float_trig_use=no
21653 fi
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 ac_ext=c
21656 ac_cpp='$CPP $CPPFLAGS'
21657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21660
21661 fi
21662
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21664 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21665 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21666 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21667 do :
21668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21670 eval as_val=\$$as_ac_var
21671 if test "x$as_val" = x""yes; then :
21672 cat >>confdefs.h <<_ACEOF
21673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21674 _ACEOF
21675
21676 fi
21677 done
21678
21679 fi
21680 fi
21681
21682
21683
21684
21685
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21687 $as_echo_n "checking for float round functions... " >&6; }
21688 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21689 $as_echo_n "(cached) " >&6
21690 else
21691
21692
21693 ac_ext=cpp
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21698
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21701 #include <math.h>
21702 int
21703 main ()
21704 {
21705 ceilf (0); floorf (0);
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 if ac_fn_cxx_try_compile "$LINENO"; then :
21711 glibcxx_cv_func_float_round_use=yes
21712 else
21713 glibcxx_cv_func_float_round_use=no
21714 fi
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 ac_ext=c
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21721
21722 fi
21723
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21725 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21726 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21727 for ac_func in ceilf floorf
21728 do :
21729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21731 eval as_val=\$$as_ac_var
21732 if test "x$as_val" = x""yes; then :
21733 cat >>confdefs.h <<_ACEOF
21734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21735 _ACEOF
21736
21737 fi
21738 done
21739
21740 else
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21742 $as_echo_n "checking for _float round functions... " >&6; }
21743 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21744 $as_echo_n "(cached) " >&6
21745 else
21746
21747
21748 ac_ext=cpp
21749 ac_cpp='$CXXCPP $CPPFLAGS'
21750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21753
21754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h. */
21756 #include <math.h>
21757 int
21758 main ()
21759 {
21760 _ceilf (0); _floorf (0);
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 if ac_fn_cxx_try_compile "$LINENO"; then :
21766 glibcxx_cv_func__float_round_use=yes
21767 else
21768 glibcxx_cv_func__float_round_use=no
21769 fi
21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21776
21777 fi
21778
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21780 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21781 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21782 for ac_func in _ceilf _floorf
21783 do :
21784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21786 eval as_val=\$$as_ac_var
21787 if test "x$as_val" = x""yes; then :
21788 cat >>confdefs.h <<_ACEOF
21789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21790 _ACEOF
21791
21792 fi
21793 done
21794
21795 fi
21796 fi
21797
21798
21799
21800
21801
21802
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21804 $as_echo_n "checking for expf declaration... " >&6; }
21805 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21806 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21808 else
21809
21810
21811 ac_ext=cpp
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21816
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h. */
21819 #include <math.h>
21820 #ifdef HAVE_IEEEFP_H
21821 #include <ieeefp.h>
21822 #endif
21823
21824 int
21825 main ()
21826 {
21827 expf(0);
21828 ;
21829 return 0;
21830 }
21831 _ACEOF
21832 if ac_fn_cxx_try_compile "$LINENO"; then :
21833 glibcxx_cv_func_expf_use=yes
21834 else
21835 glibcxx_cv_func_expf_use=no
21836 fi
21837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21838 ac_ext=c
21839 ac_cpp='$CPP $CPPFLAGS'
21840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21843
21844
21845 fi
21846
21847 fi
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21849 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21850
21851 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21852 for ac_func in expf
21853 do :
21854 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21855 if test "x$ac_cv_func_expf" = x""yes; then :
21856 cat >>confdefs.h <<_ACEOF
21857 #define HAVE_EXPF 1
21858 _ACEOF
21859
21860 fi
21861 done
21862
21863 else
21864
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21866 $as_echo_n "checking for _expf declaration... " >&6; }
21867 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21868 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21869 $as_echo_n "(cached) " >&6
21870 else
21871
21872
21873 ac_ext=cpp
21874 ac_cpp='$CXXCPP $CPPFLAGS'
21875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21881 #include <math.h>
21882 #ifdef HAVE_IEEEFP_H
21883 #include <ieeefp.h>
21884 #endif
21885
21886 int
21887 main ()
21888 {
21889 _expf(0);
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 if ac_fn_cxx_try_compile "$LINENO"; then :
21895 glibcxx_cv_func__expf_use=yes
21896 else
21897 glibcxx_cv_func__expf_use=no
21898 fi
21899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21900 ac_ext=c
21901 ac_cpp='$CPP $CPPFLAGS'
21902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21905
21906
21907 fi
21908
21909 fi
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21911 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21912
21913 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21914 for ac_func in _expf
21915 do :
21916 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21917 if test "x$ac_cv_func__expf" = x""yes; then :
21918 cat >>confdefs.h <<_ACEOF
21919 #define HAVE__EXPF 1
21920 _ACEOF
21921
21922 fi
21923 done
21924
21925 fi
21926 fi
21927
21928
21929
21930
21931
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21933 $as_echo_n "checking for isnanf declaration... " >&6; }
21934 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21935 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21936 $as_echo_n "(cached) " >&6
21937 else
21938
21939
21940 ac_ext=cpp
21941 ac_cpp='$CXXCPP $CPPFLAGS'
21942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21945
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21948 #include <math.h>
21949 #ifdef HAVE_IEEEFP_H
21950 #include <ieeefp.h>
21951 #endif
21952
21953 int
21954 main ()
21955 {
21956 isnanf(0);
21957 ;
21958 return 0;
21959 }
21960 _ACEOF
21961 if ac_fn_cxx_try_compile "$LINENO"; then :
21962 glibcxx_cv_func_isnanf_use=yes
21963 else
21964 glibcxx_cv_func_isnanf_use=no
21965 fi
21966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21967 ac_ext=c
21968 ac_cpp='$CPP $CPPFLAGS'
21969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21972
21973
21974 fi
21975
21976 fi
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21978 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21979
21980 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21981 for ac_func in isnanf
21982 do :
21983 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21984 if test "x$ac_cv_func_isnanf" = x""yes; then :
21985 cat >>confdefs.h <<_ACEOF
21986 #define HAVE_ISNANF 1
21987 _ACEOF
21988
21989 fi
21990 done
21991
21992 else
21993
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21995 $as_echo_n "checking for _isnanf declaration... " >&6; }
21996 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21997 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
21999 else
22000
22001
22002 ac_ext=cpp
22003 ac_cpp='$CXXCPP $CPPFLAGS'
22004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007
22008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009 /* end confdefs.h. */
22010 #include <math.h>
22011 #ifdef HAVE_IEEEFP_H
22012 #include <ieeefp.h>
22013 #endif
22014
22015 int
22016 main ()
22017 {
22018 _isnanf(0);
22019 ;
22020 return 0;
22021 }
22022 _ACEOF
22023 if ac_fn_cxx_try_compile "$LINENO"; then :
22024 glibcxx_cv_func__isnanf_use=yes
22025 else
22026 glibcxx_cv_func__isnanf_use=no
22027 fi
22028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22029 ac_ext=c
22030 ac_cpp='$CPP $CPPFLAGS'
22031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034
22035
22036 fi
22037
22038 fi
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22040 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22041
22042 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22043 for ac_func in _isnanf
22044 do :
22045 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22046 if test "x$ac_cv_func__isnanf" = x""yes; then :
22047 cat >>confdefs.h <<_ACEOF
22048 #define HAVE__ISNANF 1
22049 _ACEOF
22050
22051 fi
22052 done
22053
22054 fi
22055 fi
22056
22057
22058
22059
22060
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22062 $as_echo_n "checking for isinff declaration... " >&6; }
22063 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22064 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22065 $as_echo_n "(cached) " >&6
22066 else
22067
22068
22069 ac_ext=cpp
22070 ac_cpp='$CXXCPP $CPPFLAGS'
22071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22074
22075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22076 /* end confdefs.h. */
22077 #include <math.h>
22078 #ifdef HAVE_IEEEFP_H
22079 #include <ieeefp.h>
22080 #endif
22081
22082 int
22083 main ()
22084 {
22085 isinff(0);
22086 ;
22087 return 0;
22088 }
22089 _ACEOF
22090 if ac_fn_cxx_try_compile "$LINENO"; then :
22091 glibcxx_cv_func_isinff_use=yes
22092 else
22093 glibcxx_cv_func_isinff_use=no
22094 fi
22095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22096 ac_ext=c
22097 ac_cpp='$CPP $CPPFLAGS'
22098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22101
22102
22103 fi
22104
22105 fi
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22107 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22108
22109 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22110 for ac_func in isinff
22111 do :
22112 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22113 if test "x$ac_cv_func_isinff" = x""yes; then :
22114 cat >>confdefs.h <<_ACEOF
22115 #define HAVE_ISINFF 1
22116 _ACEOF
22117
22118 fi
22119 done
22120
22121 else
22122
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22124 $as_echo_n "checking for _isinff declaration... " >&6; }
22125 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22126 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22127 $as_echo_n "(cached) " >&6
22128 else
22129
22130
22131 ac_ext=cpp
22132 ac_cpp='$CXXCPP $CPPFLAGS'
22133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22136
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22139 #include <math.h>
22140 #ifdef HAVE_IEEEFP_H
22141 #include <ieeefp.h>
22142 #endif
22143
22144 int
22145 main ()
22146 {
22147 _isinff(0);
22148 ;
22149 return 0;
22150 }
22151 _ACEOF
22152 if ac_fn_cxx_try_compile "$LINENO"; then :
22153 glibcxx_cv_func__isinff_use=yes
22154 else
22155 glibcxx_cv_func__isinff_use=no
22156 fi
22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22158 ac_ext=c
22159 ac_cpp='$CPP $CPPFLAGS'
22160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22163
22164
22165 fi
22166
22167 fi
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22169 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22170
22171 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22172 for ac_func in _isinff
22173 do :
22174 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22175 if test "x$ac_cv_func__isinff" = x""yes; then :
22176 cat >>confdefs.h <<_ACEOF
22177 #define HAVE__ISINFF 1
22178 _ACEOF
22179
22180 fi
22181 done
22182
22183 fi
22184 fi
22185
22186
22187
22188
22189
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22191 $as_echo_n "checking for atan2f declaration... " >&6; }
22192 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22193 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22195 else
22196
22197
22198 ac_ext=cpp
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22203
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22205 /* end confdefs.h. */
22206 #include <math.h>
22207 int
22208 main ()
22209 {
22210 atan2f(0, 0);
22211 ;
22212 return 0;
22213 }
22214 _ACEOF
22215 if ac_fn_cxx_try_compile "$LINENO"; then :
22216 glibcxx_cv_func_atan2f_use=yes
22217 else
22218 glibcxx_cv_func_atan2f_use=no
22219 fi
22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22221 ac_ext=c
22222 ac_cpp='$CPP $CPPFLAGS'
22223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22226
22227
22228 fi
22229
22230 fi
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22232 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22233
22234 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22235 for ac_func in atan2f
22236 do :
22237 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22238 if test "x$ac_cv_func_atan2f" = x""yes; then :
22239 cat >>confdefs.h <<_ACEOF
22240 #define HAVE_ATAN2F 1
22241 _ACEOF
22242
22243 fi
22244 done
22245
22246 else
22247
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22249 $as_echo_n "checking for _atan2f declaration... " >&6; }
22250 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22251 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22253 else
22254
22255
22256 ac_ext=cpp
22257 ac_cpp='$CXXCPP $CPPFLAGS'
22258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22261
22262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22263 /* end confdefs.h. */
22264 #include <math.h>
22265 int
22266 main ()
22267 {
22268 _atan2f(0, 0);
22269 ;
22270 return 0;
22271 }
22272 _ACEOF
22273 if ac_fn_cxx_try_compile "$LINENO"; then :
22274 glibcxx_cv_func__atan2f_use=yes
22275 else
22276 glibcxx_cv_func__atan2f_use=no
22277 fi
22278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 ac_ext=c
22280 ac_cpp='$CPP $CPPFLAGS'
22281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22284
22285
22286 fi
22287
22288 fi
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22290 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22291
22292 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22293 for ac_func in _atan2f
22294 do :
22295 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22296 if test "x$ac_cv_func__atan2f" = x""yes; then :
22297 cat >>confdefs.h <<_ACEOF
22298 #define HAVE__ATAN2F 1
22299 _ACEOF
22300
22301 fi
22302 done
22303
22304 fi
22305 fi
22306
22307
22308
22309
22310
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22312 $as_echo_n "checking for fabsf declaration... " >&6; }
22313 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22314 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22316 else
22317
22318
22319 ac_ext=cpp
22320 ac_cpp='$CXXCPP $CPPFLAGS'
22321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22324
22325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22326 /* end confdefs.h. */
22327 #include <math.h>
22328 #ifdef HAVE_IEEEFP_H
22329 #include <ieeefp.h>
22330 #endif
22331
22332 int
22333 main ()
22334 {
22335 fabsf(0);
22336 ;
22337 return 0;
22338 }
22339 _ACEOF
22340 if ac_fn_cxx_try_compile "$LINENO"; then :
22341 glibcxx_cv_func_fabsf_use=yes
22342 else
22343 glibcxx_cv_func_fabsf_use=no
22344 fi
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22346 ac_ext=c
22347 ac_cpp='$CPP $CPPFLAGS'
22348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22351
22352
22353 fi
22354
22355 fi
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22357 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22358
22359 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22360 for ac_func in fabsf
22361 do :
22362 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22363 if test "x$ac_cv_func_fabsf" = x""yes; then :
22364 cat >>confdefs.h <<_ACEOF
22365 #define HAVE_FABSF 1
22366 _ACEOF
22367
22368 fi
22369 done
22370
22371 else
22372
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22374 $as_echo_n "checking for _fabsf declaration... " >&6; }
22375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22377 $as_echo_n "(cached) " >&6
22378 else
22379
22380
22381 ac_ext=cpp
22382 ac_cpp='$CXXCPP $CPPFLAGS'
22383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386
22387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22389 #include <math.h>
22390 #ifdef HAVE_IEEEFP_H
22391 #include <ieeefp.h>
22392 #endif
22393
22394 int
22395 main ()
22396 {
22397 _fabsf(0);
22398 ;
22399 return 0;
22400 }
22401 _ACEOF
22402 if ac_fn_cxx_try_compile "$LINENO"; then :
22403 glibcxx_cv_func__fabsf_use=yes
22404 else
22405 glibcxx_cv_func__fabsf_use=no
22406 fi
22407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22408 ac_ext=c
22409 ac_cpp='$CPP $CPPFLAGS'
22410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22413
22414
22415 fi
22416
22417 fi
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22419 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22420
22421 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22422 for ac_func in _fabsf
22423 do :
22424 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22425 if test "x$ac_cv_func__fabsf" = x""yes; then :
22426 cat >>confdefs.h <<_ACEOF
22427 #define HAVE__FABSF 1
22428 _ACEOF
22429
22430 fi
22431 done
22432
22433 fi
22434 fi
22435
22436
22437
22438
22439
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22441 $as_echo_n "checking for fmodf declaration... " >&6; }
22442 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22443 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22445 else
22446
22447
22448 ac_ext=cpp
22449 ac_cpp='$CXXCPP $CPPFLAGS'
22450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22453
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22456 #include <math.h>
22457 int
22458 main ()
22459 {
22460 fmodf(0, 0);
22461 ;
22462 return 0;
22463 }
22464 _ACEOF
22465 if ac_fn_cxx_try_compile "$LINENO"; then :
22466 glibcxx_cv_func_fmodf_use=yes
22467 else
22468 glibcxx_cv_func_fmodf_use=no
22469 fi
22470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 ac_ext=c
22472 ac_cpp='$CPP $CPPFLAGS'
22473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22476
22477
22478 fi
22479
22480 fi
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22482 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22483
22484 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22485 for ac_func in fmodf
22486 do :
22487 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22488 if test "x$ac_cv_func_fmodf" = x""yes; then :
22489 cat >>confdefs.h <<_ACEOF
22490 #define HAVE_FMODF 1
22491 _ACEOF
22492
22493 fi
22494 done
22495
22496 else
22497
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22499 $as_echo_n "checking for _fmodf declaration... " >&6; }
22500 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22501 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22502 $as_echo_n "(cached) " >&6
22503 else
22504
22505
22506 ac_ext=cpp
22507 ac_cpp='$CXXCPP $CPPFLAGS'
22508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22511
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22514 #include <math.h>
22515 int
22516 main ()
22517 {
22518 _fmodf(0, 0);
22519 ;
22520 return 0;
22521 }
22522 _ACEOF
22523 if ac_fn_cxx_try_compile "$LINENO"; then :
22524 glibcxx_cv_func__fmodf_use=yes
22525 else
22526 glibcxx_cv_func__fmodf_use=no
22527 fi
22528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 ac_ext=c
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534
22535
22536 fi
22537
22538 fi
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22540 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22541
22542 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22543 for ac_func in _fmodf
22544 do :
22545 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22546 if test "x$ac_cv_func__fmodf" = x""yes; then :
22547 cat >>confdefs.h <<_ACEOF
22548 #define HAVE__FMODF 1
22549 _ACEOF
22550
22551 fi
22552 done
22553
22554 fi
22555 fi
22556
22557
22558
22559
22560
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22562 $as_echo_n "checking for frexpf declaration... " >&6; }
22563 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22564 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22565 $as_echo_n "(cached) " >&6
22566 else
22567
22568
22569 ac_ext=cpp
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22574
22575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22576 /* end confdefs.h. */
22577 #include <math.h>
22578 int
22579 main ()
22580 {
22581 frexpf(0, 0);
22582 ;
22583 return 0;
22584 }
22585 _ACEOF
22586 if ac_fn_cxx_try_compile "$LINENO"; then :
22587 glibcxx_cv_func_frexpf_use=yes
22588 else
22589 glibcxx_cv_func_frexpf_use=no
22590 fi
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 ac_ext=c
22593 ac_cpp='$CPP $CPPFLAGS'
22594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22597
22598
22599 fi
22600
22601 fi
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22603 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22604
22605 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22606 for ac_func in frexpf
22607 do :
22608 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22609 if test "x$ac_cv_func_frexpf" = x""yes; then :
22610 cat >>confdefs.h <<_ACEOF
22611 #define HAVE_FREXPF 1
22612 _ACEOF
22613
22614 fi
22615 done
22616
22617 else
22618
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22620 $as_echo_n "checking for _frexpf declaration... " >&6; }
22621 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22622 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22623 $as_echo_n "(cached) " >&6
22624 else
22625
22626
22627 ac_ext=cpp
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22632
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22635 #include <math.h>
22636 int
22637 main ()
22638 {
22639 _frexpf(0, 0);
22640 ;
22641 return 0;
22642 }
22643 _ACEOF
22644 if ac_fn_cxx_try_compile "$LINENO"; then :
22645 glibcxx_cv_func__frexpf_use=yes
22646 else
22647 glibcxx_cv_func__frexpf_use=no
22648 fi
22649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22650 ac_ext=c
22651 ac_cpp='$CPP $CPPFLAGS'
22652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655
22656
22657 fi
22658
22659 fi
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22661 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22662
22663 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22664 for ac_func in _frexpf
22665 do :
22666 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22667 if test "x$ac_cv_func__frexpf" = x""yes; then :
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE__FREXPF 1
22670 _ACEOF
22671
22672 fi
22673 done
22674
22675 fi
22676 fi
22677
22678
22679
22680
22681
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22683 $as_echo_n "checking for hypotf declaration... " >&6; }
22684 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22685 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22686 $as_echo_n "(cached) " >&6
22687 else
22688
22689
22690 ac_ext=cpp
22691 ac_cpp='$CXXCPP $CPPFLAGS'
22692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22695
22696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22698 #include <math.h>
22699 int
22700 main ()
22701 {
22702 hypotf(0, 0);
22703 ;
22704 return 0;
22705 }
22706 _ACEOF
22707 if ac_fn_cxx_try_compile "$LINENO"; then :
22708 glibcxx_cv_func_hypotf_use=yes
22709 else
22710 glibcxx_cv_func_hypotf_use=no
22711 fi
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 ac_ext=c
22714 ac_cpp='$CPP $CPPFLAGS'
22715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22718
22719
22720 fi
22721
22722 fi
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22724 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22725
22726 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22727 for ac_func in hypotf
22728 do :
22729 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22730 if test "x$ac_cv_func_hypotf" = x""yes; then :
22731 cat >>confdefs.h <<_ACEOF
22732 #define HAVE_HYPOTF 1
22733 _ACEOF
22734
22735 fi
22736 done
22737
22738 else
22739
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22741 $as_echo_n "checking for _hypotf declaration... " >&6; }
22742 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22743 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22744 $as_echo_n "(cached) " >&6
22745 else
22746
22747
22748 ac_ext=cpp
22749 ac_cpp='$CXXCPP $CPPFLAGS'
22750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22753
22754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22755 /* end confdefs.h. */
22756 #include <math.h>
22757 int
22758 main ()
22759 {
22760 _hypotf(0, 0);
22761 ;
22762 return 0;
22763 }
22764 _ACEOF
22765 if ac_fn_cxx_try_compile "$LINENO"; then :
22766 glibcxx_cv_func__hypotf_use=yes
22767 else
22768 glibcxx_cv_func__hypotf_use=no
22769 fi
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 ac_ext=c
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22776
22777
22778 fi
22779
22780 fi
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22782 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22783
22784 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22785 for ac_func in _hypotf
22786 do :
22787 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22788 if test "x$ac_cv_func__hypotf" = x""yes; then :
22789 cat >>confdefs.h <<_ACEOF
22790 #define HAVE__HYPOTF 1
22791 _ACEOF
22792
22793 fi
22794 done
22795
22796 fi
22797 fi
22798
22799
22800
22801
22802
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22804 $as_echo_n "checking for ldexpf declaration... " >&6; }
22805 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22806 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22807 $as_echo_n "(cached) " >&6
22808 else
22809
22810
22811 ac_ext=cpp
22812 ac_cpp='$CXXCPP $CPPFLAGS'
22813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22816
22817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22818 /* end confdefs.h. */
22819 #include <math.h>
22820 int
22821 main ()
22822 {
22823 ldexpf(0, 0);
22824 ;
22825 return 0;
22826 }
22827 _ACEOF
22828 if ac_fn_cxx_try_compile "$LINENO"; then :
22829 glibcxx_cv_func_ldexpf_use=yes
22830 else
22831 glibcxx_cv_func_ldexpf_use=no
22832 fi
22833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22834 ac_ext=c
22835 ac_cpp='$CPP $CPPFLAGS'
22836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22839
22840
22841 fi
22842
22843 fi
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22845 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22846
22847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22848 for ac_func in ldexpf
22849 do :
22850 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22851 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22852 cat >>confdefs.h <<_ACEOF
22853 #define HAVE_LDEXPF 1
22854 _ACEOF
22855
22856 fi
22857 done
22858
22859 else
22860
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22862 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22863 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22864 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22865 $as_echo_n "(cached) " >&6
22866 else
22867
22868
22869 ac_ext=cpp
22870 ac_cpp='$CXXCPP $CPPFLAGS'
22871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22874
22875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22876 /* end confdefs.h. */
22877 #include <math.h>
22878 int
22879 main ()
22880 {
22881 _ldexpf(0, 0);
22882 ;
22883 return 0;
22884 }
22885 _ACEOF
22886 if ac_fn_cxx_try_compile "$LINENO"; then :
22887 glibcxx_cv_func__ldexpf_use=yes
22888 else
22889 glibcxx_cv_func__ldexpf_use=no
22890 fi
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 ac_ext=c
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897
22898
22899 fi
22900
22901 fi
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22903 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22904
22905 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22906 for ac_func in _ldexpf
22907 do :
22908 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22909 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22910 cat >>confdefs.h <<_ACEOF
22911 #define HAVE__LDEXPF 1
22912 _ACEOF
22913
22914 fi
22915 done
22916
22917 fi
22918 fi
22919
22920
22921
22922
22923
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22925 $as_echo_n "checking for logf declaration... " >&6; }
22926 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22927 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22928 $as_echo_n "(cached) " >&6
22929 else
22930
22931
22932 ac_ext=cpp
22933 ac_cpp='$CXXCPP $CPPFLAGS'
22934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22937
22938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22939 /* end confdefs.h. */
22940 #include <math.h>
22941 #ifdef HAVE_IEEEFP_H
22942 #include <ieeefp.h>
22943 #endif
22944
22945 int
22946 main ()
22947 {
22948 logf(0);
22949 ;
22950 return 0;
22951 }
22952 _ACEOF
22953 if ac_fn_cxx_try_compile "$LINENO"; then :
22954 glibcxx_cv_func_logf_use=yes
22955 else
22956 glibcxx_cv_func_logf_use=no
22957 fi
22958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22959 ac_ext=c
22960 ac_cpp='$CPP $CPPFLAGS'
22961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22964
22965
22966 fi
22967
22968 fi
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22970 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22971
22972 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22973 for ac_func in logf
22974 do :
22975 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22976 if test "x$ac_cv_func_logf" = x""yes; then :
22977 cat >>confdefs.h <<_ACEOF
22978 #define HAVE_LOGF 1
22979 _ACEOF
22980
22981 fi
22982 done
22983
22984 else
22985
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22987 $as_echo_n "checking for _logf declaration... " >&6; }
22988 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22989 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22990 $as_echo_n "(cached) " >&6
22991 else
22992
22993
22994 ac_ext=cpp
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22999
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23002 #include <math.h>
23003 #ifdef HAVE_IEEEFP_H
23004 #include <ieeefp.h>
23005 #endif
23006
23007 int
23008 main ()
23009 {
23010 _logf(0);
23011 ;
23012 return 0;
23013 }
23014 _ACEOF
23015 if ac_fn_cxx_try_compile "$LINENO"; then :
23016 glibcxx_cv_func__logf_use=yes
23017 else
23018 glibcxx_cv_func__logf_use=no
23019 fi
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021 ac_ext=c
23022 ac_cpp='$CPP $CPPFLAGS'
23023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23026
23027
23028 fi
23029
23030 fi
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23032 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23033
23034 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23035 for ac_func in _logf
23036 do :
23037 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23038 if test "x$ac_cv_func__logf" = x""yes; then :
23039 cat >>confdefs.h <<_ACEOF
23040 #define HAVE__LOGF 1
23041 _ACEOF
23042
23043 fi
23044 done
23045
23046 fi
23047 fi
23048
23049
23050
23051
23052
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23054 $as_echo_n "checking for log10f declaration... " >&6; }
23055 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23056 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23057 $as_echo_n "(cached) " >&6
23058 else
23059
23060
23061 ac_ext=cpp
23062 ac_cpp='$CXXCPP $CPPFLAGS'
23063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23066
23067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23068 /* end confdefs.h. */
23069 #include <math.h>
23070 #ifdef HAVE_IEEEFP_H
23071 #include <ieeefp.h>
23072 #endif
23073
23074 int
23075 main ()
23076 {
23077 log10f(0);
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 if ac_fn_cxx_try_compile "$LINENO"; then :
23083 glibcxx_cv_func_log10f_use=yes
23084 else
23085 glibcxx_cv_func_log10f_use=no
23086 fi
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 ac_ext=c
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23093
23094
23095 fi
23096
23097 fi
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23099 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23100
23101 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23102 for ac_func in log10f
23103 do :
23104 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23105 if test "x$ac_cv_func_log10f" = x""yes; then :
23106 cat >>confdefs.h <<_ACEOF
23107 #define HAVE_LOG10F 1
23108 _ACEOF
23109
23110 fi
23111 done
23112
23113 else
23114
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23116 $as_echo_n "checking for _log10f declaration... " >&6; }
23117 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23118 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23119 $as_echo_n "(cached) " >&6
23120 else
23121
23122
23123 ac_ext=cpp
23124 ac_cpp='$CXXCPP $CPPFLAGS'
23125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23128
23129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23130 /* end confdefs.h. */
23131 #include <math.h>
23132 #ifdef HAVE_IEEEFP_H
23133 #include <ieeefp.h>
23134 #endif
23135
23136 int
23137 main ()
23138 {
23139 _log10f(0);
23140 ;
23141 return 0;
23142 }
23143 _ACEOF
23144 if ac_fn_cxx_try_compile "$LINENO"; then :
23145 glibcxx_cv_func__log10f_use=yes
23146 else
23147 glibcxx_cv_func__log10f_use=no
23148 fi
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 ac_ext=c
23151 ac_cpp='$CPP $CPPFLAGS'
23152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23155
23156
23157 fi
23158
23159 fi
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23161 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23162
23163 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23164 for ac_func in _log10f
23165 do :
23166 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23167 if test "x$ac_cv_func__log10f" = x""yes; then :
23168 cat >>confdefs.h <<_ACEOF
23169 #define HAVE__LOG10F 1
23170 _ACEOF
23171
23172 fi
23173 done
23174
23175 fi
23176 fi
23177
23178
23179
23180
23181
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23183 $as_echo_n "checking for modff declaration... " >&6; }
23184 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23185 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23186 $as_echo_n "(cached) " >&6
23187 else
23188
23189
23190 ac_ext=cpp
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195
23196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23197 /* end confdefs.h. */
23198 #include <math.h>
23199 int
23200 main ()
23201 {
23202 modff(0, 0);
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 if ac_fn_cxx_try_compile "$LINENO"; then :
23208 glibcxx_cv_func_modff_use=yes
23209 else
23210 glibcxx_cv_func_modff_use=no
23211 fi
23212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23213 ac_ext=c
23214 ac_cpp='$CPP $CPPFLAGS'
23215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23218
23219
23220 fi
23221
23222 fi
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23224 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23225
23226 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23227 for ac_func in modff
23228 do :
23229 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23230 if test "x$ac_cv_func_modff" = x""yes; then :
23231 cat >>confdefs.h <<_ACEOF
23232 #define HAVE_MODFF 1
23233 _ACEOF
23234
23235 fi
23236 done
23237
23238 else
23239
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23241 $as_echo_n "checking for _modff declaration... " >&6; }
23242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23243 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23244 $as_echo_n "(cached) " >&6
23245 else
23246
23247
23248 ac_ext=cpp
23249 ac_cpp='$CXXCPP $CPPFLAGS'
23250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23253
23254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23255 /* end confdefs.h. */
23256 #include <math.h>
23257 int
23258 main ()
23259 {
23260 _modff(0, 0);
23261 ;
23262 return 0;
23263 }
23264 _ACEOF
23265 if ac_fn_cxx_try_compile "$LINENO"; then :
23266 glibcxx_cv_func__modff_use=yes
23267 else
23268 glibcxx_cv_func__modff_use=no
23269 fi
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 ac_ext=c
23272 ac_cpp='$CPP $CPPFLAGS'
23273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23276
23277
23278 fi
23279
23280 fi
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23282 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23283
23284 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23285 for ac_func in _modff
23286 do :
23287 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23288 if test "x$ac_cv_func__modff" = x""yes; then :
23289 cat >>confdefs.h <<_ACEOF
23290 #define HAVE__MODFF 1
23291 _ACEOF
23292
23293 fi
23294 done
23295
23296 fi
23297 fi
23298
23299
23300
23301
23302
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23304 $as_echo_n "checking for modf declaration... " >&6; }
23305 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23306 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23307 $as_echo_n "(cached) " >&6
23308 else
23309
23310
23311 ac_ext=cpp
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23316
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23319 #include <math.h>
23320 int
23321 main ()
23322 {
23323 modf(0, 0);
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 if ac_fn_cxx_try_compile "$LINENO"; then :
23329 glibcxx_cv_func_modf_use=yes
23330 else
23331 glibcxx_cv_func_modf_use=no
23332 fi
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23334 ac_ext=c
23335 ac_cpp='$CPP $CPPFLAGS'
23336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23339
23340
23341 fi
23342
23343 fi
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23345 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23346
23347 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23348 for ac_func in modf
23349 do :
23350 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23351 if test "x$ac_cv_func_modf" = x""yes; then :
23352 cat >>confdefs.h <<_ACEOF
23353 #define HAVE_MODF 1
23354 _ACEOF
23355
23356 fi
23357 done
23358
23359 else
23360
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23362 $as_echo_n "checking for _modf declaration... " >&6; }
23363 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23364 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23365 $as_echo_n "(cached) " >&6
23366 else
23367
23368
23369 ac_ext=cpp
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23374
23375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23376 /* end confdefs.h. */
23377 #include <math.h>
23378 int
23379 main ()
23380 {
23381 _modf(0, 0);
23382 ;
23383 return 0;
23384 }
23385 _ACEOF
23386 if ac_fn_cxx_try_compile "$LINENO"; then :
23387 glibcxx_cv_func__modf_use=yes
23388 else
23389 glibcxx_cv_func__modf_use=no
23390 fi
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 ac_ext=c
23393 ac_cpp='$CPP $CPPFLAGS'
23394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23397
23398
23399 fi
23400
23401 fi
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23403 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23404
23405 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23406 for ac_func in _modf
23407 do :
23408 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23409 if test "x$ac_cv_func__modf" = x""yes; then :
23410 cat >>confdefs.h <<_ACEOF
23411 #define HAVE__MODF 1
23412 _ACEOF
23413
23414 fi
23415 done
23416
23417 fi
23418 fi
23419
23420
23421
23422
23423
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23425 $as_echo_n "checking for powf declaration... " >&6; }
23426 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23427 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23428 $as_echo_n "(cached) " >&6
23429 else
23430
23431
23432 ac_ext=cpp
23433 ac_cpp='$CXXCPP $CPPFLAGS'
23434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23437
23438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23439 /* end confdefs.h. */
23440 #include <math.h>
23441 int
23442 main ()
23443 {
23444 powf(0, 0);
23445 ;
23446 return 0;
23447 }
23448 _ACEOF
23449 if ac_fn_cxx_try_compile "$LINENO"; then :
23450 glibcxx_cv_func_powf_use=yes
23451 else
23452 glibcxx_cv_func_powf_use=no
23453 fi
23454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23455 ac_ext=c
23456 ac_cpp='$CPP $CPPFLAGS'
23457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460
23461
23462 fi
23463
23464 fi
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23466 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23467
23468 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23469 for ac_func in powf
23470 do :
23471 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23472 if test "x$ac_cv_func_powf" = x""yes; then :
23473 cat >>confdefs.h <<_ACEOF
23474 #define HAVE_POWF 1
23475 _ACEOF
23476
23477 fi
23478 done
23479
23480 else
23481
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23483 $as_echo_n "checking for _powf declaration... " >&6; }
23484 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23485 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23486 $as_echo_n "(cached) " >&6
23487 else
23488
23489
23490 ac_ext=cpp
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23495
23496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23497 /* end confdefs.h. */
23498 #include <math.h>
23499 int
23500 main ()
23501 {
23502 _powf(0, 0);
23503 ;
23504 return 0;
23505 }
23506 _ACEOF
23507 if ac_fn_cxx_try_compile "$LINENO"; then :
23508 glibcxx_cv_func__powf_use=yes
23509 else
23510 glibcxx_cv_func__powf_use=no
23511 fi
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23513 ac_ext=c
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23518
23519
23520 fi
23521
23522 fi
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23524 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23525
23526 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23527 for ac_func in _powf
23528 do :
23529 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23530 if test "x$ac_cv_func__powf" = x""yes; then :
23531 cat >>confdefs.h <<_ACEOF
23532 #define HAVE__POWF 1
23533 _ACEOF
23534
23535 fi
23536 done
23537
23538 fi
23539 fi
23540
23541
23542
23543
23544
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23546 $as_echo_n "checking for sqrtf declaration... " >&6; }
23547 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23548 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23549 $as_echo_n "(cached) " >&6
23550 else
23551
23552
23553 ac_ext=cpp
23554 ac_cpp='$CXXCPP $CPPFLAGS'
23555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23558
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23561 #include <math.h>
23562 #ifdef HAVE_IEEEFP_H
23563 #include <ieeefp.h>
23564 #endif
23565
23566 int
23567 main ()
23568 {
23569 sqrtf(0);
23570 ;
23571 return 0;
23572 }
23573 _ACEOF
23574 if ac_fn_cxx_try_compile "$LINENO"; then :
23575 glibcxx_cv_func_sqrtf_use=yes
23576 else
23577 glibcxx_cv_func_sqrtf_use=no
23578 fi
23579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23580 ac_ext=c
23581 ac_cpp='$CPP $CPPFLAGS'
23582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23585
23586
23587 fi
23588
23589 fi
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23591 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23592
23593 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23594 for ac_func in sqrtf
23595 do :
23596 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23597 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23598 cat >>confdefs.h <<_ACEOF
23599 #define HAVE_SQRTF 1
23600 _ACEOF
23601
23602 fi
23603 done
23604
23605 else
23606
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23608 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23609 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23610 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23612 else
23613
23614
23615 ac_ext=cpp
23616 ac_cpp='$CXXCPP $CPPFLAGS'
23617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23620
23621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h. */
23623 #include <math.h>
23624 #ifdef HAVE_IEEEFP_H
23625 #include <ieeefp.h>
23626 #endif
23627
23628 int
23629 main ()
23630 {
23631 _sqrtf(0);
23632 ;
23633 return 0;
23634 }
23635 _ACEOF
23636 if ac_fn_cxx_try_compile "$LINENO"; then :
23637 glibcxx_cv_func__sqrtf_use=yes
23638 else
23639 glibcxx_cv_func__sqrtf_use=no
23640 fi
23641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23642 ac_ext=c
23643 ac_cpp='$CPP $CPPFLAGS'
23644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23647
23648
23649 fi
23650
23651 fi
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23653 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23654
23655 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23656 for ac_func in _sqrtf
23657 do :
23658 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23659 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23660 cat >>confdefs.h <<_ACEOF
23661 #define HAVE__SQRTF 1
23662 _ACEOF
23663
23664 fi
23665 done
23666
23667 fi
23668 fi
23669
23670
23671
23672
23673
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23675 $as_echo_n "checking for sincosf declaration... " >&6; }
23676 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23677 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23678 $as_echo_n "(cached) " >&6
23679 else
23680
23681
23682 ac_ext=cpp
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23687
23688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23689 /* end confdefs.h. */
23690 #include <math.h>
23691 int
23692 main ()
23693 {
23694 sincosf(0, 0, 0);
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 if ac_fn_cxx_try_compile "$LINENO"; then :
23700 glibcxx_cv_func_sincosf_use=yes
23701 else
23702 glibcxx_cv_func_sincosf_use=no
23703 fi
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23705 ac_ext=c
23706 ac_cpp='$CPP $CPPFLAGS'
23707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23710
23711
23712 fi
23713
23714 fi
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23716 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23717
23718 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23719 for ac_func in sincosf
23720 do :
23721 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23722 if test "x$ac_cv_func_sincosf" = x""yes; then :
23723 cat >>confdefs.h <<_ACEOF
23724 #define HAVE_SINCOSF 1
23725 _ACEOF
23726
23727 fi
23728 done
23729
23730 else
23731
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23733 $as_echo_n "checking for _sincosf declaration... " >&6; }
23734 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23735 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23736 $as_echo_n "(cached) " >&6
23737 else
23738
23739
23740 ac_ext=cpp
23741 ac_cpp='$CXXCPP $CPPFLAGS'
23742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23745
23746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h. */
23748 #include <math.h>
23749 int
23750 main ()
23751 {
23752 _sincosf(0, 0, 0);
23753 ;
23754 return 0;
23755 }
23756 _ACEOF
23757 if ac_fn_cxx_try_compile "$LINENO"; then :
23758 glibcxx_cv_func__sincosf_use=yes
23759 else
23760 glibcxx_cv_func__sincosf_use=no
23761 fi
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763 ac_ext=c
23764 ac_cpp='$CPP $CPPFLAGS'
23765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23768
23769
23770 fi
23771
23772 fi
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23774 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23775
23776 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23777 for ac_func in _sincosf
23778 do :
23779 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23780 if test "x$ac_cv_func__sincosf" = x""yes; then :
23781 cat >>confdefs.h <<_ACEOF
23782 #define HAVE__SINCOSF 1
23783 _ACEOF
23784
23785 fi
23786 done
23787
23788 fi
23789 fi
23790
23791
23792
23793
23794
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23796 $as_echo_n "checking for finitef declaration... " >&6; }
23797 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23798 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23799 $as_echo_n "(cached) " >&6
23800 else
23801
23802
23803 ac_ext=cpp
23804 ac_cpp='$CXXCPP $CPPFLAGS'
23805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23808
23809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810 /* end confdefs.h. */
23811 #include <math.h>
23812 #ifdef HAVE_IEEEFP_H
23813 #include <ieeefp.h>
23814 #endif
23815
23816 int
23817 main ()
23818 {
23819 finitef(0);
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 if ac_fn_cxx_try_compile "$LINENO"; then :
23825 glibcxx_cv_func_finitef_use=yes
23826 else
23827 glibcxx_cv_func_finitef_use=no
23828 fi
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830 ac_ext=c
23831 ac_cpp='$CPP $CPPFLAGS'
23832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23835
23836
23837 fi
23838
23839 fi
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23841 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23842
23843 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23844 for ac_func in finitef
23845 do :
23846 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23847 if test "x$ac_cv_func_finitef" = x""yes; then :
23848 cat >>confdefs.h <<_ACEOF
23849 #define HAVE_FINITEF 1
23850 _ACEOF
23851
23852 fi
23853 done
23854
23855 else
23856
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23858 $as_echo_n "checking for _finitef declaration... " >&6; }
23859 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23860 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23861 $as_echo_n "(cached) " >&6
23862 else
23863
23864
23865 ac_ext=cpp
23866 ac_cpp='$CXXCPP $CPPFLAGS'
23867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23870
23871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23873 #include <math.h>
23874 #ifdef HAVE_IEEEFP_H
23875 #include <ieeefp.h>
23876 #endif
23877
23878 int
23879 main ()
23880 {
23881 _finitef(0);
23882 ;
23883 return 0;
23884 }
23885 _ACEOF
23886 if ac_fn_cxx_try_compile "$LINENO"; then :
23887 glibcxx_cv_func__finitef_use=yes
23888 else
23889 glibcxx_cv_func__finitef_use=no
23890 fi
23891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23892 ac_ext=c
23893 ac_cpp='$CPP $CPPFLAGS'
23894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23897
23898
23899 fi
23900
23901 fi
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23903 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23904
23905 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23906 for ac_func in _finitef
23907 do :
23908 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23909 if test "x$ac_cv_func__finitef" = x""yes; then :
23910 cat >>confdefs.h <<_ACEOF
23911 #define HAVE__FINITEF 1
23912 _ACEOF
23913
23914 fi
23915 done
23916
23917 fi
23918 fi
23919
23920
23921
23922
23923
23924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23925 $as_echo_n "checking for long double trig functions... " >&6; }
23926 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23927 $as_echo_n "(cached) " >&6
23928 else
23929
23930
23931 ac_ext=cpp
23932 ac_cpp='$CXXCPP $CPPFLAGS'
23933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23936
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23939 #include <math.h>
23940 int
23941 main ()
23942 {
23943 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23944 ;
23945 return 0;
23946 }
23947 _ACEOF
23948 if ac_fn_cxx_try_compile "$LINENO"; then :
23949 glibcxx_cv_func_long_double_trig_use=yes
23950 else
23951 glibcxx_cv_func_long_double_trig_use=no
23952 fi
23953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23954 ac_ext=c
23955 ac_cpp='$CPP $CPPFLAGS'
23956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23959
23960 fi
23961
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23963 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23964 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23965 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23966 do :
23967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23969 eval as_val=\$$as_ac_var
23970 if test "x$as_val" = x""yes; then :
23971 cat >>confdefs.h <<_ACEOF
23972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23973 _ACEOF
23974
23975 fi
23976 done
23977
23978 else
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23980 $as_echo_n "checking for _long double trig functions... " >&6; }
23981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23982 $as_echo_n "(cached) " >&6
23983 else
23984
23985
23986 ac_ext=cpp
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23991
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23994 #include <math.h>
23995 int
23996 main ()
23997 {
23998 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23999 ;
24000 return 0;
24001 }
24002 _ACEOF
24003 if ac_fn_cxx_try_compile "$LINENO"; then :
24004 glibcxx_cv_func__long_double_trig_use=yes
24005 else
24006 glibcxx_cv_func__long_double_trig_use=no
24007 fi
24008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24014
24015 fi
24016
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24018 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24019 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24020 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24021 do :
24022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24024 eval as_val=\$$as_ac_var
24025 if test "x$as_val" = x""yes; then :
24026 cat >>confdefs.h <<_ACEOF
24027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24028 _ACEOF
24029
24030 fi
24031 done
24032
24033 fi
24034 fi
24035
24036
24037
24038
24039
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24041 $as_echo_n "checking for long double round functions... " >&6; }
24042 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24044 else
24045
24046
24047 ac_ext=cpp
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24052
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24055 #include <math.h>
24056 int
24057 main ()
24058 {
24059 ceill (0); floorl (0);
24060 ;
24061 return 0;
24062 }
24063 _ACEOF
24064 if ac_fn_cxx_try_compile "$LINENO"; then :
24065 glibcxx_cv_func_long_double_round_use=yes
24066 else
24067 glibcxx_cv_func_long_double_round_use=no
24068 fi
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 ac_ext=c
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075
24076 fi
24077
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24079 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24080 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24081 for ac_func in ceill floorl
24082 do :
24083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24085 eval as_val=\$$as_ac_var
24086 if test "x$as_val" = x""yes; then :
24087 cat >>confdefs.h <<_ACEOF
24088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24089 _ACEOF
24090
24091 fi
24092 done
24093
24094 else
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24096 $as_echo_n "checking for _long double round functions... " >&6; }
24097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24098 $as_echo_n "(cached) " >&6
24099 else
24100
24101
24102 ac_ext=cpp
24103 ac_cpp='$CXXCPP $CPPFLAGS'
24104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24107
24108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24109 /* end confdefs.h. */
24110 #include <math.h>
24111 int
24112 main ()
24113 {
24114 _ceill (0); _floorl (0);
24115 ;
24116 return 0;
24117 }
24118 _ACEOF
24119 if ac_fn_cxx_try_compile "$LINENO"; then :
24120 glibcxx_cv_func__long_double_round_use=yes
24121 else
24122 glibcxx_cv_func__long_double_round_use=no
24123 fi
24124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24125 ac_ext=c
24126 ac_cpp='$CPP $CPPFLAGS'
24127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24130
24131 fi
24132
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24134 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24135 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24136 for ac_func in _ceill _floorl
24137 do :
24138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24140 eval as_val=\$$as_ac_var
24141 if test "x$as_val" = x""yes; then :
24142 cat >>confdefs.h <<_ACEOF
24143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24144 _ACEOF
24145
24146 fi
24147 done
24148
24149 fi
24150 fi
24151
24152
24153
24154
24155
24156
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24158 $as_echo_n "checking for isnanl declaration... " >&6; }
24159 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24160 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24161 $as_echo_n "(cached) " >&6
24162 else
24163
24164
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24170
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24173 #include <math.h>
24174 #ifdef HAVE_IEEEFP_H
24175 #include <ieeefp.h>
24176 #endif
24177
24178 int
24179 main ()
24180 {
24181 isnanl(0);
24182 ;
24183 return 0;
24184 }
24185 _ACEOF
24186 if ac_fn_cxx_try_compile "$LINENO"; then :
24187 glibcxx_cv_func_isnanl_use=yes
24188 else
24189 glibcxx_cv_func_isnanl_use=no
24190 fi
24191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24192 ac_ext=c
24193 ac_cpp='$CPP $CPPFLAGS'
24194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24197
24198
24199 fi
24200
24201 fi
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24203 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24204
24205 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24206 for ac_func in isnanl
24207 do :
24208 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24209 if test "x$ac_cv_func_isnanl" = x""yes; then :
24210 cat >>confdefs.h <<_ACEOF
24211 #define HAVE_ISNANL 1
24212 _ACEOF
24213
24214 fi
24215 done
24216
24217 else
24218
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24220 $as_echo_n "checking for _isnanl declaration... " >&6; }
24221 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24222 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24223 $as_echo_n "(cached) " >&6
24224 else
24225
24226
24227 ac_ext=cpp
24228 ac_cpp='$CXXCPP $CPPFLAGS'
24229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24232
24233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24234 /* end confdefs.h. */
24235 #include <math.h>
24236 #ifdef HAVE_IEEEFP_H
24237 #include <ieeefp.h>
24238 #endif
24239
24240 int
24241 main ()
24242 {
24243 _isnanl(0);
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 if ac_fn_cxx_try_compile "$LINENO"; then :
24249 glibcxx_cv_func__isnanl_use=yes
24250 else
24251 glibcxx_cv_func__isnanl_use=no
24252 fi
24253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24254 ac_ext=c
24255 ac_cpp='$CPP $CPPFLAGS'
24256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24259
24260
24261 fi
24262
24263 fi
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24265 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24266
24267 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24268 for ac_func in _isnanl
24269 do :
24270 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24271 if test "x$ac_cv_func__isnanl" = x""yes; then :
24272 cat >>confdefs.h <<_ACEOF
24273 #define HAVE__ISNANL 1
24274 _ACEOF
24275
24276 fi
24277 done
24278
24279 fi
24280 fi
24281
24282
24283
24284
24285
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24287 $as_echo_n "checking for isinfl declaration... " >&6; }
24288 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24289 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24290 $as_echo_n "(cached) " >&6
24291 else
24292
24293
24294 ac_ext=cpp
24295 ac_cpp='$CXXCPP $CPPFLAGS'
24296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24299
24300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24301 /* end confdefs.h. */
24302 #include <math.h>
24303 #ifdef HAVE_IEEEFP_H
24304 #include <ieeefp.h>
24305 #endif
24306
24307 int
24308 main ()
24309 {
24310 isinfl(0);
24311 ;
24312 return 0;
24313 }
24314 _ACEOF
24315 if ac_fn_cxx_try_compile "$LINENO"; then :
24316 glibcxx_cv_func_isinfl_use=yes
24317 else
24318 glibcxx_cv_func_isinfl_use=no
24319 fi
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 ac_ext=c
24322 ac_cpp='$CPP $CPPFLAGS'
24323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24326
24327
24328 fi
24329
24330 fi
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24332 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24333
24334 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24335 for ac_func in isinfl
24336 do :
24337 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24338 if test "x$ac_cv_func_isinfl" = x""yes; then :
24339 cat >>confdefs.h <<_ACEOF
24340 #define HAVE_ISINFL 1
24341 _ACEOF
24342
24343 fi
24344 done
24345
24346 else
24347
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24349 $as_echo_n "checking for _isinfl declaration... " >&6; }
24350 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24351 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24352 $as_echo_n "(cached) " >&6
24353 else
24354
24355
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24364 #include <math.h>
24365 #ifdef HAVE_IEEEFP_H
24366 #include <ieeefp.h>
24367 #endif
24368
24369 int
24370 main ()
24371 {
24372 _isinfl(0);
24373 ;
24374 return 0;
24375 }
24376 _ACEOF
24377 if ac_fn_cxx_try_compile "$LINENO"; then :
24378 glibcxx_cv_func__isinfl_use=yes
24379 else
24380 glibcxx_cv_func__isinfl_use=no
24381 fi
24382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24383 ac_ext=c
24384 ac_cpp='$CPP $CPPFLAGS'
24385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24388
24389
24390 fi
24391
24392 fi
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24394 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24395
24396 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24397 for ac_func in _isinfl
24398 do :
24399 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24400 if test "x$ac_cv_func__isinfl" = x""yes; then :
24401 cat >>confdefs.h <<_ACEOF
24402 #define HAVE__ISINFL 1
24403 _ACEOF
24404
24405 fi
24406 done
24407
24408 fi
24409 fi
24410
24411
24412
24413
24414
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24416 $as_echo_n "checking for atan2l declaration... " >&6; }
24417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24419 $as_echo_n "(cached) " >&6
24420 else
24421
24422
24423 ac_ext=cpp
24424 ac_cpp='$CXXCPP $CPPFLAGS'
24425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24428
24429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24430 /* end confdefs.h. */
24431 #include <math.h>
24432 int
24433 main ()
24434 {
24435 atan2l(0, 0);
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 if ac_fn_cxx_try_compile "$LINENO"; then :
24441 glibcxx_cv_func_atan2l_use=yes
24442 else
24443 glibcxx_cv_func_atan2l_use=no
24444 fi
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24446 ac_ext=c
24447 ac_cpp='$CPP $CPPFLAGS'
24448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24451
24452
24453 fi
24454
24455 fi
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24457 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24458
24459 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24460 for ac_func in atan2l
24461 do :
24462 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24463 if test "x$ac_cv_func_atan2l" = x""yes; then :
24464 cat >>confdefs.h <<_ACEOF
24465 #define HAVE_ATAN2L 1
24466 _ACEOF
24467
24468 fi
24469 done
24470
24471 else
24472
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24474 $as_echo_n "checking for _atan2l declaration... " >&6; }
24475 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24476 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24477 $as_echo_n "(cached) " >&6
24478 else
24479
24480
24481 ac_ext=cpp
24482 ac_cpp='$CXXCPP $CPPFLAGS'
24483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24486
24487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24488 /* end confdefs.h. */
24489 #include <math.h>
24490 int
24491 main ()
24492 {
24493 _atan2l(0, 0);
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 if ac_fn_cxx_try_compile "$LINENO"; then :
24499 glibcxx_cv_func__atan2l_use=yes
24500 else
24501 glibcxx_cv_func__atan2l_use=no
24502 fi
24503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24504 ac_ext=c
24505 ac_cpp='$CPP $CPPFLAGS'
24506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24509
24510
24511 fi
24512
24513 fi
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24515 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24516
24517 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24518 for ac_func in _atan2l
24519 do :
24520 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24521 if test "x$ac_cv_func__atan2l" = x""yes; then :
24522 cat >>confdefs.h <<_ACEOF
24523 #define HAVE__ATAN2L 1
24524 _ACEOF
24525
24526 fi
24527 done
24528
24529 fi
24530 fi
24531
24532
24533
24534
24535
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24537 $as_echo_n "checking for expl declaration... " >&6; }
24538 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24539 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24540 $as_echo_n "(cached) " >&6
24541 else
24542
24543
24544 ac_ext=cpp
24545 ac_cpp='$CXXCPP $CPPFLAGS'
24546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24549
24550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24551 /* end confdefs.h. */
24552 #include <math.h>
24553 #ifdef HAVE_IEEEFP_H
24554 #include <ieeefp.h>
24555 #endif
24556
24557 int
24558 main ()
24559 {
24560 expl(0);
24561 ;
24562 return 0;
24563 }
24564 _ACEOF
24565 if ac_fn_cxx_try_compile "$LINENO"; then :
24566 glibcxx_cv_func_expl_use=yes
24567 else
24568 glibcxx_cv_func_expl_use=no
24569 fi
24570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571 ac_ext=c
24572 ac_cpp='$CPP $CPPFLAGS'
24573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24576
24577
24578 fi
24579
24580 fi
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24582 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24583
24584 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24585 for ac_func in expl
24586 do :
24587 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24588 if test "x$ac_cv_func_expl" = x""yes; then :
24589 cat >>confdefs.h <<_ACEOF
24590 #define HAVE_EXPL 1
24591 _ACEOF
24592
24593 fi
24594 done
24595
24596 else
24597
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24599 $as_echo_n "checking for _expl declaration... " >&6; }
24600 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24601 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24602 $as_echo_n "(cached) " >&6
24603 else
24604
24605
24606 ac_ext=cpp
24607 ac_cpp='$CXXCPP $CPPFLAGS'
24608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24611
24612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24613 /* end confdefs.h. */
24614 #include <math.h>
24615 #ifdef HAVE_IEEEFP_H
24616 #include <ieeefp.h>
24617 #endif
24618
24619 int
24620 main ()
24621 {
24622 _expl(0);
24623 ;
24624 return 0;
24625 }
24626 _ACEOF
24627 if ac_fn_cxx_try_compile "$LINENO"; then :
24628 glibcxx_cv_func__expl_use=yes
24629 else
24630 glibcxx_cv_func__expl_use=no
24631 fi
24632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24633 ac_ext=c
24634 ac_cpp='$CPP $CPPFLAGS'
24635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638
24639
24640 fi
24641
24642 fi
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24644 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24645
24646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24647 for ac_func in _expl
24648 do :
24649 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24650 if test "x$ac_cv_func__expl" = x""yes; then :
24651 cat >>confdefs.h <<_ACEOF
24652 #define HAVE__EXPL 1
24653 _ACEOF
24654
24655 fi
24656 done
24657
24658 fi
24659 fi
24660
24661
24662
24663
24664
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24666 $as_echo_n "checking for fabsl declaration... " >&6; }
24667 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24668 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24669 $as_echo_n "(cached) " >&6
24670 else
24671
24672
24673 ac_ext=cpp
24674 ac_cpp='$CXXCPP $CPPFLAGS'
24675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24678
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h. */
24681 #include <math.h>
24682 #ifdef HAVE_IEEEFP_H
24683 #include <ieeefp.h>
24684 #endif
24685
24686 int
24687 main ()
24688 {
24689 fabsl(0);
24690 ;
24691 return 0;
24692 }
24693 _ACEOF
24694 if ac_fn_cxx_try_compile "$LINENO"; then :
24695 glibcxx_cv_func_fabsl_use=yes
24696 else
24697 glibcxx_cv_func_fabsl_use=no
24698 fi
24699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 ac_ext=c
24701 ac_cpp='$CPP $CPPFLAGS'
24702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24705
24706
24707 fi
24708
24709 fi
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24711 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24712
24713 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24714 for ac_func in fabsl
24715 do :
24716 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24717 if test "x$ac_cv_func_fabsl" = x""yes; then :
24718 cat >>confdefs.h <<_ACEOF
24719 #define HAVE_FABSL 1
24720 _ACEOF
24721
24722 fi
24723 done
24724
24725 else
24726
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24728 $as_echo_n "checking for _fabsl declaration... " >&6; }
24729 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24730 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24731 $as_echo_n "(cached) " >&6
24732 else
24733
24734
24735 ac_ext=cpp
24736 ac_cpp='$CXXCPP $CPPFLAGS'
24737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24740
24741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24743 #include <math.h>
24744 #ifdef HAVE_IEEEFP_H
24745 #include <ieeefp.h>
24746 #endif
24747
24748 int
24749 main ()
24750 {
24751 _fabsl(0);
24752 ;
24753 return 0;
24754 }
24755 _ACEOF
24756 if ac_fn_cxx_try_compile "$LINENO"; then :
24757 glibcxx_cv_func__fabsl_use=yes
24758 else
24759 glibcxx_cv_func__fabsl_use=no
24760 fi
24761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24762 ac_ext=c
24763 ac_cpp='$CPP $CPPFLAGS'
24764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24767
24768
24769 fi
24770
24771 fi
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24773 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24774
24775 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24776 for ac_func in _fabsl
24777 do :
24778 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24779 if test "x$ac_cv_func__fabsl" = x""yes; then :
24780 cat >>confdefs.h <<_ACEOF
24781 #define HAVE__FABSL 1
24782 _ACEOF
24783
24784 fi
24785 done
24786
24787 fi
24788 fi
24789
24790
24791
24792
24793
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24795 $as_echo_n "checking for fmodl declaration... " >&6; }
24796 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24797 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24799 else
24800
24801
24802 ac_ext=cpp
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24807
24808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24809 /* end confdefs.h. */
24810 #include <math.h>
24811 int
24812 main ()
24813 {
24814 fmodl(0, 0);
24815 ;
24816 return 0;
24817 }
24818 _ACEOF
24819 if ac_fn_cxx_try_compile "$LINENO"; then :
24820 glibcxx_cv_func_fmodl_use=yes
24821 else
24822 glibcxx_cv_func_fmodl_use=no
24823 fi
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 ac_ext=c
24826 ac_cpp='$CPP $CPPFLAGS'
24827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24830
24831
24832 fi
24833
24834 fi
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24836 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24837
24838 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24839 for ac_func in fmodl
24840 do :
24841 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24842 if test "x$ac_cv_func_fmodl" = x""yes; then :
24843 cat >>confdefs.h <<_ACEOF
24844 #define HAVE_FMODL 1
24845 _ACEOF
24846
24847 fi
24848 done
24849
24850 else
24851
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24853 $as_echo_n "checking for _fmodl declaration... " >&6; }
24854 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24855 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24856 $as_echo_n "(cached) " >&6
24857 else
24858
24859
24860 ac_ext=cpp
24861 ac_cpp='$CXXCPP $CPPFLAGS'
24862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24865
24866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24867 /* end confdefs.h. */
24868 #include <math.h>
24869 int
24870 main ()
24871 {
24872 _fmodl(0, 0);
24873 ;
24874 return 0;
24875 }
24876 _ACEOF
24877 if ac_fn_cxx_try_compile "$LINENO"; then :
24878 glibcxx_cv_func__fmodl_use=yes
24879 else
24880 glibcxx_cv_func__fmodl_use=no
24881 fi
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24883 ac_ext=c
24884 ac_cpp='$CPP $CPPFLAGS'
24885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24888
24889
24890 fi
24891
24892 fi
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24894 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24895
24896 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24897 for ac_func in _fmodl
24898 do :
24899 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24900 if test "x$ac_cv_func__fmodl" = x""yes; then :
24901 cat >>confdefs.h <<_ACEOF
24902 #define HAVE__FMODL 1
24903 _ACEOF
24904
24905 fi
24906 done
24907
24908 fi
24909 fi
24910
24911
24912
24913
24914
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24916 $as_echo_n "checking for frexpl declaration... " >&6; }
24917 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24918 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24919 $as_echo_n "(cached) " >&6
24920 else
24921
24922
24923 ac_ext=cpp
24924 ac_cpp='$CXXCPP $CPPFLAGS'
24925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24928
24929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24930 /* end confdefs.h. */
24931 #include <math.h>
24932 int
24933 main ()
24934 {
24935 frexpl(0, 0);
24936 ;
24937 return 0;
24938 }
24939 _ACEOF
24940 if ac_fn_cxx_try_compile "$LINENO"; then :
24941 glibcxx_cv_func_frexpl_use=yes
24942 else
24943 glibcxx_cv_func_frexpl_use=no
24944 fi
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 ac_ext=c
24947 ac_cpp='$CPP $CPPFLAGS'
24948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24951
24952
24953 fi
24954
24955 fi
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24957 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24958
24959 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24960 for ac_func in frexpl
24961 do :
24962 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24963 if test "x$ac_cv_func_frexpl" = x""yes; then :
24964 cat >>confdefs.h <<_ACEOF
24965 #define HAVE_FREXPL 1
24966 _ACEOF
24967
24968 fi
24969 done
24970
24971 else
24972
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24974 $as_echo_n "checking for _frexpl declaration... " >&6; }
24975 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24976 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24977 $as_echo_n "(cached) " >&6
24978 else
24979
24980
24981 ac_ext=cpp
24982 ac_cpp='$CXXCPP $CPPFLAGS'
24983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24986
24987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24988 /* end confdefs.h. */
24989 #include <math.h>
24990 int
24991 main ()
24992 {
24993 _frexpl(0, 0);
24994 ;
24995 return 0;
24996 }
24997 _ACEOF
24998 if ac_fn_cxx_try_compile "$LINENO"; then :
24999 glibcxx_cv_func__frexpl_use=yes
25000 else
25001 glibcxx_cv_func__frexpl_use=no
25002 fi
25003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25004 ac_ext=c
25005 ac_cpp='$CPP $CPPFLAGS'
25006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25009
25010
25011 fi
25012
25013 fi
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25015 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25016
25017 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25018 for ac_func in _frexpl
25019 do :
25020 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25021 if test "x$ac_cv_func__frexpl" = x""yes; then :
25022 cat >>confdefs.h <<_ACEOF
25023 #define HAVE__FREXPL 1
25024 _ACEOF
25025
25026 fi
25027 done
25028
25029 fi
25030 fi
25031
25032
25033
25034
25035
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25037 $as_echo_n "checking for hypotl declaration... " >&6; }
25038 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25039 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25040 $as_echo_n "(cached) " >&6
25041 else
25042
25043
25044 ac_ext=cpp
25045 ac_cpp='$CXXCPP $CPPFLAGS'
25046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25049
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25052 #include <math.h>
25053 int
25054 main ()
25055 {
25056 hypotl(0, 0);
25057 ;
25058 return 0;
25059 }
25060 _ACEOF
25061 if ac_fn_cxx_try_compile "$LINENO"; then :
25062 glibcxx_cv_func_hypotl_use=yes
25063 else
25064 glibcxx_cv_func_hypotl_use=no
25065 fi
25066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25067 ac_ext=c
25068 ac_cpp='$CPP $CPPFLAGS'
25069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25072
25073
25074 fi
25075
25076 fi
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25078 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25079
25080 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25081 for ac_func in hypotl
25082 do :
25083 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25084 if test "x$ac_cv_func_hypotl" = x""yes; then :
25085 cat >>confdefs.h <<_ACEOF
25086 #define HAVE_HYPOTL 1
25087 _ACEOF
25088
25089 fi
25090 done
25091
25092 else
25093
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25095 $as_echo_n "checking for _hypotl declaration... " >&6; }
25096 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25097 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25098 $as_echo_n "(cached) " >&6
25099 else
25100
25101
25102 ac_ext=cpp
25103 ac_cpp='$CXXCPP $CPPFLAGS'
25104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25107
25108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25109 /* end confdefs.h. */
25110 #include <math.h>
25111 int
25112 main ()
25113 {
25114 _hypotl(0, 0);
25115 ;
25116 return 0;
25117 }
25118 _ACEOF
25119 if ac_fn_cxx_try_compile "$LINENO"; then :
25120 glibcxx_cv_func__hypotl_use=yes
25121 else
25122 glibcxx_cv_func__hypotl_use=no
25123 fi
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25125 ac_ext=c
25126 ac_cpp='$CPP $CPPFLAGS'
25127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25130
25131
25132 fi
25133
25134 fi
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25136 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25137
25138 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25139 for ac_func in _hypotl
25140 do :
25141 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25142 if test "x$ac_cv_func__hypotl" = x""yes; then :
25143 cat >>confdefs.h <<_ACEOF
25144 #define HAVE__HYPOTL 1
25145 _ACEOF
25146
25147 fi
25148 done
25149
25150 fi
25151 fi
25152
25153
25154
25155
25156
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25158 $as_echo_n "checking for ldexpl declaration... " >&6; }
25159 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25160 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25161 $as_echo_n "(cached) " >&6
25162 else
25163
25164
25165 ac_ext=cpp
25166 ac_cpp='$CXXCPP $CPPFLAGS'
25167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25170
25171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25172 /* end confdefs.h. */
25173 #include <math.h>
25174 int
25175 main ()
25176 {
25177 ldexpl(0, 0);
25178 ;
25179 return 0;
25180 }
25181 _ACEOF
25182 if ac_fn_cxx_try_compile "$LINENO"; then :
25183 glibcxx_cv_func_ldexpl_use=yes
25184 else
25185 glibcxx_cv_func_ldexpl_use=no
25186 fi
25187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25188 ac_ext=c
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25193
25194
25195 fi
25196
25197 fi
25198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25199 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25200
25201 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25202 for ac_func in ldexpl
25203 do :
25204 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25205 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25206 cat >>confdefs.h <<_ACEOF
25207 #define HAVE_LDEXPL 1
25208 _ACEOF
25209
25210 fi
25211 done
25212
25213 else
25214
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25216 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25217 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25218 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25219 $as_echo_n "(cached) " >&6
25220 else
25221
25222
25223 ac_ext=cpp
25224 ac_cpp='$CXXCPP $CPPFLAGS'
25225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25228
25229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25230 /* end confdefs.h. */
25231 #include <math.h>
25232 int
25233 main ()
25234 {
25235 _ldexpl(0, 0);
25236 ;
25237 return 0;
25238 }
25239 _ACEOF
25240 if ac_fn_cxx_try_compile "$LINENO"; then :
25241 glibcxx_cv_func__ldexpl_use=yes
25242 else
25243 glibcxx_cv_func__ldexpl_use=no
25244 fi
25245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25246 ac_ext=c
25247 ac_cpp='$CPP $CPPFLAGS'
25248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25251
25252
25253 fi
25254
25255 fi
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25257 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25258
25259 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25260 for ac_func in _ldexpl
25261 do :
25262 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25263 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25264 cat >>confdefs.h <<_ACEOF
25265 #define HAVE__LDEXPL 1
25266 _ACEOF
25267
25268 fi
25269 done
25270
25271 fi
25272 fi
25273
25274
25275
25276
25277
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25279 $as_echo_n "checking for logl declaration... " >&6; }
25280 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25281 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25283 else
25284
25285
25286 ac_ext=cpp
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291
25292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 /* end confdefs.h. */
25294 #include <math.h>
25295 #ifdef HAVE_IEEEFP_H
25296 #include <ieeefp.h>
25297 #endif
25298
25299 int
25300 main ()
25301 {
25302 logl(0);
25303 ;
25304 return 0;
25305 }
25306 _ACEOF
25307 if ac_fn_cxx_try_compile "$LINENO"; then :
25308 glibcxx_cv_func_logl_use=yes
25309 else
25310 glibcxx_cv_func_logl_use=no
25311 fi
25312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25313 ac_ext=c
25314 ac_cpp='$CPP $CPPFLAGS'
25315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318
25319
25320 fi
25321
25322 fi
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25324 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25325
25326 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25327 for ac_func in logl
25328 do :
25329 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25330 if test "x$ac_cv_func_logl" = x""yes; then :
25331 cat >>confdefs.h <<_ACEOF
25332 #define HAVE_LOGL 1
25333 _ACEOF
25334
25335 fi
25336 done
25337
25338 else
25339
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25341 $as_echo_n "checking for _logl declaration... " >&6; }
25342 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25343 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25344 $as_echo_n "(cached) " >&6
25345 else
25346
25347
25348 ac_ext=cpp
25349 ac_cpp='$CXXCPP $CPPFLAGS'
25350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25353
25354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25356 #include <math.h>
25357 #ifdef HAVE_IEEEFP_H
25358 #include <ieeefp.h>
25359 #endif
25360
25361 int
25362 main ()
25363 {
25364 _logl(0);
25365 ;
25366 return 0;
25367 }
25368 _ACEOF
25369 if ac_fn_cxx_try_compile "$LINENO"; then :
25370 glibcxx_cv_func__logl_use=yes
25371 else
25372 glibcxx_cv_func__logl_use=no
25373 fi
25374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375 ac_ext=c
25376 ac_cpp='$CPP $CPPFLAGS'
25377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25380
25381
25382 fi
25383
25384 fi
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25386 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25387
25388 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25389 for ac_func in _logl
25390 do :
25391 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25392 if test "x$ac_cv_func__logl" = x""yes; then :
25393 cat >>confdefs.h <<_ACEOF
25394 #define HAVE__LOGL 1
25395 _ACEOF
25396
25397 fi
25398 done
25399
25400 fi
25401 fi
25402
25403
25404
25405
25406
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25408 $as_echo_n "checking for log10l declaration... " >&6; }
25409 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25410 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25411 $as_echo_n "(cached) " >&6
25412 else
25413
25414
25415 ac_ext=cpp
25416 ac_cpp='$CXXCPP $CPPFLAGS'
25417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25420
25421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25422 /* end confdefs.h. */
25423 #include <math.h>
25424 #ifdef HAVE_IEEEFP_H
25425 #include <ieeefp.h>
25426 #endif
25427
25428 int
25429 main ()
25430 {
25431 log10l(0);
25432 ;
25433 return 0;
25434 }
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func_log10l_use=yes
25438 else
25439 glibcxx_cv_func_log10l_use=no
25440 fi
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442 ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25447
25448
25449 fi
25450
25451 fi
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25453 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25454
25455 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25456 for ac_func in log10l
25457 do :
25458 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25459 if test "x$ac_cv_func_log10l" = x""yes; then :
25460 cat >>confdefs.h <<_ACEOF
25461 #define HAVE_LOG10L 1
25462 _ACEOF
25463
25464 fi
25465 done
25466
25467 else
25468
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25470 $as_echo_n "checking for _log10l declaration... " >&6; }
25471 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25472 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25473 $as_echo_n "(cached) " >&6
25474 else
25475
25476
25477 ac_ext=cpp
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482
25483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25484 /* end confdefs.h. */
25485 #include <math.h>
25486 #ifdef HAVE_IEEEFP_H
25487 #include <ieeefp.h>
25488 #endif
25489
25490 int
25491 main ()
25492 {
25493 _log10l(0);
25494 ;
25495 return 0;
25496 }
25497 _ACEOF
25498 if ac_fn_cxx_try_compile "$LINENO"; then :
25499 glibcxx_cv_func__log10l_use=yes
25500 else
25501 glibcxx_cv_func__log10l_use=no
25502 fi
25503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25504 ac_ext=c
25505 ac_cpp='$CPP $CPPFLAGS'
25506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25509
25510
25511 fi
25512
25513 fi
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25515 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25516
25517 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25518 for ac_func in _log10l
25519 do :
25520 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25521 if test "x$ac_cv_func__log10l" = x""yes; then :
25522 cat >>confdefs.h <<_ACEOF
25523 #define HAVE__LOG10L 1
25524 _ACEOF
25525
25526 fi
25527 done
25528
25529 fi
25530 fi
25531
25532
25533
25534
25535
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25537 $as_echo_n "checking for modfl declaration... " >&6; }
25538 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25539 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25540 $as_echo_n "(cached) " >&6
25541 else
25542
25543
25544 ac_ext=cpp
25545 ac_cpp='$CXXCPP $CPPFLAGS'
25546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25549
25550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25552 #include <math.h>
25553 int
25554 main ()
25555 {
25556 modfl(0, 0);
25557 ;
25558 return 0;
25559 }
25560 _ACEOF
25561 if ac_fn_cxx_try_compile "$LINENO"; then :
25562 glibcxx_cv_func_modfl_use=yes
25563 else
25564 glibcxx_cv_func_modfl_use=no
25565 fi
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25572
25573
25574 fi
25575
25576 fi
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25578 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25579
25580 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25581 for ac_func in modfl
25582 do :
25583 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25584 if test "x$ac_cv_func_modfl" = x""yes; then :
25585 cat >>confdefs.h <<_ACEOF
25586 #define HAVE_MODFL 1
25587 _ACEOF
25588
25589 fi
25590 done
25591
25592 else
25593
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25595 $as_echo_n "checking for _modfl declaration... " >&6; }
25596 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25597 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25598 $as_echo_n "(cached) " >&6
25599 else
25600
25601
25602 ac_ext=cpp
25603 ac_cpp='$CXXCPP $CPPFLAGS'
25604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25607
25608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25609 /* end confdefs.h. */
25610 #include <math.h>
25611 int
25612 main ()
25613 {
25614 _modfl(0, 0);
25615 ;
25616 return 0;
25617 }
25618 _ACEOF
25619 if ac_fn_cxx_try_compile "$LINENO"; then :
25620 glibcxx_cv_func__modfl_use=yes
25621 else
25622 glibcxx_cv_func__modfl_use=no
25623 fi
25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625 ac_ext=c
25626 ac_cpp='$CPP $CPPFLAGS'
25627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25630
25631
25632 fi
25633
25634 fi
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25636 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25637
25638 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25639 for ac_func in _modfl
25640 do :
25641 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25642 if test "x$ac_cv_func__modfl" = x""yes; then :
25643 cat >>confdefs.h <<_ACEOF
25644 #define HAVE__MODFL 1
25645 _ACEOF
25646
25647 fi
25648 done
25649
25650 fi
25651 fi
25652
25653
25654
25655
25656
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25658 $as_echo_n "checking for powl declaration... " >&6; }
25659 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25660 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25661 $as_echo_n "(cached) " >&6
25662 else
25663
25664
25665 ac_ext=cpp
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25670
25671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h. */
25673 #include <math.h>
25674 int
25675 main ()
25676 {
25677 powl(0, 0);
25678 ;
25679 return 0;
25680 }
25681 _ACEOF
25682 if ac_fn_cxx_try_compile "$LINENO"; then :
25683 glibcxx_cv_func_powl_use=yes
25684 else
25685 glibcxx_cv_func_powl_use=no
25686 fi
25687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25688 ac_ext=c
25689 ac_cpp='$CPP $CPPFLAGS'
25690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25693
25694
25695 fi
25696
25697 fi
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25699 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25700
25701 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25702 for ac_func in powl
25703 do :
25704 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25705 if test "x$ac_cv_func_powl" = x""yes; then :
25706 cat >>confdefs.h <<_ACEOF
25707 #define HAVE_POWL 1
25708 _ACEOF
25709
25710 fi
25711 done
25712
25713 else
25714
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25716 $as_echo_n "checking for _powl declaration... " >&6; }
25717 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25718 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25719 $as_echo_n "(cached) " >&6
25720 else
25721
25722
25723 ac_ext=cpp
25724 ac_cpp='$CXXCPP $CPPFLAGS'
25725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25728
25729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25730 /* end confdefs.h. */
25731 #include <math.h>
25732 int
25733 main ()
25734 {
25735 _powl(0, 0);
25736 ;
25737 return 0;
25738 }
25739 _ACEOF
25740 if ac_fn_cxx_try_compile "$LINENO"; then :
25741 glibcxx_cv_func__powl_use=yes
25742 else
25743 glibcxx_cv_func__powl_use=no
25744 fi
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746 ac_ext=c
25747 ac_cpp='$CPP $CPPFLAGS'
25748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25751
25752
25753 fi
25754
25755 fi
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25757 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25758
25759 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25760 for ac_func in _powl
25761 do :
25762 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25763 if test "x$ac_cv_func__powl" = x""yes; then :
25764 cat >>confdefs.h <<_ACEOF
25765 #define HAVE__POWL 1
25766 _ACEOF
25767
25768 fi
25769 done
25770
25771 fi
25772 fi
25773
25774
25775
25776
25777
25778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25779 $as_echo_n "checking for sqrtl declaration... " >&6; }
25780 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25781 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25782 $as_echo_n "(cached) " >&6
25783 else
25784
25785
25786 ac_ext=cpp
25787 ac_cpp='$CXXCPP $CPPFLAGS'
25788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25791
25792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25793 /* end confdefs.h. */
25794 #include <math.h>
25795 #ifdef HAVE_IEEEFP_H
25796 #include <ieeefp.h>
25797 #endif
25798
25799 int
25800 main ()
25801 {
25802 sqrtl(0);
25803 ;
25804 return 0;
25805 }
25806 _ACEOF
25807 if ac_fn_cxx_try_compile "$LINENO"; then :
25808 glibcxx_cv_func_sqrtl_use=yes
25809 else
25810 glibcxx_cv_func_sqrtl_use=no
25811 fi
25812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25813 ac_ext=c
25814 ac_cpp='$CPP $CPPFLAGS'
25815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25818
25819
25820 fi
25821
25822 fi
25823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25824 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25825
25826 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25827 for ac_func in sqrtl
25828 do :
25829 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25830 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25831 cat >>confdefs.h <<_ACEOF
25832 #define HAVE_SQRTL 1
25833 _ACEOF
25834
25835 fi
25836 done
25837
25838 else
25839
25840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25841 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25842 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25843 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25844 $as_echo_n "(cached) " >&6
25845 else
25846
25847
25848 ac_ext=cpp
25849 ac_cpp='$CXXCPP $CPPFLAGS'
25850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25853
25854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25855 /* end confdefs.h. */
25856 #include <math.h>
25857 #ifdef HAVE_IEEEFP_H
25858 #include <ieeefp.h>
25859 #endif
25860
25861 int
25862 main ()
25863 {
25864 _sqrtl(0);
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 if ac_fn_cxx_try_compile "$LINENO"; then :
25870 glibcxx_cv_func__sqrtl_use=yes
25871 else
25872 glibcxx_cv_func__sqrtl_use=no
25873 fi
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875 ac_ext=c
25876 ac_cpp='$CPP $CPPFLAGS'
25877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25880
25881
25882 fi
25883
25884 fi
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25886 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25887
25888 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25889 for ac_func in _sqrtl
25890 do :
25891 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25892 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25893 cat >>confdefs.h <<_ACEOF
25894 #define HAVE__SQRTL 1
25895 _ACEOF
25896
25897 fi
25898 done
25899
25900 fi
25901 fi
25902
25903
25904
25905
25906
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25908 $as_echo_n "checking for sincosl declaration... " >&6; }
25909 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25910 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25913
25914
25915 ac_ext=cpp
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25923 #include <math.h>
25924 int
25925 main ()
25926 {
25927 sincosl(0, 0, 0);
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 if ac_fn_cxx_try_compile "$LINENO"; then :
25933 glibcxx_cv_func_sincosl_use=yes
25934 else
25935 glibcxx_cv_func_sincosl_use=no
25936 fi
25937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25938 ac_ext=c
25939 ac_cpp='$CPP $CPPFLAGS'
25940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25943
25944
25945 fi
25946
25947 fi
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25949 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25950
25951 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25952 for ac_func in sincosl
25953 do :
25954 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25955 if test "x$ac_cv_func_sincosl" = x""yes; then :
25956 cat >>confdefs.h <<_ACEOF
25957 #define HAVE_SINCOSL 1
25958 _ACEOF
25959
25960 fi
25961 done
25962
25963 else
25964
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25966 $as_echo_n "checking for _sincosl declaration... " >&6; }
25967 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25968 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25969 $as_echo_n "(cached) " >&6
25970 else
25971
25972
25973 ac_ext=cpp
25974 ac_cpp='$CXXCPP $CPPFLAGS'
25975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25978
25979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25980 /* end confdefs.h. */
25981 #include <math.h>
25982 int
25983 main ()
25984 {
25985 _sincosl(0, 0, 0);
25986 ;
25987 return 0;
25988 }
25989 _ACEOF
25990 if ac_fn_cxx_try_compile "$LINENO"; then :
25991 glibcxx_cv_func__sincosl_use=yes
25992 else
25993 glibcxx_cv_func__sincosl_use=no
25994 fi
25995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25996 ac_ext=c
25997 ac_cpp='$CPP $CPPFLAGS'
25998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26001
26002
26003 fi
26004
26005 fi
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26007 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26008
26009 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26010 for ac_func in _sincosl
26011 do :
26012 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26013 if test "x$ac_cv_func__sincosl" = x""yes; then :
26014 cat >>confdefs.h <<_ACEOF
26015 #define HAVE__SINCOSL 1
26016 _ACEOF
26017
26018 fi
26019 done
26020
26021 fi
26022 fi
26023
26024
26025
26026
26027
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26029 $as_echo_n "checking for finitel declaration... " >&6; }
26030 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26031 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26032 $as_echo_n "(cached) " >&6
26033 else
26034
26035
26036 ac_ext=cpp
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26041
26042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26043 /* end confdefs.h. */
26044 #include <math.h>
26045 #ifdef HAVE_IEEEFP_H
26046 #include <ieeefp.h>
26047 #endif
26048
26049 int
26050 main ()
26051 {
26052 finitel(0);
26053 ;
26054 return 0;
26055 }
26056 _ACEOF
26057 if ac_fn_cxx_try_compile "$LINENO"; then :
26058 glibcxx_cv_func_finitel_use=yes
26059 else
26060 glibcxx_cv_func_finitel_use=no
26061 fi
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 ac_ext=c
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26068
26069
26070 fi
26071
26072 fi
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26074 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26075
26076 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26077 for ac_func in finitel
26078 do :
26079 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26080 if test "x$ac_cv_func_finitel" = x""yes; then :
26081 cat >>confdefs.h <<_ACEOF
26082 #define HAVE_FINITEL 1
26083 _ACEOF
26084
26085 fi
26086 done
26087
26088 else
26089
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26091 $as_echo_n "checking for _finitel declaration... " >&6; }
26092 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26093 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26094 $as_echo_n "(cached) " >&6
26095 else
26096
26097
26098 ac_ext=cpp
26099 ac_cpp='$CXXCPP $CPPFLAGS'
26100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26103
26104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26105 /* end confdefs.h. */
26106 #include <math.h>
26107 #ifdef HAVE_IEEEFP_H
26108 #include <ieeefp.h>
26109 #endif
26110
26111 int
26112 main ()
26113 {
26114 _finitel(0);
26115 ;
26116 return 0;
26117 }
26118 _ACEOF
26119 if ac_fn_cxx_try_compile "$LINENO"; then :
26120 glibcxx_cv_func__finitel_use=yes
26121 else
26122 glibcxx_cv_func__finitel_use=no
26123 fi
26124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 ac_ext=c
26126 ac_cpp='$CPP $CPPFLAGS'
26127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26130
26131
26132 fi
26133
26134 fi
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26136 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26137
26138 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26139 for ac_func in _finitel
26140 do :
26141 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26142 if test "x$ac_cv_func__finitel" = x""yes; then :
26143 cat >>confdefs.h <<_ACEOF
26144 #define HAVE__FINITEL 1
26145 _ACEOF
26146
26147 fi
26148 done
26149
26150 fi
26151 fi
26152
26153
26154
26155
26156 LIBS="$ac_save_LIBS"
26157 CXXFLAGS="$ac_save_CXXFLAGS"
26158
26159
26160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26161 ac_save_CXXFLAGS="$CXXFLAGS"
26162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26163
26164
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26166 $as_echo_n "checking for strtold declaration... " >&6; }
26167 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26168 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26169 $as_echo_n "(cached) " >&6
26170 else
26171
26172
26173 ac_ext=cpp
26174 ac_cpp='$CXXCPP $CPPFLAGS'
26175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 #include <stdlib.h>
26182 int
26183 main ()
26184 {
26185 strtold(0, 0);
26186 ;
26187 return 0;
26188 }
26189 _ACEOF
26190 if ac_fn_cxx_try_compile "$LINENO"; then :
26191 glibcxx_cv_func_strtold_use=yes
26192 else
26193 glibcxx_cv_func_strtold_use=no
26194 fi
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26196 ac_ext=c
26197 ac_cpp='$CPP $CPPFLAGS'
26198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26201
26202
26203 fi
26204
26205 fi
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26207 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26208 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26209 for ac_func in strtold
26210 do :
26211 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26212 if test "x$ac_cv_func_strtold" = x""yes; then :
26213 cat >>confdefs.h <<_ACEOF
26214 #define HAVE_STRTOLD 1
26215 _ACEOF
26216
26217 fi
26218 done
26219
26220 fi
26221
26222
26223
26224
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26226 $as_echo_n "checking for strtof declaration... " >&6; }
26227 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26228 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26229 $as_echo_n "(cached) " >&6
26230 else
26231
26232
26233 ac_ext=cpp
26234 ac_cpp='$CXXCPP $CPPFLAGS'
26235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26238
26239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26240 /* end confdefs.h. */
26241 #include <stdlib.h>
26242 int
26243 main ()
26244 {
26245 strtof(0, 0);
26246 ;
26247 return 0;
26248 }
26249 _ACEOF
26250 if ac_fn_cxx_try_compile "$LINENO"; then :
26251 glibcxx_cv_func_strtof_use=yes
26252 else
26253 glibcxx_cv_func_strtof_use=no
26254 fi
26255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26256 ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261
26262
26263 fi
26264
26265 fi
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26267 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26268 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26269 for ac_func in strtof
26270 do :
26271 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26272 if test "x$ac_cv_func_strtof" = x""yes; then :
26273 cat >>confdefs.h <<_ACEOF
26274 #define HAVE_STRTOF 1
26275 _ACEOF
26276
26277 fi
26278 done
26279
26280 fi
26281
26282
26283
26284
26285 CXXFLAGS="$ac_save_CXXFLAGS"
26286
26287
26288 # For /dev/random and /dev/urandom for TR1.
26289
26290
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26292 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26293 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26296
26297 if test -r /dev/random && test -r /dev/urandom; then
26298 glibcxx_cv_random_tr1=yes;
26299 else
26300 glibcxx_cv_random_tr1=no;
26301 fi
26302
26303 fi
26304
26305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26306 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26307
26308 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26309
26310 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26311
26312 fi
26313
26314
26315
26316 # For TLS support.
26317
26318
26319 # Check whether --enable-tls was given.
26320 if test "${enable_tls+set}" = set; then :
26321 enableval=$enable_tls;
26322 case "$enableval" in
26323 yes|no) ;;
26324 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26325 esac
26326
26327 else
26328 enable_tls=yes
26329 fi
26330
26331
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26333 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26334 if test "${gcc_cv_have_tls+set}" = set; then :
26335 $as_echo_n "(cached) " >&6
26336 else
26337
26338 if test "$cross_compiling" = yes; then :
26339 if test x$gcc_no_link = xyes; then
26340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26341 fi
26342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26343 /* end confdefs.h. */
26344 __thread int a; int b; int main() { return a = b; }
26345 _ACEOF
26346 if ac_fn_c_try_link "$LINENO"; then :
26347 chktls_save_LDFLAGS="$LDFLAGS"
26348 case $host in
26349 *-*-linux*)
26350 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26351 ;;
26352 esac
26353 chktls_save_CFLAGS="$CFLAGS"
26354 CFLAGS="-fPIC $CFLAGS"
26355 if test x$gcc_no_link = xyes; then
26356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26357 fi
26358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26360 int f() { return 0; }
26361 _ACEOF
26362 if ac_fn_c_try_link "$LINENO"; then :
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26365 fi
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 __thread int a; int b; int f() { return a = b; }
26369 _ACEOF
26370 if ac_fn_c_try_link "$LINENO"; then :
26371 gcc_cv_have_tls=yes
26372 else
26373 gcc_cv_have_tls=no
26374 fi
26375 rm -f core conftest.err conftest.$ac_objext \
26376 conftest$ac_exeext conftest.$ac_ext
26377 else
26378 gcc_cv_have_tls=yes
26379 fi
26380 rm -f core conftest.err conftest.$ac_objext \
26381 conftest$ac_exeext conftest.$ac_ext
26382 CFLAGS="$chktls_save_CFLAGS"
26383 LDFLAGS="$chktls_save_LDFLAGS"
26384 else
26385 gcc_cv_have_tls=no
26386 fi
26387 rm -f core conftest.err conftest.$ac_objext \
26388 conftest$ac_exeext conftest.$ac_ext
26389
26390
26391 else
26392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26393 /* end confdefs.h. */
26394 __thread int a; int b; int main() { return a = b; }
26395 _ACEOF
26396 if ac_fn_c_try_run "$LINENO"; then :
26397 chktls_save_LDFLAGS="$LDFLAGS"
26398 LDFLAGS="-static $LDFLAGS"
26399 if test x$gcc_no_link = xyes; then
26400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26401 fi
26402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26403 /* end confdefs.h. */
26404 int main() { return 0; }
26405 _ACEOF
26406 if ac_fn_c_try_link "$LINENO"; then :
26407 if test "$cross_compiling" = yes; then :
26408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26410 as_fn_error "cannot run test program while cross compiling
26411 See \`config.log' for more details." "$LINENO" 5; }
26412 else
26413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h. */
26415 __thread int a; int b; int main() { return a = b; }
26416 _ACEOF
26417 if ac_fn_c_try_run "$LINENO"; then :
26418 gcc_cv_have_tls=yes
26419 else
26420 gcc_cv_have_tls=no
26421 fi
26422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26423 conftest.$ac_objext conftest.beam conftest.$ac_ext
26424 fi
26425
26426 else
26427 gcc_cv_have_tls=yes
26428 fi
26429 rm -f core conftest.err conftest.$ac_objext \
26430 conftest$ac_exeext conftest.$ac_ext
26431 LDFLAGS="$chktls_save_LDFLAGS"
26432 if test $gcc_cv_have_tls = yes; then
26433 chktls_save_CFLAGS="$CFLAGS"
26434 thread_CFLAGS=failed
26435 for flag in '' '-pthread' '-lpthread'; do
26436 CFLAGS="$flag $chktls_save_CFLAGS"
26437 if test x$gcc_no_link = xyes; then
26438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26439 fi
26440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26441 /* end confdefs.h. */
26442 #include <pthread.h>
26443 void *g(void *d) { return NULL; }
26444 int
26445 main ()
26446 {
26447 pthread_t t; pthread_create(&t,NULL,g,NULL);
26448 ;
26449 return 0;
26450 }
26451 _ACEOF
26452 if ac_fn_c_try_link "$LINENO"; then :
26453 thread_CFLAGS="$flag"
26454 fi
26455 rm -f core conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26457 if test "X$thread_CFLAGS" != Xfailed; then
26458 break
26459 fi
26460 done
26461 CFLAGS="$chktls_save_CFLAGS"
26462 if test "X$thread_CFLAGS" != Xfailed; then
26463 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26464 if test "$cross_compiling" = yes; then :
26465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26467 as_fn_error "cannot run test program while cross compiling
26468 See \`config.log' for more details." "$LINENO" 5; }
26469 else
26470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26471 /* end confdefs.h. */
26472 #include <pthread.h>
26473 __thread int a;
26474 static int *volatile a_in_other_thread;
26475 static void *
26476 thread_func (void *arg)
26477 {
26478 a_in_other_thread = &a;
26479 return (void *)0;
26480 }
26481 int
26482 main ()
26483 {
26484 pthread_t thread;
26485 void *thread_retval;
26486 int *volatile a_in_main_thread;
26487 a_in_main_thread = &a;
26488 if (pthread_create (&thread, (pthread_attr_t *)0,
26489 thread_func, (void *)0))
26490 return 0;
26491 if (pthread_join (thread, &thread_retval))
26492 return 0;
26493 return (a_in_other_thread == a_in_main_thread);
26494 ;
26495 return 0;
26496 }
26497 _ACEOF
26498 if ac_fn_c_try_run "$LINENO"; then :
26499 gcc_cv_have_tls=yes
26500 else
26501 gcc_cv_have_tls=no
26502 fi
26503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26504 conftest.$ac_objext conftest.beam conftest.$ac_ext
26505 fi
26506
26507 CFLAGS="$chktls_save_CFLAGS"
26508 fi
26509 fi
26510 else
26511 gcc_cv_have_tls=no
26512 fi
26513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26514 conftest.$ac_objext conftest.beam conftest.$ac_ext
26515 fi
26516
26517 fi
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26519 $as_echo "$gcc_cv_have_tls" >&6; }
26520 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26521
26522 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26523
26524 fi
26525
26526 # For iconv support.
26527
26528 if test "X$prefix" = "XNONE"; then
26529 acl_final_prefix="$ac_default_prefix"
26530 else
26531 acl_final_prefix="$prefix"
26532 fi
26533 if test "X$exec_prefix" = "XNONE"; then
26534 acl_final_exec_prefix='${prefix}'
26535 else
26536 acl_final_exec_prefix="$exec_prefix"
26537 fi
26538 acl_save_prefix="$prefix"
26539 prefix="$acl_final_prefix"
26540 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26541 prefix="$acl_save_prefix"
26542
26543
26544 # Check whether --with-gnu-ld was given.
26545 if test "${with_gnu_ld+set}" = set; then :
26546 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26547 else
26548 with_gnu_ld=no
26549 fi
26550
26551 # Prepare PATH_SEPARATOR.
26552 # The user is always right.
26553 if test "${PATH_SEPARATOR+set}" != set; then
26554 echo "#! /bin/sh" >conf$$.sh
26555 echo "exit 0" >>conf$$.sh
26556 chmod +x conf$$.sh
26557 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26558 PATH_SEPARATOR=';'
26559 else
26560 PATH_SEPARATOR=:
26561 fi
26562 rm -f conf$$.sh
26563 fi
26564 ac_prog=ld
26565 if test "$GCC" = yes; then
26566 # Check if gcc -print-prog-name=ld gives a path.
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26568 $as_echo_n "checking for ld used by GCC... " >&6; }
26569 case $host in
26570 *-*-mingw*)
26571 # gcc leaves a trailing carriage return which upsets mingw
26572 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26573 *)
26574 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26575 esac
26576 case $ac_prog in
26577 # Accept absolute paths.
26578 [\\/]* | [A-Za-z]:[\\/]*)
26579 re_direlt='/[^/][^/]*/\.\./'
26580 # Canonicalize the path of ld
26581 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26582 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26583 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26584 done
26585 test -z "$LD" && LD="$ac_prog"
26586 ;;
26587 "")
26588 # If it fails, then pretend we aren't using GCC.
26589 ac_prog=ld
26590 ;;
26591 *)
26592 # If it is relative, then search for the first ld in PATH.
26593 with_gnu_ld=unknown
26594 ;;
26595 esac
26596 elif test "$with_gnu_ld" = yes; then
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26598 $as_echo_n "checking for GNU ld... " >&6; }
26599 else
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26601 $as_echo_n "checking for non-GNU ld... " >&6; }
26602 fi
26603 if test "${acl_cv_path_LD+set}" = set; then :
26604 $as_echo_n "(cached) " >&6
26605 else
26606 if test -z "$LD"; then
26607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26608 for ac_dir in $PATH; do
26609 test -z "$ac_dir" && ac_dir=.
26610 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26611 acl_cv_path_LD="$ac_dir/$ac_prog"
26612 # Check to see if the program is GNU ld. I'd rather use --version,
26613 # but apparently some GNU ld's only accept -v.
26614 # Break only if it was the GNU/non-GNU ld that we prefer.
26615 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26616 test "$with_gnu_ld" != no && break
26617 else
26618 test "$with_gnu_ld" != yes && break
26619 fi
26620 fi
26621 done
26622 IFS="$ac_save_ifs"
26623 else
26624 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26625 fi
26626 fi
26627
26628 LD="$acl_cv_path_LD"
26629 if test -n "$LD"; then
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26631 $as_echo "$LD" >&6; }
26632 else
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26634 $as_echo "no" >&6; }
26635 fi
26636 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26638 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26639 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26640 $as_echo_n "(cached) " >&6
26641 else
26642 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26643 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26644 acl_cv_prog_gnu_ld=yes
26645 else
26646 acl_cv_prog_gnu_ld=no
26647 fi
26648 fi
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26650 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26651 with_gnu_ld=$acl_cv_prog_gnu_ld
26652
26653
26654
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26656 $as_echo_n "checking for shared library run path origin... " >&6; }
26657 if test "${acl_cv_rpath+set}" = set; then :
26658 $as_echo_n "(cached) " >&6
26659 else
26660
26661 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26662 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26663 . ./conftest.sh
26664 rm -f ./conftest.sh
26665 acl_cv_rpath=done
26666
26667 fi
26668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26669 $as_echo "$acl_cv_rpath" >&6; }
26670 wl="$acl_cv_wl"
26671 libext="$acl_cv_libext"
26672 shlibext="$acl_cv_shlibext"
26673 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26674 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26675 hardcode_direct="$acl_cv_hardcode_direct"
26676 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26677 # Check whether --enable-rpath was given.
26678 if test "${enable_rpath+set}" = set; then :
26679 enableval=$enable_rpath; :
26680 else
26681 enable_rpath=yes
26682 fi
26683
26684
26685
26686
26687
26688
26689
26690
26691 use_additional=yes
26692
26693 acl_save_prefix="$prefix"
26694 prefix="$acl_final_prefix"
26695 acl_save_exec_prefix="$exec_prefix"
26696 exec_prefix="$acl_final_exec_prefix"
26697
26698 eval additional_includedir=\"$includedir\"
26699 eval additional_libdir=\"$libdir\"
26700
26701 exec_prefix="$acl_save_exec_prefix"
26702 prefix="$acl_save_prefix"
26703
26704
26705 # Check whether --with-libiconv-prefix was given.
26706 if test "${with_libiconv_prefix+set}" = set; then :
26707 withval=$with_libiconv_prefix;
26708 if test "X$withval" = "Xno"; then
26709 use_additional=no
26710 else
26711 if test "X$withval" = "X"; then
26712
26713 acl_save_prefix="$prefix"
26714 prefix="$acl_final_prefix"
26715 acl_save_exec_prefix="$exec_prefix"
26716 exec_prefix="$acl_final_exec_prefix"
26717
26718 eval additional_includedir=\"$includedir\"
26719 eval additional_libdir=\"$libdir\"
26720
26721 exec_prefix="$acl_save_exec_prefix"
26722 prefix="$acl_save_prefix"
26723
26724 else
26725 additional_includedir="$withval/include"
26726 additional_libdir="$withval/lib"
26727 fi
26728 fi
26729
26730 fi
26731
26732 LIBICONV=
26733 LTLIBICONV=
26734 INCICONV=
26735 rpathdirs=
26736 ltrpathdirs=
26737 names_already_handled=
26738 names_next_round='iconv '
26739 while test -n "$names_next_round"; do
26740 names_this_round="$names_next_round"
26741 names_next_round=
26742 for name in $names_this_round; do
26743 already_handled=
26744 for n in $names_already_handled; do
26745 if test "$n" = "$name"; then
26746 already_handled=yes
26747 break
26748 fi
26749 done
26750 if test -z "$already_handled"; then
26751 names_already_handled="$names_already_handled $name"
26752 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26753 eval value=\"\$HAVE_LIB$uppername\"
26754 if test -n "$value"; then
26755 if test "$value" = yes; then
26756 eval value=\"\$LIB$uppername\"
26757 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26758 eval value=\"\$LTLIB$uppername\"
26759 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26760 else
26761 :
26762 fi
26763 else
26764 found_dir=
26765 found_la=
26766 found_so=
26767 found_a=
26768 if test $use_additional = yes; then
26769 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26770 found_dir="$additional_libdir"
26771 found_so="$additional_libdir/lib$name.$shlibext"
26772 if test -f "$additional_libdir/lib$name.la"; then
26773 found_la="$additional_libdir/lib$name.la"
26774 fi
26775 else
26776 if test -f "$additional_libdir/lib$name.$libext"; then
26777 found_dir="$additional_libdir"
26778 found_a="$additional_libdir/lib$name.$libext"
26779 if test -f "$additional_libdir/lib$name.la"; then
26780 found_la="$additional_libdir/lib$name.la"
26781 fi
26782 fi
26783 fi
26784 fi
26785 if test "X$found_dir" = "X"; then
26786 for x in $LDFLAGS $LTLIBICONV; do
26787
26788 acl_save_prefix="$prefix"
26789 prefix="$acl_final_prefix"
26790 acl_save_exec_prefix="$exec_prefix"
26791 exec_prefix="$acl_final_exec_prefix"
26792 eval x=\"$x\"
26793 exec_prefix="$acl_save_exec_prefix"
26794 prefix="$acl_save_prefix"
26795
26796 case "$x" in
26797 -L*)
26798 dir=`echo "X$x" | sed -e 's/^X-L//'`
26799 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26800 found_dir="$dir"
26801 found_so="$dir/lib$name.$shlibext"
26802 if test -f "$dir/lib$name.la"; then
26803 found_la="$dir/lib$name.la"
26804 fi
26805 else
26806 if test -f "$dir/lib$name.$libext"; then
26807 found_dir="$dir"
26808 found_a="$dir/lib$name.$libext"
26809 if test -f "$dir/lib$name.la"; then
26810 found_la="$dir/lib$name.la"
26811 fi
26812 fi
26813 fi
26814 ;;
26815 esac
26816 if test "X$found_dir" != "X"; then
26817 break
26818 fi
26819 done
26820 fi
26821 if test "X$found_dir" != "X"; then
26822 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26823 if test "X$found_so" != "X"; then
26824 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26825 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26826 else
26827 haveit=
26828 for x in $ltrpathdirs; do
26829 if test "X$x" = "X$found_dir"; then
26830 haveit=yes
26831 break
26832 fi
26833 done
26834 if test -z "$haveit"; then
26835 ltrpathdirs="$ltrpathdirs $found_dir"
26836 fi
26837 if test "$hardcode_direct" = yes; then
26838 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26839 else
26840 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26842 haveit=
26843 for x in $rpathdirs; do
26844 if test "X$x" = "X$found_dir"; then
26845 haveit=yes
26846 break
26847 fi
26848 done
26849 if test -z "$haveit"; then
26850 rpathdirs="$rpathdirs $found_dir"
26851 fi
26852 else
26853 haveit=
26854 for x in $LDFLAGS $LIBICONV; do
26855
26856 acl_save_prefix="$prefix"
26857 prefix="$acl_final_prefix"
26858 acl_save_exec_prefix="$exec_prefix"
26859 exec_prefix="$acl_final_exec_prefix"
26860 eval x=\"$x\"
26861 exec_prefix="$acl_save_exec_prefix"
26862 prefix="$acl_save_prefix"
26863
26864 if test "X$x" = "X-L$found_dir"; then
26865 haveit=yes
26866 break
26867 fi
26868 done
26869 if test -z "$haveit"; then
26870 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26871 fi
26872 if test "$hardcode_minus_L" != no; then
26873 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26874 else
26875 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26876 fi
26877 fi
26878 fi
26879 fi
26880 else
26881 if test "X$found_a" != "X"; then
26882 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26883 else
26884 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26885 fi
26886 fi
26887 additional_includedir=
26888 case "$found_dir" in
26889 */lib | */lib/)
26890 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26891 additional_includedir="$basedir/include"
26892 ;;
26893 esac
26894 if test "X$additional_includedir" != "X"; then
26895 if test "X$additional_includedir" != "X/usr/include"; then
26896 haveit=
26897 if test "X$additional_includedir" = "X/usr/local/include"; then
26898 if test -n "$GCC"; then
26899 case $host_os in
26900 linux*) haveit=yes;;
26901 esac
26902 fi
26903 fi
26904 if test -z "$haveit"; then
26905 for x in $CPPFLAGS $INCICONV; do
26906
26907 acl_save_prefix="$prefix"
26908 prefix="$acl_final_prefix"
26909 acl_save_exec_prefix="$exec_prefix"
26910 exec_prefix="$acl_final_exec_prefix"
26911 eval x=\"$x\"
26912 exec_prefix="$acl_save_exec_prefix"
26913 prefix="$acl_save_prefix"
26914
26915 if test "X$x" = "X-I$additional_includedir"; then
26916 haveit=yes
26917 break
26918 fi
26919 done
26920 if test -z "$haveit"; then
26921 if test -d "$additional_includedir"; then
26922 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26923 fi
26924 fi
26925 fi
26926 fi
26927 fi
26928 if test -n "$found_la"; then
26929 save_libdir="$libdir"
26930 case "$found_la" in
26931 */* | *\\*) . "$found_la" ;;
26932 *) . "./$found_la" ;;
26933 esac
26934 libdir="$save_libdir"
26935 for dep in $dependency_libs; do
26936 case "$dep" in
26937 -L*)
26938 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26939 if test "X$additional_libdir" != "X/usr/lib"; then
26940 haveit=
26941 if test "X$additional_libdir" = "X/usr/local/lib"; then
26942 if test -n "$GCC"; then
26943 case $host_os in
26944 linux*) haveit=yes;;
26945 esac
26946 fi
26947 fi
26948 if test -z "$haveit"; then
26949 haveit=
26950 for x in $LDFLAGS $LIBICONV; do
26951
26952 acl_save_prefix="$prefix"
26953 prefix="$acl_final_prefix"
26954 acl_save_exec_prefix="$exec_prefix"
26955 exec_prefix="$acl_final_exec_prefix"
26956 eval x=\"$x\"
26957 exec_prefix="$acl_save_exec_prefix"
26958 prefix="$acl_save_prefix"
26959
26960 if test "X$x" = "X-L$additional_libdir"; then
26961 haveit=yes
26962 break
26963 fi
26964 done
26965 if test -z "$haveit"; then
26966 if test -d "$additional_libdir"; then
26967 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26968 fi
26969 fi
26970 haveit=
26971 for x in $LDFLAGS $LTLIBICONV; do
26972
26973 acl_save_prefix="$prefix"
26974 prefix="$acl_final_prefix"
26975 acl_save_exec_prefix="$exec_prefix"
26976 exec_prefix="$acl_final_exec_prefix"
26977 eval x=\"$x\"
26978 exec_prefix="$acl_save_exec_prefix"
26979 prefix="$acl_save_prefix"
26980
26981 if test "X$x" = "X-L$additional_libdir"; then
26982 haveit=yes
26983 break
26984 fi
26985 done
26986 if test -z "$haveit"; then
26987 if test -d "$additional_libdir"; then
26988 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26989 fi
26990 fi
26991 fi
26992 fi
26993 ;;
26994 -R*)
26995 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26996 if test "$enable_rpath" != no; then
26997 haveit=
26998 for x in $rpathdirs; do
26999 if test "X$x" = "X$dir"; then
27000 haveit=yes
27001 break
27002 fi
27003 done
27004 if test -z "$haveit"; then
27005 rpathdirs="$rpathdirs $dir"
27006 fi
27007 haveit=
27008 for x in $ltrpathdirs; do
27009 if test "X$x" = "X$dir"; then
27010 haveit=yes
27011 break
27012 fi
27013 done
27014 if test -z "$haveit"; then
27015 ltrpathdirs="$ltrpathdirs $dir"
27016 fi
27017 fi
27018 ;;
27019 -l*)
27020 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27021 ;;
27022 *.la)
27023 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27024 ;;
27025 *)
27026 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27027 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27028 ;;
27029 esac
27030 done
27031 fi
27032 else
27033 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27034 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27035 fi
27036 fi
27037 fi
27038 done
27039 done
27040 if test "X$rpathdirs" != "X"; then
27041 if test -n "$hardcode_libdir_separator"; then
27042 alldirs=
27043 for found_dir in $rpathdirs; do
27044 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27045 done
27046 acl_save_libdir="$libdir"
27047 libdir="$alldirs"
27048 eval flag=\"$hardcode_libdir_flag_spec\"
27049 libdir="$acl_save_libdir"
27050 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27051 else
27052 for found_dir in $rpathdirs; do
27053 acl_save_libdir="$libdir"
27054 libdir="$found_dir"
27055 eval flag=\"$hardcode_libdir_flag_spec\"
27056 libdir="$acl_save_libdir"
27057 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27058 done
27059 fi
27060 fi
27061 if test "X$ltrpathdirs" != "X"; then
27062 for found_dir in $ltrpathdirs; do
27063 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27064 done
27065 fi
27066
27067
27068
27069
27070
27071
27072
27073 am_save_CPPFLAGS="$CPPFLAGS"
27074
27075 for element in $INCICONV; do
27076 haveit=
27077 for x in $CPPFLAGS; do
27078
27079 acl_save_prefix="$prefix"
27080 prefix="$acl_final_prefix"
27081 acl_save_exec_prefix="$exec_prefix"
27082 exec_prefix="$acl_final_exec_prefix"
27083 eval x=\"$x\"
27084 exec_prefix="$acl_save_exec_prefix"
27085 prefix="$acl_save_prefix"
27086
27087 if test "X$x" = "X$element"; then
27088 haveit=yes
27089 break
27090 fi
27091 done
27092 if test -z "$haveit"; then
27093 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27094 fi
27095 done
27096
27097
27098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27099 $as_echo_n "checking for iconv... " >&6; }
27100 if test "${am_cv_func_iconv+set}" = set; then :
27101 $as_echo_n "(cached) " >&6
27102 else
27103
27104 am_cv_func_iconv="no, consider installing GNU libiconv"
27105 am_cv_lib_iconv=no
27106 if test x$gcc_no_link = xyes; then
27107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27108 fi
27109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27110 /* end confdefs.h. */
27111 #include <stdlib.h>
27112 #include <iconv.h>
27113 int
27114 main ()
27115 {
27116 iconv_t cd = iconv_open("","");
27117 iconv(cd,NULL,NULL,NULL,NULL);
27118 iconv_close(cd);
27119 ;
27120 return 0;
27121 }
27122 _ACEOF
27123 if ac_fn_c_try_link "$LINENO"; then :
27124 am_cv_func_iconv=yes
27125 fi
27126 rm -f core conftest.err conftest.$ac_objext \
27127 conftest$ac_exeext conftest.$ac_ext
27128 if test "$am_cv_func_iconv" != yes; then
27129 am_save_LIBS="$LIBS"
27130 LIBS="$LIBS $LIBICONV"
27131 if test x$gcc_no_link = xyes; then
27132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27133 fi
27134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27135 /* end confdefs.h. */
27136 #include <stdlib.h>
27137 #include <iconv.h>
27138 int
27139 main ()
27140 {
27141 iconv_t cd = iconv_open("","");
27142 iconv(cd,NULL,NULL,NULL,NULL);
27143 iconv_close(cd);
27144 ;
27145 return 0;
27146 }
27147 _ACEOF
27148 if ac_fn_c_try_link "$LINENO"; then :
27149 am_cv_lib_iconv=yes
27150 am_cv_func_iconv=yes
27151 fi
27152 rm -f core conftest.err conftest.$ac_objext \
27153 conftest$ac_exeext conftest.$ac_ext
27154 LIBS="$am_save_LIBS"
27155 fi
27156
27157 fi
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27159 $as_echo "$am_cv_func_iconv" >&6; }
27160 if test "$am_cv_func_iconv" = yes; then
27161
27162 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27163
27164 fi
27165 if test "$am_cv_lib_iconv" = yes; then
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27167 $as_echo_n "checking how to link with libiconv... " >&6; }
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27169 $as_echo "$LIBICONV" >&6; }
27170 else
27171 CPPFLAGS="$am_save_CPPFLAGS"
27172 LIBICONV=
27173 LTLIBICONV=
27174 fi
27175
27176
27177
27178 if test "$am_cv_func_iconv" = yes; then
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27180 $as_echo_n "checking for iconv declaration... " >&6; }
27181 if test "${am_cv_proto_iconv+set}" = set; then :
27182 $as_echo_n "(cached) " >&6
27183 else
27184
27185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27186 /* end confdefs.h. */
27187
27188 #include <stdlib.h>
27189 #include <iconv.h>
27190 extern
27191 #ifdef __cplusplus
27192 "C"
27193 #endif
27194 #if defined(__STDC__) || defined(__cplusplus)
27195 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27196 #else
27197 size_t iconv();
27198 #endif
27199
27200 int
27201 main ()
27202 {
27203
27204 ;
27205 return 0;
27206 }
27207 _ACEOF
27208 if ac_fn_c_try_compile "$LINENO"; then :
27209 am_cv_proto_iconv_arg1=""
27210 else
27211 am_cv_proto_iconv_arg1="const"
27212 fi
27213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27214 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);"
27215 fi
27216
27217 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27219 }$am_cv_proto_iconv" >&5
27220 $as_echo "${ac_t:-
27221 }$am_cv_proto_iconv" >&6; }
27222
27223 cat >>confdefs.h <<_ACEOF
27224 #define ICONV_CONST $am_cv_proto_iconv_arg1
27225 _ACEOF
27226
27227 fi
27228
27229
27230 else
27231
27232 # This lets us hard-code the functionality we know we'll have in the cross
27233 # target environment. "Let" is a sugar-coated word placed on an especially
27234 # dull and tedious hack, actually.
27235 #
27236 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27237 # that involve linking, can't be used:
27238 # "cannot open sim-crt0.o"
27239 # "cannot open crt0.o"
27240 # etc. All this is because there currently exists no unified, consistent
27241 # way for top level CC information to be passed down to target directories:
27242 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27243 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27244 # crosses can be removed.
27245
27246 # If Canadian cross, then don't pick up tools from the build directory.
27247 # Used only in GLIBCXX_EXPORT_INCLUDES.
27248 if test -n "$with_cross_host" &&
27249 test x"$build_alias" != x"$with_cross_host" &&
27250 test x"$build" != x"$target";
27251 then
27252 CANADIAN=yes
27253 else
27254 CANADIAN=no
27255 fi
27256
27257 # Construct crosses by hand, eliminating bits that need ld...
27258 # GLIBCXX_CHECK_MATH_SUPPORT
27259
27260 # First, test for "known" system libraries. We may be using newlib even
27261 # on a hosted environment.
27262 if test "x${with_newlib}" = "xyes"; then
27263 os_include_dir="os/newlib"
27264 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27265
27266
27267 # GLIBCXX_CHECK_STDLIB_SUPPORT
27268 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27269
27270
27271 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27272
27273 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27274
27275 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27276
27277 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27278
27279 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27280
27281 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27282
27283 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27284
27285 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27286
27287 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27288
27289 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27290
27291 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27292
27293 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27294
27295 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27296
27297 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27298
27299 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27300
27301 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27302
27303 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27304
27305 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27306
27307 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27308
27309 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27310
27311 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27312
27313 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27314
27315
27316 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27317
27318 else
27319
27320 # Base decisions on target environment.
27321 case "${host}" in
27322 arm*-*-symbianelf*)
27323 # This is a freestanding configuration; there is nothing to do here.
27324 ;;
27325
27326 mips*-sde-elf*)
27327 # These definitions are for the SDE C library rather than newlib.
27328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27329
27330
27331 # All these tests are for C++; save the language and the compiler flags.
27332 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27333 # found in GLIBCXX_CONFIGURE.
27334
27335 ac_ext=cpp
27336 ac_cpp='$CXXCPP $CPPFLAGS'
27337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27340
27341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27342 ac_save_CXXFLAGS="$CXXFLAGS"
27343
27344 # Check for maintainer-mode bits.
27345 if test x"$USE_MAINTAINER_MODE" = xno; then
27346 WERROR=''
27347 else
27348 WERROR='-Werror'
27349 fi
27350
27351 # Check for -ffunction-sections -fdata-sections
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27353 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27354 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27356 /* end confdefs.h. */
27357 int foo; void bar() { };
27358 int
27359 main ()
27360 {
27361
27362 ;
27363 return 0;
27364 }
27365 _ACEOF
27366 if ac_fn_cxx_try_compile "$LINENO"; then :
27367 ac_fdsections=yes
27368 else
27369 ac_fdsections=no
27370 fi
27371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27372 if test "$ac_test_CXXFLAGS" = set; then
27373 CXXFLAGS="$ac_save_CXXFLAGS"
27374 else
27375 # this is the suspicious part
27376 CXXFLAGS=''
27377 fi
27378 if test x"$ac_fdsections" = x"yes"; then
27379 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27380 fi
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27382 $as_echo "$ac_fdsections" >&6; }
27383
27384 ac_ext=c
27385 ac_cpp='$CPP $CPPFLAGS'
27386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27389
27390
27391
27392
27393
27394 # If we're not using GNU ld, then there's no point in even trying these
27395 # tests. Check for that first. We should have already tested for gld
27396 # by now (in libtool), but require it now just to be safe...
27397 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27398 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27399
27400
27401
27402 # The name set by libtool depends on the version of libtool. Shame on us
27403 # for depending on an impl detail, but c'est la vie. Older versions used
27404 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27405 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27406 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27407 # set (hence we're using an older libtool), then set it.
27408 if test x${with_gnu_ld+set} != xset; then
27409 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27410 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27411 with_gnu_ld=no
27412 else
27413 with_gnu_ld=$ac_cv_prog_gnu_ld
27414 fi
27415 fi
27416
27417 # Start by getting the version number. I think the libtool test already
27418 # does some of this, but throws away the result.
27419 glibcxx_ld_is_gold=no
27420 if test x"$with_gnu_ld" = x"yes"; then
27421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27422 $as_echo_n "checking for ld version... " >&6; }
27423
27424 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27425 glibcxx_ld_is_gold=yes
27426 fi
27427 ldver=`$LD --version 2>/dev/null |
27428 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
27429
27430 glibcxx_gnu_ld_version=`echo $ldver | \
27431 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27433 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27434 fi
27435
27436 # Set --gc-sections.
27437 glibcxx_have_gc_sections=no
27438 if test "$glibcxx_ld_is_gold" = "yes"; then
27439 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27440 glibcxx_have_gc_sections=yes
27441 fi
27442 else
27443 glibcxx_gcsections_min_ld=21602
27444 if test x"$with_gnu_ld" = x"yes" &&
27445 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27446 glibcxx_have_gc_sections=yes
27447 fi
27448 fi
27449 if test "$glibcxx_have_gc_sections" = "yes"; then
27450 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27451 # NB: This flag only works reliably after 2.16.1. Configure tests
27452 # for this are difficult, so hard wire a value that should work.
27453
27454 ac_test_CFLAGS="${CFLAGS+set}"
27455 ac_save_CFLAGS="$CFLAGS"
27456 CFLAGS='-Wl,--gc-sections'
27457
27458 # Check for -Wl,--gc-sections
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27460 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27461 if test x$gcc_no_link = xyes; then
27462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27463 fi
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27466 int one(void) { return 1; }
27467 int two(void) { return 2; }
27468
27469 int
27470 main ()
27471 {
27472 two();
27473 ;
27474 return 0;
27475 }
27476 _ACEOF
27477 if ac_fn_c_try_link "$LINENO"; then :
27478 ac_gcsections=yes
27479 else
27480 ac_gcsections=no
27481 fi
27482 rm -f core conftest.err conftest.$ac_objext \
27483 conftest$ac_exeext conftest.$ac_ext
27484 if test "$ac_gcsections" = "yes"; then
27485 rm -f conftest.c
27486 touch conftest.c
27487 if $CC -c conftest.c; then
27488 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27489 grep "Warning: gc-sections option ignored" > /dev/null; then
27490 ac_gcsections=no
27491 fi
27492 fi
27493 rm -f conftest.c conftest.o conftest
27494 fi
27495 if test "$ac_gcsections" = "yes"; then
27496 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27497 fi
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27499 $as_echo "$ac_gcsections" >&6; }
27500
27501 if test "$ac_test_CFLAGS" = set; then
27502 CFLAGS="$ac_save_CFLAGS"
27503 else
27504 # this is the suspicious part
27505 CFLAGS=''
27506 fi
27507 fi
27508
27509 # Set -z,relro.
27510 # Note this is only for shared objects.
27511 ac_ld_relro=no
27512 if test x"$with_gnu_ld" = x"yes"; then
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27514 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27515 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27516 if test -n "$cxx_z_relo"; then
27517 OPT_LDFLAGS="-Wl,-z,relro"
27518 ac_ld_relro=yes
27519 fi
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27521 $as_echo "$ac_ld_relro" >&6; }
27522 fi
27523
27524 # Set linker optimization flags.
27525 if test x"$with_gnu_ld" = x"yes"; then
27526 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27527 fi
27528
27529
27530
27531
27532
27533 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27534 ac_save_CXXFLAGS="$CXXFLAGS"
27535 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27536
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27538 $as_echo_n "checking for sin in -lm... " >&6; }
27539 if test "${ac_cv_lib_m_sin+set}" = set; then :
27540 $as_echo_n "(cached) " >&6
27541 else
27542 ac_check_lib_save_LIBS=$LIBS
27543 LIBS="-lm $LIBS"
27544 if test x$gcc_no_link = xyes; then
27545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27546 fi
27547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27548 /* end confdefs.h. */
27549
27550 /* Override any GCC internal prototype to avoid an error.
27551 Use char because int might match the return type of a GCC
27552 builtin and then its argument prototype would still apply. */
27553 #ifdef __cplusplus
27554 extern "C"
27555 #endif
27556 char sin ();
27557 int
27558 main ()
27559 {
27560 return sin ();
27561 ;
27562 return 0;
27563 }
27564 _ACEOF
27565 if ac_fn_c_try_link "$LINENO"; then :
27566 ac_cv_lib_m_sin=yes
27567 else
27568 ac_cv_lib_m_sin=no
27569 fi
27570 rm -f core conftest.err conftest.$ac_objext \
27571 conftest$ac_exeext conftest.$ac_ext
27572 LIBS=$ac_check_lib_save_LIBS
27573 fi
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27575 $as_echo "$ac_cv_lib_m_sin" >&6; }
27576 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27577 libm="-lm"
27578 fi
27579
27580 ac_save_LIBS="$LIBS"
27581 LIBS="$LIBS $libm"
27582
27583
27584
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27586 $as_echo_n "checking for isinf declaration... " >&6; }
27587 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27588 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27589 $as_echo_n "(cached) " >&6
27590 else
27591
27592
27593 ac_ext=cpp
27594 ac_cpp='$CXXCPP $CPPFLAGS'
27595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27598
27599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27600 /* end confdefs.h. */
27601 #include <math.h>
27602 #ifdef HAVE_IEEEFP_H
27603 #include <ieeefp.h>
27604 #endif
27605
27606 int
27607 main ()
27608 {
27609 isinf(0);
27610 ;
27611 return 0;
27612 }
27613 _ACEOF
27614 if ac_fn_cxx_try_compile "$LINENO"; then :
27615 glibcxx_cv_func_isinf_use=yes
27616 else
27617 glibcxx_cv_func_isinf_use=no
27618 fi
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27620 ac_ext=c
27621 ac_cpp='$CPP $CPPFLAGS'
27622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27625
27626
27627 fi
27628
27629 fi
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27631 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27632
27633 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27634 for ac_func in isinf
27635 do :
27636 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27637 if test "x$ac_cv_func_isinf" = x""yes; then :
27638 cat >>confdefs.h <<_ACEOF
27639 #define HAVE_ISINF 1
27640 _ACEOF
27641
27642 fi
27643 done
27644
27645 else
27646
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27648 $as_echo_n "checking for _isinf declaration... " >&6; }
27649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27651 $as_echo_n "(cached) " >&6
27652 else
27653
27654
27655 ac_ext=cpp
27656 ac_cpp='$CXXCPP $CPPFLAGS'
27657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27660
27661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 /* end confdefs.h. */
27663 #include <math.h>
27664 #ifdef HAVE_IEEEFP_H
27665 #include <ieeefp.h>
27666 #endif
27667
27668 int
27669 main ()
27670 {
27671 _isinf(0);
27672 ;
27673 return 0;
27674 }
27675 _ACEOF
27676 if ac_fn_cxx_try_compile "$LINENO"; then :
27677 glibcxx_cv_func__isinf_use=yes
27678 else
27679 glibcxx_cv_func__isinf_use=no
27680 fi
27681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27682 ac_ext=c
27683 ac_cpp='$CPP $CPPFLAGS'
27684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27687
27688
27689 fi
27690
27691 fi
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27693 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27694
27695 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27696 for ac_func in _isinf
27697 do :
27698 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27699 if test "x$ac_cv_func__isinf" = x""yes; then :
27700 cat >>confdefs.h <<_ACEOF
27701 #define HAVE__ISINF 1
27702 _ACEOF
27703
27704 fi
27705 done
27706
27707 fi
27708 fi
27709
27710
27711
27712
27713
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27715 $as_echo_n "checking for isnan declaration... " >&6; }
27716 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27717 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27718 $as_echo_n "(cached) " >&6
27719 else
27720
27721
27722 ac_ext=cpp
27723 ac_cpp='$CXXCPP $CPPFLAGS'
27724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27727
27728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27729 /* end confdefs.h. */
27730 #include <math.h>
27731 #ifdef HAVE_IEEEFP_H
27732 #include <ieeefp.h>
27733 #endif
27734
27735 int
27736 main ()
27737 {
27738 isnan(0);
27739 ;
27740 return 0;
27741 }
27742 _ACEOF
27743 if ac_fn_cxx_try_compile "$LINENO"; then :
27744 glibcxx_cv_func_isnan_use=yes
27745 else
27746 glibcxx_cv_func_isnan_use=no
27747 fi
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27754
27755
27756 fi
27757
27758 fi
27759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27760 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27761
27762 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27763 for ac_func in isnan
27764 do :
27765 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27766 if test "x$ac_cv_func_isnan" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_ISNAN 1
27769 _ACEOF
27770
27771 fi
27772 done
27773
27774 else
27775
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27777 $as_echo_n "checking for _isnan declaration... " >&6; }
27778 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27779 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27780 $as_echo_n "(cached) " >&6
27781 else
27782
27783
27784 ac_ext=cpp
27785 ac_cpp='$CXXCPP $CPPFLAGS'
27786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27789
27790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27791 /* end confdefs.h. */
27792 #include <math.h>
27793 #ifdef HAVE_IEEEFP_H
27794 #include <ieeefp.h>
27795 #endif
27796
27797 int
27798 main ()
27799 {
27800 _isnan(0);
27801 ;
27802 return 0;
27803 }
27804 _ACEOF
27805 if ac_fn_cxx_try_compile "$LINENO"; then :
27806 glibcxx_cv_func__isnan_use=yes
27807 else
27808 glibcxx_cv_func__isnan_use=no
27809 fi
27810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27811 ac_ext=c
27812 ac_cpp='$CPP $CPPFLAGS'
27813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27816
27817
27818 fi
27819
27820 fi
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27822 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27823
27824 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27825 for ac_func in _isnan
27826 do :
27827 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27828 if test "x$ac_cv_func__isnan" = x""yes; then :
27829 cat >>confdefs.h <<_ACEOF
27830 #define HAVE__ISNAN 1
27831 _ACEOF
27832
27833 fi
27834 done
27835
27836 fi
27837 fi
27838
27839
27840
27841
27842
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27844 $as_echo_n "checking for finite declaration... " >&6; }
27845 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27846 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27847 $as_echo_n "(cached) " >&6
27848 else
27849
27850
27851 ac_ext=cpp
27852 ac_cpp='$CXXCPP $CPPFLAGS'
27853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27856
27857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h. */
27859 #include <math.h>
27860 #ifdef HAVE_IEEEFP_H
27861 #include <ieeefp.h>
27862 #endif
27863
27864 int
27865 main ()
27866 {
27867 finite(0);
27868 ;
27869 return 0;
27870 }
27871 _ACEOF
27872 if ac_fn_cxx_try_compile "$LINENO"; then :
27873 glibcxx_cv_func_finite_use=yes
27874 else
27875 glibcxx_cv_func_finite_use=no
27876 fi
27877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27878 ac_ext=c
27879 ac_cpp='$CPP $CPPFLAGS'
27880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27883
27884
27885 fi
27886
27887 fi
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27889 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27890
27891 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27892 for ac_func in finite
27893 do :
27894 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27895 if test "x$ac_cv_func_finite" = x""yes; then :
27896 cat >>confdefs.h <<_ACEOF
27897 #define HAVE_FINITE 1
27898 _ACEOF
27899
27900 fi
27901 done
27902
27903 else
27904
27905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27906 $as_echo_n "checking for _finite declaration... " >&6; }
27907 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27908 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27909 $as_echo_n "(cached) " >&6
27910 else
27911
27912
27913 ac_ext=cpp
27914 ac_cpp='$CXXCPP $CPPFLAGS'
27915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27918
27919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27920 /* end confdefs.h. */
27921 #include <math.h>
27922 #ifdef HAVE_IEEEFP_H
27923 #include <ieeefp.h>
27924 #endif
27925
27926 int
27927 main ()
27928 {
27929 _finite(0);
27930 ;
27931 return 0;
27932 }
27933 _ACEOF
27934 if ac_fn_cxx_try_compile "$LINENO"; then :
27935 glibcxx_cv_func__finite_use=yes
27936 else
27937 glibcxx_cv_func__finite_use=no
27938 fi
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27940 ac_ext=c
27941 ac_cpp='$CPP $CPPFLAGS'
27942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27945
27946
27947 fi
27948
27949 fi
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27951 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27952
27953 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27954 for ac_func in _finite
27955 do :
27956 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27957 if test "x$ac_cv_func__finite" = x""yes; then :
27958 cat >>confdefs.h <<_ACEOF
27959 #define HAVE__FINITE 1
27960 _ACEOF
27961
27962 fi
27963 done
27964
27965 fi
27966 fi
27967
27968
27969
27970
27971
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27973 $as_echo_n "checking for sincos declaration... " >&6; }
27974 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27975 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27976 $as_echo_n "(cached) " >&6
27977 else
27978
27979
27980 ac_ext=cpp
27981 ac_cpp='$CXXCPP $CPPFLAGS'
27982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27985
27986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27987 /* end confdefs.h. */
27988 #include <math.h>
27989 int
27990 main ()
27991 {
27992 sincos(0, 0, 0);
27993 ;
27994 return 0;
27995 }
27996 _ACEOF
27997 if ac_fn_cxx_try_compile "$LINENO"; then :
27998 glibcxx_cv_func_sincos_use=yes
27999 else
28000 glibcxx_cv_func_sincos_use=no
28001 fi
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003 ac_ext=c
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28008
28009
28010 fi
28011
28012 fi
28013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28014 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28015
28016 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28017 for ac_func in sincos
28018 do :
28019 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28020 if test "x$ac_cv_func_sincos" = x""yes; then :
28021 cat >>confdefs.h <<_ACEOF
28022 #define HAVE_SINCOS 1
28023 _ACEOF
28024
28025 fi
28026 done
28027
28028 else
28029
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28031 $as_echo_n "checking for _sincos declaration... " >&6; }
28032 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28033 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28034 $as_echo_n "(cached) " >&6
28035 else
28036
28037
28038 ac_ext=cpp
28039 ac_cpp='$CXXCPP $CPPFLAGS'
28040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28043
28044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28045 /* end confdefs.h. */
28046 #include <math.h>
28047 int
28048 main ()
28049 {
28050 _sincos(0, 0, 0);
28051 ;
28052 return 0;
28053 }
28054 _ACEOF
28055 if ac_fn_cxx_try_compile "$LINENO"; then :
28056 glibcxx_cv_func__sincos_use=yes
28057 else
28058 glibcxx_cv_func__sincos_use=no
28059 fi
28060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28061 ac_ext=c
28062 ac_cpp='$CPP $CPPFLAGS'
28063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28066
28067
28068 fi
28069
28070 fi
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28072 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28073
28074 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28075 for ac_func in _sincos
28076 do :
28077 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28078 if test "x$ac_cv_func__sincos" = x""yes; then :
28079 cat >>confdefs.h <<_ACEOF
28080 #define HAVE__SINCOS 1
28081 _ACEOF
28082
28083 fi
28084 done
28085
28086 fi
28087 fi
28088
28089
28090
28091
28092
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28094 $as_echo_n "checking for fpclass declaration... " >&6; }
28095 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28096 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28097 $as_echo_n "(cached) " >&6
28098 else
28099
28100
28101 ac_ext=cpp
28102 ac_cpp='$CXXCPP $CPPFLAGS'
28103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28106
28107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28108 /* end confdefs.h. */
28109 #include <math.h>
28110 #ifdef HAVE_IEEEFP_H
28111 #include <ieeefp.h>
28112 #endif
28113
28114 int
28115 main ()
28116 {
28117 fpclass(0);
28118 ;
28119 return 0;
28120 }
28121 _ACEOF
28122 if ac_fn_cxx_try_compile "$LINENO"; then :
28123 glibcxx_cv_func_fpclass_use=yes
28124 else
28125 glibcxx_cv_func_fpclass_use=no
28126 fi
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28128 ac_ext=c
28129 ac_cpp='$CPP $CPPFLAGS'
28130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28133
28134
28135 fi
28136
28137 fi
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28139 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28140
28141 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28142 for ac_func in fpclass
28143 do :
28144 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28145 if test "x$ac_cv_func_fpclass" = x""yes; then :
28146 cat >>confdefs.h <<_ACEOF
28147 #define HAVE_FPCLASS 1
28148 _ACEOF
28149
28150 fi
28151 done
28152
28153 else
28154
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28156 $as_echo_n "checking for _fpclass declaration... " >&6; }
28157 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28158 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28159 $as_echo_n "(cached) " >&6
28160 else
28161
28162
28163 ac_ext=cpp
28164 ac_cpp='$CXXCPP $CPPFLAGS'
28165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28168
28169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28170 /* end confdefs.h. */
28171 #include <math.h>
28172 #ifdef HAVE_IEEEFP_H
28173 #include <ieeefp.h>
28174 #endif
28175
28176 int
28177 main ()
28178 {
28179 _fpclass(0);
28180 ;
28181 return 0;
28182 }
28183 _ACEOF
28184 if ac_fn_cxx_try_compile "$LINENO"; then :
28185 glibcxx_cv_func__fpclass_use=yes
28186 else
28187 glibcxx_cv_func__fpclass_use=no
28188 fi
28189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28190 ac_ext=c
28191 ac_cpp='$CPP $CPPFLAGS'
28192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28195
28196
28197 fi
28198
28199 fi
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28201 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28202
28203 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28204 for ac_func in _fpclass
28205 do :
28206 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28207 if test "x$ac_cv_func__fpclass" = x""yes; then :
28208 cat >>confdefs.h <<_ACEOF
28209 #define HAVE__FPCLASS 1
28210 _ACEOF
28211
28212 fi
28213 done
28214
28215 fi
28216 fi
28217
28218
28219
28220
28221
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28223 $as_echo_n "checking for qfpclass declaration... " >&6; }
28224 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28225 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28226 $as_echo_n "(cached) " >&6
28227 else
28228
28229
28230 ac_ext=cpp
28231 ac_cpp='$CXXCPP $CPPFLAGS'
28232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28235
28236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28237 /* end confdefs.h. */
28238 #include <math.h>
28239 #ifdef HAVE_IEEEFP_H
28240 #include <ieeefp.h>
28241 #endif
28242
28243 int
28244 main ()
28245 {
28246 qfpclass(0);
28247 ;
28248 return 0;
28249 }
28250 _ACEOF
28251 if ac_fn_cxx_try_compile "$LINENO"; then :
28252 glibcxx_cv_func_qfpclass_use=yes
28253 else
28254 glibcxx_cv_func_qfpclass_use=no
28255 fi
28256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28257 ac_ext=c
28258 ac_cpp='$CPP $CPPFLAGS'
28259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28262
28263
28264 fi
28265
28266 fi
28267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28268 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28269
28270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28271 for ac_func in qfpclass
28272 do :
28273 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28274 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28275 cat >>confdefs.h <<_ACEOF
28276 #define HAVE_QFPCLASS 1
28277 _ACEOF
28278
28279 fi
28280 done
28281
28282 else
28283
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28285 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28286 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28287 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28288 $as_echo_n "(cached) " >&6
28289 else
28290
28291
28292 ac_ext=cpp
28293 ac_cpp='$CXXCPP $CPPFLAGS'
28294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28297
28298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28299 /* end confdefs.h. */
28300 #include <math.h>
28301 #ifdef HAVE_IEEEFP_H
28302 #include <ieeefp.h>
28303 #endif
28304
28305 int
28306 main ()
28307 {
28308 _qfpclass(0);
28309 ;
28310 return 0;
28311 }
28312 _ACEOF
28313 if ac_fn_cxx_try_compile "$LINENO"; then :
28314 glibcxx_cv_func__qfpclass_use=yes
28315 else
28316 glibcxx_cv_func__qfpclass_use=no
28317 fi
28318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28319 ac_ext=c
28320 ac_cpp='$CPP $CPPFLAGS'
28321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28324
28325
28326 fi
28327
28328 fi
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28330 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28331
28332 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28333 for ac_func in _qfpclass
28334 do :
28335 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28336 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28337 cat >>confdefs.h <<_ACEOF
28338 #define HAVE__QFPCLASS 1
28339 _ACEOF
28340
28341 fi
28342 done
28343
28344 fi
28345 fi
28346
28347
28348
28349
28350
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28352 $as_echo_n "checking for hypot declaration... " >&6; }
28353 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28354 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28355 $as_echo_n "(cached) " >&6
28356 else
28357
28358
28359 ac_ext=cpp
28360 ac_cpp='$CXXCPP $CPPFLAGS'
28361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28364
28365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28366 /* end confdefs.h. */
28367 #include <math.h>
28368 int
28369 main ()
28370 {
28371 hypot(0, 0);
28372 ;
28373 return 0;
28374 }
28375 _ACEOF
28376 if ac_fn_cxx_try_compile "$LINENO"; then :
28377 glibcxx_cv_func_hypot_use=yes
28378 else
28379 glibcxx_cv_func_hypot_use=no
28380 fi
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28382 ac_ext=c
28383 ac_cpp='$CPP $CPPFLAGS'
28384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28387
28388
28389 fi
28390
28391 fi
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28393 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28394
28395 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28396 for ac_func in hypot
28397 do :
28398 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28399 if test "x$ac_cv_func_hypot" = x""yes; then :
28400 cat >>confdefs.h <<_ACEOF
28401 #define HAVE_HYPOT 1
28402 _ACEOF
28403
28404 fi
28405 done
28406
28407 else
28408
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28410 $as_echo_n "checking for _hypot declaration... " >&6; }
28411 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28412 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28413 $as_echo_n "(cached) " >&6
28414 else
28415
28416
28417 ac_ext=cpp
28418 ac_cpp='$CXXCPP $CPPFLAGS'
28419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28422
28423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28424 /* end confdefs.h. */
28425 #include <math.h>
28426 int
28427 main ()
28428 {
28429 _hypot(0, 0);
28430 ;
28431 return 0;
28432 }
28433 _ACEOF
28434 if ac_fn_cxx_try_compile "$LINENO"; then :
28435 glibcxx_cv_func__hypot_use=yes
28436 else
28437 glibcxx_cv_func__hypot_use=no
28438 fi
28439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28440 ac_ext=c
28441 ac_cpp='$CPP $CPPFLAGS'
28442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28445
28446
28447 fi
28448
28449 fi
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28451 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28452
28453 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28454 for ac_func in _hypot
28455 do :
28456 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28457 if test "x$ac_cv_func__hypot" = x""yes; then :
28458 cat >>confdefs.h <<_ACEOF
28459 #define HAVE__HYPOT 1
28460 _ACEOF
28461
28462 fi
28463 done
28464
28465 fi
28466 fi
28467
28468
28469
28470
28471
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28473 $as_echo_n "checking for float trig functions... " >&6; }
28474 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28475 $as_echo_n "(cached) " >&6
28476 else
28477
28478
28479 ac_ext=cpp
28480 ac_cpp='$CXXCPP $CPPFLAGS'
28481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28484
28485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28486 /* end confdefs.h. */
28487 #include <math.h>
28488 int
28489 main ()
28490 {
28491 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28492 ;
28493 return 0;
28494 }
28495 _ACEOF
28496 if ac_fn_cxx_try_compile "$LINENO"; then :
28497 glibcxx_cv_func_float_trig_use=yes
28498 else
28499 glibcxx_cv_func_float_trig_use=no
28500 fi
28501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28502 ac_ext=c
28503 ac_cpp='$CPP $CPPFLAGS'
28504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28507
28508 fi
28509
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28511 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28512 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28513 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28514 do :
28515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28517 eval as_val=\$$as_ac_var
28518 if test "x$as_val" = x""yes; then :
28519 cat >>confdefs.h <<_ACEOF
28520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28521 _ACEOF
28522
28523 fi
28524 done
28525
28526 else
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28528 $as_echo_n "checking for _float trig functions... " >&6; }
28529 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28530 $as_echo_n "(cached) " >&6
28531 else
28532
28533
28534 ac_ext=cpp
28535 ac_cpp='$CXXCPP $CPPFLAGS'
28536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28539
28540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28541 /* end confdefs.h. */
28542 #include <math.h>
28543 int
28544 main ()
28545 {
28546 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28547 ;
28548 return 0;
28549 }
28550 _ACEOF
28551 if ac_fn_cxx_try_compile "$LINENO"; then :
28552 glibcxx_cv_func__float_trig_use=yes
28553 else
28554 glibcxx_cv_func__float_trig_use=no
28555 fi
28556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28557 ac_ext=c
28558 ac_cpp='$CPP $CPPFLAGS'
28559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28562
28563 fi
28564
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28566 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28567 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28568 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28569 do :
28570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28572 eval as_val=\$$as_ac_var
28573 if test "x$as_val" = x""yes; then :
28574 cat >>confdefs.h <<_ACEOF
28575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28576 _ACEOF
28577
28578 fi
28579 done
28580
28581 fi
28582 fi
28583
28584
28585
28586
28587
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28589 $as_echo_n "checking for float round functions... " >&6; }
28590 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28591 $as_echo_n "(cached) " >&6
28592 else
28593
28594
28595 ac_ext=cpp
28596 ac_cpp='$CXXCPP $CPPFLAGS'
28597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28600
28601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28602 /* end confdefs.h. */
28603 #include <math.h>
28604 int
28605 main ()
28606 {
28607 ceilf (0); floorf (0);
28608 ;
28609 return 0;
28610 }
28611 _ACEOF
28612 if ac_fn_cxx_try_compile "$LINENO"; then :
28613 glibcxx_cv_func_float_round_use=yes
28614 else
28615 glibcxx_cv_func_float_round_use=no
28616 fi
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618 ac_ext=c
28619 ac_cpp='$CPP $CPPFLAGS'
28620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28623
28624 fi
28625
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28629 for ac_func in ceilf floorf
28630 do :
28631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28633 eval as_val=\$$as_ac_var
28634 if test "x$as_val" = x""yes; then :
28635 cat >>confdefs.h <<_ACEOF
28636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28637 _ACEOF
28638
28639 fi
28640 done
28641
28642 else
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28644 $as_echo_n "checking for _float round functions... " >&6; }
28645 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28646 $as_echo_n "(cached) " >&6
28647 else
28648
28649
28650 ac_ext=cpp
28651 ac_cpp='$CXXCPP $CPPFLAGS'
28652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28655
28656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28657 /* end confdefs.h. */
28658 #include <math.h>
28659 int
28660 main ()
28661 {
28662 _ceilf (0); _floorf (0);
28663 ;
28664 return 0;
28665 }
28666 _ACEOF
28667 if ac_fn_cxx_try_compile "$LINENO"; then :
28668 glibcxx_cv_func__float_round_use=yes
28669 else
28670 glibcxx_cv_func__float_round_use=no
28671 fi
28672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28673 ac_ext=c
28674 ac_cpp='$CPP $CPPFLAGS'
28675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28678
28679 fi
28680
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28682 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28683 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28684 for ac_func in _ceilf _floorf
28685 do :
28686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28688 eval as_val=\$$as_ac_var
28689 if test "x$as_val" = x""yes; then :
28690 cat >>confdefs.h <<_ACEOF
28691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28692 _ACEOF
28693
28694 fi
28695 done
28696
28697 fi
28698 fi
28699
28700
28701
28702
28703
28704
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28706 $as_echo_n "checking for expf declaration... " >&6; }
28707 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28708 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28709 $as_echo_n "(cached) " >&6
28710 else
28711
28712
28713 ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28718
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28721 #include <math.h>
28722 #ifdef HAVE_IEEEFP_H
28723 #include <ieeefp.h>
28724 #endif
28725
28726 int
28727 main ()
28728 {
28729 expf(0);
28730 ;
28731 return 0;
28732 }
28733 _ACEOF
28734 if ac_fn_cxx_try_compile "$LINENO"; then :
28735 glibcxx_cv_func_expf_use=yes
28736 else
28737 glibcxx_cv_func_expf_use=no
28738 fi
28739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28740 ac_ext=c
28741 ac_cpp='$CPP $CPPFLAGS'
28742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28745
28746
28747 fi
28748
28749 fi
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28751 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28752
28753 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28754 for ac_func in expf
28755 do :
28756 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28757 if test "x$ac_cv_func_expf" = x""yes; then :
28758 cat >>confdefs.h <<_ACEOF
28759 #define HAVE_EXPF 1
28760 _ACEOF
28761
28762 fi
28763 done
28764
28765 else
28766
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28768 $as_echo_n "checking for _expf declaration... " >&6; }
28769 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28770 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28772 else
28773
28774
28775 ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28780
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28783 #include <math.h>
28784 #ifdef HAVE_IEEEFP_H
28785 #include <ieeefp.h>
28786 #endif
28787
28788 int
28789 main ()
28790 {
28791 _expf(0);
28792 ;
28793 return 0;
28794 }
28795 _ACEOF
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797 glibcxx_cv_func__expf_use=yes
28798 else
28799 glibcxx_cv_func__expf_use=no
28800 fi
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28802 ac_ext=c
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28807
28808
28809 fi
28810
28811 fi
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28813 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28814
28815 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28816 for ac_func in _expf
28817 do :
28818 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28819 if test "x$ac_cv_func__expf" = x""yes; then :
28820 cat >>confdefs.h <<_ACEOF
28821 #define HAVE__EXPF 1
28822 _ACEOF
28823
28824 fi
28825 done
28826
28827 fi
28828 fi
28829
28830
28831
28832
28833
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28835 $as_echo_n "checking for isnanf declaration... " >&6; }
28836 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28837 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28838 $as_echo_n "(cached) " >&6
28839 else
28840
28841
28842 ac_ext=cpp
28843 ac_cpp='$CXXCPP $CPPFLAGS'
28844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28847
28848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h. */
28850 #include <math.h>
28851 #ifdef HAVE_IEEEFP_H
28852 #include <ieeefp.h>
28853 #endif
28854
28855 int
28856 main ()
28857 {
28858 isnanf(0);
28859 ;
28860 return 0;
28861 }
28862 _ACEOF
28863 if ac_fn_cxx_try_compile "$LINENO"; then :
28864 glibcxx_cv_func_isnanf_use=yes
28865 else
28866 glibcxx_cv_func_isnanf_use=no
28867 fi
28868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28869 ac_ext=c
28870 ac_cpp='$CPP $CPPFLAGS'
28871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28874
28875
28876 fi
28877
28878 fi
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28880 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28881
28882 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28883 for ac_func in isnanf
28884 do :
28885 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28886 if test "x$ac_cv_func_isnanf" = x""yes; then :
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_ISNANF 1
28889 _ACEOF
28890
28891 fi
28892 done
28893
28894 else
28895
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28897 $as_echo_n "checking for _isnanf declaration... " >&6; }
28898 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28899 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28901 else
28902
28903
28904 ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28912 #include <math.h>
28913 #ifdef HAVE_IEEEFP_H
28914 #include <ieeefp.h>
28915 #endif
28916
28917 int
28918 main ()
28919 {
28920 _isnanf(0);
28921 ;
28922 return 0;
28923 }
28924 _ACEOF
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926 glibcxx_cv_func__isnanf_use=yes
28927 else
28928 glibcxx_cv_func__isnanf_use=no
28929 fi
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 ac_ext=c
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28936
28937
28938 fi
28939
28940 fi
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28942 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28943
28944 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28945 for ac_func in _isnanf
28946 do :
28947 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28948 if test "x$ac_cv_func__isnanf" = x""yes; then :
28949 cat >>confdefs.h <<_ACEOF
28950 #define HAVE__ISNANF 1
28951 _ACEOF
28952
28953 fi
28954 done
28955
28956 fi
28957 fi
28958
28959
28960
28961
28962
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28964 $as_echo_n "checking for isinff declaration... " >&6; }
28965 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28966 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28967 $as_echo_n "(cached) " >&6
28968 else
28969
28970
28971 ac_ext=cpp
28972 ac_cpp='$CXXCPP $CPPFLAGS'
28973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28976
28977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28978 /* end confdefs.h. */
28979 #include <math.h>
28980 #ifdef HAVE_IEEEFP_H
28981 #include <ieeefp.h>
28982 #endif
28983
28984 int
28985 main ()
28986 {
28987 isinff(0);
28988 ;
28989 return 0;
28990 }
28991 _ACEOF
28992 if ac_fn_cxx_try_compile "$LINENO"; then :
28993 glibcxx_cv_func_isinff_use=yes
28994 else
28995 glibcxx_cv_func_isinff_use=no
28996 fi
28997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28998 ac_ext=c
28999 ac_cpp='$CPP $CPPFLAGS'
29000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29003
29004
29005 fi
29006
29007 fi
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29009 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29010
29011 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29012 for ac_func in isinff
29013 do :
29014 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29015 if test "x$ac_cv_func_isinff" = x""yes; then :
29016 cat >>confdefs.h <<_ACEOF
29017 #define HAVE_ISINFF 1
29018 _ACEOF
29019
29020 fi
29021 done
29022
29023 else
29024
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29026 $as_echo_n "checking for _isinff declaration... " >&6; }
29027 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29028 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29029 $as_echo_n "(cached) " >&6
29030 else
29031
29032
29033 ac_ext=cpp
29034 ac_cpp='$CXXCPP $CPPFLAGS'
29035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29038
29039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29040 /* end confdefs.h. */
29041 #include <math.h>
29042 #ifdef HAVE_IEEEFP_H
29043 #include <ieeefp.h>
29044 #endif
29045
29046 int
29047 main ()
29048 {
29049 _isinff(0);
29050 ;
29051 return 0;
29052 }
29053 _ACEOF
29054 if ac_fn_cxx_try_compile "$LINENO"; then :
29055 glibcxx_cv_func__isinff_use=yes
29056 else
29057 glibcxx_cv_func__isinff_use=no
29058 fi
29059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29065
29066
29067 fi
29068
29069 fi
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29071 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29072
29073 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29074 for ac_func in _isinff
29075 do :
29076 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29077 if test "x$ac_cv_func__isinff" = x""yes; then :
29078 cat >>confdefs.h <<_ACEOF
29079 #define HAVE__ISINFF 1
29080 _ACEOF
29081
29082 fi
29083 done
29084
29085 fi
29086 fi
29087
29088
29089
29090
29091
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29093 $as_echo_n "checking for atan2f declaration... " >&6; }
29094 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29095 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29096 $as_echo_n "(cached) " >&6
29097 else
29098
29099
29100 ac_ext=cpp
29101 ac_cpp='$CXXCPP $CPPFLAGS'
29102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29105
29106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29107 /* end confdefs.h. */
29108 #include <math.h>
29109 int
29110 main ()
29111 {
29112 atan2f(0, 0);
29113 ;
29114 return 0;
29115 }
29116 _ACEOF
29117 if ac_fn_cxx_try_compile "$LINENO"; then :
29118 glibcxx_cv_func_atan2f_use=yes
29119 else
29120 glibcxx_cv_func_atan2f_use=no
29121 fi
29122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29123 ac_ext=c
29124 ac_cpp='$CPP $CPPFLAGS'
29125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29128
29129
29130 fi
29131
29132 fi
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29134 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29135
29136 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29137 for ac_func in atan2f
29138 do :
29139 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29140 if test "x$ac_cv_func_atan2f" = x""yes; then :
29141 cat >>confdefs.h <<_ACEOF
29142 #define HAVE_ATAN2F 1
29143 _ACEOF
29144
29145 fi
29146 done
29147
29148 else
29149
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29151 $as_echo_n "checking for _atan2f declaration... " >&6; }
29152 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29153 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29154 $as_echo_n "(cached) " >&6
29155 else
29156
29157
29158 ac_ext=cpp
29159 ac_cpp='$CXXCPP $CPPFLAGS'
29160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29163
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29166 #include <math.h>
29167 int
29168 main ()
29169 {
29170 _atan2f(0, 0);
29171 ;
29172 return 0;
29173 }
29174 _ACEOF
29175 if ac_fn_cxx_try_compile "$LINENO"; then :
29176 glibcxx_cv_func__atan2f_use=yes
29177 else
29178 glibcxx_cv_func__atan2f_use=no
29179 fi
29180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29181 ac_ext=c
29182 ac_cpp='$CPP $CPPFLAGS'
29183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29186
29187
29188 fi
29189
29190 fi
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29192 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29193
29194 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29195 for ac_func in _atan2f
29196 do :
29197 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29198 if test "x$ac_cv_func__atan2f" = x""yes; then :
29199 cat >>confdefs.h <<_ACEOF
29200 #define HAVE__ATAN2F 1
29201 _ACEOF
29202
29203 fi
29204 done
29205
29206 fi
29207 fi
29208
29209
29210
29211
29212
29213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29214 $as_echo_n "checking for fabsf declaration... " >&6; }
29215 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29216 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29217 $as_echo_n "(cached) " >&6
29218 else
29219
29220
29221 ac_ext=cpp
29222 ac_cpp='$CXXCPP $CPPFLAGS'
29223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29226
29227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29228 /* end confdefs.h. */
29229 #include <math.h>
29230 #ifdef HAVE_IEEEFP_H
29231 #include <ieeefp.h>
29232 #endif
29233
29234 int
29235 main ()
29236 {
29237 fabsf(0);
29238 ;
29239 return 0;
29240 }
29241 _ACEOF
29242 if ac_fn_cxx_try_compile "$LINENO"; then :
29243 glibcxx_cv_func_fabsf_use=yes
29244 else
29245 glibcxx_cv_func_fabsf_use=no
29246 fi
29247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29248 ac_ext=c
29249 ac_cpp='$CPP $CPPFLAGS'
29250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29253
29254
29255 fi
29256
29257 fi
29258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29259 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29260
29261 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29262 for ac_func in fabsf
29263 do :
29264 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29265 if test "x$ac_cv_func_fabsf" = x""yes; then :
29266 cat >>confdefs.h <<_ACEOF
29267 #define HAVE_FABSF 1
29268 _ACEOF
29269
29270 fi
29271 done
29272
29273 else
29274
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29276 $as_echo_n "checking for _fabsf declaration... " >&6; }
29277 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29278 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29279 $as_echo_n "(cached) " >&6
29280 else
29281
29282
29283 ac_ext=cpp
29284 ac_cpp='$CXXCPP $CPPFLAGS'
29285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29288
29289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29290 /* end confdefs.h. */
29291 #include <math.h>
29292 #ifdef HAVE_IEEEFP_H
29293 #include <ieeefp.h>
29294 #endif
29295
29296 int
29297 main ()
29298 {
29299 _fabsf(0);
29300 ;
29301 return 0;
29302 }
29303 _ACEOF
29304 if ac_fn_cxx_try_compile "$LINENO"; then :
29305 glibcxx_cv_func__fabsf_use=yes
29306 else
29307 glibcxx_cv_func__fabsf_use=no
29308 fi
29309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29310 ac_ext=c
29311 ac_cpp='$CPP $CPPFLAGS'
29312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29315
29316
29317 fi
29318
29319 fi
29320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29321 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29322
29323 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29324 for ac_func in _fabsf
29325 do :
29326 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29327 if test "x$ac_cv_func__fabsf" = x""yes; then :
29328 cat >>confdefs.h <<_ACEOF
29329 #define HAVE__FABSF 1
29330 _ACEOF
29331
29332 fi
29333 done
29334
29335 fi
29336 fi
29337
29338
29339
29340
29341
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29343 $as_echo_n "checking for fmodf declaration... " >&6; }
29344 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29345 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29346 $as_echo_n "(cached) " >&6
29347 else
29348
29349
29350 ac_ext=cpp
29351 ac_cpp='$CXXCPP $CPPFLAGS'
29352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29355
29356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29357 /* end confdefs.h. */
29358 #include <math.h>
29359 int
29360 main ()
29361 {
29362 fmodf(0, 0);
29363 ;
29364 return 0;
29365 }
29366 _ACEOF
29367 if ac_fn_cxx_try_compile "$LINENO"; then :
29368 glibcxx_cv_func_fmodf_use=yes
29369 else
29370 glibcxx_cv_func_fmodf_use=no
29371 fi
29372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29373 ac_ext=c
29374 ac_cpp='$CPP $CPPFLAGS'
29375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29378
29379
29380 fi
29381
29382 fi
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29384 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29385
29386 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29387 for ac_func in fmodf
29388 do :
29389 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29390 if test "x$ac_cv_func_fmodf" = x""yes; then :
29391 cat >>confdefs.h <<_ACEOF
29392 #define HAVE_FMODF 1
29393 _ACEOF
29394
29395 fi
29396 done
29397
29398 else
29399
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29401 $as_echo_n "checking for _fmodf declaration... " >&6; }
29402 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29403 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29404 $as_echo_n "(cached) " >&6
29405 else
29406
29407
29408 ac_ext=cpp
29409 ac_cpp='$CXXCPP $CPPFLAGS'
29410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29413
29414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29415 /* end confdefs.h. */
29416 #include <math.h>
29417 int
29418 main ()
29419 {
29420 _fmodf(0, 0);
29421 ;
29422 return 0;
29423 }
29424 _ACEOF
29425 if ac_fn_cxx_try_compile "$LINENO"; then :
29426 glibcxx_cv_func__fmodf_use=yes
29427 else
29428 glibcxx_cv_func__fmodf_use=no
29429 fi
29430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29431 ac_ext=c
29432 ac_cpp='$CPP $CPPFLAGS'
29433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29436
29437
29438 fi
29439
29440 fi
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29442 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29443
29444 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29445 for ac_func in _fmodf
29446 do :
29447 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29448 if test "x$ac_cv_func__fmodf" = x""yes; then :
29449 cat >>confdefs.h <<_ACEOF
29450 #define HAVE__FMODF 1
29451 _ACEOF
29452
29453 fi
29454 done
29455
29456 fi
29457 fi
29458
29459
29460
29461
29462
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29464 $as_echo_n "checking for frexpf declaration... " >&6; }
29465 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29466 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29467 $as_echo_n "(cached) " >&6
29468 else
29469
29470
29471 ac_ext=cpp
29472 ac_cpp='$CXXCPP $CPPFLAGS'
29473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29476
29477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29478 /* end confdefs.h. */
29479 #include <math.h>
29480 int
29481 main ()
29482 {
29483 frexpf(0, 0);
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 if ac_fn_cxx_try_compile "$LINENO"; then :
29489 glibcxx_cv_func_frexpf_use=yes
29490 else
29491 glibcxx_cv_func_frexpf_use=no
29492 fi
29493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29494 ac_ext=c
29495 ac_cpp='$CPP $CPPFLAGS'
29496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29499
29500
29501 fi
29502
29503 fi
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29505 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29506
29507 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29508 for ac_func in frexpf
29509 do :
29510 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29511 if test "x$ac_cv_func_frexpf" = x""yes; then :
29512 cat >>confdefs.h <<_ACEOF
29513 #define HAVE_FREXPF 1
29514 _ACEOF
29515
29516 fi
29517 done
29518
29519 else
29520
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29522 $as_echo_n "checking for _frexpf declaration... " >&6; }
29523 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29524 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29525 $as_echo_n "(cached) " >&6
29526 else
29527
29528
29529 ac_ext=cpp
29530 ac_cpp='$CXXCPP $CPPFLAGS'
29531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29534
29535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29536 /* end confdefs.h. */
29537 #include <math.h>
29538 int
29539 main ()
29540 {
29541 _frexpf(0, 0);
29542 ;
29543 return 0;
29544 }
29545 _ACEOF
29546 if ac_fn_cxx_try_compile "$LINENO"; then :
29547 glibcxx_cv_func__frexpf_use=yes
29548 else
29549 glibcxx_cv_func__frexpf_use=no
29550 fi
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29552 ac_ext=c
29553 ac_cpp='$CPP $CPPFLAGS'
29554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29557
29558
29559 fi
29560
29561 fi
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29563 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29564
29565 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29566 for ac_func in _frexpf
29567 do :
29568 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29569 if test "x$ac_cv_func__frexpf" = x""yes; then :
29570 cat >>confdefs.h <<_ACEOF
29571 #define HAVE__FREXPF 1
29572 _ACEOF
29573
29574 fi
29575 done
29576
29577 fi
29578 fi
29579
29580
29581
29582
29583
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29585 $as_echo_n "checking for hypotf declaration... " >&6; }
29586 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29587 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29588 $as_echo_n "(cached) " >&6
29589 else
29590
29591
29592 ac_ext=cpp
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29597
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29600 #include <math.h>
29601 int
29602 main ()
29603 {
29604 hypotf(0, 0);
29605 ;
29606 return 0;
29607 }
29608 _ACEOF
29609 if ac_fn_cxx_try_compile "$LINENO"; then :
29610 glibcxx_cv_func_hypotf_use=yes
29611 else
29612 glibcxx_cv_func_hypotf_use=no
29613 fi
29614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29615 ac_ext=c
29616 ac_cpp='$CPP $CPPFLAGS'
29617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29620
29621
29622 fi
29623
29624 fi
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29626 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29627
29628 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29629 for ac_func in hypotf
29630 do :
29631 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29632 if test "x$ac_cv_func_hypotf" = x""yes; then :
29633 cat >>confdefs.h <<_ACEOF
29634 #define HAVE_HYPOTF 1
29635 _ACEOF
29636
29637 fi
29638 done
29639
29640 else
29641
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29643 $as_echo_n "checking for _hypotf declaration... " >&6; }
29644 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29645 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29646 $as_echo_n "(cached) " >&6
29647 else
29648
29649
29650 ac_ext=cpp
29651 ac_cpp='$CXXCPP $CPPFLAGS'
29652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29655
29656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29657 /* end confdefs.h. */
29658 #include <math.h>
29659 int
29660 main ()
29661 {
29662 _hypotf(0, 0);
29663 ;
29664 return 0;
29665 }
29666 _ACEOF
29667 if ac_fn_cxx_try_compile "$LINENO"; then :
29668 glibcxx_cv_func__hypotf_use=yes
29669 else
29670 glibcxx_cv_func__hypotf_use=no
29671 fi
29672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29673 ac_ext=c
29674 ac_cpp='$CPP $CPPFLAGS'
29675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29678
29679
29680 fi
29681
29682 fi
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29684 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29685
29686 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29687 for ac_func in _hypotf
29688 do :
29689 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29690 if test "x$ac_cv_func__hypotf" = x""yes; then :
29691 cat >>confdefs.h <<_ACEOF
29692 #define HAVE__HYPOTF 1
29693 _ACEOF
29694
29695 fi
29696 done
29697
29698 fi
29699 fi
29700
29701
29702
29703
29704
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29706 $as_echo_n "checking for ldexpf declaration... " >&6; }
29707 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29708 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29709 $as_echo_n "(cached) " >&6
29710 else
29711
29712
29713 ac_ext=cpp
29714 ac_cpp='$CXXCPP $CPPFLAGS'
29715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29718
29719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29720 /* end confdefs.h. */
29721 #include <math.h>
29722 int
29723 main ()
29724 {
29725 ldexpf(0, 0);
29726 ;
29727 return 0;
29728 }
29729 _ACEOF
29730 if ac_fn_cxx_try_compile "$LINENO"; then :
29731 glibcxx_cv_func_ldexpf_use=yes
29732 else
29733 glibcxx_cv_func_ldexpf_use=no
29734 fi
29735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29736 ac_ext=c
29737 ac_cpp='$CPP $CPPFLAGS'
29738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29741
29742
29743 fi
29744
29745 fi
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29747 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29748
29749 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29750 for ac_func in ldexpf
29751 do :
29752 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29753 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29754 cat >>confdefs.h <<_ACEOF
29755 #define HAVE_LDEXPF 1
29756 _ACEOF
29757
29758 fi
29759 done
29760
29761 else
29762
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29764 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29765 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29766 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29767 $as_echo_n "(cached) " >&6
29768 else
29769
29770
29771 ac_ext=cpp
29772 ac_cpp='$CXXCPP $CPPFLAGS'
29773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29776
29777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h. */
29779 #include <math.h>
29780 int
29781 main ()
29782 {
29783 _ldexpf(0, 0);
29784 ;
29785 return 0;
29786 }
29787 _ACEOF
29788 if ac_fn_cxx_try_compile "$LINENO"; then :
29789 glibcxx_cv_func__ldexpf_use=yes
29790 else
29791 glibcxx_cv_func__ldexpf_use=no
29792 fi
29793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29794 ac_ext=c
29795 ac_cpp='$CPP $CPPFLAGS'
29796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29799
29800
29801 fi
29802
29803 fi
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29805 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29806
29807 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29808 for ac_func in _ldexpf
29809 do :
29810 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29811 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29812 cat >>confdefs.h <<_ACEOF
29813 #define HAVE__LDEXPF 1
29814 _ACEOF
29815
29816 fi
29817 done
29818
29819 fi
29820 fi
29821
29822
29823
29824
29825
29826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29827 $as_echo_n "checking for logf declaration... " >&6; }
29828 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29829 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29830 $as_echo_n "(cached) " >&6
29831 else
29832
29833
29834 ac_ext=cpp
29835 ac_cpp='$CXXCPP $CPPFLAGS'
29836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29839
29840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29841 /* end confdefs.h. */
29842 #include <math.h>
29843 #ifdef HAVE_IEEEFP_H
29844 #include <ieeefp.h>
29845 #endif
29846
29847 int
29848 main ()
29849 {
29850 logf(0);
29851 ;
29852 return 0;
29853 }
29854 _ACEOF
29855 if ac_fn_cxx_try_compile "$LINENO"; then :
29856 glibcxx_cv_func_logf_use=yes
29857 else
29858 glibcxx_cv_func_logf_use=no
29859 fi
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29861 ac_ext=c
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29866
29867
29868 fi
29869
29870 fi
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29872 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29873
29874 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29875 for ac_func in logf
29876 do :
29877 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29878 if test "x$ac_cv_func_logf" = x""yes; then :
29879 cat >>confdefs.h <<_ACEOF
29880 #define HAVE_LOGF 1
29881 _ACEOF
29882
29883 fi
29884 done
29885
29886 else
29887
29888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29889 $as_echo_n "checking for _logf declaration... " >&6; }
29890 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29891 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29892 $as_echo_n "(cached) " >&6
29893 else
29894
29895
29896 ac_ext=cpp
29897 ac_cpp='$CXXCPP $CPPFLAGS'
29898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901
29902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29903 /* end confdefs.h. */
29904 #include <math.h>
29905 #ifdef HAVE_IEEEFP_H
29906 #include <ieeefp.h>
29907 #endif
29908
29909 int
29910 main ()
29911 {
29912 _logf(0);
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 if ac_fn_cxx_try_compile "$LINENO"; then :
29918 glibcxx_cv_func__logf_use=yes
29919 else
29920 glibcxx_cv_func__logf_use=no
29921 fi
29922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29923 ac_ext=c
29924 ac_cpp='$CPP $CPPFLAGS'
29925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29928
29929
29930 fi
29931
29932 fi
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29934 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29935
29936 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29937 for ac_func in _logf
29938 do :
29939 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29940 if test "x$ac_cv_func__logf" = x""yes; then :
29941 cat >>confdefs.h <<_ACEOF
29942 #define HAVE__LOGF 1
29943 _ACEOF
29944
29945 fi
29946 done
29947
29948 fi
29949 fi
29950
29951
29952
29953
29954
29955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29956 $as_echo_n "checking for log10f declaration... " >&6; }
29957 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29958 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29959 $as_echo_n "(cached) " >&6
29960 else
29961
29962
29963 ac_ext=cpp
29964 ac_cpp='$CXXCPP $CPPFLAGS'
29965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29968
29969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29970 /* end confdefs.h. */
29971 #include <math.h>
29972 #ifdef HAVE_IEEEFP_H
29973 #include <ieeefp.h>
29974 #endif
29975
29976 int
29977 main ()
29978 {
29979 log10f(0);
29980 ;
29981 return 0;
29982 }
29983 _ACEOF
29984 if ac_fn_cxx_try_compile "$LINENO"; then :
29985 glibcxx_cv_func_log10f_use=yes
29986 else
29987 glibcxx_cv_func_log10f_use=no
29988 fi
29989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29990 ac_ext=c
29991 ac_cpp='$CPP $CPPFLAGS'
29992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29995
29996
29997 fi
29998
29999 fi
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30001 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30002
30003 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30004 for ac_func in log10f
30005 do :
30006 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30007 if test "x$ac_cv_func_log10f" = x""yes; then :
30008 cat >>confdefs.h <<_ACEOF
30009 #define HAVE_LOG10F 1
30010 _ACEOF
30011
30012 fi
30013 done
30014
30015 else
30016
30017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30018 $as_echo_n "checking for _log10f declaration... " >&6; }
30019 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30020 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30021 $as_echo_n "(cached) " >&6
30022 else
30023
30024
30025 ac_ext=cpp
30026 ac_cpp='$CXXCPP $CPPFLAGS'
30027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30030
30031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30032 /* end confdefs.h. */
30033 #include <math.h>
30034 #ifdef HAVE_IEEEFP_H
30035 #include <ieeefp.h>
30036 #endif
30037
30038 int
30039 main ()
30040 {
30041 _log10f(0);
30042 ;
30043 return 0;
30044 }
30045 _ACEOF
30046 if ac_fn_cxx_try_compile "$LINENO"; then :
30047 glibcxx_cv_func__log10f_use=yes
30048 else
30049 glibcxx_cv_func__log10f_use=no
30050 fi
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30052 ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057
30058
30059 fi
30060
30061 fi
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30063 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30064
30065 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30066 for ac_func in _log10f
30067 do :
30068 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30069 if test "x$ac_cv_func__log10f" = x""yes; then :
30070 cat >>confdefs.h <<_ACEOF
30071 #define HAVE__LOG10F 1
30072 _ACEOF
30073
30074 fi
30075 done
30076
30077 fi
30078 fi
30079
30080
30081
30082
30083
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30085 $as_echo_n "checking for modff declaration... " >&6; }
30086 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30087 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30088 $as_echo_n "(cached) " >&6
30089 else
30090
30091
30092 ac_ext=cpp
30093 ac_cpp='$CXXCPP $CPPFLAGS'
30094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30097
30098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30099 /* end confdefs.h. */
30100 #include <math.h>
30101 int
30102 main ()
30103 {
30104 modff(0, 0);
30105 ;
30106 return 0;
30107 }
30108 _ACEOF
30109 if ac_fn_cxx_try_compile "$LINENO"; then :
30110 glibcxx_cv_func_modff_use=yes
30111 else
30112 glibcxx_cv_func_modff_use=no
30113 fi
30114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30115 ac_ext=c
30116 ac_cpp='$CPP $CPPFLAGS'
30117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30120
30121
30122 fi
30123
30124 fi
30125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30126 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30127
30128 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30129 for ac_func in modff
30130 do :
30131 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30132 if test "x$ac_cv_func_modff" = x""yes; then :
30133 cat >>confdefs.h <<_ACEOF
30134 #define HAVE_MODFF 1
30135 _ACEOF
30136
30137 fi
30138 done
30139
30140 else
30141
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30143 $as_echo_n "checking for _modff declaration... " >&6; }
30144 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30145 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30148
30149
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30159 int
30160 main ()
30161 {
30162 _modff(0, 0);
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 if ac_fn_cxx_try_compile "$LINENO"; then :
30168 glibcxx_cv_func__modff_use=yes
30169 else
30170 glibcxx_cv_func__modff_use=no
30171 fi
30172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30173 ac_ext=c
30174 ac_cpp='$CPP $CPPFLAGS'
30175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30178
30179
30180 fi
30181
30182 fi
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30184 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30185
30186 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30187 for ac_func in _modff
30188 do :
30189 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30190 if test "x$ac_cv_func__modff" = x""yes; then :
30191 cat >>confdefs.h <<_ACEOF
30192 #define HAVE__MODFF 1
30193 _ACEOF
30194
30195 fi
30196 done
30197
30198 fi
30199 fi
30200
30201
30202
30203
30204
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30206 $as_echo_n "checking for modf declaration... " >&6; }
30207 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30208 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30209 $as_echo_n "(cached) " >&6
30210 else
30211
30212
30213 ac_ext=cpp
30214 ac_cpp='$CXXCPP $CPPFLAGS'
30215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30218
30219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30220 /* end confdefs.h. */
30221 #include <math.h>
30222 int
30223 main ()
30224 {
30225 modf(0, 0);
30226 ;
30227 return 0;
30228 }
30229 _ACEOF
30230 if ac_fn_cxx_try_compile "$LINENO"; then :
30231 glibcxx_cv_func_modf_use=yes
30232 else
30233 glibcxx_cv_func_modf_use=no
30234 fi
30235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30236 ac_ext=c
30237 ac_cpp='$CPP $CPPFLAGS'
30238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30241
30242
30243 fi
30244
30245 fi
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30247 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30248
30249 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30250 for ac_func in modf
30251 do :
30252 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30253 if test "x$ac_cv_func_modf" = x""yes; then :
30254 cat >>confdefs.h <<_ACEOF
30255 #define HAVE_MODF 1
30256 _ACEOF
30257
30258 fi
30259 done
30260
30261 else
30262
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30264 $as_echo_n "checking for _modf declaration... " >&6; }
30265 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30266 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30267 $as_echo_n "(cached) " >&6
30268 else
30269
30270
30271 ac_ext=cpp
30272 ac_cpp='$CXXCPP $CPPFLAGS'
30273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30276
30277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30278 /* end confdefs.h. */
30279 #include <math.h>
30280 int
30281 main ()
30282 {
30283 _modf(0, 0);
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func__modf_use=yes
30290 else
30291 glibcxx_cv_func__modf_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__modf_use" >&5
30305 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30306
30307 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30308 for ac_func in _modf
30309 do :
30310 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30311 if test "x$ac_cv_func__modf" = x""yes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE__MODF 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 powf declaration" >&5
30327 $as_echo_n "checking for powf declaration... " >&6; }
30328 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30329 if test "${glibcxx_cv_func_powf_use+set}" = set; 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 powf(0, 0);
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 if ac_fn_cxx_try_compile "$LINENO"; then :
30352 glibcxx_cv_func_powf_use=yes
30353 else
30354 glibcxx_cv_func_powf_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_powf_use" >&5
30368 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30369
30370 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30371 for ac_func in powf
30372 do :
30373 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30374 if test "x$ac_cv_func_powf" = x""yes; then :
30375 cat >>confdefs.h <<_ACEOF
30376 #define HAVE_POWF 1
30377 _ACEOF
30378
30379 fi
30380 done
30381
30382 else
30383
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30385 $as_echo_n "checking for _powf declaration... " >&6; }
30386 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30387 if test "${glibcxx_cv_func__powf_use+set}" = set; 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 _powf(0, 0);
30405 ;
30406 return 0;
30407 }
30408 _ACEOF
30409 if ac_fn_cxx_try_compile "$LINENO"; then :
30410 glibcxx_cv_func__powf_use=yes
30411 else
30412 glibcxx_cv_func__powf_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__powf_use" >&5
30426 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30427
30428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30429 for ac_func in _powf
30430 do :
30431 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30432 if test "x$ac_cv_func__powf" = x""yes; then :
30433 cat >>confdefs.h <<_ACEOF
30434 #define HAVE__POWF 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 sqrtf declaration" >&5
30448 $as_echo_n "checking for sqrtf declaration... " >&6; }
30449 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30450 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30451 $as_echo_n "(cached) " >&6
30452 else
30453
30454
30455 ac_ext=cpp
30456 ac_cpp='$CXXCPP $CPPFLAGS'
30457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30460
30461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30462 /* end confdefs.h. */
30463 #include <math.h>
30464 #ifdef HAVE_IEEEFP_H
30465 #include <ieeefp.h>
30466 #endif
30467
30468 int
30469 main ()
30470 {
30471 sqrtf(0);
30472 ;
30473 return 0;
30474 }
30475 _ACEOF
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477 glibcxx_cv_func_sqrtf_use=yes
30478 else
30479 glibcxx_cv_func_sqrtf_use=no
30480 fi
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482 ac_ext=c
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30487
30488
30489 fi
30490
30491 fi
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30493 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30494
30495 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30496 for ac_func in sqrtf
30497 do :
30498 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30499 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30500 cat >>confdefs.h <<_ACEOF
30501 #define HAVE_SQRTF 1
30502 _ACEOF
30503
30504 fi
30505 done
30506
30507 else
30508
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30510 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30511 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30512 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30513 $as_echo_n "(cached) " >&6
30514 else
30515
30516
30517 ac_ext=cpp
30518 ac_cpp='$CXXCPP $CPPFLAGS'
30519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30522
30523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30524 /* end confdefs.h. */
30525 #include <math.h>
30526 #ifdef HAVE_IEEEFP_H
30527 #include <ieeefp.h>
30528 #endif
30529
30530 int
30531 main ()
30532 {
30533 _sqrtf(0);
30534 ;
30535 return 0;
30536 }
30537 _ACEOF
30538 if ac_fn_cxx_try_compile "$LINENO"; then :
30539 glibcxx_cv_func__sqrtf_use=yes
30540 else
30541 glibcxx_cv_func__sqrtf_use=no
30542 fi
30543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30544 ac_ext=c
30545 ac_cpp='$CPP $CPPFLAGS'
30546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30549
30550
30551 fi
30552
30553 fi
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30555 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30556
30557 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30558 for ac_func in _sqrtf
30559 do :
30560 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30561 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30562 cat >>confdefs.h <<_ACEOF
30563 #define HAVE__SQRTF 1
30564 _ACEOF
30565
30566 fi
30567 done
30568
30569 fi
30570 fi
30571
30572
30573
30574
30575
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30577 $as_echo_n "checking for sincosf declaration... " >&6; }
30578 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30579 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30580 $as_echo_n "(cached) " >&6
30581 else
30582
30583
30584 ac_ext=cpp
30585 ac_cpp='$CXXCPP $CPPFLAGS'
30586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30589
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30592 #include <math.h>
30593 int
30594 main ()
30595 {
30596 sincosf(0, 0, 0);
30597 ;
30598 return 0;
30599 }
30600 _ACEOF
30601 if ac_fn_cxx_try_compile "$LINENO"; then :
30602 glibcxx_cv_func_sincosf_use=yes
30603 else
30604 glibcxx_cv_func_sincosf_use=no
30605 fi
30606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30607 ac_ext=c
30608 ac_cpp='$CPP $CPPFLAGS'
30609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30612
30613
30614 fi
30615
30616 fi
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30618 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30619
30620 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30621 for ac_func in sincosf
30622 do :
30623 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30624 if test "x$ac_cv_func_sincosf" = x""yes; then :
30625 cat >>confdefs.h <<_ACEOF
30626 #define HAVE_SINCOSF 1
30627 _ACEOF
30628
30629 fi
30630 done
30631
30632 else
30633
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30635 $as_echo_n "checking for _sincosf declaration... " >&6; }
30636 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30637 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30638 $as_echo_n "(cached) " >&6
30639 else
30640
30641
30642 ac_ext=cpp
30643 ac_cpp='$CXXCPP $CPPFLAGS'
30644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30647
30648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30649 /* end confdefs.h. */
30650 #include <math.h>
30651 int
30652 main ()
30653 {
30654 _sincosf(0, 0, 0);
30655 ;
30656 return 0;
30657 }
30658 _ACEOF
30659 if ac_fn_cxx_try_compile "$LINENO"; then :
30660 glibcxx_cv_func__sincosf_use=yes
30661 else
30662 glibcxx_cv_func__sincosf_use=no
30663 fi
30664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30665 ac_ext=c
30666 ac_cpp='$CPP $CPPFLAGS'
30667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30670
30671
30672 fi
30673
30674 fi
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30676 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30677
30678 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30679 for ac_func in _sincosf
30680 do :
30681 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30682 if test "x$ac_cv_func__sincosf" = x""yes; then :
30683 cat >>confdefs.h <<_ACEOF
30684 #define HAVE__SINCOSF 1
30685 _ACEOF
30686
30687 fi
30688 done
30689
30690 fi
30691 fi
30692
30693
30694
30695
30696
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30698 $as_echo_n "checking for finitef declaration... " >&6; }
30699 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30700 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30701 $as_echo_n "(cached) " >&6
30702 else
30703
30704
30705 ac_ext=cpp
30706 ac_cpp='$CXXCPP $CPPFLAGS'
30707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30710
30711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712 /* end confdefs.h. */
30713 #include <math.h>
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30716 #endif
30717
30718 int
30719 main ()
30720 {
30721 finitef(0);
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 if ac_fn_cxx_try_compile "$LINENO"; then :
30727 glibcxx_cv_func_finitef_use=yes
30728 else
30729 glibcxx_cv_func_finitef_use=no
30730 fi
30731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30732 ac_ext=c
30733 ac_cpp='$CPP $CPPFLAGS'
30734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30737
30738
30739 fi
30740
30741 fi
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30743 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30744
30745 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30746 for ac_func in finitef
30747 do :
30748 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30749 if test "x$ac_cv_func_finitef" = x""yes; then :
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE_FINITEF 1
30752 _ACEOF
30753
30754 fi
30755 done
30756
30757 else
30758
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30760 $as_echo_n "checking for _finitef declaration... " >&6; }
30761 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30762 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30763 $as_echo_n "(cached) " >&6
30764 else
30765
30766
30767 ac_ext=cpp
30768 ac_cpp='$CXXCPP $CPPFLAGS'
30769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30772
30773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30774 /* end confdefs.h. */
30775 #include <math.h>
30776 #ifdef HAVE_IEEEFP_H
30777 #include <ieeefp.h>
30778 #endif
30779
30780 int
30781 main ()
30782 {
30783 _finitef(0);
30784 ;
30785 return 0;
30786 }
30787 _ACEOF
30788 if ac_fn_cxx_try_compile "$LINENO"; then :
30789 glibcxx_cv_func__finitef_use=yes
30790 else
30791 glibcxx_cv_func__finitef_use=no
30792 fi
30793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30794 ac_ext=c
30795 ac_cpp='$CPP $CPPFLAGS'
30796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30799
30800
30801 fi
30802
30803 fi
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30805 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30806
30807 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30808 for ac_func in _finitef
30809 do :
30810 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30811 if test "x$ac_cv_func__finitef" = x""yes; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE__FINITEF 1
30814 _ACEOF
30815
30816 fi
30817 done
30818
30819 fi
30820 fi
30821
30822
30823
30824
30825
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30827 $as_echo_n "checking for long double trig functions... " >&6; }
30828 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30829 $as_echo_n "(cached) " >&6
30830 else
30831
30832
30833 ac_ext=cpp
30834 ac_cpp='$CXXCPP $CPPFLAGS'
30835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30838
30839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30840 /* end confdefs.h. */
30841 #include <math.h>
30842 int
30843 main ()
30844 {
30845 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30846 ;
30847 return 0;
30848 }
30849 _ACEOF
30850 if ac_fn_cxx_try_compile "$LINENO"; then :
30851 glibcxx_cv_func_long_double_trig_use=yes
30852 else
30853 glibcxx_cv_func_long_double_trig_use=no
30854 fi
30855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30856 ac_ext=c
30857 ac_cpp='$CPP $CPPFLAGS'
30858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30861
30862 fi
30863
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30865 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30866 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30867 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30868 do :
30869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30871 eval as_val=\$$as_ac_var
30872 if test "x$as_val" = x""yes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30875 _ACEOF
30876
30877 fi
30878 done
30879
30880 else
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30882 $as_echo_n "checking for _long double trig functions... " >&6; }
30883 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30884 $as_echo_n "(cached) " >&6
30885 else
30886
30887
30888 ac_ext=cpp
30889 ac_cpp='$CXXCPP $CPPFLAGS'
30890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30893
30894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30895 /* end confdefs.h. */
30896 #include <math.h>
30897 int
30898 main ()
30899 {
30900 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30901 ;
30902 return 0;
30903 }
30904 _ACEOF
30905 if ac_fn_cxx_try_compile "$LINENO"; then :
30906 glibcxx_cv_func__long_double_trig_use=yes
30907 else
30908 glibcxx_cv_func__long_double_trig_use=no
30909 fi
30910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30911 ac_ext=c
30912 ac_cpp='$CPP $CPPFLAGS'
30913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30916
30917 fi
30918
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30920 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30921 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30922 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30923 do :
30924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30926 eval as_val=\$$as_ac_var
30927 if test "x$as_val" = x""yes; then :
30928 cat >>confdefs.h <<_ACEOF
30929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30930 _ACEOF
30931
30932 fi
30933 done
30934
30935 fi
30936 fi
30937
30938
30939
30940
30941
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30943 $as_echo_n "checking for long double round functions... " >&6; }
30944 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30945 $as_echo_n "(cached) " >&6
30946 else
30947
30948
30949 ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30954
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30957 #include <math.h>
30958 int
30959 main ()
30960 {
30961 ceill (0); floorl (0);
30962 ;
30963 return 0;
30964 }
30965 _ACEOF
30966 if ac_fn_cxx_try_compile "$LINENO"; then :
30967 glibcxx_cv_func_long_double_round_use=yes
30968 else
30969 glibcxx_cv_func_long_double_round_use=no
30970 fi
30971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30972 ac_ext=c
30973 ac_cpp='$CPP $CPPFLAGS'
30974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30977
30978 fi
30979
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30981 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30982 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30983 for ac_func in ceill floorl
30984 do :
30985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30987 eval as_val=\$$as_ac_var
30988 if test "x$as_val" = x""yes; then :
30989 cat >>confdefs.h <<_ACEOF
30990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30992
30993 fi
30994 done
30995
30996 else
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30998 $as_echo_n "checking for _long double round functions... " >&6; }
30999 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; 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 int
31014 main ()
31015 {
31016 _ceill (0); _floorl (0);
31017 ;
31018 return 0;
31019 }
31020 _ACEOF
31021 if ac_fn_cxx_try_compile "$LINENO"; then :
31022 glibcxx_cv_func__long_double_round_use=yes
31023 else
31024 glibcxx_cv_func__long_double_round_use=no
31025 fi
31026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31027 ac_ext=c
31028 ac_cpp='$CPP $CPPFLAGS'
31029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31032
31033 fi
31034
31035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31036 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31037 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31038 for ac_func in _ceill _floorl
31039 do :
31040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31042 eval as_val=\$$as_ac_var
31043 if test "x$as_val" = x""yes; then :
31044 cat >>confdefs.h <<_ACEOF
31045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31046 _ACEOF
31047
31048 fi
31049 done
31050
31051 fi
31052 fi
31053
31054
31055
31056
31057
31058
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31060 $as_echo_n "checking for isnanl declaration... " >&6; }
31061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31065
31066
31067 ac_ext=cpp
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31072
31073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h. */
31075 #include <math.h>
31076 #ifdef HAVE_IEEEFP_H
31077 #include <ieeefp.h>
31078 #endif
31079
31080 int
31081 main ()
31082 {
31083 isnanl(0);
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089 glibcxx_cv_func_isnanl_use=yes
31090 else
31091 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
31105 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31106
31107 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31108 for ac_func in isnanl
31109 do :
31110 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31111 if test "x$ac_cv_func_isnanl" = x""yes; then :
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_ISNANL 1
31114 _ACEOF
31115
31116 fi
31117 done
31118
31119 else
31120
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31122 $as_echo_n "checking for _isnanl declaration... " >&6; }
31123 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31124 if test "${glibcxx_cv_func__isnanl_use+set}" = set; 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 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31140 #endif
31141
31142 int
31143 main ()
31144 {
31145 _isnanl(0);
31146 ;
31147 return 0;
31148 }
31149 _ACEOF
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151 glibcxx_cv_func__isnanl_use=yes
31152 else
31153 glibcxx_cv_func__isnanl_use=no
31154 fi
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156 ac_ext=c
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31161
31162
31163 fi
31164
31165 fi
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31167 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31168
31169 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31170 for ac_func in _isnanl
31171 do :
31172 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31173 if test "x$ac_cv_func__isnanl" = x""yes; then :
31174 cat >>confdefs.h <<_ACEOF
31175 #define HAVE__ISNANL 1
31176 _ACEOF
31177
31178 fi
31179 done
31180
31181 fi
31182 fi
31183
31184
31185
31186
31187
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31189 $as_echo_n "checking for isinfl declaration... " >&6; }
31190 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31191 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31192 $as_echo_n "(cached) " >&6
31193 else
31194
31195
31196 ac_ext=cpp
31197 ac_cpp='$CXXCPP $CPPFLAGS'
31198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31201
31202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31203 /* end confdefs.h. */
31204 #include <math.h>
31205 #ifdef HAVE_IEEEFP_H
31206 #include <ieeefp.h>
31207 #endif
31208
31209 int
31210 main ()
31211 {
31212 isinfl(0);
31213 ;
31214 return 0;
31215 }
31216 _ACEOF
31217 if ac_fn_cxx_try_compile "$LINENO"; then :
31218 glibcxx_cv_func_isinfl_use=yes
31219 else
31220 glibcxx_cv_func_isinfl_use=no
31221 fi
31222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31223 ac_ext=c
31224 ac_cpp='$CPP $CPPFLAGS'
31225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31228
31229
31230 fi
31231
31232 fi
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31234 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31235
31236 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31237 for ac_func in isinfl
31238 do :
31239 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31240 if test "x$ac_cv_func_isinfl" = x""yes; then :
31241 cat >>confdefs.h <<_ACEOF
31242 #define HAVE_ISINFL 1
31243 _ACEOF
31244
31245 fi
31246 done
31247
31248 else
31249
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31251 $as_echo_n "checking for _isinfl declaration... " >&6; }
31252 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31253 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31254 $as_echo_n "(cached) " >&6
31255 else
31256
31257
31258 ac_ext=cpp
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263
31264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h. */
31266 #include <math.h>
31267 #ifdef HAVE_IEEEFP_H
31268 #include <ieeefp.h>
31269 #endif
31270
31271 int
31272 main ()
31273 {
31274 _isinfl(0);
31275 ;
31276 return 0;
31277 }
31278 _ACEOF
31279 if ac_fn_cxx_try_compile "$LINENO"; then :
31280 glibcxx_cv_func__isinfl_use=yes
31281 else
31282 glibcxx_cv_func__isinfl_use=no
31283 fi
31284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31285 ac_ext=c
31286 ac_cpp='$CPP $CPPFLAGS'
31287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31290
31291
31292 fi
31293
31294 fi
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31296 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31297
31298 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31299 for ac_func in _isinfl
31300 do :
31301 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31302 if test "x$ac_cv_func__isinfl" = x""yes; then :
31303 cat >>confdefs.h <<_ACEOF
31304 #define HAVE__ISINFL 1
31305 _ACEOF
31306
31307 fi
31308 done
31309
31310 fi
31311 fi
31312
31313
31314
31315
31316
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31318 $as_echo_n "checking for atan2l declaration... " >&6; }
31319 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31320 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31321 $as_echo_n "(cached) " >&6
31322 else
31323
31324
31325 ac_ext=cpp
31326 ac_cpp='$CXXCPP $CPPFLAGS'
31327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31330
31331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31333 #include <math.h>
31334 int
31335 main ()
31336 {
31337 atan2l(0, 0);
31338 ;
31339 return 0;
31340 }
31341 _ACEOF
31342 if ac_fn_cxx_try_compile "$LINENO"; then :
31343 glibcxx_cv_func_atan2l_use=yes
31344 else
31345 glibcxx_cv_func_atan2l_use=no
31346 fi
31347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31348 ac_ext=c
31349 ac_cpp='$CPP $CPPFLAGS'
31350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31353
31354
31355 fi
31356
31357 fi
31358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31359 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31360
31361 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31362 for ac_func in atan2l
31363 do :
31364 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31365 if test "x$ac_cv_func_atan2l" = x""yes; then :
31366 cat >>confdefs.h <<_ACEOF
31367 #define HAVE_ATAN2L 1
31368 _ACEOF
31369
31370 fi
31371 done
31372
31373 else
31374
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31376 $as_echo_n "checking for _atan2l declaration... " >&6; }
31377 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31378 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31379 $as_echo_n "(cached) " >&6
31380 else
31381
31382
31383 ac_ext=cpp
31384 ac_cpp='$CXXCPP $CPPFLAGS'
31385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31388
31389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31390 /* end confdefs.h. */
31391 #include <math.h>
31392 int
31393 main ()
31394 {
31395 _atan2l(0, 0);
31396 ;
31397 return 0;
31398 }
31399 _ACEOF
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401 glibcxx_cv_func__atan2l_use=yes
31402 else
31403 glibcxx_cv_func__atan2l_use=no
31404 fi
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31406 ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31411
31412
31413 fi
31414
31415 fi
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31417 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31418
31419 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31420 for ac_func in _atan2l
31421 do :
31422 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31423 if test "x$ac_cv_func__atan2l" = x""yes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE__ATAN2L 1
31426 _ACEOF
31427
31428 fi
31429 done
31430
31431 fi
31432 fi
31433
31434
31435
31436
31437
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31439 $as_echo_n "checking for expl declaration... " >&6; }
31440 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31441 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31442 $as_echo_n "(cached) " >&6
31443 else
31444
31445
31446 ac_ext=cpp
31447 ac_cpp='$CXXCPP $CPPFLAGS'
31448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31451
31452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31453 /* end confdefs.h. */
31454 #include <math.h>
31455 #ifdef HAVE_IEEEFP_H
31456 #include <ieeefp.h>
31457 #endif
31458
31459 int
31460 main ()
31461 {
31462 expl(0);
31463 ;
31464 return 0;
31465 }
31466 _ACEOF
31467 if ac_fn_cxx_try_compile "$LINENO"; then :
31468 glibcxx_cv_func_expl_use=yes
31469 else
31470 glibcxx_cv_func_expl_use=no
31471 fi
31472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31473 ac_ext=c
31474 ac_cpp='$CPP $CPPFLAGS'
31475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31478
31479
31480 fi
31481
31482 fi
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31484 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31485
31486 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31487 for ac_func in expl
31488 do :
31489 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31490 if test "x$ac_cv_func_expl" = x""yes; then :
31491 cat >>confdefs.h <<_ACEOF
31492 #define HAVE_EXPL 1
31493 _ACEOF
31494
31495 fi
31496 done
31497
31498 else
31499
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31501 $as_echo_n "checking for _expl declaration... " >&6; }
31502 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31503 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31504 $as_echo_n "(cached) " >&6
31505 else
31506
31507
31508 ac_ext=cpp
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516 #include <math.h>
31517 #ifdef HAVE_IEEEFP_H
31518 #include <ieeefp.h>
31519 #endif
31520
31521 int
31522 main ()
31523 {
31524 _expl(0);
31525 ;
31526 return 0;
31527 }
31528 _ACEOF
31529 if ac_fn_cxx_try_compile "$LINENO"; then :
31530 glibcxx_cv_func__expl_use=yes
31531 else
31532 glibcxx_cv_func__expl_use=no
31533 fi
31534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31535 ac_ext=c
31536 ac_cpp='$CPP $CPPFLAGS'
31537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31540
31541
31542 fi
31543
31544 fi
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31546 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31547
31548 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31549 for ac_func in _expl
31550 do :
31551 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31552 if test "x$ac_cv_func__expl" = x""yes; then :
31553 cat >>confdefs.h <<_ACEOF
31554 #define HAVE__EXPL 1
31555 _ACEOF
31556
31557 fi
31558 done
31559
31560 fi
31561 fi
31562
31563
31564
31565
31566
31567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31568 $as_echo_n "checking for fabsl declaration... " >&6; }
31569 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31570 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31571 $as_echo_n "(cached) " >&6
31572 else
31573
31574
31575 ac_ext=cpp
31576 ac_cpp='$CXXCPP $CPPFLAGS'
31577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31580
31581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31582 /* end confdefs.h. */
31583 #include <math.h>
31584 #ifdef HAVE_IEEEFP_H
31585 #include <ieeefp.h>
31586 #endif
31587
31588 int
31589 main ()
31590 {
31591 fabsl(0);
31592 ;
31593 return 0;
31594 }
31595 _ACEOF
31596 if ac_fn_cxx_try_compile "$LINENO"; then :
31597 glibcxx_cv_func_fabsl_use=yes
31598 else
31599 glibcxx_cv_func_fabsl_use=no
31600 fi
31601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31602 ac_ext=c
31603 ac_cpp='$CPP $CPPFLAGS'
31604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31607
31608
31609 fi
31610
31611 fi
31612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31613 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31614
31615 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31616 for ac_func in fabsl
31617 do :
31618 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31619 if test "x$ac_cv_func_fabsl" = x""yes; then :
31620 cat >>confdefs.h <<_ACEOF
31621 #define HAVE_FABSL 1
31622 _ACEOF
31623
31624 fi
31625 done
31626
31627 else
31628
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31630 $as_echo_n "checking for _fabsl declaration... " >&6; }
31631 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31632 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31633 $as_echo_n "(cached) " >&6
31634 else
31635
31636
31637 ac_ext=cpp
31638 ac_cpp='$CXXCPP $CPPFLAGS'
31639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31642
31643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31644 /* end confdefs.h. */
31645 #include <math.h>
31646 #ifdef HAVE_IEEEFP_H
31647 #include <ieeefp.h>
31648 #endif
31649
31650 int
31651 main ()
31652 {
31653 _fabsl(0);
31654 ;
31655 return 0;
31656 }
31657 _ACEOF
31658 if ac_fn_cxx_try_compile "$LINENO"; then :
31659 glibcxx_cv_func__fabsl_use=yes
31660 else
31661 glibcxx_cv_func__fabsl_use=no
31662 fi
31663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31664 ac_ext=c
31665 ac_cpp='$CPP $CPPFLAGS'
31666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31669
31670
31671 fi
31672
31673 fi
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31675 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31676
31677 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31678 for ac_func in _fabsl
31679 do :
31680 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31681 if test "x$ac_cv_func__fabsl" = x""yes; then :
31682 cat >>confdefs.h <<_ACEOF
31683 #define HAVE__FABSL 1
31684 _ACEOF
31685
31686 fi
31687 done
31688
31689 fi
31690 fi
31691
31692
31693
31694
31695
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31697 $as_echo_n "checking for fmodl declaration... " >&6; }
31698 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31699 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31700 $as_echo_n "(cached) " >&6
31701 else
31702
31703
31704 ac_ext=cpp
31705 ac_cpp='$CXXCPP $CPPFLAGS'
31706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31709
31710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31711 /* end confdefs.h. */
31712 #include <math.h>
31713 int
31714 main ()
31715 {
31716 fmodl(0, 0);
31717 ;
31718 return 0;
31719 }
31720 _ACEOF
31721 if ac_fn_cxx_try_compile "$LINENO"; then :
31722 glibcxx_cv_func_fmodl_use=yes
31723 else
31724 glibcxx_cv_func_fmodl_use=no
31725 fi
31726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31727 ac_ext=c
31728 ac_cpp='$CPP $CPPFLAGS'
31729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31732
31733
31734 fi
31735
31736 fi
31737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31738 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31739
31740 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31741 for ac_func in fmodl
31742 do :
31743 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31744 if test "x$ac_cv_func_fmodl" = x""yes; then :
31745 cat >>confdefs.h <<_ACEOF
31746 #define HAVE_FMODL 1
31747 _ACEOF
31748
31749 fi
31750 done
31751
31752 else
31753
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31755 $as_echo_n "checking for _fmodl declaration... " >&6; }
31756 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31757 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31758 $as_echo_n "(cached) " >&6
31759 else
31760
31761
31762 ac_ext=cpp
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31767
31768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31769 /* end confdefs.h. */
31770 #include <math.h>
31771 int
31772 main ()
31773 {
31774 _fmodl(0, 0);
31775 ;
31776 return 0;
31777 }
31778 _ACEOF
31779 if ac_fn_cxx_try_compile "$LINENO"; then :
31780 glibcxx_cv_func__fmodl_use=yes
31781 else
31782 glibcxx_cv_func__fmodl_use=no
31783 fi
31784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31785 ac_ext=c
31786 ac_cpp='$CPP $CPPFLAGS'
31787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31790
31791
31792 fi
31793
31794 fi
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31796 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31797
31798 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31799 for ac_func in _fmodl
31800 do :
31801 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31802 if test "x$ac_cv_func__fmodl" = x""yes; then :
31803 cat >>confdefs.h <<_ACEOF
31804 #define HAVE__FMODL 1
31805 _ACEOF
31806
31807 fi
31808 done
31809
31810 fi
31811 fi
31812
31813
31814
31815
31816
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31818 $as_echo_n "checking for frexpl declaration... " >&6; }
31819 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31820 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31821 $as_echo_n "(cached) " >&6
31822 else
31823
31824
31825 ac_ext=cpp
31826 ac_cpp='$CXXCPP $CPPFLAGS'
31827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31830
31831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31832 /* end confdefs.h. */
31833 #include <math.h>
31834 int
31835 main ()
31836 {
31837 frexpl(0, 0);
31838 ;
31839 return 0;
31840 }
31841 _ACEOF
31842 if ac_fn_cxx_try_compile "$LINENO"; then :
31843 glibcxx_cv_func_frexpl_use=yes
31844 else
31845 glibcxx_cv_func_frexpl_use=no
31846 fi
31847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31848 ac_ext=c
31849 ac_cpp='$CPP $CPPFLAGS'
31850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31853
31854
31855 fi
31856
31857 fi
31858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31859 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31860
31861 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31862 for ac_func in frexpl
31863 do :
31864 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31865 if test "x$ac_cv_func_frexpl" = x""yes; then :
31866 cat >>confdefs.h <<_ACEOF
31867 #define HAVE_FREXPL 1
31868 _ACEOF
31869
31870 fi
31871 done
31872
31873 else
31874
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31876 $as_echo_n "checking for _frexpl declaration... " >&6; }
31877 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31878 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31880 else
31881
31882
31883 ac_ext=cpp
31884 ac_cpp='$CXXCPP $CPPFLAGS'
31885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31888
31889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31890 /* end confdefs.h. */
31891 #include <math.h>
31892 int
31893 main ()
31894 {
31895 _frexpl(0, 0);
31896 ;
31897 return 0;
31898 }
31899 _ACEOF
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func__frexpl_use=yes
31902 else
31903 glibcxx_cv_func__frexpl_use=no
31904 fi
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31906 ac_ext=c
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31911
31912
31913 fi
31914
31915 fi
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31917 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31918
31919 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31920 for ac_func in _frexpl
31921 do :
31922 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31923 if test "x$ac_cv_func__frexpl" = x""yes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE__FREXPL 1
31926 _ACEOF
31927
31928 fi
31929 done
31930
31931 fi
31932 fi
31933
31934
31935
31936
31937
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31939 $as_echo_n "checking for hypotl declaration... " >&6; }
31940 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31941 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31942 $as_echo_n "(cached) " >&6
31943 else
31944
31945
31946 ac_ext=cpp
31947 ac_cpp='$CXXCPP $CPPFLAGS'
31948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31951
31952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31953 /* end confdefs.h. */
31954 #include <math.h>
31955 int
31956 main ()
31957 {
31958 hypotl(0, 0);
31959 ;
31960 return 0;
31961 }
31962 _ACEOF
31963 if ac_fn_cxx_try_compile "$LINENO"; then :
31964 glibcxx_cv_func_hypotl_use=yes
31965 else
31966 glibcxx_cv_func_hypotl_use=no
31967 fi
31968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31969 ac_ext=c
31970 ac_cpp='$CPP $CPPFLAGS'
31971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31974
31975
31976 fi
31977
31978 fi
31979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31980 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31981
31982 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31983 for ac_func in hypotl
31984 do :
31985 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31986 if test "x$ac_cv_func_hypotl" = x""yes; then :
31987 cat >>confdefs.h <<_ACEOF
31988 #define HAVE_HYPOTL 1
31989 _ACEOF
31990
31991 fi
31992 done
31993
31994 else
31995
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31997 $as_echo_n "checking for _hypotl declaration... " >&6; }
31998 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31999 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32000 $as_echo_n "(cached) " >&6
32001 else
32002
32003
32004 ac_ext=cpp
32005 ac_cpp='$CXXCPP $CPPFLAGS'
32006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32009
32010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32011 /* end confdefs.h. */
32012 #include <math.h>
32013 int
32014 main ()
32015 {
32016 _hypotl(0, 0);
32017 ;
32018 return 0;
32019 }
32020 _ACEOF
32021 if ac_fn_cxx_try_compile "$LINENO"; then :
32022 glibcxx_cv_func__hypotl_use=yes
32023 else
32024 glibcxx_cv_func__hypotl_use=no
32025 fi
32026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32027 ac_ext=c
32028 ac_cpp='$CPP $CPPFLAGS'
32029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32032
32033
32034 fi
32035
32036 fi
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32038 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32039
32040 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32041 for ac_func in _hypotl
32042 do :
32043 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32044 if test "x$ac_cv_func__hypotl" = x""yes; then :
32045 cat >>confdefs.h <<_ACEOF
32046 #define HAVE__HYPOTL 1
32047 _ACEOF
32048
32049 fi
32050 done
32051
32052 fi
32053 fi
32054
32055
32056
32057
32058
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32060 $as_echo_n "checking for ldexpl declaration... " >&6; }
32061 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32062 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32063 $as_echo_n "(cached) " >&6
32064 else
32065
32066
32067 ac_ext=cpp
32068 ac_cpp='$CXXCPP $CPPFLAGS'
32069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32072
32073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32074 /* end confdefs.h. */
32075 #include <math.h>
32076 int
32077 main ()
32078 {
32079 ldexpl(0, 0);
32080 ;
32081 return 0;
32082 }
32083 _ACEOF
32084 if ac_fn_cxx_try_compile "$LINENO"; then :
32085 glibcxx_cv_func_ldexpl_use=yes
32086 else
32087 glibcxx_cv_func_ldexpl_use=no
32088 fi
32089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32090 ac_ext=c
32091 ac_cpp='$CPP $CPPFLAGS'
32092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32095
32096
32097 fi
32098
32099 fi
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32101 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32102
32103 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32104 for ac_func in ldexpl
32105 do :
32106 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32107 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32108 cat >>confdefs.h <<_ACEOF
32109 #define HAVE_LDEXPL 1
32110 _ACEOF
32111
32112 fi
32113 done
32114
32115 else
32116
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32118 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32119 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32120 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32121 $as_echo_n "(cached) " >&6
32122 else
32123
32124
32125 ac_ext=cpp
32126 ac_cpp='$CXXCPP $CPPFLAGS'
32127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32130
32131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32132 /* end confdefs.h. */
32133 #include <math.h>
32134 int
32135 main ()
32136 {
32137 _ldexpl(0, 0);
32138 ;
32139 return 0;
32140 }
32141 _ACEOF
32142 if ac_fn_cxx_try_compile "$LINENO"; then :
32143 glibcxx_cv_func__ldexpl_use=yes
32144 else
32145 glibcxx_cv_func__ldexpl_use=no
32146 fi
32147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32148 ac_ext=c
32149 ac_cpp='$CPP $CPPFLAGS'
32150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32153
32154
32155 fi
32156
32157 fi
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32159 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32160
32161 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32162 for ac_func in _ldexpl
32163 do :
32164 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32165 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32166 cat >>confdefs.h <<_ACEOF
32167 #define HAVE__LDEXPL 1
32168 _ACEOF
32169
32170 fi
32171 done
32172
32173 fi
32174 fi
32175
32176
32177
32178
32179
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32181 $as_echo_n "checking for logl declaration... " >&6; }
32182 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32183 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32184 $as_echo_n "(cached) " >&6
32185 else
32186
32187
32188 ac_ext=cpp
32189 ac_cpp='$CXXCPP $CPPFLAGS'
32190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32193
32194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32195 /* end confdefs.h. */
32196 #include <math.h>
32197 #ifdef HAVE_IEEEFP_H
32198 #include <ieeefp.h>
32199 #endif
32200
32201 int
32202 main ()
32203 {
32204 logl(0);
32205 ;
32206 return 0;
32207 }
32208 _ACEOF
32209 if ac_fn_cxx_try_compile "$LINENO"; then :
32210 glibcxx_cv_func_logl_use=yes
32211 else
32212 glibcxx_cv_func_logl_use=no
32213 fi
32214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32215 ac_ext=c
32216 ac_cpp='$CPP $CPPFLAGS'
32217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32220
32221
32222 fi
32223
32224 fi
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32226 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32227
32228 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32229 for ac_func in logl
32230 do :
32231 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32232 if test "x$ac_cv_func_logl" = x""yes; then :
32233 cat >>confdefs.h <<_ACEOF
32234 #define HAVE_LOGL 1
32235 _ACEOF
32236
32237 fi
32238 done
32239
32240 else
32241
32242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32243 $as_echo_n "checking for _logl declaration... " >&6; }
32244 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32245 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32246 $as_echo_n "(cached) " >&6
32247 else
32248
32249
32250 ac_ext=cpp
32251 ac_cpp='$CXXCPP $CPPFLAGS'
32252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255
32256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32257 /* end confdefs.h. */
32258 #include <math.h>
32259 #ifdef HAVE_IEEEFP_H
32260 #include <ieeefp.h>
32261 #endif
32262
32263 int
32264 main ()
32265 {
32266 _logl(0);
32267 ;
32268 return 0;
32269 }
32270 _ACEOF
32271 if ac_fn_cxx_try_compile "$LINENO"; then :
32272 glibcxx_cv_func__logl_use=yes
32273 else
32274 glibcxx_cv_func__logl_use=no
32275 fi
32276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32277 ac_ext=c
32278 ac_cpp='$CPP $CPPFLAGS'
32279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32282
32283
32284 fi
32285
32286 fi
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32288 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32289
32290 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32291 for ac_func in _logl
32292 do :
32293 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32294 if test "x$ac_cv_func__logl" = x""yes; then :
32295 cat >>confdefs.h <<_ACEOF
32296 #define HAVE__LOGL 1
32297 _ACEOF
32298
32299 fi
32300 done
32301
32302 fi
32303 fi
32304
32305
32306
32307
32308
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32310 $as_echo_n "checking for log10l declaration... " >&6; }
32311 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32312 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32313 $as_echo_n "(cached) " >&6
32314 else
32315
32316
32317 ac_ext=cpp
32318 ac_cpp='$CXXCPP $CPPFLAGS'
32319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32322
32323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32324 /* end confdefs.h. */
32325 #include <math.h>
32326 #ifdef HAVE_IEEEFP_H
32327 #include <ieeefp.h>
32328 #endif
32329
32330 int
32331 main ()
32332 {
32333 log10l(0);
32334 ;
32335 return 0;
32336 }
32337 _ACEOF
32338 if ac_fn_cxx_try_compile "$LINENO"; then :
32339 glibcxx_cv_func_log10l_use=yes
32340 else
32341 glibcxx_cv_func_log10l_use=no
32342 fi
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 ac_ext=c
32345 ac_cpp='$CPP $CPPFLAGS'
32346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32349
32350
32351 fi
32352
32353 fi
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32355 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32356
32357 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32358 for ac_func in log10l
32359 do :
32360 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32361 if test "x$ac_cv_func_log10l" = x""yes; then :
32362 cat >>confdefs.h <<_ACEOF
32363 #define HAVE_LOG10L 1
32364 _ACEOF
32365
32366 fi
32367 done
32368
32369 else
32370
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32372 $as_echo_n "checking for _log10l declaration... " >&6; }
32373 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32374 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32375 $as_echo_n "(cached) " >&6
32376 else
32377
32378
32379 ac_ext=cpp
32380 ac_cpp='$CXXCPP $CPPFLAGS'
32381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32384
32385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32386 /* end confdefs.h. */
32387 #include <math.h>
32388 #ifdef HAVE_IEEEFP_H
32389 #include <ieeefp.h>
32390 #endif
32391
32392 int
32393 main ()
32394 {
32395 _log10l(0);
32396 ;
32397 return 0;
32398 }
32399 _ACEOF
32400 if ac_fn_cxx_try_compile "$LINENO"; then :
32401 glibcxx_cv_func__log10l_use=yes
32402 else
32403 glibcxx_cv_func__log10l_use=no
32404 fi
32405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32406 ac_ext=c
32407 ac_cpp='$CPP $CPPFLAGS'
32408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32411
32412
32413 fi
32414
32415 fi
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32417 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32418
32419 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32420 for ac_func in _log10l
32421 do :
32422 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32423 if test "x$ac_cv_func__log10l" = x""yes; then :
32424 cat >>confdefs.h <<_ACEOF
32425 #define HAVE__LOG10L 1
32426 _ACEOF
32427
32428 fi
32429 done
32430
32431 fi
32432 fi
32433
32434
32435
32436
32437
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32439 $as_echo_n "checking for modfl declaration... " >&6; }
32440 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32441 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32442 $as_echo_n "(cached) " >&6
32443 else
32444
32445
32446 ac_ext=cpp
32447 ac_cpp='$CXXCPP $CPPFLAGS'
32448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32451
32452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32453 /* end confdefs.h. */
32454 #include <math.h>
32455 int
32456 main ()
32457 {
32458 modfl(0, 0);
32459 ;
32460 return 0;
32461 }
32462 _ACEOF
32463 if ac_fn_cxx_try_compile "$LINENO"; then :
32464 glibcxx_cv_func_modfl_use=yes
32465 else
32466 glibcxx_cv_func_modfl_use=no
32467 fi
32468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32469 ac_ext=c
32470 ac_cpp='$CPP $CPPFLAGS'
32471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32474
32475
32476 fi
32477
32478 fi
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32480 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32481
32482 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32483 for ac_func in modfl
32484 do :
32485 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32486 if test "x$ac_cv_func_modfl" = x""yes; then :
32487 cat >>confdefs.h <<_ACEOF
32488 #define HAVE_MODFL 1
32489 _ACEOF
32490
32491 fi
32492 done
32493
32494 else
32495
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32497 $as_echo_n "checking for _modfl declaration... " >&6; }
32498 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32499 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32502
32503
32504 ac_ext=cpp
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32509
32510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h. */
32512 #include <math.h>
32513 int
32514 main ()
32515 {
32516 _modfl(0, 0);
32517 ;
32518 return 0;
32519 }
32520 _ACEOF
32521 if ac_fn_cxx_try_compile "$LINENO"; then :
32522 glibcxx_cv_func__modfl_use=yes
32523 else
32524 glibcxx_cv_func__modfl_use=no
32525 fi
32526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32527 ac_ext=c
32528 ac_cpp='$CPP $CPPFLAGS'
32529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32532
32533
32534 fi
32535
32536 fi
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32538 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32539
32540 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32541 for ac_func in _modfl
32542 do :
32543 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32544 if test "x$ac_cv_func__modfl" = x""yes; then :
32545 cat >>confdefs.h <<_ACEOF
32546 #define HAVE__MODFL 1
32547 _ACEOF
32548
32549 fi
32550 done
32551
32552 fi
32553 fi
32554
32555
32556
32557
32558
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32560 $as_echo_n "checking for powl declaration... " >&6; }
32561 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32562 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32563 $as_echo_n "(cached) " >&6
32564 else
32565
32566
32567 ac_ext=cpp
32568 ac_cpp='$CXXCPP $CPPFLAGS'
32569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32572
32573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32574 /* end confdefs.h. */
32575 #include <math.h>
32576 int
32577 main ()
32578 {
32579 powl(0, 0);
32580 ;
32581 return 0;
32582 }
32583 _ACEOF
32584 if ac_fn_cxx_try_compile "$LINENO"; then :
32585 glibcxx_cv_func_powl_use=yes
32586 else
32587 glibcxx_cv_func_powl_use=no
32588 fi
32589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32590 ac_ext=c
32591 ac_cpp='$CPP $CPPFLAGS'
32592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32595
32596
32597 fi
32598
32599 fi
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32601 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32602
32603 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32604 for ac_func in powl
32605 do :
32606 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32607 if test "x$ac_cv_func_powl" = x""yes; then :
32608 cat >>confdefs.h <<_ACEOF
32609 #define HAVE_POWL 1
32610 _ACEOF
32611
32612 fi
32613 done
32614
32615 else
32616
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32618 $as_echo_n "checking for _powl declaration... " >&6; }
32619 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32620 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32621 $as_echo_n "(cached) " >&6
32622 else
32623
32624
32625 ac_ext=cpp
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32630
32631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32633 #include <math.h>
32634 int
32635 main ()
32636 {
32637 _powl(0, 0);
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func__powl_use=yes
32644 else
32645 glibcxx_cv_func__powl_use=no
32646 fi
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653
32654
32655 fi
32656
32657 fi
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32659 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32660
32661 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32662 for ac_func in _powl
32663 do :
32664 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32665 if test "x$ac_cv_func__powl" = x""yes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE__POWL 1
32668 _ACEOF
32669
32670 fi
32671 done
32672
32673 fi
32674 fi
32675
32676
32677
32678
32679
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32681 $as_echo_n "checking for sqrtl declaration... " >&6; }
32682 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32683 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32684 $as_echo_n "(cached) " >&6
32685 else
32686
32687
32688 ac_ext=cpp
32689 ac_cpp='$CXXCPP $CPPFLAGS'
32690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32693
32694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32695 /* end confdefs.h. */
32696 #include <math.h>
32697 #ifdef HAVE_IEEEFP_H
32698 #include <ieeefp.h>
32699 #endif
32700
32701 int
32702 main ()
32703 {
32704 sqrtl(0);
32705 ;
32706 return 0;
32707 }
32708 _ACEOF
32709 if ac_fn_cxx_try_compile "$LINENO"; then :
32710 glibcxx_cv_func_sqrtl_use=yes
32711 else
32712 glibcxx_cv_func_sqrtl_use=no
32713 fi
32714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32715 ac_ext=c
32716 ac_cpp='$CPP $CPPFLAGS'
32717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32720
32721
32722 fi
32723
32724 fi
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32726 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32727
32728 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32729 for ac_func in sqrtl
32730 do :
32731 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32732 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32733 cat >>confdefs.h <<_ACEOF
32734 #define HAVE_SQRTL 1
32735 _ACEOF
32736
32737 fi
32738 done
32739
32740 else
32741
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32743 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32744 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32745 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32746 $as_echo_n "(cached) " >&6
32747 else
32748
32749
32750 ac_ext=cpp
32751 ac_cpp='$CXXCPP $CPPFLAGS'
32752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32755
32756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32757 /* end confdefs.h. */
32758 #include <math.h>
32759 #ifdef HAVE_IEEEFP_H
32760 #include <ieeefp.h>
32761 #endif
32762
32763 int
32764 main ()
32765 {
32766 _sqrtl(0);
32767 ;
32768 return 0;
32769 }
32770 _ACEOF
32771 if ac_fn_cxx_try_compile "$LINENO"; then :
32772 glibcxx_cv_func__sqrtl_use=yes
32773 else
32774 glibcxx_cv_func__sqrtl_use=no
32775 fi
32776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32777 ac_ext=c
32778 ac_cpp='$CPP $CPPFLAGS'
32779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32782
32783
32784 fi
32785
32786 fi
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32788 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32789
32790 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32791 for ac_func in _sqrtl
32792 do :
32793 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32794 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32795 cat >>confdefs.h <<_ACEOF
32796 #define HAVE__SQRTL 1
32797 _ACEOF
32798
32799 fi
32800 done
32801
32802 fi
32803 fi
32804
32805
32806
32807
32808
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32810 $as_echo_n "checking for sincosl declaration... " >&6; }
32811 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32812 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32813 $as_echo_n "(cached) " >&6
32814 else
32815
32816
32817 ac_ext=cpp
32818 ac_cpp='$CXXCPP $CPPFLAGS'
32819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32822
32823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32824 /* end confdefs.h. */
32825 #include <math.h>
32826 int
32827 main ()
32828 {
32829 sincosl(0, 0, 0);
32830 ;
32831 return 0;
32832 }
32833 _ACEOF
32834 if ac_fn_cxx_try_compile "$LINENO"; then :
32835 glibcxx_cv_func_sincosl_use=yes
32836 else
32837 glibcxx_cv_func_sincosl_use=no
32838 fi
32839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32840 ac_ext=c
32841 ac_cpp='$CPP $CPPFLAGS'
32842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32845
32846
32847 fi
32848
32849 fi
32850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32851 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32852
32853 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32854 for ac_func in sincosl
32855 do :
32856 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32857 if test "x$ac_cv_func_sincosl" = x""yes; then :
32858 cat >>confdefs.h <<_ACEOF
32859 #define HAVE_SINCOSL 1
32860 _ACEOF
32861
32862 fi
32863 done
32864
32865 else
32866
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32868 $as_echo_n "checking for _sincosl declaration... " >&6; }
32869 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32870 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32871 $as_echo_n "(cached) " >&6
32872 else
32873
32874
32875 ac_ext=cpp
32876 ac_cpp='$CXXCPP $CPPFLAGS'
32877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32880
32881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32882 /* end confdefs.h. */
32883 #include <math.h>
32884 int
32885 main ()
32886 {
32887 _sincosl(0, 0, 0);
32888 ;
32889 return 0;
32890 }
32891 _ACEOF
32892 if ac_fn_cxx_try_compile "$LINENO"; then :
32893 glibcxx_cv_func__sincosl_use=yes
32894 else
32895 glibcxx_cv_func__sincosl_use=no
32896 fi
32897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32898 ac_ext=c
32899 ac_cpp='$CPP $CPPFLAGS'
32900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32903
32904
32905 fi
32906
32907 fi
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32909 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32910
32911 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32912 for ac_func in _sincosl
32913 do :
32914 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32915 if test "x$ac_cv_func__sincosl" = x""yes; then :
32916 cat >>confdefs.h <<_ACEOF
32917 #define HAVE__SINCOSL 1
32918 _ACEOF
32919
32920 fi
32921 done
32922
32923 fi
32924 fi
32925
32926
32927
32928
32929
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32931 $as_echo_n "checking for finitel declaration... " >&6; }
32932 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32933 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32934 $as_echo_n "(cached) " >&6
32935 else
32936
32937
32938 ac_ext=cpp
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32943
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32946 #include <math.h>
32947 #ifdef HAVE_IEEEFP_H
32948 #include <ieeefp.h>
32949 #endif
32950
32951 int
32952 main ()
32953 {
32954 finitel(0);
32955 ;
32956 return 0;
32957 }
32958 _ACEOF
32959 if ac_fn_cxx_try_compile "$LINENO"; then :
32960 glibcxx_cv_func_finitel_use=yes
32961 else
32962 glibcxx_cv_func_finitel_use=no
32963 fi
32964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32965 ac_ext=c
32966 ac_cpp='$CPP $CPPFLAGS'
32967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32970
32971
32972 fi
32973
32974 fi
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32976 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32977
32978 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32979 for ac_func in finitel
32980 do :
32981 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32982 if test "x$ac_cv_func_finitel" = x""yes; then :
32983 cat >>confdefs.h <<_ACEOF
32984 #define HAVE_FINITEL 1
32985 _ACEOF
32986
32987 fi
32988 done
32989
32990 else
32991
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32993 $as_echo_n "checking for _finitel declaration... " >&6; }
32994 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32995 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32996 $as_echo_n "(cached) " >&6
32997 else
32998
32999
33000 ac_ext=cpp
33001 ac_cpp='$CXXCPP $CPPFLAGS'
33002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33005
33006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33007 /* end confdefs.h. */
33008 #include <math.h>
33009 #ifdef HAVE_IEEEFP_H
33010 #include <ieeefp.h>
33011 #endif
33012
33013 int
33014 main ()
33015 {
33016 _finitel(0);
33017 ;
33018 return 0;
33019 }
33020 _ACEOF
33021 if ac_fn_cxx_try_compile "$LINENO"; then :
33022 glibcxx_cv_func__finitel_use=yes
33023 else
33024 glibcxx_cv_func__finitel_use=no
33025 fi
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33027 ac_ext=c
33028 ac_cpp='$CPP $CPPFLAGS'
33029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33032
33033
33034 fi
33035
33036 fi
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33038 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33039
33040 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33041 for ac_func in _finitel
33042 do :
33043 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33044 if test "x$ac_cv_func__finitel" = x""yes; then :
33045 cat >>confdefs.h <<_ACEOF
33046 #define HAVE__FINITEL 1
33047 _ACEOF
33048
33049 fi
33050 done
33051
33052 fi
33053 fi
33054
33055
33056
33057
33058 LIBS="$ac_save_LIBS"
33059 CXXFLAGS="$ac_save_CXXFLAGS"
33060
33061
33062 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33063 ac_save_CXXFLAGS="$CXXFLAGS"
33064 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33065
33066
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33068 $as_echo_n "checking for strtold declaration... " >&6; }
33069 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33070 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33071 $as_echo_n "(cached) " >&6
33072 else
33073
33074
33075 ac_ext=cpp
33076 ac_cpp='$CXXCPP $CPPFLAGS'
33077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33080
33081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33082 /* end confdefs.h. */
33083 #include <stdlib.h>
33084 int
33085 main ()
33086 {
33087 strtold(0, 0);
33088 ;
33089 return 0;
33090 }
33091 _ACEOF
33092 if ac_fn_cxx_try_compile "$LINENO"; then :
33093 glibcxx_cv_func_strtold_use=yes
33094 else
33095 glibcxx_cv_func_strtold_use=no
33096 fi
33097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33098 ac_ext=c
33099 ac_cpp='$CPP $CPPFLAGS'
33100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33103
33104
33105 fi
33106
33107 fi
33108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33109 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33110 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33111 for ac_func in strtold
33112 do :
33113 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33114 if test "x$ac_cv_func_strtold" = x""yes; then :
33115 cat >>confdefs.h <<_ACEOF
33116 #define HAVE_STRTOLD 1
33117 _ACEOF
33118
33119 fi
33120 done
33121
33122 fi
33123
33124
33125
33126
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33128 $as_echo_n "checking for strtof declaration... " >&6; }
33129 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33130 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33131 $as_echo_n "(cached) " >&6
33132 else
33133
33134
33135 ac_ext=cpp
33136 ac_cpp='$CXXCPP $CPPFLAGS'
33137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140
33141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33142 /* end confdefs.h. */
33143 #include <stdlib.h>
33144 int
33145 main ()
33146 {
33147 strtof(0, 0);
33148 ;
33149 return 0;
33150 }
33151 _ACEOF
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func_strtof_use=yes
33154 else
33155 glibcxx_cv_func_strtof_use=no
33156 fi
33157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33158 ac_ext=c
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163
33164
33165 fi
33166
33167 fi
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33169 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33170 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33171 for ac_func in strtof
33172 do :
33173 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33174 if test "x$ac_cv_func_strtof" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE_STRTOF 1
33177 _ACEOF
33178
33179 fi
33180 done
33181
33182 fi
33183
33184
33185
33186
33187 CXXFLAGS="$ac_save_CXXFLAGS"
33188
33189
33190 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33191
33192 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33193
33194 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33195
33196 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33197
33198
33199 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33200
33201 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33202
33203 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33204
33205 ;;
33206
33207 *-aix*)
33208
33209 # If we're not using GNU ld, then there's no point in even trying these
33210 # tests. Check for that first. We should have already tested for gld
33211 # by now (in libtool), but require it now just to be safe...
33212 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33213 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33214
33215
33216
33217 # The name set by libtool depends on the version of libtool. Shame on us
33218 # for depending on an impl detail, but c'est la vie. Older versions used
33219 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33220 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33221 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33222 # set (hence we're using an older libtool), then set it.
33223 if test x${with_gnu_ld+set} != xset; then
33224 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33225 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33226 with_gnu_ld=no
33227 else
33228 with_gnu_ld=$ac_cv_prog_gnu_ld
33229 fi
33230 fi
33231
33232 # Start by getting the version number. I think the libtool test already
33233 # does some of this, but throws away the result.
33234 glibcxx_ld_is_gold=no
33235 if test x"$with_gnu_ld" = x"yes"; then
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33237 $as_echo_n "checking for ld version... " >&6; }
33238
33239 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33240 glibcxx_ld_is_gold=yes
33241 fi
33242 ldver=`$LD --version 2>/dev/null |
33243 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33244
33245 glibcxx_gnu_ld_version=`echo $ldver | \
33246 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33248 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33249 fi
33250
33251 # Set --gc-sections.
33252 glibcxx_have_gc_sections=no
33253 if test "$glibcxx_ld_is_gold" = "yes"; then
33254 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33255 glibcxx_have_gc_sections=yes
33256 fi
33257 else
33258 glibcxx_gcsections_min_ld=21602
33259 if test x"$with_gnu_ld" = x"yes" &&
33260 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33261 glibcxx_have_gc_sections=yes
33262 fi
33263 fi
33264 if test "$glibcxx_have_gc_sections" = "yes"; then
33265 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33266 # NB: This flag only works reliably after 2.16.1. Configure tests
33267 # for this are difficult, so hard wire a value that should work.
33268
33269 ac_test_CFLAGS="${CFLAGS+set}"
33270 ac_save_CFLAGS="$CFLAGS"
33271 CFLAGS='-Wl,--gc-sections'
33272
33273 # Check for -Wl,--gc-sections
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33275 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33276 if test x$gcc_no_link = xyes; then
33277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33278 fi
33279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h. */
33281 int one(void) { return 1; }
33282 int two(void) { return 2; }
33283
33284 int
33285 main ()
33286 {
33287 two();
33288 ;
33289 return 0;
33290 }
33291 _ACEOF
33292 if ac_fn_c_try_link "$LINENO"; then :
33293 ac_gcsections=yes
33294 else
33295 ac_gcsections=no
33296 fi
33297 rm -f core conftest.err conftest.$ac_objext \
33298 conftest$ac_exeext conftest.$ac_ext
33299 if test "$ac_gcsections" = "yes"; then
33300 rm -f conftest.c
33301 touch conftest.c
33302 if $CC -c conftest.c; then
33303 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33304 grep "Warning: gc-sections option ignored" > /dev/null; then
33305 ac_gcsections=no
33306 fi
33307 fi
33308 rm -f conftest.c conftest.o conftest
33309 fi
33310 if test "$ac_gcsections" = "yes"; then
33311 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33312 fi
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33314 $as_echo "$ac_gcsections" >&6; }
33315
33316 if test "$ac_test_CFLAGS" = set; then
33317 CFLAGS="$ac_save_CFLAGS"
33318 else
33319 # this is the suspicious part
33320 CFLAGS=''
33321 fi
33322 fi
33323
33324 # Set -z,relro.
33325 # Note this is only for shared objects.
33326 ac_ld_relro=no
33327 if test x"$with_gnu_ld" = x"yes"; then
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33329 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33330 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33331 if test -n "$cxx_z_relo"; then
33332 OPT_LDFLAGS="-Wl,-z,relro"
33333 ac_ld_relro=yes
33334 fi
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33336 $as_echo "$ac_ld_relro" >&6; }
33337 fi
33338
33339 # Set linker optimization flags.
33340 if test x"$with_gnu_ld" = x"yes"; then
33341 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33342 fi
33343
33344
33345
33346
33347
33348 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33349 ac_save_CXXFLAGS="$CXXFLAGS"
33350 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33351
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33353 $as_echo_n "checking for sin in -lm... " >&6; }
33354 if test "${ac_cv_lib_m_sin+set}" = set; then :
33355 $as_echo_n "(cached) " >&6
33356 else
33357 ac_check_lib_save_LIBS=$LIBS
33358 LIBS="-lm $LIBS"
33359 if test x$gcc_no_link = xyes; then
33360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33361 fi
33362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33363 /* end confdefs.h. */
33364
33365 /* Override any GCC internal prototype to avoid an error.
33366 Use char because int might match the return type of a GCC
33367 builtin and then its argument prototype would still apply. */
33368 #ifdef __cplusplus
33369 extern "C"
33370 #endif
33371 char sin ();
33372 int
33373 main ()
33374 {
33375 return sin ();
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 if ac_fn_c_try_link "$LINENO"; then :
33381 ac_cv_lib_m_sin=yes
33382 else
33383 ac_cv_lib_m_sin=no
33384 fi
33385 rm -f core conftest.err conftest.$ac_objext \
33386 conftest$ac_exeext conftest.$ac_ext
33387 LIBS=$ac_check_lib_save_LIBS
33388 fi
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33390 $as_echo "$ac_cv_lib_m_sin" >&6; }
33391 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33392 libm="-lm"
33393 fi
33394
33395 ac_save_LIBS="$LIBS"
33396 LIBS="$LIBS $libm"
33397
33398
33399
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33401 $as_echo_n "checking for isinf declaration... " >&6; }
33402 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33403 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33406
33407
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33417 #ifdef HAVE_IEEEFP_H
33418 #include <ieeefp.h>
33419 #endif
33420
33421 int
33422 main ()
33423 {
33424 isinf(0);
33425 ;
33426 return 0;
33427 }
33428 _ACEOF
33429 if ac_fn_cxx_try_compile "$LINENO"; then :
33430 glibcxx_cv_func_isinf_use=yes
33431 else
33432 glibcxx_cv_func_isinf_use=no
33433 fi
33434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33435 ac_ext=c
33436 ac_cpp='$CPP $CPPFLAGS'
33437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33440
33441
33442 fi
33443
33444 fi
33445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33446 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33447
33448 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33449 for ac_func in isinf
33450 do :
33451 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33452 if test "x$ac_cv_func_isinf" = x""yes; then :
33453 cat >>confdefs.h <<_ACEOF
33454 #define HAVE_ISINF 1
33455 _ACEOF
33456
33457 fi
33458 done
33459
33460 else
33461
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33463 $as_echo_n "checking for _isinf declaration... " >&6; }
33464 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33465 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33466 $as_echo_n "(cached) " >&6
33467 else
33468
33469
33470 ac_ext=cpp
33471 ac_cpp='$CXXCPP $CPPFLAGS'
33472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33475
33476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33477 /* end confdefs.h. */
33478 #include <math.h>
33479 #ifdef HAVE_IEEEFP_H
33480 #include <ieeefp.h>
33481 #endif
33482
33483 int
33484 main ()
33485 {
33486 _isinf(0);
33487 ;
33488 return 0;
33489 }
33490 _ACEOF
33491 if ac_fn_cxx_try_compile "$LINENO"; then :
33492 glibcxx_cv_func__isinf_use=yes
33493 else
33494 glibcxx_cv_func__isinf_use=no
33495 fi
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33497 ac_ext=c
33498 ac_cpp='$CPP $CPPFLAGS'
33499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33502
33503
33504 fi
33505
33506 fi
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33508 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33509
33510 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33511 for ac_func in _isinf
33512 do :
33513 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33514 if test "x$ac_cv_func__isinf" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE__ISINF 1
33517 _ACEOF
33518
33519 fi
33520 done
33521
33522 fi
33523 fi
33524
33525
33526
33527
33528
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33530 $as_echo_n "checking for isnan declaration... " >&6; }
33531 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33532 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33533 $as_echo_n "(cached) " >&6
33534 else
33535
33536
33537 ac_ext=cpp
33538 ac_cpp='$CXXCPP $CPPFLAGS'
33539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33542
33543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33544 /* end confdefs.h. */
33545 #include <math.h>
33546 #ifdef HAVE_IEEEFP_H
33547 #include <ieeefp.h>
33548 #endif
33549
33550 int
33551 main ()
33552 {
33553 isnan(0);
33554 ;
33555 return 0;
33556 }
33557 _ACEOF
33558 if ac_fn_cxx_try_compile "$LINENO"; then :
33559 glibcxx_cv_func_isnan_use=yes
33560 else
33561 glibcxx_cv_func_isnan_use=no
33562 fi
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564 ac_ext=c
33565 ac_cpp='$CPP $CPPFLAGS'
33566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33569
33570
33571 fi
33572
33573 fi
33574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33575 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33576
33577 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33578 for ac_func in isnan
33579 do :
33580 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33581 if test "x$ac_cv_func_isnan" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define HAVE_ISNAN 1
33584 _ACEOF
33585
33586 fi
33587 done
33588
33589 else
33590
33591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33592 $as_echo_n "checking for _isnan declaration... " >&6; }
33593 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33594 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33595 $as_echo_n "(cached) " >&6
33596 else
33597
33598
33599 ac_ext=cpp
33600 ac_cpp='$CXXCPP $CPPFLAGS'
33601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33604
33605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33606 /* end confdefs.h. */
33607 #include <math.h>
33608 #ifdef HAVE_IEEEFP_H
33609 #include <ieeefp.h>
33610 #endif
33611
33612 int
33613 main ()
33614 {
33615 _isnan(0);
33616 ;
33617 return 0;
33618 }
33619 _ACEOF
33620 if ac_fn_cxx_try_compile "$LINENO"; then :
33621 glibcxx_cv_func__isnan_use=yes
33622 else
33623 glibcxx_cv_func__isnan_use=no
33624 fi
33625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33626 ac_ext=c
33627 ac_cpp='$CPP $CPPFLAGS'
33628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33631
33632
33633 fi
33634
33635 fi
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33637 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33638
33639 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33640 for ac_func in _isnan
33641 do :
33642 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33643 if test "x$ac_cv_func__isnan" = x""yes; then :
33644 cat >>confdefs.h <<_ACEOF
33645 #define HAVE__ISNAN 1
33646 _ACEOF
33647
33648 fi
33649 done
33650
33651 fi
33652 fi
33653
33654
33655
33656
33657
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33659 $as_echo_n "checking for finite declaration... " >&6; }
33660 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33661 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33662 $as_echo_n "(cached) " >&6
33663 else
33664
33665
33666 ac_ext=cpp
33667 ac_cpp='$CXXCPP $CPPFLAGS'
33668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33671
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33673 /* end confdefs.h. */
33674 #include <math.h>
33675 #ifdef HAVE_IEEEFP_H
33676 #include <ieeefp.h>
33677 #endif
33678
33679 int
33680 main ()
33681 {
33682 finite(0);
33683 ;
33684 return 0;
33685 }
33686 _ACEOF
33687 if ac_fn_cxx_try_compile "$LINENO"; then :
33688 glibcxx_cv_func_finite_use=yes
33689 else
33690 glibcxx_cv_func_finite_use=no
33691 fi
33692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33693 ac_ext=c
33694 ac_cpp='$CPP $CPPFLAGS'
33695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33698
33699
33700 fi
33701
33702 fi
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33704 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33705
33706 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33707 for ac_func in finite
33708 do :
33709 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33710 if test "x$ac_cv_func_finite" = x""yes; then :
33711 cat >>confdefs.h <<_ACEOF
33712 #define HAVE_FINITE 1
33713 _ACEOF
33714
33715 fi
33716 done
33717
33718 else
33719
33720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33721 $as_echo_n "checking for _finite declaration... " >&6; }
33722 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33723 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33724 $as_echo_n "(cached) " >&6
33725 else
33726
33727
33728 ac_ext=cpp
33729 ac_cpp='$CXXCPP $CPPFLAGS'
33730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33733
33734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33735 /* end confdefs.h. */
33736 #include <math.h>
33737 #ifdef HAVE_IEEEFP_H
33738 #include <ieeefp.h>
33739 #endif
33740
33741 int
33742 main ()
33743 {
33744 _finite(0);
33745 ;
33746 return 0;
33747 }
33748 _ACEOF
33749 if ac_fn_cxx_try_compile "$LINENO"; then :
33750 glibcxx_cv_func__finite_use=yes
33751 else
33752 glibcxx_cv_func__finite_use=no
33753 fi
33754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33755 ac_ext=c
33756 ac_cpp='$CPP $CPPFLAGS'
33757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33760
33761
33762 fi
33763
33764 fi
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33766 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33767
33768 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33769 for ac_func in _finite
33770 do :
33771 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33772 if test "x$ac_cv_func__finite" = x""yes; then :
33773 cat >>confdefs.h <<_ACEOF
33774 #define HAVE__FINITE 1
33775 _ACEOF
33776
33777 fi
33778 done
33779
33780 fi
33781 fi
33782
33783
33784
33785
33786
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33788 $as_echo_n "checking for sincos declaration... " >&6; }
33789 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33790 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33791 $as_echo_n "(cached) " >&6
33792 else
33793
33794
33795 ac_ext=cpp
33796 ac_cpp='$CXXCPP $CPPFLAGS'
33797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33800
33801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33802 /* end confdefs.h. */
33803 #include <math.h>
33804 int
33805 main ()
33806 {
33807 sincos(0, 0, 0);
33808 ;
33809 return 0;
33810 }
33811 _ACEOF
33812 if ac_fn_cxx_try_compile "$LINENO"; then :
33813 glibcxx_cv_func_sincos_use=yes
33814 else
33815 glibcxx_cv_func_sincos_use=no
33816 fi
33817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33818 ac_ext=c
33819 ac_cpp='$CPP $CPPFLAGS'
33820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33823
33824
33825 fi
33826
33827 fi
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33829 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33830
33831 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33832 for ac_func in sincos
33833 do :
33834 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33835 if test "x$ac_cv_func_sincos" = x""yes; then :
33836 cat >>confdefs.h <<_ACEOF
33837 #define HAVE_SINCOS 1
33838 _ACEOF
33839
33840 fi
33841 done
33842
33843 else
33844
33845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33846 $as_echo_n "checking for _sincos declaration... " >&6; }
33847 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33848 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33849 $as_echo_n "(cached) " >&6
33850 else
33851
33852
33853 ac_ext=cpp
33854 ac_cpp='$CXXCPP $CPPFLAGS'
33855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33858
33859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33860 /* end confdefs.h. */
33861 #include <math.h>
33862 int
33863 main ()
33864 {
33865 _sincos(0, 0, 0);
33866 ;
33867 return 0;
33868 }
33869 _ACEOF
33870 if ac_fn_cxx_try_compile "$LINENO"; then :
33871 glibcxx_cv_func__sincos_use=yes
33872 else
33873 glibcxx_cv_func__sincos_use=no
33874 fi
33875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33876 ac_ext=c
33877 ac_cpp='$CPP $CPPFLAGS'
33878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33881
33882
33883 fi
33884
33885 fi
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33887 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33888
33889 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33890 for ac_func in _sincos
33891 do :
33892 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33893 if test "x$ac_cv_func__sincos" = x""yes; then :
33894 cat >>confdefs.h <<_ACEOF
33895 #define HAVE__SINCOS 1
33896 _ACEOF
33897
33898 fi
33899 done
33900
33901 fi
33902 fi
33903
33904
33905
33906
33907
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33909 $as_echo_n "checking for fpclass declaration... " >&6; }
33910 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33911 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33912 $as_echo_n "(cached) " >&6
33913 else
33914
33915
33916 ac_ext=cpp
33917 ac_cpp='$CXXCPP $CPPFLAGS'
33918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33921
33922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33923 /* end confdefs.h. */
33924 #include <math.h>
33925 #ifdef HAVE_IEEEFP_H
33926 #include <ieeefp.h>
33927 #endif
33928
33929 int
33930 main ()
33931 {
33932 fpclass(0);
33933 ;
33934 return 0;
33935 }
33936 _ACEOF
33937 if ac_fn_cxx_try_compile "$LINENO"; then :
33938 glibcxx_cv_func_fpclass_use=yes
33939 else
33940 glibcxx_cv_func_fpclass_use=no
33941 fi
33942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33943 ac_ext=c
33944 ac_cpp='$CPP $CPPFLAGS'
33945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33948
33949
33950 fi
33951
33952 fi
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33954 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33955
33956 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33957 for ac_func in fpclass
33958 do :
33959 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33960 if test "x$ac_cv_func_fpclass" = x""yes; then :
33961 cat >>confdefs.h <<_ACEOF
33962 #define HAVE_FPCLASS 1
33963 _ACEOF
33964
33965 fi
33966 done
33967
33968 else
33969
33970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33971 $as_echo_n "checking for _fpclass declaration... " >&6; }
33972 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33973 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33974 $as_echo_n "(cached) " >&6
33975 else
33976
33977
33978 ac_ext=cpp
33979 ac_cpp='$CXXCPP $CPPFLAGS'
33980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33983
33984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33985 /* end confdefs.h. */
33986 #include <math.h>
33987 #ifdef HAVE_IEEEFP_H
33988 #include <ieeefp.h>
33989 #endif
33990
33991 int
33992 main ()
33993 {
33994 _fpclass(0);
33995 ;
33996 return 0;
33997 }
33998 _ACEOF
33999 if ac_fn_cxx_try_compile "$LINENO"; then :
34000 glibcxx_cv_func__fpclass_use=yes
34001 else
34002 glibcxx_cv_func__fpclass_use=no
34003 fi
34004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34005 ac_ext=c
34006 ac_cpp='$CPP $CPPFLAGS'
34007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34010
34011
34012 fi
34013
34014 fi
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34016 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34017
34018 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34019 for ac_func in _fpclass
34020 do :
34021 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34022 if test "x$ac_cv_func__fpclass" = x""yes; then :
34023 cat >>confdefs.h <<_ACEOF
34024 #define HAVE__FPCLASS 1
34025 _ACEOF
34026
34027 fi
34028 done
34029
34030 fi
34031 fi
34032
34033
34034
34035
34036
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34038 $as_echo_n "checking for qfpclass declaration... " >&6; }
34039 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34040 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34041 $as_echo_n "(cached) " >&6
34042 else
34043
34044
34045 ac_ext=cpp
34046 ac_cpp='$CXXCPP $CPPFLAGS'
34047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34050
34051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34052 /* end confdefs.h. */
34053 #include <math.h>
34054 #ifdef HAVE_IEEEFP_H
34055 #include <ieeefp.h>
34056 #endif
34057
34058 int
34059 main ()
34060 {
34061 qfpclass(0);
34062 ;
34063 return 0;
34064 }
34065 _ACEOF
34066 if ac_fn_cxx_try_compile "$LINENO"; then :
34067 glibcxx_cv_func_qfpclass_use=yes
34068 else
34069 glibcxx_cv_func_qfpclass_use=no
34070 fi
34071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34072 ac_ext=c
34073 ac_cpp='$CPP $CPPFLAGS'
34074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34077
34078
34079 fi
34080
34081 fi
34082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34083 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34084
34085 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34086 for ac_func in qfpclass
34087 do :
34088 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34089 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34090 cat >>confdefs.h <<_ACEOF
34091 #define HAVE_QFPCLASS 1
34092 _ACEOF
34093
34094 fi
34095 done
34096
34097 else
34098
34099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34100 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34101 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34102 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34103 $as_echo_n "(cached) " >&6
34104 else
34105
34106
34107 ac_ext=cpp
34108 ac_cpp='$CXXCPP $CPPFLAGS'
34109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34112
34113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34114 /* end confdefs.h. */
34115 #include <math.h>
34116 #ifdef HAVE_IEEEFP_H
34117 #include <ieeefp.h>
34118 #endif
34119
34120 int
34121 main ()
34122 {
34123 _qfpclass(0);
34124 ;
34125 return 0;
34126 }
34127 _ACEOF
34128 if ac_fn_cxx_try_compile "$LINENO"; then :
34129 glibcxx_cv_func__qfpclass_use=yes
34130 else
34131 glibcxx_cv_func__qfpclass_use=no
34132 fi
34133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34134 ac_ext=c
34135 ac_cpp='$CPP $CPPFLAGS'
34136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34139
34140
34141 fi
34142
34143 fi
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34145 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34146
34147 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34148 for ac_func in _qfpclass
34149 do :
34150 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34151 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34152 cat >>confdefs.h <<_ACEOF
34153 #define HAVE__QFPCLASS 1
34154 _ACEOF
34155
34156 fi
34157 done
34158
34159 fi
34160 fi
34161
34162
34163
34164
34165
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34167 $as_echo_n "checking for hypot declaration... " >&6; }
34168 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34169 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34170 $as_echo_n "(cached) " >&6
34171 else
34172
34173
34174 ac_ext=cpp
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34179
34180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34181 /* end confdefs.h. */
34182 #include <math.h>
34183 int
34184 main ()
34185 {
34186 hypot(0, 0);
34187 ;
34188 return 0;
34189 }
34190 _ACEOF
34191 if ac_fn_cxx_try_compile "$LINENO"; then :
34192 glibcxx_cv_func_hypot_use=yes
34193 else
34194 glibcxx_cv_func_hypot_use=no
34195 fi
34196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34197 ac_ext=c
34198 ac_cpp='$CPP $CPPFLAGS'
34199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34202
34203
34204 fi
34205
34206 fi
34207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34208 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34209
34210 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34211 for ac_func in hypot
34212 do :
34213 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34214 if test "x$ac_cv_func_hypot" = x""yes; then :
34215 cat >>confdefs.h <<_ACEOF
34216 #define HAVE_HYPOT 1
34217 _ACEOF
34218
34219 fi
34220 done
34221
34222 else
34223
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34225 $as_echo_n "checking for _hypot declaration... " >&6; }
34226 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34227 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34228 $as_echo_n "(cached) " >&6
34229 else
34230
34231
34232 ac_ext=cpp
34233 ac_cpp='$CXXCPP $CPPFLAGS'
34234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34237
34238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34239 /* end confdefs.h. */
34240 #include <math.h>
34241 int
34242 main ()
34243 {
34244 _hypot(0, 0);
34245 ;
34246 return 0;
34247 }
34248 _ACEOF
34249 if ac_fn_cxx_try_compile "$LINENO"; then :
34250 glibcxx_cv_func__hypot_use=yes
34251 else
34252 glibcxx_cv_func__hypot_use=no
34253 fi
34254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34255 ac_ext=c
34256 ac_cpp='$CPP $CPPFLAGS'
34257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34260
34261
34262 fi
34263
34264 fi
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34266 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34267
34268 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34269 for ac_func in _hypot
34270 do :
34271 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34272 if test "x$ac_cv_func__hypot" = x""yes; then :
34273 cat >>confdefs.h <<_ACEOF
34274 #define HAVE__HYPOT 1
34275 _ACEOF
34276
34277 fi
34278 done
34279
34280 fi
34281 fi
34282
34283
34284
34285
34286
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34288 $as_echo_n "checking for float trig functions... " >&6; }
34289 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34290 $as_echo_n "(cached) " >&6
34291 else
34292
34293
34294 ac_ext=cpp
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34299
34300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34301 /* end confdefs.h. */
34302 #include <math.h>
34303 int
34304 main ()
34305 {
34306 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34307 ;
34308 return 0;
34309 }
34310 _ACEOF
34311 if ac_fn_cxx_try_compile "$LINENO"; then :
34312 glibcxx_cv_func_float_trig_use=yes
34313 else
34314 glibcxx_cv_func_float_trig_use=no
34315 fi
34316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34317 ac_ext=c
34318 ac_cpp='$CPP $CPPFLAGS'
34319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34322
34323 fi
34324
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34326 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34327 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34328 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34329 do :
34330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34332 eval as_val=\$$as_ac_var
34333 if test "x$as_val" = x""yes; then :
34334 cat >>confdefs.h <<_ACEOF
34335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34336 _ACEOF
34337
34338 fi
34339 done
34340
34341 else
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34343 $as_echo_n "checking for _float trig functions... " >&6; }
34344 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34345 $as_echo_n "(cached) " >&6
34346 else
34347
34348
34349 ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34354
34355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h. */
34357 #include <math.h>
34358 int
34359 main ()
34360 {
34361 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34362 ;
34363 return 0;
34364 }
34365 _ACEOF
34366 if ac_fn_cxx_try_compile "$LINENO"; then :
34367 glibcxx_cv_func__float_trig_use=yes
34368 else
34369 glibcxx_cv_func__float_trig_use=no
34370 fi
34371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34372 ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34377
34378 fi
34379
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34381 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34382 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34383 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34384 do :
34385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34387 eval as_val=\$$as_ac_var
34388 if test "x$as_val" = x""yes; then :
34389 cat >>confdefs.h <<_ACEOF
34390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34391 _ACEOF
34392
34393 fi
34394 done
34395
34396 fi
34397 fi
34398
34399
34400
34401
34402
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34404 $as_echo_n "checking for float round functions... " >&6; }
34405 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34406 $as_echo_n "(cached) " >&6
34407 else
34408
34409
34410 ac_ext=cpp
34411 ac_cpp='$CXXCPP $CPPFLAGS'
34412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34415
34416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34417 /* end confdefs.h. */
34418 #include <math.h>
34419 int
34420 main ()
34421 {
34422 ceilf (0); floorf (0);
34423 ;
34424 return 0;
34425 }
34426 _ACEOF
34427 if ac_fn_cxx_try_compile "$LINENO"; then :
34428 glibcxx_cv_func_float_round_use=yes
34429 else
34430 glibcxx_cv_func_float_round_use=no
34431 fi
34432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433 ac_ext=c
34434 ac_cpp='$CPP $CPPFLAGS'
34435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34438
34439 fi
34440
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34442 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34443 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34444 for ac_func in ceilf floorf
34445 do :
34446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34448 eval as_val=\$$as_ac_var
34449 if test "x$as_val" = x""yes; then :
34450 cat >>confdefs.h <<_ACEOF
34451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34452 _ACEOF
34453
34454 fi
34455 done
34456
34457 else
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34459 $as_echo_n "checking for _float round functions... " >&6; }
34460 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34461 $as_echo_n "(cached) " >&6
34462 else
34463
34464
34465 ac_ext=cpp
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470
34471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34472 /* end confdefs.h. */
34473 #include <math.h>
34474 int
34475 main ()
34476 {
34477 _ceilf (0); _floorf (0);
34478 ;
34479 return 0;
34480 }
34481 _ACEOF
34482 if ac_fn_cxx_try_compile "$LINENO"; then :
34483 glibcxx_cv_func__float_round_use=yes
34484 else
34485 glibcxx_cv_func__float_round_use=no
34486 fi
34487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34488 ac_ext=c
34489 ac_cpp='$CPP $CPPFLAGS'
34490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34493
34494 fi
34495
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34497 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34498 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34499 for ac_func in _ceilf _floorf
34500 do :
34501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34503 eval as_val=\$$as_ac_var
34504 if test "x$as_val" = x""yes; then :
34505 cat >>confdefs.h <<_ACEOF
34506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34507 _ACEOF
34508
34509 fi
34510 done
34511
34512 fi
34513 fi
34514
34515
34516
34517
34518
34519
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34521 $as_echo_n "checking for expf declaration... " >&6; }
34522 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34523 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34524 $as_echo_n "(cached) " >&6
34525 else
34526
34527
34528 ac_ext=cpp
34529 ac_cpp='$CXXCPP $CPPFLAGS'
34530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34533
34534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34535 /* end confdefs.h. */
34536 #include <math.h>
34537 #ifdef HAVE_IEEEFP_H
34538 #include <ieeefp.h>
34539 #endif
34540
34541 int
34542 main ()
34543 {
34544 expf(0);
34545 ;
34546 return 0;
34547 }
34548 _ACEOF
34549 if ac_fn_cxx_try_compile "$LINENO"; then :
34550 glibcxx_cv_func_expf_use=yes
34551 else
34552 glibcxx_cv_func_expf_use=no
34553 fi
34554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34555 ac_ext=c
34556 ac_cpp='$CPP $CPPFLAGS'
34557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34560
34561
34562 fi
34563
34564 fi
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34566 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34567
34568 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34569 for ac_func in expf
34570 do :
34571 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34572 if test "x$ac_cv_func_expf" = x""yes; then :
34573 cat >>confdefs.h <<_ACEOF
34574 #define HAVE_EXPF 1
34575 _ACEOF
34576
34577 fi
34578 done
34579
34580 else
34581
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34583 $as_echo_n "checking for _expf declaration... " >&6; }
34584 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34585 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34586 $as_echo_n "(cached) " >&6
34587 else
34588
34589
34590 ac_ext=cpp
34591 ac_cpp='$CXXCPP $CPPFLAGS'
34592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34595
34596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34597 /* end confdefs.h. */
34598 #include <math.h>
34599 #ifdef HAVE_IEEEFP_H
34600 #include <ieeefp.h>
34601 #endif
34602
34603 int
34604 main ()
34605 {
34606 _expf(0);
34607 ;
34608 return 0;
34609 }
34610 _ACEOF
34611 if ac_fn_cxx_try_compile "$LINENO"; then :
34612 glibcxx_cv_func__expf_use=yes
34613 else
34614 glibcxx_cv_func__expf_use=no
34615 fi
34616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34617 ac_ext=c
34618 ac_cpp='$CPP $CPPFLAGS'
34619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34622
34623
34624 fi
34625
34626 fi
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34628 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34629
34630 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34631 for ac_func in _expf
34632 do :
34633 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34634 if test "x$ac_cv_func__expf" = x""yes; then :
34635 cat >>confdefs.h <<_ACEOF
34636 #define HAVE__EXPF 1
34637 _ACEOF
34638
34639 fi
34640 done
34641
34642 fi
34643 fi
34644
34645
34646
34647
34648
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34650 $as_echo_n "checking for isnanf declaration... " >&6; }
34651 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34652 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34653 $as_echo_n "(cached) " >&6
34654 else
34655
34656
34657 ac_ext=cpp
34658 ac_cpp='$CXXCPP $CPPFLAGS'
34659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34662
34663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34664 /* end confdefs.h. */
34665 #include <math.h>
34666 #ifdef HAVE_IEEEFP_H
34667 #include <ieeefp.h>
34668 #endif
34669
34670 int
34671 main ()
34672 {
34673 isnanf(0);
34674 ;
34675 return 0;
34676 }
34677 _ACEOF
34678 if ac_fn_cxx_try_compile "$LINENO"; then :
34679 glibcxx_cv_func_isnanf_use=yes
34680 else
34681 glibcxx_cv_func_isnanf_use=no
34682 fi
34683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34684 ac_ext=c
34685 ac_cpp='$CPP $CPPFLAGS'
34686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689
34690
34691 fi
34692
34693 fi
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34695 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34696
34697 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34698 for ac_func in isnanf
34699 do :
34700 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34701 if test "x$ac_cv_func_isnanf" = x""yes; then :
34702 cat >>confdefs.h <<_ACEOF
34703 #define HAVE_ISNANF 1
34704 _ACEOF
34705
34706 fi
34707 done
34708
34709 else
34710
34711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34712 $as_echo_n "checking for _isnanf declaration... " >&6; }
34713 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34714 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34715 $as_echo_n "(cached) " >&6
34716 else
34717
34718
34719 ac_ext=cpp
34720 ac_cpp='$CXXCPP $CPPFLAGS'
34721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34724
34725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h. */
34727 #include <math.h>
34728 #ifdef HAVE_IEEEFP_H
34729 #include <ieeefp.h>
34730 #endif
34731
34732 int
34733 main ()
34734 {
34735 _isnanf(0);
34736 ;
34737 return 0;
34738 }
34739 _ACEOF
34740 if ac_fn_cxx_try_compile "$LINENO"; then :
34741 glibcxx_cv_func__isnanf_use=yes
34742 else
34743 glibcxx_cv_func__isnanf_use=no
34744 fi
34745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34746 ac_ext=c
34747 ac_cpp='$CPP $CPPFLAGS'
34748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751
34752
34753 fi
34754
34755 fi
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34757 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34758
34759 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34760 for ac_func in _isnanf
34761 do :
34762 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34763 if test "x$ac_cv_func__isnanf" = x""yes; then :
34764 cat >>confdefs.h <<_ACEOF
34765 #define HAVE__ISNANF 1
34766 _ACEOF
34767
34768 fi
34769 done
34770
34771 fi
34772 fi
34773
34774
34775
34776
34777
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34779 $as_echo_n "checking for isinff declaration... " >&6; }
34780 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34781 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34782 $as_echo_n "(cached) " >&6
34783 else
34784
34785
34786 ac_ext=cpp
34787 ac_cpp='$CXXCPP $CPPFLAGS'
34788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34791
34792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34794 #include <math.h>
34795 #ifdef HAVE_IEEEFP_H
34796 #include <ieeefp.h>
34797 #endif
34798
34799 int
34800 main ()
34801 {
34802 isinff(0);
34803 ;
34804 return 0;
34805 }
34806 _ACEOF
34807 if ac_fn_cxx_try_compile "$LINENO"; then :
34808 glibcxx_cv_func_isinff_use=yes
34809 else
34810 glibcxx_cv_func_isinff_use=no
34811 fi
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813 ac_ext=c
34814 ac_cpp='$CPP $CPPFLAGS'
34815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34818
34819
34820 fi
34821
34822 fi
34823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34824 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34825
34826 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34827 for ac_func in isinff
34828 do :
34829 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34830 if test "x$ac_cv_func_isinff" = x""yes; then :
34831 cat >>confdefs.h <<_ACEOF
34832 #define HAVE_ISINFF 1
34833 _ACEOF
34834
34835 fi
34836 done
34837
34838 else
34839
34840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34841 $as_echo_n "checking for _isinff declaration... " >&6; }
34842 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34843 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34844 $as_echo_n "(cached) " >&6
34845 else
34846
34847
34848 ac_ext=cpp
34849 ac_cpp='$CXXCPP $CPPFLAGS'
34850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34853
34854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34855 /* end confdefs.h. */
34856 #include <math.h>
34857 #ifdef HAVE_IEEEFP_H
34858 #include <ieeefp.h>
34859 #endif
34860
34861 int
34862 main ()
34863 {
34864 _isinff(0);
34865 ;
34866 return 0;
34867 }
34868 _ACEOF
34869 if ac_fn_cxx_try_compile "$LINENO"; then :
34870 glibcxx_cv_func__isinff_use=yes
34871 else
34872 glibcxx_cv_func__isinff_use=no
34873 fi
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875 ac_ext=c
34876 ac_cpp='$CPP $CPPFLAGS'
34877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34880
34881
34882 fi
34883
34884 fi
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34886 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34887
34888 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34889 for ac_func in _isinff
34890 do :
34891 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34892 if test "x$ac_cv_func__isinff" = x""yes; then :
34893 cat >>confdefs.h <<_ACEOF
34894 #define HAVE__ISINFF 1
34895 _ACEOF
34896
34897 fi
34898 done
34899
34900 fi
34901 fi
34902
34903
34904
34905
34906
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34908 $as_echo_n "checking for atan2f declaration... " >&6; }
34909 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34910 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34911 $as_echo_n "(cached) " >&6
34912 else
34913
34914
34915 ac_ext=cpp
34916 ac_cpp='$CXXCPP $CPPFLAGS'
34917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34920
34921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34922 /* end confdefs.h. */
34923 #include <math.h>
34924 int
34925 main ()
34926 {
34927 atan2f(0, 0);
34928 ;
34929 return 0;
34930 }
34931 _ACEOF
34932 if ac_fn_cxx_try_compile "$LINENO"; then :
34933 glibcxx_cv_func_atan2f_use=yes
34934 else
34935 glibcxx_cv_func_atan2f_use=no
34936 fi
34937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34938 ac_ext=c
34939 ac_cpp='$CPP $CPPFLAGS'
34940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34943
34944
34945 fi
34946
34947 fi
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34949 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34950
34951 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34952 for ac_func in atan2f
34953 do :
34954 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34955 if test "x$ac_cv_func_atan2f" = x""yes; then :
34956 cat >>confdefs.h <<_ACEOF
34957 #define HAVE_ATAN2F 1
34958 _ACEOF
34959
34960 fi
34961 done
34962
34963 else
34964
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34966 $as_echo_n "checking for _atan2f declaration... " >&6; }
34967 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34968 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34969 $as_echo_n "(cached) " >&6
34970 else
34971
34972
34973 ac_ext=cpp
34974 ac_cpp='$CXXCPP $CPPFLAGS'
34975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34978
34979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34980 /* end confdefs.h. */
34981 #include <math.h>
34982 int
34983 main ()
34984 {
34985 _atan2f(0, 0);
34986 ;
34987 return 0;
34988 }
34989 _ACEOF
34990 if ac_fn_cxx_try_compile "$LINENO"; then :
34991 glibcxx_cv_func__atan2f_use=yes
34992 else
34993 glibcxx_cv_func__atan2f_use=no
34994 fi
34995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34996 ac_ext=c
34997 ac_cpp='$CPP $CPPFLAGS'
34998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35001
35002
35003 fi
35004
35005 fi
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35007 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35008
35009 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35010 for ac_func in _atan2f
35011 do :
35012 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35013 if test "x$ac_cv_func__atan2f" = x""yes; then :
35014 cat >>confdefs.h <<_ACEOF
35015 #define HAVE__ATAN2F 1
35016 _ACEOF
35017
35018 fi
35019 done
35020
35021 fi
35022 fi
35023
35024
35025
35026
35027
35028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35029 $as_echo_n "checking for fabsf declaration... " >&6; }
35030 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35031 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35032 $as_echo_n "(cached) " >&6
35033 else
35034
35035
35036 ac_ext=cpp
35037 ac_cpp='$CXXCPP $CPPFLAGS'
35038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35041
35042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35043 /* end confdefs.h. */
35044 #include <math.h>
35045 #ifdef HAVE_IEEEFP_H
35046 #include <ieeefp.h>
35047 #endif
35048
35049 int
35050 main ()
35051 {
35052 fabsf(0);
35053 ;
35054 return 0;
35055 }
35056 _ACEOF
35057 if ac_fn_cxx_try_compile "$LINENO"; then :
35058 glibcxx_cv_func_fabsf_use=yes
35059 else
35060 glibcxx_cv_func_fabsf_use=no
35061 fi
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35063 ac_ext=c
35064 ac_cpp='$CPP $CPPFLAGS'
35065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35068
35069
35070 fi
35071
35072 fi
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35074 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35075
35076 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35077 for ac_func in fabsf
35078 do :
35079 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35080 if test "x$ac_cv_func_fabsf" = x""yes; then :
35081 cat >>confdefs.h <<_ACEOF
35082 #define HAVE_FABSF 1
35083 _ACEOF
35084
35085 fi
35086 done
35087
35088 else
35089
35090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35091 $as_echo_n "checking for _fabsf declaration... " >&6; }
35092 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35093 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35094 $as_echo_n "(cached) " >&6
35095 else
35096
35097
35098 ac_ext=cpp
35099 ac_cpp='$CXXCPP $CPPFLAGS'
35100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35103
35104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105 /* end confdefs.h. */
35106 #include <math.h>
35107 #ifdef HAVE_IEEEFP_H
35108 #include <ieeefp.h>
35109 #endif
35110
35111 int
35112 main ()
35113 {
35114 _fabsf(0);
35115 ;
35116 return 0;
35117 }
35118 _ACEOF
35119 if ac_fn_cxx_try_compile "$LINENO"; then :
35120 glibcxx_cv_func__fabsf_use=yes
35121 else
35122 glibcxx_cv_func__fabsf_use=no
35123 fi
35124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35125 ac_ext=c
35126 ac_cpp='$CPP $CPPFLAGS'
35127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35130
35131
35132 fi
35133
35134 fi
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35136 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35137
35138 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35139 for ac_func in _fabsf
35140 do :
35141 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35142 if test "x$ac_cv_func__fabsf" = x""yes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE__FABSF 1
35145 _ACEOF
35146
35147 fi
35148 done
35149
35150 fi
35151 fi
35152
35153
35154
35155
35156
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35158 $as_echo_n "checking for fmodf declaration... " >&6; }
35159 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35160 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35161 $as_echo_n "(cached) " >&6
35162 else
35163
35164
35165 ac_ext=cpp
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35170
35171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35172 /* end confdefs.h. */
35173 #include <math.h>
35174 int
35175 main ()
35176 {
35177 fmodf(0, 0);
35178 ;
35179 return 0;
35180 }
35181 _ACEOF
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func_fmodf_use=yes
35184 else
35185 glibcxx_cv_func_fmodf_use=no
35186 fi
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35188 ac_ext=c
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35193
35194
35195 fi
35196
35197 fi
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35199 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35200
35201 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35202 for ac_func in fmodf
35203 do :
35204 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35205 if test "x$ac_cv_func_fmodf" = x""yes; then :
35206 cat >>confdefs.h <<_ACEOF
35207 #define HAVE_FMODF 1
35208 _ACEOF
35209
35210 fi
35211 done
35212
35213 else
35214
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35216 $as_echo_n "checking for _fmodf declaration... " >&6; }
35217 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35218 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35219 $as_echo_n "(cached) " >&6
35220 else
35221
35222
35223 ac_ext=cpp
35224 ac_cpp='$CXXCPP $CPPFLAGS'
35225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35228
35229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35230 /* end confdefs.h. */
35231 #include <math.h>
35232 int
35233 main ()
35234 {
35235 _fmodf(0, 0);
35236 ;
35237 return 0;
35238 }
35239 _ACEOF
35240 if ac_fn_cxx_try_compile "$LINENO"; then :
35241 glibcxx_cv_func__fmodf_use=yes
35242 else
35243 glibcxx_cv_func__fmodf_use=no
35244 fi
35245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35246 ac_ext=c
35247 ac_cpp='$CPP $CPPFLAGS'
35248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35251
35252
35253 fi
35254
35255 fi
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35257 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35258
35259 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35260 for ac_func in _fmodf
35261 do :
35262 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35263 if test "x$ac_cv_func__fmodf" = x""yes; then :
35264 cat >>confdefs.h <<_ACEOF
35265 #define HAVE__FMODF 1
35266 _ACEOF
35267
35268 fi
35269 done
35270
35271 fi
35272 fi
35273
35274
35275
35276
35277
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35279 $as_echo_n "checking for frexpf declaration... " >&6; }
35280 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35281 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35282 $as_echo_n "(cached) " >&6
35283 else
35284
35285
35286 ac_ext=cpp
35287 ac_cpp='$CXXCPP $CPPFLAGS'
35288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35291
35292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35293 /* end confdefs.h. */
35294 #include <math.h>
35295 int
35296 main ()
35297 {
35298 frexpf(0, 0);
35299 ;
35300 return 0;
35301 }
35302 _ACEOF
35303 if ac_fn_cxx_try_compile "$LINENO"; then :
35304 glibcxx_cv_func_frexpf_use=yes
35305 else
35306 glibcxx_cv_func_frexpf_use=no
35307 fi
35308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35309 ac_ext=c
35310 ac_cpp='$CPP $CPPFLAGS'
35311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35314
35315
35316 fi
35317
35318 fi
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35320 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35321
35322 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35323 for ac_func in frexpf
35324 do :
35325 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35326 if test "x$ac_cv_func_frexpf" = x""yes; then :
35327 cat >>confdefs.h <<_ACEOF
35328 #define HAVE_FREXPF 1
35329 _ACEOF
35330
35331 fi
35332 done
35333
35334 else
35335
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35337 $as_echo_n "checking for _frexpf declaration... " >&6; }
35338 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35339 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35340 $as_echo_n "(cached) " >&6
35341 else
35342
35343
35344 ac_ext=cpp
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35349
35350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35351 /* end confdefs.h. */
35352 #include <math.h>
35353 int
35354 main ()
35355 {
35356 _frexpf(0, 0);
35357 ;
35358 return 0;
35359 }
35360 _ACEOF
35361 if ac_fn_cxx_try_compile "$LINENO"; then :
35362 glibcxx_cv_func__frexpf_use=yes
35363 else
35364 glibcxx_cv_func__frexpf_use=no
35365 fi
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35367 ac_ext=c
35368 ac_cpp='$CPP $CPPFLAGS'
35369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35372
35373
35374 fi
35375
35376 fi
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35378 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35379
35380 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35381 for ac_func in _frexpf
35382 do :
35383 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35384 if test "x$ac_cv_func__frexpf" = x""yes; then :
35385 cat >>confdefs.h <<_ACEOF
35386 #define HAVE__FREXPF 1
35387 _ACEOF
35388
35389 fi
35390 done
35391
35392 fi
35393 fi
35394
35395
35396
35397
35398
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35400 $as_echo_n "checking for hypotf declaration... " >&6; }
35401 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35402 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35403 $as_echo_n "(cached) " >&6
35404 else
35405
35406
35407 ac_ext=cpp
35408 ac_cpp='$CXXCPP $CPPFLAGS'
35409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35412
35413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35414 /* end confdefs.h. */
35415 #include <math.h>
35416 int
35417 main ()
35418 {
35419 hypotf(0, 0);
35420 ;
35421 return 0;
35422 }
35423 _ACEOF
35424 if ac_fn_cxx_try_compile "$LINENO"; then :
35425 glibcxx_cv_func_hypotf_use=yes
35426 else
35427 glibcxx_cv_func_hypotf_use=no
35428 fi
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35430 ac_ext=c
35431 ac_cpp='$CPP $CPPFLAGS'
35432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35435
35436
35437 fi
35438
35439 fi
35440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35441 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35442
35443 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35444 for ac_func in hypotf
35445 do :
35446 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35447 if test "x$ac_cv_func_hypotf" = x""yes; then :
35448 cat >>confdefs.h <<_ACEOF
35449 #define HAVE_HYPOTF 1
35450 _ACEOF
35451
35452 fi
35453 done
35454
35455 else
35456
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35458 $as_echo_n "checking for _hypotf declaration... " >&6; }
35459 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35460 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35461 $as_echo_n "(cached) " >&6
35462 else
35463
35464
35465 ac_ext=cpp
35466 ac_cpp='$CXXCPP $CPPFLAGS'
35467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35470
35471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35472 /* end confdefs.h. */
35473 #include <math.h>
35474 int
35475 main ()
35476 {
35477 _hypotf(0, 0);
35478 ;
35479 return 0;
35480 }
35481 _ACEOF
35482 if ac_fn_cxx_try_compile "$LINENO"; then :
35483 glibcxx_cv_func__hypotf_use=yes
35484 else
35485 glibcxx_cv_func__hypotf_use=no
35486 fi
35487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35488 ac_ext=c
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35493
35494
35495 fi
35496
35497 fi
35498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35499 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35500
35501 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35502 for ac_func in _hypotf
35503 do :
35504 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35505 if test "x$ac_cv_func__hypotf" = x""yes; then :
35506 cat >>confdefs.h <<_ACEOF
35507 #define HAVE__HYPOTF 1
35508 _ACEOF
35509
35510 fi
35511 done
35512
35513 fi
35514 fi
35515
35516
35517
35518
35519
35520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35521 $as_echo_n "checking for ldexpf declaration... " >&6; }
35522 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35523 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35524 $as_echo_n "(cached) " >&6
35525 else
35526
35527
35528 ac_ext=cpp
35529 ac_cpp='$CXXCPP $CPPFLAGS'
35530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35533
35534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35535 /* end confdefs.h. */
35536 #include <math.h>
35537 int
35538 main ()
35539 {
35540 ldexpf(0, 0);
35541 ;
35542 return 0;
35543 }
35544 _ACEOF
35545 if ac_fn_cxx_try_compile "$LINENO"; then :
35546 glibcxx_cv_func_ldexpf_use=yes
35547 else
35548 glibcxx_cv_func_ldexpf_use=no
35549 fi
35550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35551 ac_ext=c
35552 ac_cpp='$CPP $CPPFLAGS'
35553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35556
35557
35558 fi
35559
35560 fi
35561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35562 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35563
35564 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35565 for ac_func in ldexpf
35566 do :
35567 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35568 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35569 cat >>confdefs.h <<_ACEOF
35570 #define HAVE_LDEXPF 1
35571 _ACEOF
35572
35573 fi
35574 done
35575
35576 else
35577
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35579 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35580 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35581 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35582 $as_echo_n "(cached) " >&6
35583 else
35584
35585
35586 ac_ext=cpp
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 /* end confdefs.h. */
35594 #include <math.h>
35595 int
35596 main ()
35597 {
35598 _ldexpf(0, 0);
35599 ;
35600 return 0;
35601 }
35602 _ACEOF
35603 if ac_fn_cxx_try_compile "$LINENO"; then :
35604 glibcxx_cv_func__ldexpf_use=yes
35605 else
35606 glibcxx_cv_func__ldexpf_use=no
35607 fi
35608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35609 ac_ext=c
35610 ac_cpp='$CPP $CPPFLAGS'
35611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35614
35615
35616 fi
35617
35618 fi
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35620 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35621
35622 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35623 for ac_func in _ldexpf
35624 do :
35625 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35626 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35627 cat >>confdefs.h <<_ACEOF
35628 #define HAVE__LDEXPF 1
35629 _ACEOF
35630
35631 fi
35632 done
35633
35634 fi
35635 fi
35636
35637
35638
35639
35640
35641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35642 $as_echo_n "checking for logf declaration... " >&6; }
35643 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35644 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35645 $as_echo_n "(cached) " >&6
35646 else
35647
35648
35649 ac_ext=cpp
35650 ac_cpp='$CXXCPP $CPPFLAGS'
35651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35654
35655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35656 /* end confdefs.h. */
35657 #include <math.h>
35658 #ifdef HAVE_IEEEFP_H
35659 #include <ieeefp.h>
35660 #endif
35661
35662 int
35663 main ()
35664 {
35665 logf(0);
35666 ;
35667 return 0;
35668 }
35669 _ACEOF
35670 if ac_fn_cxx_try_compile "$LINENO"; then :
35671 glibcxx_cv_func_logf_use=yes
35672 else
35673 glibcxx_cv_func_logf_use=no
35674 fi
35675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35676 ac_ext=c
35677 ac_cpp='$CPP $CPPFLAGS'
35678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35681
35682
35683 fi
35684
35685 fi
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35687 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35688
35689 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35690 for ac_func in logf
35691 do :
35692 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35693 if test "x$ac_cv_func_logf" = x""yes; then :
35694 cat >>confdefs.h <<_ACEOF
35695 #define HAVE_LOGF 1
35696 _ACEOF
35697
35698 fi
35699 done
35700
35701 else
35702
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35704 $as_echo_n "checking for _logf declaration... " >&6; }
35705 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35706 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35707 $as_echo_n "(cached) " >&6
35708 else
35709
35710
35711 ac_ext=cpp
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35716
35717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35718 /* end confdefs.h. */
35719 #include <math.h>
35720 #ifdef HAVE_IEEEFP_H
35721 #include <ieeefp.h>
35722 #endif
35723
35724 int
35725 main ()
35726 {
35727 _logf(0);
35728 ;
35729 return 0;
35730 }
35731 _ACEOF
35732 if ac_fn_cxx_try_compile "$LINENO"; then :
35733 glibcxx_cv_func__logf_use=yes
35734 else
35735 glibcxx_cv_func__logf_use=no
35736 fi
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35738 ac_ext=c
35739 ac_cpp='$CPP $CPPFLAGS'
35740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35743
35744
35745 fi
35746
35747 fi
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35749 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35750
35751 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35752 for ac_func in _logf
35753 do :
35754 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35755 if test "x$ac_cv_func__logf" = x""yes; then :
35756 cat >>confdefs.h <<_ACEOF
35757 #define HAVE__LOGF 1
35758 _ACEOF
35759
35760 fi
35761 done
35762
35763 fi
35764 fi
35765
35766
35767
35768
35769
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35771 $as_echo_n "checking for log10f declaration... " >&6; }
35772 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35773 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35774 $as_echo_n "(cached) " >&6
35775 else
35776
35777
35778 ac_ext=cpp
35779 ac_cpp='$CXXCPP $CPPFLAGS'
35780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35783
35784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35785 /* end confdefs.h. */
35786 #include <math.h>
35787 #ifdef HAVE_IEEEFP_H
35788 #include <ieeefp.h>
35789 #endif
35790
35791 int
35792 main ()
35793 {
35794 log10f(0);
35795 ;
35796 return 0;
35797 }
35798 _ACEOF
35799 if ac_fn_cxx_try_compile "$LINENO"; then :
35800 glibcxx_cv_func_log10f_use=yes
35801 else
35802 glibcxx_cv_func_log10f_use=no
35803 fi
35804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35805 ac_ext=c
35806 ac_cpp='$CPP $CPPFLAGS'
35807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35810
35811
35812 fi
35813
35814 fi
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35816 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35817
35818 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35819 for ac_func in log10f
35820 do :
35821 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35822 if test "x$ac_cv_func_log10f" = x""yes; then :
35823 cat >>confdefs.h <<_ACEOF
35824 #define HAVE_LOG10F 1
35825 _ACEOF
35826
35827 fi
35828 done
35829
35830 else
35831
35832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35833 $as_echo_n "checking for _log10f declaration... " >&6; }
35834 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35835 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35836 $as_echo_n "(cached) " >&6
35837 else
35838
35839
35840 ac_ext=cpp
35841 ac_cpp='$CXXCPP $CPPFLAGS'
35842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35845
35846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35847 /* end confdefs.h. */
35848 #include <math.h>
35849 #ifdef HAVE_IEEEFP_H
35850 #include <ieeefp.h>
35851 #endif
35852
35853 int
35854 main ()
35855 {
35856 _log10f(0);
35857 ;
35858 return 0;
35859 }
35860 _ACEOF
35861 if ac_fn_cxx_try_compile "$LINENO"; then :
35862 glibcxx_cv_func__log10f_use=yes
35863 else
35864 glibcxx_cv_func__log10f_use=no
35865 fi
35866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35867 ac_ext=c
35868 ac_cpp='$CPP $CPPFLAGS'
35869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35872
35873
35874 fi
35875
35876 fi
35877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35878 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35879
35880 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35881 for ac_func in _log10f
35882 do :
35883 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35884 if test "x$ac_cv_func__log10f" = x""yes; then :
35885 cat >>confdefs.h <<_ACEOF
35886 #define HAVE__LOG10F 1
35887 _ACEOF
35888
35889 fi
35890 done
35891
35892 fi
35893 fi
35894
35895
35896
35897
35898
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35900 $as_echo_n "checking for modff declaration... " >&6; }
35901 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35902 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35903 $as_echo_n "(cached) " >&6
35904 else
35905
35906
35907 ac_ext=cpp
35908 ac_cpp='$CXXCPP $CPPFLAGS'
35909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35912
35913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35914 /* end confdefs.h. */
35915 #include <math.h>
35916 int
35917 main ()
35918 {
35919 modff(0, 0);
35920 ;
35921 return 0;
35922 }
35923 _ACEOF
35924 if ac_fn_cxx_try_compile "$LINENO"; then :
35925 glibcxx_cv_func_modff_use=yes
35926 else
35927 glibcxx_cv_func_modff_use=no
35928 fi
35929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35930 ac_ext=c
35931 ac_cpp='$CPP $CPPFLAGS'
35932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35935
35936
35937 fi
35938
35939 fi
35940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35941 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35942
35943 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35944 for ac_func in modff
35945 do :
35946 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35947 if test "x$ac_cv_func_modff" = x""yes; then :
35948 cat >>confdefs.h <<_ACEOF
35949 #define HAVE_MODFF 1
35950 _ACEOF
35951
35952 fi
35953 done
35954
35955 else
35956
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35958 $as_echo_n "checking for _modff declaration... " >&6; }
35959 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35960 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35961 $as_echo_n "(cached) " >&6
35962 else
35963
35964
35965 ac_ext=cpp
35966 ac_cpp='$CXXCPP $CPPFLAGS'
35967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35970
35971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35972 /* end confdefs.h. */
35973 #include <math.h>
35974 int
35975 main ()
35976 {
35977 _modff(0, 0);
35978 ;
35979 return 0;
35980 }
35981 _ACEOF
35982 if ac_fn_cxx_try_compile "$LINENO"; then :
35983 glibcxx_cv_func__modff_use=yes
35984 else
35985 glibcxx_cv_func__modff_use=no
35986 fi
35987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35988 ac_ext=c
35989 ac_cpp='$CPP $CPPFLAGS'
35990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993
35994
35995 fi
35996
35997 fi
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35999 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36000
36001 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36002 for ac_func in _modff
36003 do :
36004 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36005 if test "x$ac_cv_func__modff" = x""yes; then :
36006 cat >>confdefs.h <<_ACEOF
36007 #define HAVE__MODFF 1
36008 _ACEOF
36009
36010 fi
36011 done
36012
36013 fi
36014 fi
36015
36016
36017
36018
36019
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36021 $as_echo_n "checking for modf declaration... " >&6; }
36022 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36023 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36024 $as_echo_n "(cached) " >&6
36025 else
36026
36027
36028 ac_ext=cpp
36029 ac_cpp='$CXXCPP $CPPFLAGS'
36030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36033
36034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36035 /* end confdefs.h. */
36036 #include <math.h>
36037 int
36038 main ()
36039 {
36040 modf(0, 0);
36041 ;
36042 return 0;
36043 }
36044 _ACEOF
36045 if ac_fn_cxx_try_compile "$LINENO"; then :
36046 glibcxx_cv_func_modf_use=yes
36047 else
36048 glibcxx_cv_func_modf_use=no
36049 fi
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36051 ac_ext=c
36052 ac_cpp='$CPP $CPPFLAGS'
36053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36056
36057
36058 fi
36059
36060 fi
36061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36062 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36063
36064 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36065 for ac_func in modf
36066 do :
36067 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36068 if test "x$ac_cv_func_modf" = x""yes; then :
36069 cat >>confdefs.h <<_ACEOF
36070 #define HAVE_MODF 1
36071 _ACEOF
36072
36073 fi
36074 done
36075
36076 else
36077
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36079 $as_echo_n "checking for _modf declaration... " >&6; }
36080 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36081 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36082 $as_echo_n "(cached) " >&6
36083 else
36084
36085
36086 ac_ext=cpp
36087 ac_cpp='$CXXCPP $CPPFLAGS'
36088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36091
36092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36093 /* end confdefs.h. */
36094 #include <math.h>
36095 int
36096 main ()
36097 {
36098 _modf(0, 0);
36099 ;
36100 return 0;
36101 }
36102 _ACEOF
36103 if ac_fn_cxx_try_compile "$LINENO"; then :
36104 glibcxx_cv_func__modf_use=yes
36105 else
36106 glibcxx_cv_func__modf_use=no
36107 fi
36108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36109 ac_ext=c
36110 ac_cpp='$CPP $CPPFLAGS'
36111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36114
36115
36116 fi
36117
36118 fi
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36120 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36121
36122 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36123 for ac_func in _modf
36124 do :
36125 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36126 if test "x$ac_cv_func__modf" = x""yes; then :
36127 cat >>confdefs.h <<_ACEOF
36128 #define HAVE__MODF 1
36129 _ACEOF
36130
36131 fi
36132 done
36133
36134 fi
36135 fi
36136
36137
36138
36139
36140
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36142 $as_echo_n "checking for powf declaration... " >&6; }
36143 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36144 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36145 $as_echo_n "(cached) " >&6
36146 else
36147
36148
36149 ac_ext=cpp
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36154
36155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36156 /* end confdefs.h. */
36157 #include <math.h>
36158 int
36159 main ()
36160 {
36161 powf(0, 0);
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 if ac_fn_cxx_try_compile "$LINENO"; then :
36167 glibcxx_cv_func_powf_use=yes
36168 else
36169 glibcxx_cv_func_powf_use=no
36170 fi
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36172 ac_ext=c
36173 ac_cpp='$CPP $CPPFLAGS'
36174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36177
36178
36179 fi
36180
36181 fi
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36183 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36184
36185 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36186 for ac_func in powf
36187 do :
36188 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36189 if test "x$ac_cv_func_powf" = x""yes; then :
36190 cat >>confdefs.h <<_ACEOF
36191 #define HAVE_POWF 1
36192 _ACEOF
36193
36194 fi
36195 done
36196
36197 else
36198
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36200 $as_echo_n "checking for _powf declaration... " >&6; }
36201 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36202 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36203 $as_echo_n "(cached) " >&6
36204 else
36205
36206
36207 ac_ext=cpp
36208 ac_cpp='$CXXCPP $CPPFLAGS'
36209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36212
36213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36214 /* end confdefs.h. */
36215 #include <math.h>
36216 int
36217 main ()
36218 {
36219 _powf(0, 0);
36220 ;
36221 return 0;
36222 }
36223 _ACEOF
36224 if ac_fn_cxx_try_compile "$LINENO"; then :
36225 glibcxx_cv_func__powf_use=yes
36226 else
36227 glibcxx_cv_func__powf_use=no
36228 fi
36229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36230 ac_ext=c
36231 ac_cpp='$CPP $CPPFLAGS'
36232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36235
36236
36237 fi
36238
36239 fi
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36241 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36242
36243 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36244 for ac_func in _powf
36245 do :
36246 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36247 if test "x$ac_cv_func__powf" = x""yes; then :
36248 cat >>confdefs.h <<_ACEOF
36249 #define HAVE__POWF 1
36250 _ACEOF
36251
36252 fi
36253 done
36254
36255 fi
36256 fi
36257
36258
36259
36260
36261
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36263 $as_echo_n "checking for sqrtf declaration... " >&6; }
36264 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36265 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36266 $as_echo_n "(cached) " >&6
36267 else
36268
36269
36270 ac_ext=cpp
36271 ac_cpp='$CXXCPP $CPPFLAGS'
36272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36275
36276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36277 /* end confdefs.h. */
36278 #include <math.h>
36279 #ifdef HAVE_IEEEFP_H
36280 #include <ieeefp.h>
36281 #endif
36282
36283 int
36284 main ()
36285 {
36286 sqrtf(0);
36287 ;
36288 return 0;
36289 }
36290 _ACEOF
36291 if ac_fn_cxx_try_compile "$LINENO"; then :
36292 glibcxx_cv_func_sqrtf_use=yes
36293 else
36294 glibcxx_cv_func_sqrtf_use=no
36295 fi
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36297 ac_ext=c
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302
36303
36304 fi
36305
36306 fi
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36308 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36309
36310 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36311 for ac_func in sqrtf
36312 do :
36313 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36314 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36315 cat >>confdefs.h <<_ACEOF
36316 #define HAVE_SQRTF 1
36317 _ACEOF
36318
36319 fi
36320 done
36321
36322 else
36323
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36325 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36326 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36327 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36328 $as_echo_n "(cached) " >&6
36329 else
36330
36331
36332 ac_ext=cpp
36333 ac_cpp='$CXXCPP $CPPFLAGS'
36334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36337
36338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36339 /* end confdefs.h. */
36340 #include <math.h>
36341 #ifdef HAVE_IEEEFP_H
36342 #include <ieeefp.h>
36343 #endif
36344
36345 int
36346 main ()
36347 {
36348 _sqrtf(0);
36349 ;
36350 return 0;
36351 }
36352 _ACEOF
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func__sqrtf_use=yes
36355 else
36356 glibcxx_cv_func__sqrtf_use=no
36357 fi
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36364
36365
36366 fi
36367
36368 fi
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36370 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36371
36372 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36373 for ac_func in _sqrtf
36374 do :
36375 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36376 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36377 cat >>confdefs.h <<_ACEOF
36378 #define HAVE__SQRTF 1
36379 _ACEOF
36380
36381 fi
36382 done
36383
36384 fi
36385 fi
36386
36387
36388
36389
36390
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36392 $as_echo_n "checking for sincosf declaration... " >&6; }
36393 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36394 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36395 $as_echo_n "(cached) " >&6
36396 else
36397
36398
36399 ac_ext=cpp
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36404
36405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36406 /* end confdefs.h. */
36407 #include <math.h>
36408 int
36409 main ()
36410 {
36411 sincosf(0, 0, 0);
36412 ;
36413 return 0;
36414 }
36415 _ACEOF
36416 if ac_fn_cxx_try_compile "$LINENO"; then :
36417 glibcxx_cv_func_sincosf_use=yes
36418 else
36419 glibcxx_cv_func_sincosf_use=no
36420 fi
36421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36422 ac_ext=c
36423 ac_cpp='$CPP $CPPFLAGS'
36424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36427
36428
36429 fi
36430
36431 fi
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36433 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36434
36435 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36436 for ac_func in sincosf
36437 do :
36438 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36439 if test "x$ac_cv_func_sincosf" = x""yes; then :
36440 cat >>confdefs.h <<_ACEOF
36441 #define HAVE_SINCOSF 1
36442 _ACEOF
36443
36444 fi
36445 done
36446
36447 else
36448
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36450 $as_echo_n "checking for _sincosf declaration... " >&6; }
36451 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36452 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36453 $as_echo_n "(cached) " >&6
36454 else
36455
36456
36457 ac_ext=cpp
36458 ac_cpp='$CXXCPP $CPPFLAGS'
36459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36462
36463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36464 /* end confdefs.h. */
36465 #include <math.h>
36466 int
36467 main ()
36468 {
36469 _sincosf(0, 0, 0);
36470 ;
36471 return 0;
36472 }
36473 _ACEOF
36474 if ac_fn_cxx_try_compile "$LINENO"; then :
36475 glibcxx_cv_func__sincosf_use=yes
36476 else
36477 glibcxx_cv_func__sincosf_use=no
36478 fi
36479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36480 ac_ext=c
36481 ac_cpp='$CPP $CPPFLAGS'
36482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36485
36486
36487 fi
36488
36489 fi
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36491 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36492
36493 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36494 for ac_func in _sincosf
36495 do :
36496 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36497 if test "x$ac_cv_func__sincosf" = x""yes; then :
36498 cat >>confdefs.h <<_ACEOF
36499 #define HAVE__SINCOSF 1
36500 _ACEOF
36501
36502 fi
36503 done
36504
36505 fi
36506 fi
36507
36508
36509
36510
36511
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36513 $as_echo_n "checking for finitef declaration... " >&6; }
36514 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36515 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36516 $as_echo_n "(cached) " >&6
36517 else
36518
36519
36520 ac_ext=cpp
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36525
36526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36527 /* end confdefs.h. */
36528 #include <math.h>
36529 #ifdef HAVE_IEEEFP_H
36530 #include <ieeefp.h>
36531 #endif
36532
36533 int
36534 main ()
36535 {
36536 finitef(0);
36537 ;
36538 return 0;
36539 }
36540 _ACEOF
36541 if ac_fn_cxx_try_compile "$LINENO"; then :
36542 glibcxx_cv_func_finitef_use=yes
36543 else
36544 glibcxx_cv_func_finitef_use=no
36545 fi
36546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36547 ac_ext=c
36548 ac_cpp='$CPP $CPPFLAGS'
36549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36552
36553
36554 fi
36555
36556 fi
36557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36558 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36559
36560 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36561 for ac_func in finitef
36562 do :
36563 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36564 if test "x$ac_cv_func_finitef" = x""yes; then :
36565 cat >>confdefs.h <<_ACEOF
36566 #define HAVE_FINITEF 1
36567 _ACEOF
36568
36569 fi
36570 done
36571
36572 else
36573
36574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36575 $as_echo_n "checking for _finitef declaration... " >&6; }
36576 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36577 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36578 $as_echo_n "(cached) " >&6
36579 else
36580
36581
36582 ac_ext=cpp
36583 ac_cpp='$CXXCPP $CPPFLAGS'
36584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36587
36588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36589 /* end confdefs.h. */
36590 #include <math.h>
36591 #ifdef HAVE_IEEEFP_H
36592 #include <ieeefp.h>
36593 #endif
36594
36595 int
36596 main ()
36597 {
36598 _finitef(0);
36599 ;
36600 return 0;
36601 }
36602 _ACEOF
36603 if ac_fn_cxx_try_compile "$LINENO"; then :
36604 glibcxx_cv_func__finitef_use=yes
36605 else
36606 glibcxx_cv_func__finitef_use=no
36607 fi
36608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36609 ac_ext=c
36610 ac_cpp='$CPP $CPPFLAGS'
36611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36614
36615
36616 fi
36617
36618 fi
36619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36620 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36621
36622 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36623 for ac_func in _finitef
36624 do :
36625 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36626 if test "x$ac_cv_func__finitef" = x""yes; then :
36627 cat >>confdefs.h <<_ACEOF
36628 #define HAVE__FINITEF 1
36629 _ACEOF
36630
36631 fi
36632 done
36633
36634 fi
36635 fi
36636
36637
36638
36639
36640
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36642 $as_echo_n "checking for long double trig functions... " >&6; }
36643 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36644 $as_echo_n "(cached) " >&6
36645 else
36646
36647
36648 ac_ext=cpp
36649 ac_cpp='$CXXCPP $CPPFLAGS'
36650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36653
36654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36655 /* end confdefs.h. */
36656 #include <math.h>
36657 int
36658 main ()
36659 {
36660 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36661 ;
36662 return 0;
36663 }
36664 _ACEOF
36665 if ac_fn_cxx_try_compile "$LINENO"; then :
36666 glibcxx_cv_func_long_double_trig_use=yes
36667 else
36668 glibcxx_cv_func_long_double_trig_use=no
36669 fi
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36671 ac_ext=c
36672 ac_cpp='$CPP $CPPFLAGS'
36673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36676
36677 fi
36678
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36680 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36681 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36682 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36683 do :
36684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36686 eval as_val=\$$as_ac_var
36687 if test "x$as_val" = x""yes; then :
36688 cat >>confdefs.h <<_ACEOF
36689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36690 _ACEOF
36691
36692 fi
36693 done
36694
36695 else
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36697 $as_echo_n "checking for _long double trig functions... " >&6; }
36698 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36699 $as_echo_n "(cached) " >&6
36700 else
36701
36702
36703 ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36708
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36711 #include <math.h>
36712 int
36713 main ()
36714 {
36715 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36716 ;
36717 return 0;
36718 }
36719 _ACEOF
36720 if ac_fn_cxx_try_compile "$LINENO"; then :
36721 glibcxx_cv_func__long_double_trig_use=yes
36722 else
36723 glibcxx_cv_func__long_double_trig_use=no
36724 fi
36725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36726 ac_ext=c
36727 ac_cpp='$CPP $CPPFLAGS'
36728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36731
36732 fi
36733
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36735 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36736 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36737 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36738 do :
36739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36741 eval as_val=\$$as_ac_var
36742 if test "x$as_val" = x""yes; then :
36743 cat >>confdefs.h <<_ACEOF
36744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36746
36747 fi
36748 done
36749
36750 fi
36751 fi
36752
36753
36754
36755
36756
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36758 $as_echo_n "checking for long double round functions... " >&6; }
36759 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36760 $as_echo_n "(cached) " >&6
36761 else
36762
36763
36764 ac_ext=cpp
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769
36770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36771 /* end confdefs.h. */
36772 #include <math.h>
36773 int
36774 main ()
36775 {
36776 ceill (0); floorl (0);
36777 ;
36778 return 0;
36779 }
36780 _ACEOF
36781 if ac_fn_cxx_try_compile "$LINENO"; then :
36782 glibcxx_cv_func_long_double_round_use=yes
36783 else
36784 glibcxx_cv_func_long_double_round_use=no
36785 fi
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 ac_ext=c
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792
36793 fi
36794
36795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36796 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36797 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36798 for ac_func in ceill floorl
36799 do :
36800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36802 eval as_val=\$$as_ac_var
36803 if test "x$as_val" = x""yes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36806 _ACEOF
36807
36808 fi
36809 done
36810
36811 else
36812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36813 $as_echo_n "checking for _long double round functions... " >&6; }
36814 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36815 $as_echo_n "(cached) " >&6
36816 else
36817
36818
36819 ac_ext=cpp
36820 ac_cpp='$CXXCPP $CPPFLAGS'
36821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36824
36825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36826 /* end confdefs.h. */
36827 #include <math.h>
36828 int
36829 main ()
36830 {
36831 _ceill (0); _floorl (0);
36832 ;
36833 return 0;
36834 }
36835 _ACEOF
36836 if ac_fn_cxx_try_compile "$LINENO"; then :
36837 glibcxx_cv_func__long_double_round_use=yes
36838 else
36839 glibcxx_cv_func__long_double_round_use=no
36840 fi
36841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36842 ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36847
36848 fi
36849
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36851 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36852 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36853 for ac_func in _ceill _floorl
36854 do :
36855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36857 eval as_val=\$$as_ac_var
36858 if test "x$as_val" = x""yes; then :
36859 cat >>confdefs.h <<_ACEOF
36860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36861 _ACEOF
36862
36863 fi
36864 done
36865
36866 fi
36867 fi
36868
36869
36870
36871
36872
36873
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36875 $as_echo_n "checking for isnanl declaration... " >&6; }
36876 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36877 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36878 $as_echo_n "(cached) " >&6
36879 else
36880
36881
36882 ac_ext=cpp
36883 ac_cpp='$CXXCPP $CPPFLAGS'
36884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36887
36888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36889 /* end confdefs.h. */
36890 #include <math.h>
36891 #ifdef HAVE_IEEEFP_H
36892 #include <ieeefp.h>
36893 #endif
36894
36895 int
36896 main ()
36897 {
36898 isnanl(0);
36899 ;
36900 return 0;
36901 }
36902 _ACEOF
36903 if ac_fn_cxx_try_compile "$LINENO"; then :
36904 glibcxx_cv_func_isnanl_use=yes
36905 else
36906 glibcxx_cv_func_isnanl_use=no
36907 fi
36908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36909 ac_ext=c
36910 ac_cpp='$CPP $CPPFLAGS'
36911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36914
36915
36916 fi
36917
36918 fi
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36920 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36921
36922 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36923 for ac_func in isnanl
36924 do :
36925 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36926 if test "x$ac_cv_func_isnanl" = x""yes; then :
36927 cat >>confdefs.h <<_ACEOF
36928 #define HAVE_ISNANL 1
36929 _ACEOF
36930
36931 fi
36932 done
36933
36934 else
36935
36936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36937 $as_echo_n "checking for _isnanl declaration... " >&6; }
36938 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36939 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36940 $as_echo_n "(cached) " >&6
36941 else
36942
36943
36944 ac_ext=cpp
36945 ac_cpp='$CXXCPP $CPPFLAGS'
36946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36949
36950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36951 /* end confdefs.h. */
36952 #include <math.h>
36953 #ifdef HAVE_IEEEFP_H
36954 #include <ieeefp.h>
36955 #endif
36956
36957 int
36958 main ()
36959 {
36960 _isnanl(0);
36961 ;
36962 return 0;
36963 }
36964 _ACEOF
36965 if ac_fn_cxx_try_compile "$LINENO"; then :
36966 glibcxx_cv_func__isnanl_use=yes
36967 else
36968 glibcxx_cv_func__isnanl_use=no
36969 fi
36970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971 ac_ext=c
36972 ac_cpp='$CPP $CPPFLAGS'
36973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36976
36977
36978 fi
36979
36980 fi
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36982 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36983
36984 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36985 for ac_func in _isnanl
36986 do :
36987 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36988 if test "x$ac_cv_func__isnanl" = x""yes; then :
36989 cat >>confdefs.h <<_ACEOF
36990 #define HAVE__ISNANL 1
36991 _ACEOF
36992
36993 fi
36994 done
36995
36996 fi
36997 fi
36998
36999
37000
37001
37002
37003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37004 $as_echo_n "checking for isinfl declaration... " >&6; }
37005 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37006 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37007 $as_echo_n "(cached) " >&6
37008 else
37009
37010
37011 ac_ext=cpp
37012 ac_cpp='$CXXCPP $CPPFLAGS'
37013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37016
37017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37018 /* end confdefs.h. */
37019 #include <math.h>
37020 #ifdef HAVE_IEEEFP_H
37021 #include <ieeefp.h>
37022 #endif
37023
37024 int
37025 main ()
37026 {
37027 isinfl(0);
37028 ;
37029 return 0;
37030 }
37031 _ACEOF
37032 if ac_fn_cxx_try_compile "$LINENO"; then :
37033 glibcxx_cv_func_isinfl_use=yes
37034 else
37035 glibcxx_cv_func_isinfl_use=no
37036 fi
37037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37038 ac_ext=c
37039 ac_cpp='$CPP $CPPFLAGS'
37040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37043
37044
37045 fi
37046
37047 fi
37048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37049 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37050
37051 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37052 for ac_func in isinfl
37053 do :
37054 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37055 if test "x$ac_cv_func_isinfl" = x""yes; then :
37056 cat >>confdefs.h <<_ACEOF
37057 #define HAVE_ISINFL 1
37058 _ACEOF
37059
37060 fi
37061 done
37062
37063 else
37064
37065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37066 $as_echo_n "checking for _isinfl declaration... " >&6; }
37067 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37068 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37069 $as_echo_n "(cached) " >&6
37070 else
37071
37072
37073 ac_ext=cpp
37074 ac_cpp='$CXXCPP $CPPFLAGS'
37075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37078
37079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37080 /* end confdefs.h. */
37081 #include <math.h>
37082 #ifdef HAVE_IEEEFP_H
37083 #include <ieeefp.h>
37084 #endif
37085
37086 int
37087 main ()
37088 {
37089 _isinfl(0);
37090 ;
37091 return 0;
37092 }
37093 _ACEOF
37094 if ac_fn_cxx_try_compile "$LINENO"; then :
37095 glibcxx_cv_func__isinfl_use=yes
37096 else
37097 glibcxx_cv_func__isinfl_use=no
37098 fi
37099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37100 ac_ext=c
37101 ac_cpp='$CPP $CPPFLAGS'
37102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37105
37106
37107 fi
37108
37109 fi
37110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37111 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37112
37113 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37114 for ac_func in _isinfl
37115 do :
37116 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37117 if test "x$ac_cv_func__isinfl" = x""yes; then :
37118 cat >>confdefs.h <<_ACEOF
37119 #define HAVE__ISINFL 1
37120 _ACEOF
37121
37122 fi
37123 done
37124
37125 fi
37126 fi
37127
37128
37129
37130
37131
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37133 $as_echo_n "checking for atan2l declaration... " >&6; }
37134 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37135 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37136 $as_echo_n "(cached) " >&6
37137 else
37138
37139
37140 ac_ext=cpp
37141 ac_cpp='$CXXCPP $CPPFLAGS'
37142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37145
37146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147 /* end confdefs.h. */
37148 #include <math.h>
37149 int
37150 main ()
37151 {
37152 atan2l(0, 0);
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 if ac_fn_cxx_try_compile "$LINENO"; then :
37158 glibcxx_cv_func_atan2l_use=yes
37159 else
37160 glibcxx_cv_func_atan2l_use=no
37161 fi
37162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37163 ac_ext=c
37164 ac_cpp='$CPP $CPPFLAGS'
37165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37168
37169
37170 fi
37171
37172 fi
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37174 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37175
37176 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37177 for ac_func in atan2l
37178 do :
37179 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37180 if test "x$ac_cv_func_atan2l" = x""yes; then :
37181 cat >>confdefs.h <<_ACEOF
37182 #define HAVE_ATAN2L 1
37183 _ACEOF
37184
37185 fi
37186 done
37187
37188 else
37189
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37191 $as_echo_n "checking for _atan2l declaration... " >&6; }
37192 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37193 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37194 $as_echo_n "(cached) " >&6
37195 else
37196
37197
37198 ac_ext=cpp
37199 ac_cpp='$CXXCPP $CPPFLAGS'
37200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37203
37204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37205 /* end confdefs.h. */
37206 #include <math.h>
37207 int
37208 main ()
37209 {
37210 _atan2l(0, 0);
37211 ;
37212 return 0;
37213 }
37214 _ACEOF
37215 if ac_fn_cxx_try_compile "$LINENO"; then :
37216 glibcxx_cv_func__atan2l_use=yes
37217 else
37218 glibcxx_cv_func__atan2l_use=no
37219 fi
37220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37221 ac_ext=c
37222 ac_cpp='$CPP $CPPFLAGS'
37223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37226
37227
37228 fi
37229
37230 fi
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37232 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37233
37234 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37235 for ac_func in _atan2l
37236 do :
37237 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37238 if test "x$ac_cv_func__atan2l" = x""yes; then :
37239 cat >>confdefs.h <<_ACEOF
37240 #define HAVE__ATAN2L 1
37241 _ACEOF
37242
37243 fi
37244 done
37245
37246 fi
37247 fi
37248
37249
37250
37251
37252
37253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37254 $as_echo_n "checking for expl declaration... " >&6; }
37255 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37256 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37257 $as_echo_n "(cached) " >&6
37258 else
37259
37260
37261 ac_ext=cpp
37262 ac_cpp='$CXXCPP $CPPFLAGS'
37263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37266
37267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37268 /* end confdefs.h. */
37269 #include <math.h>
37270 #ifdef HAVE_IEEEFP_H
37271 #include <ieeefp.h>
37272 #endif
37273
37274 int
37275 main ()
37276 {
37277 expl(0);
37278 ;
37279 return 0;
37280 }
37281 _ACEOF
37282 if ac_fn_cxx_try_compile "$LINENO"; then :
37283 glibcxx_cv_func_expl_use=yes
37284 else
37285 glibcxx_cv_func_expl_use=no
37286 fi
37287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37288 ac_ext=c
37289 ac_cpp='$CPP $CPPFLAGS'
37290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37293
37294
37295 fi
37296
37297 fi
37298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37299 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37300
37301 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37302 for ac_func in expl
37303 do :
37304 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37305 if test "x$ac_cv_func_expl" = x""yes; then :
37306 cat >>confdefs.h <<_ACEOF
37307 #define HAVE_EXPL 1
37308 _ACEOF
37309
37310 fi
37311 done
37312
37313 else
37314
37315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37316 $as_echo_n "checking for _expl declaration... " >&6; }
37317 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37318 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37319 $as_echo_n "(cached) " >&6
37320 else
37321
37322
37323 ac_ext=cpp
37324 ac_cpp='$CXXCPP $CPPFLAGS'
37325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37328
37329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37330 /* end confdefs.h. */
37331 #include <math.h>
37332 #ifdef HAVE_IEEEFP_H
37333 #include <ieeefp.h>
37334 #endif
37335
37336 int
37337 main ()
37338 {
37339 _expl(0);
37340 ;
37341 return 0;
37342 }
37343 _ACEOF
37344 if ac_fn_cxx_try_compile "$LINENO"; then :
37345 glibcxx_cv_func__expl_use=yes
37346 else
37347 glibcxx_cv_func__expl_use=no
37348 fi
37349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37350 ac_ext=c
37351 ac_cpp='$CPP $CPPFLAGS'
37352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37355
37356
37357 fi
37358
37359 fi
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37361 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37362
37363 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37364 for ac_func in _expl
37365 do :
37366 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37367 if test "x$ac_cv_func__expl" = x""yes; then :
37368 cat >>confdefs.h <<_ACEOF
37369 #define HAVE__EXPL 1
37370 _ACEOF
37371
37372 fi
37373 done
37374
37375 fi
37376 fi
37377
37378
37379
37380
37381
37382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37383 $as_echo_n "checking for fabsl declaration... " >&6; }
37384 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37385 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37386 $as_echo_n "(cached) " >&6
37387 else
37388
37389
37390 ac_ext=cpp
37391 ac_cpp='$CXXCPP $CPPFLAGS'
37392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37395
37396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37397 /* end confdefs.h. */
37398 #include <math.h>
37399 #ifdef HAVE_IEEEFP_H
37400 #include <ieeefp.h>
37401 #endif
37402
37403 int
37404 main ()
37405 {
37406 fabsl(0);
37407 ;
37408 return 0;
37409 }
37410 _ACEOF
37411 if ac_fn_cxx_try_compile "$LINENO"; then :
37412 glibcxx_cv_func_fabsl_use=yes
37413 else
37414 glibcxx_cv_func_fabsl_use=no
37415 fi
37416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37417 ac_ext=c
37418 ac_cpp='$CPP $CPPFLAGS'
37419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37422
37423
37424 fi
37425
37426 fi
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37428 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37429
37430 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37431 for ac_func in fabsl
37432 do :
37433 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37434 if test "x$ac_cv_func_fabsl" = x""yes; then :
37435 cat >>confdefs.h <<_ACEOF
37436 #define HAVE_FABSL 1
37437 _ACEOF
37438
37439 fi
37440 done
37441
37442 else
37443
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37445 $as_echo_n "checking for _fabsl declaration... " >&6; }
37446 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37447 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37448 $as_echo_n "(cached) " >&6
37449 else
37450
37451
37452 ac_ext=cpp
37453 ac_cpp='$CXXCPP $CPPFLAGS'
37454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37457
37458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37459 /* end confdefs.h. */
37460 #include <math.h>
37461 #ifdef HAVE_IEEEFP_H
37462 #include <ieeefp.h>
37463 #endif
37464
37465 int
37466 main ()
37467 {
37468 _fabsl(0);
37469 ;
37470 return 0;
37471 }
37472 _ACEOF
37473 if ac_fn_cxx_try_compile "$LINENO"; then :
37474 glibcxx_cv_func__fabsl_use=yes
37475 else
37476 glibcxx_cv_func__fabsl_use=no
37477 fi
37478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37479 ac_ext=c
37480 ac_cpp='$CPP $CPPFLAGS'
37481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37484
37485
37486 fi
37487
37488 fi
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37490 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37491
37492 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37493 for ac_func in _fabsl
37494 do :
37495 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37496 if test "x$ac_cv_func__fabsl" = x""yes; then :
37497 cat >>confdefs.h <<_ACEOF
37498 #define HAVE__FABSL 1
37499 _ACEOF
37500
37501 fi
37502 done
37503
37504 fi
37505 fi
37506
37507
37508
37509
37510
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37512 $as_echo_n "checking for fmodl declaration... " >&6; }
37513 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37514 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37515 $as_echo_n "(cached) " >&6
37516 else
37517
37518
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37526 /* end confdefs.h. */
37527 #include <math.h>
37528 int
37529 main ()
37530 {
37531 fmodl(0, 0);
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 if ac_fn_cxx_try_compile "$LINENO"; then :
37537 glibcxx_cv_func_fmodl_use=yes
37538 else
37539 glibcxx_cv_func_fmodl_use=no
37540 fi
37541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37542 ac_ext=c
37543 ac_cpp='$CPP $CPPFLAGS'
37544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37547
37548
37549 fi
37550
37551 fi
37552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37553 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37554
37555 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37556 for ac_func in fmodl
37557 do :
37558 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37559 if test "x$ac_cv_func_fmodl" = x""yes; then :
37560 cat >>confdefs.h <<_ACEOF
37561 #define HAVE_FMODL 1
37562 _ACEOF
37563
37564 fi
37565 done
37566
37567 else
37568
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37570 $as_echo_n "checking for _fmodl declaration... " >&6; }
37571 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37572 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37573 $as_echo_n "(cached) " >&6
37574 else
37575
37576
37577 ac_ext=cpp
37578 ac_cpp='$CXXCPP $CPPFLAGS'
37579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37582
37583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37584 /* end confdefs.h. */
37585 #include <math.h>
37586 int
37587 main ()
37588 {
37589 _fmodl(0, 0);
37590 ;
37591 return 0;
37592 }
37593 _ACEOF
37594 if ac_fn_cxx_try_compile "$LINENO"; then :
37595 glibcxx_cv_func__fmodl_use=yes
37596 else
37597 glibcxx_cv_func__fmodl_use=no
37598 fi
37599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37600 ac_ext=c
37601 ac_cpp='$CPP $CPPFLAGS'
37602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37605
37606
37607 fi
37608
37609 fi
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37611 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37612
37613 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37614 for ac_func in _fmodl
37615 do :
37616 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37617 if test "x$ac_cv_func__fmodl" = x""yes; then :
37618 cat >>confdefs.h <<_ACEOF
37619 #define HAVE__FMODL 1
37620 _ACEOF
37621
37622 fi
37623 done
37624
37625 fi
37626 fi
37627
37628
37629
37630
37631
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37633 $as_echo_n "checking for frexpl declaration... " >&6; }
37634 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37635 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37636 $as_echo_n "(cached) " >&6
37637 else
37638
37639
37640 ac_ext=cpp
37641 ac_cpp='$CXXCPP $CPPFLAGS'
37642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37645
37646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37647 /* end confdefs.h. */
37648 #include <math.h>
37649 int
37650 main ()
37651 {
37652 frexpl(0, 0);
37653 ;
37654 return 0;
37655 }
37656 _ACEOF
37657 if ac_fn_cxx_try_compile "$LINENO"; then :
37658 glibcxx_cv_func_frexpl_use=yes
37659 else
37660 glibcxx_cv_func_frexpl_use=no
37661 fi
37662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37663 ac_ext=c
37664 ac_cpp='$CPP $CPPFLAGS'
37665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37668
37669
37670 fi
37671
37672 fi
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37674 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37675
37676 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37677 for ac_func in frexpl
37678 do :
37679 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37680 if test "x$ac_cv_func_frexpl" = x""yes; then :
37681 cat >>confdefs.h <<_ACEOF
37682 #define HAVE_FREXPL 1
37683 _ACEOF
37684
37685 fi
37686 done
37687
37688 else
37689
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37691 $as_echo_n "checking for _frexpl declaration... " >&6; }
37692 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37693 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37694 $as_echo_n "(cached) " >&6
37695 else
37696
37697
37698 ac_ext=cpp
37699 ac_cpp='$CXXCPP $CPPFLAGS'
37700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37703
37704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37705 /* end confdefs.h. */
37706 #include <math.h>
37707 int
37708 main ()
37709 {
37710 _frexpl(0, 0);
37711 ;
37712 return 0;
37713 }
37714 _ACEOF
37715 if ac_fn_cxx_try_compile "$LINENO"; then :
37716 glibcxx_cv_func__frexpl_use=yes
37717 else
37718 glibcxx_cv_func__frexpl_use=no
37719 fi
37720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37721 ac_ext=c
37722 ac_cpp='$CPP $CPPFLAGS'
37723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37726
37727
37728 fi
37729
37730 fi
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37732 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37733
37734 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37735 for ac_func in _frexpl
37736 do :
37737 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37738 if test "x$ac_cv_func__frexpl" = x""yes; then :
37739 cat >>confdefs.h <<_ACEOF
37740 #define HAVE__FREXPL 1
37741 _ACEOF
37742
37743 fi
37744 done
37745
37746 fi
37747 fi
37748
37749
37750
37751
37752
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37754 $as_echo_n "checking for hypotl declaration... " >&6; }
37755 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37756 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37757 $as_echo_n "(cached) " >&6
37758 else
37759
37760
37761 ac_ext=cpp
37762 ac_cpp='$CXXCPP $CPPFLAGS'
37763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37766
37767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37768 /* end confdefs.h. */
37769 #include <math.h>
37770 int
37771 main ()
37772 {
37773 hypotl(0, 0);
37774 ;
37775 return 0;
37776 }
37777 _ACEOF
37778 if ac_fn_cxx_try_compile "$LINENO"; then :
37779 glibcxx_cv_func_hypotl_use=yes
37780 else
37781 glibcxx_cv_func_hypotl_use=no
37782 fi
37783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37784 ac_ext=c
37785 ac_cpp='$CPP $CPPFLAGS'
37786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37789
37790
37791 fi
37792
37793 fi
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37795 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37796
37797 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37798 for ac_func in hypotl
37799 do :
37800 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37801 if test "x$ac_cv_func_hypotl" = x""yes; then :
37802 cat >>confdefs.h <<_ACEOF
37803 #define HAVE_HYPOTL 1
37804 _ACEOF
37805
37806 fi
37807 done
37808
37809 else
37810
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37812 $as_echo_n "checking for _hypotl declaration... " >&6; }
37813 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37814 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37815 $as_echo_n "(cached) " >&6
37816 else
37817
37818
37819 ac_ext=cpp
37820 ac_cpp='$CXXCPP $CPPFLAGS'
37821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37824
37825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37826 /* end confdefs.h. */
37827 #include <math.h>
37828 int
37829 main ()
37830 {
37831 _hypotl(0, 0);
37832 ;
37833 return 0;
37834 }
37835 _ACEOF
37836 if ac_fn_cxx_try_compile "$LINENO"; then :
37837 glibcxx_cv_func__hypotl_use=yes
37838 else
37839 glibcxx_cv_func__hypotl_use=no
37840 fi
37841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37842 ac_ext=c
37843 ac_cpp='$CPP $CPPFLAGS'
37844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37847
37848
37849 fi
37850
37851 fi
37852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37853 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37854
37855 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37856 for ac_func in _hypotl
37857 do :
37858 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37859 if test "x$ac_cv_func__hypotl" = x""yes; then :
37860 cat >>confdefs.h <<_ACEOF
37861 #define HAVE__HYPOTL 1
37862 _ACEOF
37863
37864 fi
37865 done
37866
37867 fi
37868 fi
37869
37870
37871
37872
37873
37874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37875 $as_echo_n "checking for ldexpl declaration... " >&6; }
37876 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37877 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37878 $as_echo_n "(cached) " >&6
37879 else
37880
37881
37882 ac_ext=cpp
37883 ac_cpp='$CXXCPP $CPPFLAGS'
37884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37887
37888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37889 /* end confdefs.h. */
37890 #include <math.h>
37891 int
37892 main ()
37893 {
37894 ldexpl(0, 0);
37895 ;
37896 return 0;
37897 }
37898 _ACEOF
37899 if ac_fn_cxx_try_compile "$LINENO"; then :
37900 glibcxx_cv_func_ldexpl_use=yes
37901 else
37902 glibcxx_cv_func_ldexpl_use=no
37903 fi
37904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37905 ac_ext=c
37906 ac_cpp='$CPP $CPPFLAGS'
37907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37910
37911
37912 fi
37913
37914 fi
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37916 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37917
37918 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37919 for ac_func in ldexpl
37920 do :
37921 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37922 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37923 cat >>confdefs.h <<_ACEOF
37924 #define HAVE_LDEXPL 1
37925 _ACEOF
37926
37927 fi
37928 done
37929
37930 else
37931
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37933 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37934 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37935 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37936 $as_echo_n "(cached) " >&6
37937 else
37938
37939
37940 ac_ext=cpp
37941 ac_cpp='$CXXCPP $CPPFLAGS'
37942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37945
37946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37947 /* end confdefs.h. */
37948 #include <math.h>
37949 int
37950 main ()
37951 {
37952 _ldexpl(0, 0);
37953 ;
37954 return 0;
37955 }
37956 _ACEOF
37957 if ac_fn_cxx_try_compile "$LINENO"; then :
37958 glibcxx_cv_func__ldexpl_use=yes
37959 else
37960 glibcxx_cv_func__ldexpl_use=no
37961 fi
37962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37963 ac_ext=c
37964 ac_cpp='$CPP $CPPFLAGS'
37965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37968
37969
37970 fi
37971
37972 fi
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37974 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37975
37976 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37977 for ac_func in _ldexpl
37978 do :
37979 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37980 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37981 cat >>confdefs.h <<_ACEOF
37982 #define HAVE__LDEXPL 1
37983 _ACEOF
37984
37985 fi
37986 done
37987
37988 fi
37989 fi
37990
37991
37992
37993
37994
37995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37996 $as_echo_n "checking for logl declaration... " >&6; }
37997 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37998 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37999 $as_echo_n "(cached) " >&6
38000 else
38001
38002
38003 ac_ext=cpp
38004 ac_cpp='$CXXCPP $CPPFLAGS'
38005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38008
38009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38010 /* end confdefs.h. */
38011 #include <math.h>
38012 #ifdef HAVE_IEEEFP_H
38013 #include <ieeefp.h>
38014 #endif
38015
38016 int
38017 main ()
38018 {
38019 logl(0);
38020 ;
38021 return 0;
38022 }
38023 _ACEOF
38024 if ac_fn_cxx_try_compile "$LINENO"; then :
38025 glibcxx_cv_func_logl_use=yes
38026 else
38027 glibcxx_cv_func_logl_use=no
38028 fi
38029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38030 ac_ext=c
38031 ac_cpp='$CPP $CPPFLAGS'
38032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38035
38036
38037 fi
38038
38039 fi
38040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38041 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38042
38043 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38044 for ac_func in logl
38045 do :
38046 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38047 if test "x$ac_cv_func_logl" = x""yes; then :
38048 cat >>confdefs.h <<_ACEOF
38049 #define HAVE_LOGL 1
38050 _ACEOF
38051
38052 fi
38053 done
38054
38055 else
38056
38057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38058 $as_echo_n "checking for _logl declaration... " >&6; }
38059 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38060 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38061 $as_echo_n "(cached) " >&6
38062 else
38063
38064
38065 ac_ext=cpp
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38070
38071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38072 /* end confdefs.h. */
38073 #include <math.h>
38074 #ifdef HAVE_IEEEFP_H
38075 #include <ieeefp.h>
38076 #endif
38077
38078 int
38079 main ()
38080 {
38081 _logl(0);
38082 ;
38083 return 0;
38084 }
38085 _ACEOF
38086 if ac_fn_cxx_try_compile "$LINENO"; then :
38087 glibcxx_cv_func__logl_use=yes
38088 else
38089 glibcxx_cv_func__logl_use=no
38090 fi
38091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38092 ac_ext=c
38093 ac_cpp='$CPP $CPPFLAGS'
38094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38097
38098
38099 fi
38100
38101 fi
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38103 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38104
38105 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38106 for ac_func in _logl
38107 do :
38108 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38109 if test "x$ac_cv_func__logl" = x""yes; then :
38110 cat >>confdefs.h <<_ACEOF
38111 #define HAVE__LOGL 1
38112 _ACEOF
38113
38114 fi
38115 done
38116
38117 fi
38118 fi
38119
38120
38121
38122
38123
38124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38125 $as_echo_n "checking for log10l declaration... " >&6; }
38126 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38127 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38128 $as_echo_n "(cached) " >&6
38129 else
38130
38131
38132 ac_ext=cpp
38133 ac_cpp='$CXXCPP $CPPFLAGS'
38134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38137
38138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38139 /* end confdefs.h. */
38140 #include <math.h>
38141 #ifdef HAVE_IEEEFP_H
38142 #include <ieeefp.h>
38143 #endif
38144
38145 int
38146 main ()
38147 {
38148 log10l(0);
38149 ;
38150 return 0;
38151 }
38152 _ACEOF
38153 if ac_fn_cxx_try_compile "$LINENO"; then :
38154 glibcxx_cv_func_log10l_use=yes
38155 else
38156 glibcxx_cv_func_log10l_use=no
38157 fi
38158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38159 ac_ext=c
38160 ac_cpp='$CPP $CPPFLAGS'
38161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38164
38165
38166 fi
38167
38168 fi
38169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38170 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38171
38172 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38173 for ac_func in log10l
38174 do :
38175 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38176 if test "x$ac_cv_func_log10l" = x""yes; then :
38177 cat >>confdefs.h <<_ACEOF
38178 #define HAVE_LOG10L 1
38179 _ACEOF
38180
38181 fi
38182 done
38183
38184 else
38185
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38187 $as_echo_n "checking for _log10l declaration... " >&6; }
38188 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38189 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38190 $as_echo_n "(cached) " >&6
38191 else
38192
38193
38194 ac_ext=cpp
38195 ac_cpp='$CXXCPP $CPPFLAGS'
38196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38199
38200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38201 /* end confdefs.h. */
38202 #include <math.h>
38203 #ifdef HAVE_IEEEFP_H
38204 #include <ieeefp.h>
38205 #endif
38206
38207 int
38208 main ()
38209 {
38210 _log10l(0);
38211 ;
38212 return 0;
38213 }
38214 _ACEOF
38215 if ac_fn_cxx_try_compile "$LINENO"; then :
38216 glibcxx_cv_func__log10l_use=yes
38217 else
38218 glibcxx_cv_func__log10l_use=no
38219 fi
38220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38221 ac_ext=c
38222 ac_cpp='$CPP $CPPFLAGS'
38223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38226
38227
38228 fi
38229
38230 fi
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38232 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38233
38234 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38235 for ac_func in _log10l
38236 do :
38237 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38238 if test "x$ac_cv_func__log10l" = x""yes; then :
38239 cat >>confdefs.h <<_ACEOF
38240 #define HAVE__LOG10L 1
38241 _ACEOF
38242
38243 fi
38244 done
38245
38246 fi
38247 fi
38248
38249
38250
38251
38252
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38254 $as_echo_n "checking for modfl declaration... " >&6; }
38255 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38256 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38257 $as_echo_n "(cached) " >&6
38258 else
38259
38260
38261 ac_ext=cpp
38262 ac_cpp='$CXXCPP $CPPFLAGS'
38263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38266
38267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38268 /* end confdefs.h. */
38269 #include <math.h>
38270 int
38271 main ()
38272 {
38273 modfl(0, 0);
38274 ;
38275 return 0;
38276 }
38277 _ACEOF
38278 if ac_fn_cxx_try_compile "$LINENO"; then :
38279 glibcxx_cv_func_modfl_use=yes
38280 else
38281 glibcxx_cv_func_modfl_use=no
38282 fi
38283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38284 ac_ext=c
38285 ac_cpp='$CPP $CPPFLAGS'
38286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38289
38290
38291 fi
38292
38293 fi
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38295 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38296
38297 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38298 for ac_func in modfl
38299 do :
38300 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38301 if test "x$ac_cv_func_modfl" = x""yes; then :
38302 cat >>confdefs.h <<_ACEOF
38303 #define HAVE_MODFL 1
38304 _ACEOF
38305
38306 fi
38307 done
38308
38309 else
38310
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38312 $as_echo_n "checking for _modfl declaration... " >&6; }
38313 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38314 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38315 $as_echo_n "(cached) " >&6
38316 else
38317
38318
38319 ac_ext=cpp
38320 ac_cpp='$CXXCPP $CPPFLAGS'
38321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38324
38325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38326 /* end confdefs.h. */
38327 #include <math.h>
38328 int
38329 main ()
38330 {
38331 _modfl(0, 0);
38332 ;
38333 return 0;
38334 }
38335 _ACEOF
38336 if ac_fn_cxx_try_compile "$LINENO"; then :
38337 glibcxx_cv_func__modfl_use=yes
38338 else
38339 glibcxx_cv_func__modfl_use=no
38340 fi
38341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38342 ac_ext=c
38343 ac_cpp='$CPP $CPPFLAGS'
38344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38347
38348
38349 fi
38350
38351 fi
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38353 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38354
38355 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38356 for ac_func in _modfl
38357 do :
38358 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38359 if test "x$ac_cv_func__modfl" = x""yes; then :
38360 cat >>confdefs.h <<_ACEOF
38361 #define HAVE__MODFL 1
38362 _ACEOF
38363
38364 fi
38365 done
38366
38367 fi
38368 fi
38369
38370
38371
38372
38373
38374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38375 $as_echo_n "checking for powl declaration... " >&6; }
38376 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38377 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38378 $as_echo_n "(cached) " >&6
38379 else
38380
38381
38382 ac_ext=cpp
38383 ac_cpp='$CXXCPP $CPPFLAGS'
38384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38387
38388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38389 /* end confdefs.h. */
38390 #include <math.h>
38391 int
38392 main ()
38393 {
38394 powl(0, 0);
38395 ;
38396 return 0;
38397 }
38398 _ACEOF
38399 if ac_fn_cxx_try_compile "$LINENO"; then :
38400 glibcxx_cv_func_powl_use=yes
38401 else
38402 glibcxx_cv_func_powl_use=no
38403 fi
38404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38405 ac_ext=c
38406 ac_cpp='$CPP $CPPFLAGS'
38407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38410
38411
38412 fi
38413
38414 fi
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38416 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38417
38418 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38419 for ac_func in powl
38420 do :
38421 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38422 if test "x$ac_cv_func_powl" = x""yes; then :
38423 cat >>confdefs.h <<_ACEOF
38424 #define HAVE_POWL 1
38425 _ACEOF
38426
38427 fi
38428 done
38429
38430 else
38431
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38433 $as_echo_n "checking for _powl declaration... " >&6; }
38434 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38435 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38436 $as_echo_n "(cached) " >&6
38437 else
38438
38439
38440 ac_ext=cpp
38441 ac_cpp='$CXXCPP $CPPFLAGS'
38442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38445
38446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38447 /* end confdefs.h. */
38448 #include <math.h>
38449 int
38450 main ()
38451 {
38452 _powl(0, 0);
38453 ;
38454 return 0;
38455 }
38456 _ACEOF
38457 if ac_fn_cxx_try_compile "$LINENO"; then :
38458 glibcxx_cv_func__powl_use=yes
38459 else
38460 glibcxx_cv_func__powl_use=no
38461 fi
38462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38463 ac_ext=c
38464 ac_cpp='$CPP $CPPFLAGS'
38465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38468
38469
38470 fi
38471
38472 fi
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38474 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38475
38476 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38477 for ac_func in _powl
38478 do :
38479 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38480 if test "x$ac_cv_func__powl" = x""yes; then :
38481 cat >>confdefs.h <<_ACEOF
38482 #define HAVE__POWL 1
38483 _ACEOF
38484
38485 fi
38486 done
38487
38488 fi
38489 fi
38490
38491
38492
38493
38494
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38496 $as_echo_n "checking for sqrtl declaration... " >&6; }
38497 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38498 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38499 $as_echo_n "(cached) " >&6
38500 else
38501
38502
38503 ac_ext=cpp
38504 ac_cpp='$CXXCPP $CPPFLAGS'
38505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38508
38509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38510 /* end confdefs.h. */
38511 #include <math.h>
38512 #ifdef HAVE_IEEEFP_H
38513 #include <ieeefp.h>
38514 #endif
38515
38516 int
38517 main ()
38518 {
38519 sqrtl(0);
38520 ;
38521 return 0;
38522 }
38523 _ACEOF
38524 if ac_fn_cxx_try_compile "$LINENO"; then :
38525 glibcxx_cv_func_sqrtl_use=yes
38526 else
38527 glibcxx_cv_func_sqrtl_use=no
38528 fi
38529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38530 ac_ext=c
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38535
38536
38537 fi
38538
38539 fi
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38541 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38542
38543 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38544 for ac_func in sqrtl
38545 do :
38546 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38547 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38548 cat >>confdefs.h <<_ACEOF
38549 #define HAVE_SQRTL 1
38550 _ACEOF
38551
38552 fi
38553 done
38554
38555 else
38556
38557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38558 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38559 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38560 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38561 $as_echo_n "(cached) " >&6
38562 else
38563
38564
38565 ac_ext=cpp
38566 ac_cpp='$CXXCPP $CPPFLAGS'
38567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38570
38571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38572 /* end confdefs.h. */
38573 #include <math.h>
38574 #ifdef HAVE_IEEEFP_H
38575 #include <ieeefp.h>
38576 #endif
38577
38578 int
38579 main ()
38580 {
38581 _sqrtl(0);
38582 ;
38583 return 0;
38584 }
38585 _ACEOF
38586 if ac_fn_cxx_try_compile "$LINENO"; then :
38587 glibcxx_cv_func__sqrtl_use=yes
38588 else
38589 glibcxx_cv_func__sqrtl_use=no
38590 fi
38591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38592 ac_ext=c
38593 ac_cpp='$CPP $CPPFLAGS'
38594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38597
38598
38599 fi
38600
38601 fi
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38603 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38604
38605 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38606 for ac_func in _sqrtl
38607 do :
38608 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38609 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38610 cat >>confdefs.h <<_ACEOF
38611 #define HAVE__SQRTL 1
38612 _ACEOF
38613
38614 fi
38615 done
38616
38617 fi
38618 fi
38619
38620
38621
38622
38623
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38625 $as_echo_n "checking for sincosl declaration... " >&6; }
38626 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38627 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38628 $as_echo_n "(cached) " >&6
38629 else
38630
38631
38632 ac_ext=cpp
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38637
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640 #include <math.h>
38641 int
38642 main ()
38643 {
38644 sincosl(0, 0, 0);
38645 ;
38646 return 0;
38647 }
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_sincosl_use=yes
38651 else
38652 glibcxx_cv_func_sincosl_use=no
38653 fi
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38660
38661
38662 fi
38663
38664 fi
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38666 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38667
38668 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38669 for ac_func in sincosl
38670 do :
38671 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38672 if test "x$ac_cv_func_sincosl" = x""yes; then :
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_SINCOSL 1
38675 _ACEOF
38676
38677 fi
38678 done
38679
38680 else
38681
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38683 $as_echo_n "checking for _sincosl declaration... " >&6; }
38684 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38685 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38686 $as_echo_n "(cached) " >&6
38687 else
38688
38689
38690 ac_ext=cpp
38691 ac_cpp='$CXXCPP $CPPFLAGS'
38692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38695
38696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 int
38700 main ()
38701 {
38702 _sincosl(0, 0, 0);
38703 ;
38704 return 0;
38705 }
38706 _ACEOF
38707 if ac_fn_cxx_try_compile "$LINENO"; then :
38708 glibcxx_cv_func__sincosl_use=yes
38709 else
38710 glibcxx_cv_func__sincosl_use=no
38711 fi
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_ext=c
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38718
38719
38720 fi
38721
38722 fi
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38724 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38725
38726 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38727 for ac_func in _sincosl
38728 do :
38729 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38730 if test "x$ac_cv_func__sincosl" = x""yes; then :
38731 cat >>confdefs.h <<_ACEOF
38732 #define HAVE__SINCOSL 1
38733 _ACEOF
38734
38735 fi
38736 done
38737
38738 fi
38739 fi
38740
38741
38742
38743
38744
38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38746 $as_echo_n "checking for finitel declaration... " >&6; }
38747 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38748 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38749 $as_echo_n "(cached) " >&6
38750 else
38751
38752
38753 ac_ext=cpp
38754 ac_cpp='$CXXCPP $CPPFLAGS'
38755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38758
38759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 /* end confdefs.h. */
38761 #include <math.h>
38762 #ifdef HAVE_IEEEFP_H
38763 #include <ieeefp.h>
38764 #endif
38765
38766 int
38767 main ()
38768 {
38769 finitel(0);
38770 ;
38771 return 0;
38772 }
38773 _ACEOF
38774 if ac_fn_cxx_try_compile "$LINENO"; then :
38775 glibcxx_cv_func_finitel_use=yes
38776 else
38777 glibcxx_cv_func_finitel_use=no
38778 fi
38779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785
38786
38787 fi
38788
38789 fi
38790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38791 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38792
38793 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38794 for ac_func in finitel
38795 do :
38796 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38797 if test "x$ac_cv_func_finitel" = x""yes; then :
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_FINITEL 1
38800 _ACEOF
38801
38802 fi
38803 done
38804
38805 else
38806
38807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38808 $as_echo_n "checking for _finitel declaration... " >&6; }
38809 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38810 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38811 $as_echo_n "(cached) " >&6
38812 else
38813
38814
38815 ac_ext=cpp
38816 ac_cpp='$CXXCPP $CPPFLAGS'
38817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38820
38821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38822 /* end confdefs.h. */
38823 #include <math.h>
38824 #ifdef HAVE_IEEEFP_H
38825 #include <ieeefp.h>
38826 #endif
38827
38828 int
38829 main ()
38830 {
38831 _finitel(0);
38832 ;
38833 return 0;
38834 }
38835 _ACEOF
38836 if ac_fn_cxx_try_compile "$LINENO"; then :
38837 glibcxx_cv_func__finitel_use=yes
38838 else
38839 glibcxx_cv_func__finitel_use=no
38840 fi
38841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38842 ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38847
38848
38849 fi
38850
38851 fi
38852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38853 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38854
38855 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38856 for ac_func in _finitel
38857 do :
38858 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38859 if test "x$ac_cv_func__finitel" = x""yes; then :
38860 cat >>confdefs.h <<_ACEOF
38861 #define HAVE__FINITEL 1
38862 _ACEOF
38863
38864 fi
38865 done
38866
38867 fi
38868 fi
38869
38870
38871
38872
38873 LIBS="$ac_save_LIBS"
38874 CXXFLAGS="$ac_save_CXXFLAGS"
38875
38876
38877 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38878 ac_save_CXXFLAGS="$CXXFLAGS"
38879 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38880
38881
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38883 $as_echo_n "checking for strtold declaration... " >&6; }
38884 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38885 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38886 $as_echo_n "(cached) " >&6
38887 else
38888
38889
38890 ac_ext=cpp
38891 ac_cpp='$CXXCPP $CPPFLAGS'
38892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38895
38896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38897 /* end confdefs.h. */
38898 #include <stdlib.h>
38899 int
38900 main ()
38901 {
38902 strtold(0, 0);
38903 ;
38904 return 0;
38905 }
38906 _ACEOF
38907 if ac_fn_cxx_try_compile "$LINENO"; then :
38908 glibcxx_cv_func_strtold_use=yes
38909 else
38910 glibcxx_cv_func_strtold_use=no
38911 fi
38912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38913 ac_ext=c
38914 ac_cpp='$CPP $CPPFLAGS'
38915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38918
38919
38920 fi
38921
38922 fi
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38924 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38925 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38926 for ac_func in strtold
38927 do :
38928 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38929 if test "x$ac_cv_func_strtold" = x""yes; then :
38930 cat >>confdefs.h <<_ACEOF
38931 #define HAVE_STRTOLD 1
38932 _ACEOF
38933
38934 fi
38935 done
38936
38937 fi
38938
38939
38940
38941
38942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38943 $as_echo_n "checking for strtof declaration... " >&6; }
38944 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38945 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38946 $as_echo_n "(cached) " >&6
38947 else
38948
38949
38950 ac_ext=cpp
38951 ac_cpp='$CXXCPP $CPPFLAGS'
38952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38955
38956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38957 /* end confdefs.h. */
38958 #include <stdlib.h>
38959 int
38960 main ()
38961 {
38962 strtof(0, 0);
38963 ;
38964 return 0;
38965 }
38966 _ACEOF
38967 if ac_fn_cxx_try_compile "$LINENO"; then :
38968 glibcxx_cv_func_strtof_use=yes
38969 else
38970 glibcxx_cv_func_strtof_use=no
38971 fi
38972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38973 ac_ext=c
38974 ac_cpp='$CPP $CPPFLAGS'
38975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38978
38979
38980 fi
38981
38982 fi
38983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38984 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38985 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38986 for ac_func in strtof
38987 do :
38988 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38989 if test "x$ac_cv_func_strtof" = x""yes; then :
38990 cat >>confdefs.h <<_ACEOF
38991 #define HAVE_STRTOF 1
38992 _ACEOF
38993
38994 fi
38995 done
38996
38997 fi
38998
38999
39000
39001
39002 CXXFLAGS="$ac_save_CXXFLAGS"
39003
39004 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39005
39006 # We don't yet support AIX's TLS ABI.
39007 #GCC_CHECK_TLS
39008
39009
39010
39011
39012
39013 am_save_CPPFLAGS="$CPPFLAGS"
39014
39015 for element in $INCICONV; do
39016 haveit=
39017 for x in $CPPFLAGS; do
39018
39019 acl_save_prefix="$prefix"
39020 prefix="$acl_final_prefix"
39021 acl_save_exec_prefix="$exec_prefix"
39022 exec_prefix="$acl_final_exec_prefix"
39023 eval x=\"$x\"
39024 exec_prefix="$acl_save_exec_prefix"
39025 prefix="$acl_save_prefix"
39026
39027 if test "X$x" = "X$element"; then
39028 haveit=yes
39029 break
39030 fi
39031 done
39032 if test -z "$haveit"; then
39033 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39034 fi
39035 done
39036
39037
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39039 $as_echo_n "checking for iconv... " >&6; }
39040 if test "${am_cv_func_iconv+set}" = set; then :
39041 $as_echo_n "(cached) " >&6
39042 else
39043
39044 am_cv_func_iconv="no, consider installing GNU libiconv"
39045 am_cv_lib_iconv=no
39046 if test x$gcc_no_link = xyes; then
39047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39048 fi
39049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39050 /* end confdefs.h. */
39051 #include <stdlib.h>
39052 #include <iconv.h>
39053 int
39054 main ()
39055 {
39056 iconv_t cd = iconv_open("","");
39057 iconv(cd,NULL,NULL,NULL,NULL);
39058 iconv_close(cd);
39059 ;
39060 return 0;
39061 }
39062 _ACEOF
39063 if ac_fn_c_try_link "$LINENO"; then :
39064 am_cv_func_iconv=yes
39065 fi
39066 rm -f core conftest.err conftest.$ac_objext \
39067 conftest$ac_exeext conftest.$ac_ext
39068 if test "$am_cv_func_iconv" != yes; then
39069 am_save_LIBS="$LIBS"
39070 LIBS="$LIBS $LIBICONV"
39071 if test x$gcc_no_link = xyes; then
39072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39073 fi
39074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39075 /* end confdefs.h. */
39076 #include <stdlib.h>
39077 #include <iconv.h>
39078 int
39079 main ()
39080 {
39081 iconv_t cd = iconv_open("","");
39082 iconv(cd,NULL,NULL,NULL,NULL);
39083 iconv_close(cd);
39084 ;
39085 return 0;
39086 }
39087 _ACEOF
39088 if ac_fn_c_try_link "$LINENO"; then :
39089 am_cv_lib_iconv=yes
39090 am_cv_func_iconv=yes
39091 fi
39092 rm -f core conftest.err conftest.$ac_objext \
39093 conftest$ac_exeext conftest.$ac_ext
39094 LIBS="$am_save_LIBS"
39095 fi
39096
39097 fi
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39099 $as_echo "$am_cv_func_iconv" >&6; }
39100 if test "$am_cv_func_iconv" = yes; then
39101
39102 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39103
39104 fi
39105 if test "$am_cv_lib_iconv" = yes; then
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39107 $as_echo_n "checking how to link with libiconv... " >&6; }
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39109 $as_echo "$LIBICONV" >&6; }
39110 else
39111 CPPFLAGS="$am_save_CPPFLAGS"
39112 LIBICONV=
39113 LTLIBICONV=
39114 fi
39115
39116
39117
39118 if test "$am_cv_func_iconv" = yes; then
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39120 $as_echo_n "checking for iconv declaration... " >&6; }
39121 if test "${am_cv_proto_iconv+set}" = set; then :
39122 $as_echo_n "(cached) " >&6
39123 else
39124
39125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39126 /* end confdefs.h. */
39127
39128 #include <stdlib.h>
39129 #include <iconv.h>
39130 extern
39131 #ifdef __cplusplus
39132 "C"
39133 #endif
39134 #if defined(__STDC__) || defined(__cplusplus)
39135 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39136 #else
39137 size_t iconv();
39138 #endif
39139
39140 int
39141 main ()
39142 {
39143
39144 ;
39145 return 0;
39146 }
39147 _ACEOF
39148 if ac_fn_c_try_compile "$LINENO"; then :
39149 am_cv_proto_iconv_arg1=""
39150 else
39151 am_cv_proto_iconv_arg1="const"
39152 fi
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154 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);"
39155 fi
39156
39157 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39159 }$am_cv_proto_iconv" >&5
39160 $as_echo "${ac_t:-
39161 }$am_cv_proto_iconv" >&6; }
39162
39163 cat >>confdefs.h <<_ACEOF
39164 #define ICONV_CONST $am_cv_proto_iconv_arg1
39165 _ACEOF
39166
39167 fi
39168
39169 ;;
39170
39171 *-darwin*)
39172 # Darwin versions vary, but the linker should work in a cross environment,
39173 # so we just check for all the features here.
39174 # Check for available headers.
39175
39176 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39177
39178 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39179 ac_save_CXXFLAGS="$CXXFLAGS"
39180 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39181
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39183 $as_echo_n "checking for sin in -lm... " >&6; }
39184 if test "${ac_cv_lib_m_sin+set}" = set; then :
39185 $as_echo_n "(cached) " >&6
39186 else
39187 ac_check_lib_save_LIBS=$LIBS
39188 LIBS="-lm $LIBS"
39189 if test x$gcc_no_link = xyes; then
39190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39191 fi
39192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39193 /* end confdefs.h. */
39194
39195 /* Override any GCC internal prototype to avoid an error.
39196 Use char because int might match the return type of a GCC
39197 builtin and then its argument prototype would still apply. */
39198 #ifdef __cplusplus
39199 extern "C"
39200 #endif
39201 char sin ();
39202 int
39203 main ()
39204 {
39205 return sin ();
39206 ;
39207 return 0;
39208 }
39209 _ACEOF
39210 if ac_fn_c_try_link "$LINENO"; then :
39211 ac_cv_lib_m_sin=yes
39212 else
39213 ac_cv_lib_m_sin=no
39214 fi
39215 rm -f core conftest.err conftest.$ac_objext \
39216 conftest$ac_exeext conftest.$ac_ext
39217 LIBS=$ac_check_lib_save_LIBS
39218 fi
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39220 $as_echo "$ac_cv_lib_m_sin" >&6; }
39221 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39222 libm="-lm"
39223 fi
39224
39225 ac_save_LIBS="$LIBS"
39226 LIBS="$LIBS $libm"
39227
39228
39229
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39231 $as_echo_n "checking for isinf declaration... " >&6; }
39232 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39233 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39234 $as_echo_n "(cached) " >&6
39235 else
39236
39237
39238 ac_ext=cpp
39239 ac_cpp='$CXXCPP $CPPFLAGS'
39240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243
39244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39245 /* end confdefs.h. */
39246 #include <math.h>
39247 #ifdef HAVE_IEEEFP_H
39248 #include <ieeefp.h>
39249 #endif
39250
39251 int
39252 main ()
39253 {
39254 isinf(0);
39255 ;
39256 return 0;
39257 }
39258 _ACEOF
39259 if ac_fn_cxx_try_compile "$LINENO"; then :
39260 glibcxx_cv_func_isinf_use=yes
39261 else
39262 glibcxx_cv_func_isinf_use=no
39263 fi
39264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39265 ac_ext=c
39266 ac_cpp='$CPP $CPPFLAGS'
39267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39270
39271
39272 fi
39273
39274 fi
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39276 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39277
39278 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39279 for ac_func in isinf
39280 do :
39281 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39282 if test "x$ac_cv_func_isinf" = x""yes; then :
39283 cat >>confdefs.h <<_ACEOF
39284 #define HAVE_ISINF 1
39285 _ACEOF
39286
39287 fi
39288 done
39289
39290 else
39291
39292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39293 $as_echo_n "checking for _isinf declaration... " >&6; }
39294 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39295 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39296 $as_echo_n "(cached) " >&6
39297 else
39298
39299
39300 ac_ext=cpp
39301 ac_cpp='$CXXCPP $CPPFLAGS'
39302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39305
39306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39307 /* end confdefs.h. */
39308 #include <math.h>
39309 #ifdef HAVE_IEEEFP_H
39310 #include <ieeefp.h>
39311 #endif
39312
39313 int
39314 main ()
39315 {
39316 _isinf(0);
39317 ;
39318 return 0;
39319 }
39320 _ACEOF
39321 if ac_fn_cxx_try_compile "$LINENO"; then :
39322 glibcxx_cv_func__isinf_use=yes
39323 else
39324 glibcxx_cv_func__isinf_use=no
39325 fi
39326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39327 ac_ext=c
39328 ac_cpp='$CPP $CPPFLAGS'
39329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39332
39333
39334 fi
39335
39336 fi
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39338 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39339
39340 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39341 for ac_func in _isinf
39342 do :
39343 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39344 if test "x$ac_cv_func__isinf" = x""yes; then :
39345 cat >>confdefs.h <<_ACEOF
39346 #define HAVE__ISINF 1
39347 _ACEOF
39348
39349 fi
39350 done
39351
39352 fi
39353 fi
39354
39355
39356
39357
39358
39359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39360 $as_echo_n "checking for isnan declaration... " >&6; }
39361 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39362 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39363 $as_echo_n "(cached) " >&6
39364 else
39365
39366
39367 ac_ext=cpp
39368 ac_cpp='$CXXCPP $CPPFLAGS'
39369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39372
39373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39374 /* end confdefs.h. */
39375 #include <math.h>
39376 #ifdef HAVE_IEEEFP_H
39377 #include <ieeefp.h>
39378 #endif
39379
39380 int
39381 main ()
39382 {
39383 isnan(0);
39384 ;
39385 return 0;
39386 }
39387 _ACEOF
39388 if ac_fn_cxx_try_compile "$LINENO"; then :
39389 glibcxx_cv_func_isnan_use=yes
39390 else
39391 glibcxx_cv_func_isnan_use=no
39392 fi
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39394 ac_ext=c
39395 ac_cpp='$CPP $CPPFLAGS'
39396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39399
39400
39401 fi
39402
39403 fi
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39405 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39406
39407 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39408 for ac_func in isnan
39409 do :
39410 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39411 if test "x$ac_cv_func_isnan" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define HAVE_ISNAN 1
39414 _ACEOF
39415
39416 fi
39417 done
39418
39419 else
39420
39421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39422 $as_echo_n "checking for _isnan declaration... " >&6; }
39423 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39424 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39425 $as_echo_n "(cached) " >&6
39426 else
39427
39428
39429 ac_ext=cpp
39430 ac_cpp='$CXXCPP $CPPFLAGS'
39431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434
39435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39436 /* end confdefs.h. */
39437 #include <math.h>
39438 #ifdef HAVE_IEEEFP_H
39439 #include <ieeefp.h>
39440 #endif
39441
39442 int
39443 main ()
39444 {
39445 _isnan(0);
39446 ;
39447 return 0;
39448 }
39449 _ACEOF
39450 if ac_fn_cxx_try_compile "$LINENO"; then :
39451 glibcxx_cv_func__isnan_use=yes
39452 else
39453 glibcxx_cv_func__isnan_use=no
39454 fi
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39456 ac_ext=c
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39461
39462
39463 fi
39464
39465 fi
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39467 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39468
39469 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39470 for ac_func in _isnan
39471 do :
39472 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39473 if test "x$ac_cv_func__isnan" = x""yes; then :
39474 cat >>confdefs.h <<_ACEOF
39475 #define HAVE__ISNAN 1
39476 _ACEOF
39477
39478 fi
39479 done
39480
39481 fi
39482 fi
39483
39484
39485
39486
39487
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39489 $as_echo_n "checking for finite declaration... " >&6; }
39490 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39491 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39492 $as_echo_n "(cached) " >&6
39493 else
39494
39495
39496 ac_ext=cpp
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39501
39502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39503 /* end confdefs.h. */
39504 #include <math.h>
39505 #ifdef HAVE_IEEEFP_H
39506 #include <ieeefp.h>
39507 #endif
39508
39509 int
39510 main ()
39511 {
39512 finite(0);
39513 ;
39514 return 0;
39515 }
39516 _ACEOF
39517 if ac_fn_cxx_try_compile "$LINENO"; then :
39518 glibcxx_cv_func_finite_use=yes
39519 else
39520 glibcxx_cv_func_finite_use=no
39521 fi
39522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39523 ac_ext=c
39524 ac_cpp='$CPP $CPPFLAGS'
39525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39528
39529
39530 fi
39531
39532 fi
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39534 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39535
39536 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39537 for ac_func in finite
39538 do :
39539 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39540 if test "x$ac_cv_func_finite" = x""yes; then :
39541 cat >>confdefs.h <<_ACEOF
39542 #define HAVE_FINITE 1
39543 _ACEOF
39544
39545 fi
39546 done
39547
39548 else
39549
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39551 $as_echo_n "checking for _finite declaration... " >&6; }
39552 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39553 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39554 $as_echo_n "(cached) " >&6
39555 else
39556
39557
39558 ac_ext=cpp
39559 ac_cpp='$CXXCPP $CPPFLAGS'
39560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39563
39564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39565 /* end confdefs.h. */
39566 #include <math.h>
39567 #ifdef HAVE_IEEEFP_H
39568 #include <ieeefp.h>
39569 #endif
39570
39571 int
39572 main ()
39573 {
39574 _finite(0);
39575 ;
39576 return 0;
39577 }
39578 _ACEOF
39579 if ac_fn_cxx_try_compile "$LINENO"; then :
39580 glibcxx_cv_func__finite_use=yes
39581 else
39582 glibcxx_cv_func__finite_use=no
39583 fi
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39585 ac_ext=c
39586 ac_cpp='$CPP $CPPFLAGS'
39587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39590
39591
39592 fi
39593
39594 fi
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39596 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39597
39598 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39599 for ac_func in _finite
39600 do :
39601 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39602 if test "x$ac_cv_func__finite" = x""yes; then :
39603 cat >>confdefs.h <<_ACEOF
39604 #define HAVE__FINITE 1
39605 _ACEOF
39606
39607 fi
39608 done
39609
39610 fi
39611 fi
39612
39613
39614
39615
39616
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39618 $as_echo_n "checking for sincos declaration... " >&6; }
39619 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39620 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39621 $as_echo_n "(cached) " >&6
39622 else
39623
39624
39625 ac_ext=cpp
39626 ac_cpp='$CXXCPP $CPPFLAGS'
39627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39630
39631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39632 /* end confdefs.h. */
39633 #include <math.h>
39634 int
39635 main ()
39636 {
39637 sincos(0, 0, 0);
39638 ;
39639 return 0;
39640 }
39641 _ACEOF
39642 if ac_fn_cxx_try_compile "$LINENO"; then :
39643 glibcxx_cv_func_sincos_use=yes
39644 else
39645 glibcxx_cv_func_sincos_use=no
39646 fi
39647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39648 ac_ext=c
39649 ac_cpp='$CPP $CPPFLAGS'
39650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39653
39654
39655 fi
39656
39657 fi
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39659 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39660
39661 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39662 for ac_func in sincos
39663 do :
39664 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39665 if test "x$ac_cv_func_sincos" = x""yes; then :
39666 cat >>confdefs.h <<_ACEOF
39667 #define HAVE_SINCOS 1
39668 _ACEOF
39669
39670 fi
39671 done
39672
39673 else
39674
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39676 $as_echo_n "checking for _sincos declaration... " >&6; }
39677 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39678 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39679 $as_echo_n "(cached) " >&6
39680 else
39681
39682
39683 ac_ext=cpp
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39688
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39691 #include <math.h>
39692 int
39693 main ()
39694 {
39695 _sincos(0, 0, 0);
39696 ;
39697 return 0;
39698 }
39699 _ACEOF
39700 if ac_fn_cxx_try_compile "$LINENO"; then :
39701 glibcxx_cv_func__sincos_use=yes
39702 else
39703 glibcxx_cv_func__sincos_use=no
39704 fi
39705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39706 ac_ext=c
39707 ac_cpp='$CPP $CPPFLAGS'
39708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39711
39712
39713 fi
39714
39715 fi
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39717 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39718
39719 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39720 for ac_func in _sincos
39721 do :
39722 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39723 if test "x$ac_cv_func__sincos" = x""yes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE__SINCOS 1
39726 _ACEOF
39727
39728 fi
39729 done
39730
39731 fi
39732 fi
39733
39734
39735
39736
39737
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39739 $as_echo_n "checking for fpclass declaration... " >&6; }
39740 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39741 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39742 $as_echo_n "(cached) " >&6
39743 else
39744
39745
39746 ac_ext=cpp
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39751
39752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39753 /* end confdefs.h. */
39754 #include <math.h>
39755 #ifdef HAVE_IEEEFP_H
39756 #include <ieeefp.h>
39757 #endif
39758
39759 int
39760 main ()
39761 {
39762 fpclass(0);
39763 ;
39764 return 0;
39765 }
39766 _ACEOF
39767 if ac_fn_cxx_try_compile "$LINENO"; then :
39768 glibcxx_cv_func_fpclass_use=yes
39769 else
39770 glibcxx_cv_func_fpclass_use=no
39771 fi
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39773 ac_ext=c
39774 ac_cpp='$CPP $CPPFLAGS'
39775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39778
39779
39780 fi
39781
39782 fi
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39784 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39785
39786 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39787 for ac_func in fpclass
39788 do :
39789 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39790 if test "x$ac_cv_func_fpclass" = x""yes; then :
39791 cat >>confdefs.h <<_ACEOF
39792 #define HAVE_FPCLASS 1
39793 _ACEOF
39794
39795 fi
39796 done
39797
39798 else
39799
39800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39801 $as_echo_n "checking for _fpclass declaration... " >&6; }
39802 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39803 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39804 $as_echo_n "(cached) " >&6
39805 else
39806
39807
39808 ac_ext=cpp
39809 ac_cpp='$CXXCPP $CPPFLAGS'
39810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39813
39814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39815 /* end confdefs.h. */
39816 #include <math.h>
39817 #ifdef HAVE_IEEEFP_H
39818 #include <ieeefp.h>
39819 #endif
39820
39821 int
39822 main ()
39823 {
39824 _fpclass(0);
39825 ;
39826 return 0;
39827 }
39828 _ACEOF
39829 if ac_fn_cxx_try_compile "$LINENO"; then :
39830 glibcxx_cv_func__fpclass_use=yes
39831 else
39832 glibcxx_cv_func__fpclass_use=no
39833 fi
39834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39835 ac_ext=c
39836 ac_cpp='$CPP $CPPFLAGS'
39837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39840
39841
39842 fi
39843
39844 fi
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39846 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39847
39848 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39849 for ac_func in _fpclass
39850 do :
39851 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39852 if test "x$ac_cv_func__fpclass" = x""yes; then :
39853 cat >>confdefs.h <<_ACEOF
39854 #define HAVE__FPCLASS 1
39855 _ACEOF
39856
39857 fi
39858 done
39859
39860 fi
39861 fi
39862
39863
39864
39865
39866
39867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39868 $as_echo_n "checking for qfpclass declaration... " >&6; }
39869 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39870 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39871 $as_echo_n "(cached) " >&6
39872 else
39873
39874
39875 ac_ext=cpp
39876 ac_cpp='$CXXCPP $CPPFLAGS'
39877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39880
39881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39882 /* end confdefs.h. */
39883 #include <math.h>
39884 #ifdef HAVE_IEEEFP_H
39885 #include <ieeefp.h>
39886 #endif
39887
39888 int
39889 main ()
39890 {
39891 qfpclass(0);
39892 ;
39893 return 0;
39894 }
39895 _ACEOF
39896 if ac_fn_cxx_try_compile "$LINENO"; then :
39897 glibcxx_cv_func_qfpclass_use=yes
39898 else
39899 glibcxx_cv_func_qfpclass_use=no
39900 fi
39901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39902 ac_ext=c
39903 ac_cpp='$CPP $CPPFLAGS'
39904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907
39908
39909 fi
39910
39911 fi
39912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39913 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39914
39915 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39916 for ac_func in qfpclass
39917 do :
39918 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39919 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39920 cat >>confdefs.h <<_ACEOF
39921 #define HAVE_QFPCLASS 1
39922 _ACEOF
39923
39924 fi
39925 done
39926
39927 else
39928
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39930 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39931 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39932 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39933 $as_echo_n "(cached) " >&6
39934 else
39935
39936
39937 ac_ext=cpp
39938 ac_cpp='$CXXCPP $CPPFLAGS'
39939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39942
39943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39944 /* end confdefs.h. */
39945 #include <math.h>
39946 #ifdef HAVE_IEEEFP_H
39947 #include <ieeefp.h>
39948 #endif
39949
39950 int
39951 main ()
39952 {
39953 _qfpclass(0);
39954 ;
39955 return 0;
39956 }
39957 _ACEOF
39958 if ac_fn_cxx_try_compile "$LINENO"; then :
39959 glibcxx_cv_func__qfpclass_use=yes
39960 else
39961 glibcxx_cv_func__qfpclass_use=no
39962 fi
39963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39964 ac_ext=c
39965 ac_cpp='$CPP $CPPFLAGS'
39966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969
39970
39971 fi
39972
39973 fi
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39975 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39976
39977 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39978 for ac_func in _qfpclass
39979 do :
39980 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39981 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39982 cat >>confdefs.h <<_ACEOF
39983 #define HAVE__QFPCLASS 1
39984 _ACEOF
39985
39986 fi
39987 done
39988
39989 fi
39990 fi
39991
39992
39993
39994
39995
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39997 $as_echo_n "checking for hypot declaration... " >&6; }
39998 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39999 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40000 $as_echo_n "(cached) " >&6
40001 else
40002
40003
40004 ac_ext=cpp
40005 ac_cpp='$CXXCPP $CPPFLAGS'
40006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40009
40010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40011 /* end confdefs.h. */
40012 #include <math.h>
40013 int
40014 main ()
40015 {
40016 hypot(0, 0);
40017 ;
40018 return 0;
40019 }
40020 _ACEOF
40021 if ac_fn_cxx_try_compile "$LINENO"; then :
40022 glibcxx_cv_func_hypot_use=yes
40023 else
40024 glibcxx_cv_func_hypot_use=no
40025 fi
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40027 ac_ext=c
40028 ac_cpp='$CPP $CPPFLAGS'
40029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40032
40033
40034 fi
40035
40036 fi
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40038 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40039
40040 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40041 for ac_func in hypot
40042 do :
40043 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40044 if test "x$ac_cv_func_hypot" = x""yes; then :
40045 cat >>confdefs.h <<_ACEOF
40046 #define HAVE_HYPOT 1
40047 _ACEOF
40048
40049 fi
40050 done
40051
40052 else
40053
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40055 $as_echo_n "checking for _hypot declaration... " >&6; }
40056 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40057 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40058 $as_echo_n "(cached) " >&6
40059 else
40060
40061
40062 ac_ext=cpp
40063 ac_cpp='$CXXCPP $CPPFLAGS'
40064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067
40068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40069 /* end confdefs.h. */
40070 #include <math.h>
40071 int
40072 main ()
40073 {
40074 _hypot(0, 0);
40075 ;
40076 return 0;
40077 }
40078 _ACEOF
40079 if ac_fn_cxx_try_compile "$LINENO"; then :
40080 glibcxx_cv_func__hypot_use=yes
40081 else
40082 glibcxx_cv_func__hypot_use=no
40083 fi
40084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40085 ac_ext=c
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090
40091
40092 fi
40093
40094 fi
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40096 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40097
40098 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40099 for ac_func in _hypot
40100 do :
40101 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40102 if test "x$ac_cv_func__hypot" = x""yes; then :
40103 cat >>confdefs.h <<_ACEOF
40104 #define HAVE__HYPOT 1
40105 _ACEOF
40106
40107 fi
40108 done
40109
40110 fi
40111 fi
40112
40113
40114
40115
40116
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40118 $as_echo_n "checking for float trig functions... " >&6; }
40119 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40120 $as_echo_n "(cached) " >&6
40121 else
40122
40123
40124 ac_ext=cpp
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129
40130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40131 /* end confdefs.h. */
40132 #include <math.h>
40133 int
40134 main ()
40135 {
40136 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40137 ;
40138 return 0;
40139 }
40140 _ACEOF
40141 if ac_fn_cxx_try_compile "$LINENO"; then :
40142 glibcxx_cv_func_float_trig_use=yes
40143 else
40144 glibcxx_cv_func_float_trig_use=no
40145 fi
40146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40147 ac_ext=c
40148 ac_cpp='$CPP $CPPFLAGS'
40149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40152
40153 fi
40154
40155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40156 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40157 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40158 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40159 do :
40160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40162 eval as_val=\$$as_ac_var
40163 if test "x$as_val" = x""yes; then :
40164 cat >>confdefs.h <<_ACEOF
40165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40166 _ACEOF
40167
40168 fi
40169 done
40170
40171 else
40172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40173 $as_echo_n "checking for _float trig functions... " >&6; }
40174 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40175 $as_echo_n "(cached) " >&6
40176 else
40177
40178
40179 ac_ext=cpp
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40184
40185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40186 /* end confdefs.h. */
40187 #include <math.h>
40188 int
40189 main ()
40190 {
40191 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40192 ;
40193 return 0;
40194 }
40195 _ACEOF
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197 glibcxx_cv_func__float_trig_use=yes
40198 else
40199 glibcxx_cv_func__float_trig_use=no
40200 fi
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202 ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207
40208 fi
40209
40210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40211 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40212 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40213 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40214 do :
40215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40217 eval as_val=\$$as_ac_var
40218 if test "x$as_val" = x""yes; then :
40219 cat >>confdefs.h <<_ACEOF
40220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40221 _ACEOF
40222
40223 fi
40224 done
40225
40226 fi
40227 fi
40228
40229
40230
40231
40232
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40234 $as_echo_n "checking for float round functions... " >&6; }
40235 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40236 $as_echo_n "(cached) " >&6
40237 else
40238
40239
40240 ac_ext=cpp
40241 ac_cpp='$CXXCPP $CPPFLAGS'
40242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40245
40246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40247 /* end confdefs.h. */
40248 #include <math.h>
40249 int
40250 main ()
40251 {
40252 ceilf (0); floorf (0);
40253 ;
40254 return 0;
40255 }
40256 _ACEOF
40257 if ac_fn_cxx_try_compile "$LINENO"; then :
40258 glibcxx_cv_func_float_round_use=yes
40259 else
40260 glibcxx_cv_func_float_round_use=no
40261 fi
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40263 ac_ext=c
40264 ac_cpp='$CPP $CPPFLAGS'
40265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40268
40269 fi
40270
40271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40272 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40273 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40274 for ac_func in ceilf floorf
40275 do :
40276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40278 eval as_val=\$$as_ac_var
40279 if test "x$as_val" = x""yes; then :
40280 cat >>confdefs.h <<_ACEOF
40281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 _ACEOF
40283
40284 fi
40285 done
40286
40287 else
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40289 $as_echo_n "checking for _float round functions... " >&6; }
40290 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40291 $as_echo_n "(cached) " >&6
40292 else
40293
40294
40295 ac_ext=cpp
40296 ac_cpp='$CXXCPP $CPPFLAGS'
40297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40300
40301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40302 /* end confdefs.h. */
40303 #include <math.h>
40304 int
40305 main ()
40306 {
40307 _ceilf (0); _floorf (0);
40308 ;
40309 return 0;
40310 }
40311 _ACEOF
40312 if ac_fn_cxx_try_compile "$LINENO"; then :
40313 glibcxx_cv_func__float_round_use=yes
40314 else
40315 glibcxx_cv_func__float_round_use=no
40316 fi
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40318 ac_ext=c
40319 ac_cpp='$CPP $CPPFLAGS'
40320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40323
40324 fi
40325
40326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40327 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40328 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40329 for ac_func in _ceilf _floorf
40330 do :
40331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40333 eval as_val=\$$as_ac_var
40334 if test "x$as_val" = x""yes; then :
40335 cat >>confdefs.h <<_ACEOF
40336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40337 _ACEOF
40338
40339 fi
40340 done
40341
40342 fi
40343 fi
40344
40345
40346
40347
40348
40349
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40351 $as_echo_n "checking for expf declaration... " >&6; }
40352 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40353 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40354 $as_echo_n "(cached) " >&6
40355 else
40356
40357
40358 ac_ext=cpp
40359 ac_cpp='$CXXCPP $CPPFLAGS'
40360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40363
40364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365 /* end confdefs.h. */
40366 #include <math.h>
40367 #ifdef HAVE_IEEEFP_H
40368 #include <ieeefp.h>
40369 #endif
40370
40371 int
40372 main ()
40373 {
40374 expf(0);
40375 ;
40376 return 0;
40377 }
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func_expf_use=yes
40381 else
40382 glibcxx_cv_func_expf_use=no
40383 fi
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40390
40391
40392 fi
40393
40394 fi
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40396 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40397
40398 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40399 for ac_func in expf
40400 do :
40401 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40402 if test "x$ac_cv_func_expf" = x""yes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE_EXPF 1
40405 _ACEOF
40406
40407 fi
40408 done
40409
40410 else
40411
40412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40413 $as_echo_n "checking for _expf declaration... " >&6; }
40414 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40415 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40416 $as_echo_n "(cached) " >&6
40417 else
40418
40419
40420 ac_ext=cpp
40421 ac_cpp='$CXXCPP $CPPFLAGS'
40422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40425
40426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40427 /* end confdefs.h. */
40428 #include <math.h>
40429 #ifdef HAVE_IEEEFP_H
40430 #include <ieeefp.h>
40431 #endif
40432
40433 int
40434 main ()
40435 {
40436 _expf(0);
40437 ;
40438 return 0;
40439 }
40440 _ACEOF
40441 if ac_fn_cxx_try_compile "$LINENO"; then :
40442 glibcxx_cv_func__expf_use=yes
40443 else
40444 glibcxx_cv_func__expf_use=no
40445 fi
40446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40447 ac_ext=c
40448 ac_cpp='$CPP $CPPFLAGS'
40449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40452
40453
40454 fi
40455
40456 fi
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40458 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40459
40460 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40461 for ac_func in _expf
40462 do :
40463 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40464 if test "x$ac_cv_func__expf" = x""yes; then :
40465 cat >>confdefs.h <<_ACEOF
40466 #define HAVE__EXPF 1
40467 _ACEOF
40468
40469 fi
40470 done
40471
40472 fi
40473 fi
40474
40475
40476
40477
40478
40479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40480 $as_echo_n "checking for isnanf declaration... " >&6; }
40481 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40482 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40483 $as_echo_n "(cached) " >&6
40484 else
40485
40486
40487 ac_ext=cpp
40488 ac_cpp='$CXXCPP $CPPFLAGS'
40489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40492
40493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40494 /* end confdefs.h. */
40495 #include <math.h>
40496 #ifdef HAVE_IEEEFP_H
40497 #include <ieeefp.h>
40498 #endif
40499
40500 int
40501 main ()
40502 {
40503 isnanf(0);
40504 ;
40505 return 0;
40506 }
40507 _ACEOF
40508 if ac_fn_cxx_try_compile "$LINENO"; then :
40509 glibcxx_cv_func_isnanf_use=yes
40510 else
40511 glibcxx_cv_func_isnanf_use=no
40512 fi
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40514 ac_ext=c
40515 ac_cpp='$CPP $CPPFLAGS'
40516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40519
40520
40521 fi
40522
40523 fi
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40525 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40526
40527 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40528 for ac_func in isnanf
40529 do :
40530 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40531 if test "x$ac_cv_func_isnanf" = x""yes; then :
40532 cat >>confdefs.h <<_ACEOF
40533 #define HAVE_ISNANF 1
40534 _ACEOF
40535
40536 fi
40537 done
40538
40539 else
40540
40541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40542 $as_echo_n "checking for _isnanf declaration... " >&6; }
40543 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40544 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40545 $as_echo_n "(cached) " >&6
40546 else
40547
40548
40549 ac_ext=cpp
40550 ac_cpp='$CXXCPP $CPPFLAGS'
40551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40554
40555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40556 /* end confdefs.h. */
40557 #include <math.h>
40558 #ifdef HAVE_IEEEFP_H
40559 #include <ieeefp.h>
40560 #endif
40561
40562 int
40563 main ()
40564 {
40565 _isnanf(0);
40566 ;
40567 return 0;
40568 }
40569 _ACEOF
40570 if ac_fn_cxx_try_compile "$LINENO"; then :
40571 glibcxx_cv_func__isnanf_use=yes
40572 else
40573 glibcxx_cv_func__isnanf_use=no
40574 fi
40575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40576 ac_ext=c
40577 ac_cpp='$CPP $CPPFLAGS'
40578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40581
40582
40583 fi
40584
40585 fi
40586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40587 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40588
40589 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40590 for ac_func in _isnanf
40591 do :
40592 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40593 if test "x$ac_cv_func__isnanf" = x""yes; then :
40594 cat >>confdefs.h <<_ACEOF
40595 #define HAVE__ISNANF 1
40596 _ACEOF
40597
40598 fi
40599 done
40600
40601 fi
40602 fi
40603
40604
40605
40606
40607
40608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40609 $as_echo_n "checking for isinff declaration... " >&6; }
40610 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40611 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40612 $as_echo_n "(cached) " >&6
40613 else
40614
40615
40616 ac_ext=cpp
40617 ac_cpp='$CXXCPP $CPPFLAGS'
40618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40621
40622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40623 /* end confdefs.h. */
40624 #include <math.h>
40625 #ifdef HAVE_IEEEFP_H
40626 #include <ieeefp.h>
40627 #endif
40628
40629 int
40630 main ()
40631 {
40632 isinff(0);
40633 ;
40634 return 0;
40635 }
40636 _ACEOF
40637 if ac_fn_cxx_try_compile "$LINENO"; then :
40638 glibcxx_cv_func_isinff_use=yes
40639 else
40640 glibcxx_cv_func_isinff_use=no
40641 fi
40642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40643 ac_ext=c
40644 ac_cpp='$CPP $CPPFLAGS'
40645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40648
40649
40650 fi
40651
40652 fi
40653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40654 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40655
40656 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40657 for ac_func in isinff
40658 do :
40659 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40660 if test "x$ac_cv_func_isinff" = x""yes; then :
40661 cat >>confdefs.h <<_ACEOF
40662 #define HAVE_ISINFF 1
40663 _ACEOF
40664
40665 fi
40666 done
40667
40668 else
40669
40670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40671 $as_echo_n "checking for _isinff declaration... " >&6; }
40672 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40673 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40674 $as_echo_n "(cached) " >&6
40675 else
40676
40677
40678 ac_ext=cpp
40679 ac_cpp='$CXXCPP $CPPFLAGS'
40680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40683
40684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40685 /* end confdefs.h. */
40686 #include <math.h>
40687 #ifdef HAVE_IEEEFP_H
40688 #include <ieeefp.h>
40689 #endif
40690
40691 int
40692 main ()
40693 {
40694 _isinff(0);
40695 ;
40696 return 0;
40697 }
40698 _ACEOF
40699 if ac_fn_cxx_try_compile "$LINENO"; then :
40700 glibcxx_cv_func__isinff_use=yes
40701 else
40702 glibcxx_cv_func__isinff_use=no
40703 fi
40704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40705 ac_ext=c
40706 ac_cpp='$CPP $CPPFLAGS'
40707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40710
40711
40712 fi
40713
40714 fi
40715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40716 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40717
40718 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40719 for ac_func in _isinff
40720 do :
40721 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40722 if test "x$ac_cv_func__isinff" = x""yes; then :
40723 cat >>confdefs.h <<_ACEOF
40724 #define HAVE__ISINFF 1
40725 _ACEOF
40726
40727 fi
40728 done
40729
40730 fi
40731 fi
40732
40733
40734
40735
40736
40737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40738 $as_echo_n "checking for atan2f declaration... " >&6; }
40739 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40740 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40741 $as_echo_n "(cached) " >&6
40742 else
40743
40744
40745 ac_ext=cpp
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40750
40751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40752 /* end confdefs.h. */
40753 #include <math.h>
40754 int
40755 main ()
40756 {
40757 atan2f(0, 0);
40758 ;
40759 return 0;
40760 }
40761 _ACEOF
40762 if ac_fn_cxx_try_compile "$LINENO"; then :
40763 glibcxx_cv_func_atan2f_use=yes
40764 else
40765 glibcxx_cv_func_atan2f_use=no
40766 fi
40767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40768 ac_ext=c
40769 ac_cpp='$CPP $CPPFLAGS'
40770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40773
40774
40775 fi
40776
40777 fi
40778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40779 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40780
40781 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40782 for ac_func in atan2f
40783 do :
40784 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40785 if test "x$ac_cv_func_atan2f" = x""yes; then :
40786 cat >>confdefs.h <<_ACEOF
40787 #define HAVE_ATAN2F 1
40788 _ACEOF
40789
40790 fi
40791 done
40792
40793 else
40794
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40796 $as_echo_n "checking for _atan2f declaration... " >&6; }
40797 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40798 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40799 $as_echo_n "(cached) " >&6
40800 else
40801
40802
40803 ac_ext=cpp
40804 ac_cpp='$CXXCPP $CPPFLAGS'
40805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40808
40809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40810 /* end confdefs.h. */
40811 #include <math.h>
40812 int
40813 main ()
40814 {
40815 _atan2f(0, 0);
40816 ;
40817 return 0;
40818 }
40819 _ACEOF
40820 if ac_fn_cxx_try_compile "$LINENO"; then :
40821 glibcxx_cv_func__atan2f_use=yes
40822 else
40823 glibcxx_cv_func__atan2f_use=no
40824 fi
40825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40826 ac_ext=c
40827 ac_cpp='$CPP $CPPFLAGS'
40828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40831
40832
40833 fi
40834
40835 fi
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40837 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40838
40839 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40840 for ac_func in _atan2f
40841 do :
40842 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40843 if test "x$ac_cv_func__atan2f" = x""yes; then :
40844 cat >>confdefs.h <<_ACEOF
40845 #define HAVE__ATAN2F 1
40846 _ACEOF
40847
40848 fi
40849 done
40850
40851 fi
40852 fi
40853
40854
40855
40856
40857
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40859 $as_echo_n "checking for fabsf declaration... " >&6; }
40860 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40861 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40862 $as_echo_n "(cached) " >&6
40863 else
40864
40865
40866 ac_ext=cpp
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40871
40872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40873 /* end confdefs.h. */
40874 #include <math.h>
40875 #ifdef HAVE_IEEEFP_H
40876 #include <ieeefp.h>
40877 #endif
40878
40879 int
40880 main ()
40881 {
40882 fabsf(0);
40883 ;
40884 return 0;
40885 }
40886 _ACEOF
40887 if ac_fn_cxx_try_compile "$LINENO"; then :
40888 glibcxx_cv_func_fabsf_use=yes
40889 else
40890 glibcxx_cv_func_fabsf_use=no
40891 fi
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898
40899
40900 fi
40901
40902 fi
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40904 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40905
40906 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40907 for ac_func in fabsf
40908 do :
40909 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40910 if test "x$ac_cv_func_fabsf" = x""yes; then :
40911 cat >>confdefs.h <<_ACEOF
40912 #define HAVE_FABSF 1
40913 _ACEOF
40914
40915 fi
40916 done
40917
40918 else
40919
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40921 $as_echo_n "checking for _fabsf declaration... " >&6; }
40922 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40923 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40924 $as_echo_n "(cached) " >&6
40925 else
40926
40927
40928 ac_ext=cpp
40929 ac_cpp='$CXXCPP $CPPFLAGS'
40930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40933
40934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40935 /* end confdefs.h. */
40936 #include <math.h>
40937 #ifdef HAVE_IEEEFP_H
40938 #include <ieeefp.h>
40939 #endif
40940
40941 int
40942 main ()
40943 {
40944 _fabsf(0);
40945 ;
40946 return 0;
40947 }
40948 _ACEOF
40949 if ac_fn_cxx_try_compile "$LINENO"; then :
40950 glibcxx_cv_func__fabsf_use=yes
40951 else
40952 glibcxx_cv_func__fabsf_use=no
40953 fi
40954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40955 ac_ext=c
40956 ac_cpp='$CPP $CPPFLAGS'
40957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40960
40961
40962 fi
40963
40964 fi
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40966 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40967
40968 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40969 for ac_func in _fabsf
40970 do :
40971 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40972 if test "x$ac_cv_func__fabsf" = x""yes; then :
40973 cat >>confdefs.h <<_ACEOF
40974 #define HAVE__FABSF 1
40975 _ACEOF
40976
40977 fi
40978 done
40979
40980 fi
40981 fi
40982
40983
40984
40985
40986
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40988 $as_echo_n "checking for fmodf declaration... " >&6; }
40989 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40990 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40991 $as_echo_n "(cached) " >&6
40992 else
40993
40994
40995 ac_ext=cpp
40996 ac_cpp='$CXXCPP $CPPFLAGS'
40997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41000
41001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41002 /* end confdefs.h. */
41003 #include <math.h>
41004 int
41005 main ()
41006 {
41007 fmodf(0, 0);
41008 ;
41009 return 0;
41010 }
41011 _ACEOF
41012 if ac_fn_cxx_try_compile "$LINENO"; then :
41013 glibcxx_cv_func_fmodf_use=yes
41014 else
41015 glibcxx_cv_func_fmodf_use=no
41016 fi
41017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41018 ac_ext=c
41019 ac_cpp='$CPP $CPPFLAGS'
41020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023
41024
41025 fi
41026
41027 fi
41028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41029 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41030
41031 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41032 for ac_func in fmodf
41033 do :
41034 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41035 if test "x$ac_cv_func_fmodf" = x""yes; then :
41036 cat >>confdefs.h <<_ACEOF
41037 #define HAVE_FMODF 1
41038 _ACEOF
41039
41040 fi
41041 done
41042
41043 else
41044
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41046 $as_echo_n "checking for _fmodf declaration... " >&6; }
41047 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41048 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41049 $as_echo_n "(cached) " >&6
41050 else
41051
41052
41053 ac_ext=cpp
41054 ac_cpp='$CXXCPP $CPPFLAGS'
41055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41058
41059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41060 /* end confdefs.h. */
41061 #include <math.h>
41062 int
41063 main ()
41064 {
41065 _fmodf(0, 0);
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 if ac_fn_cxx_try_compile "$LINENO"; then :
41071 glibcxx_cv_func__fmodf_use=yes
41072 else
41073 glibcxx_cv_func__fmodf_use=no
41074 fi
41075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41076 ac_ext=c
41077 ac_cpp='$CPP $CPPFLAGS'
41078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41081
41082
41083 fi
41084
41085 fi
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41087 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41088
41089 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41090 for ac_func in _fmodf
41091 do :
41092 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41093 if test "x$ac_cv_func__fmodf" = x""yes; then :
41094 cat >>confdefs.h <<_ACEOF
41095 #define HAVE__FMODF 1
41096 _ACEOF
41097
41098 fi
41099 done
41100
41101 fi
41102 fi
41103
41104
41105
41106
41107
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41109 $as_echo_n "checking for frexpf declaration... " >&6; }
41110 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41111 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41112 $as_echo_n "(cached) " >&6
41113 else
41114
41115
41116 ac_ext=cpp
41117 ac_cpp='$CXXCPP $CPPFLAGS'
41118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41121
41122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41123 /* end confdefs.h. */
41124 #include <math.h>
41125 int
41126 main ()
41127 {
41128 frexpf(0, 0);
41129 ;
41130 return 0;
41131 }
41132 _ACEOF
41133 if ac_fn_cxx_try_compile "$LINENO"; then :
41134 glibcxx_cv_func_frexpf_use=yes
41135 else
41136 glibcxx_cv_func_frexpf_use=no
41137 fi
41138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41139 ac_ext=c
41140 ac_cpp='$CPP $CPPFLAGS'
41141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144
41145
41146 fi
41147
41148 fi
41149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41150 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41151
41152 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41153 for ac_func in frexpf
41154 do :
41155 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41156 if test "x$ac_cv_func_frexpf" = x""yes; then :
41157 cat >>confdefs.h <<_ACEOF
41158 #define HAVE_FREXPF 1
41159 _ACEOF
41160
41161 fi
41162 done
41163
41164 else
41165
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41167 $as_echo_n "checking for _frexpf declaration... " >&6; }
41168 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41169 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41170 $as_echo_n "(cached) " >&6
41171 else
41172
41173
41174 ac_ext=cpp
41175 ac_cpp='$CXXCPP $CPPFLAGS'
41176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41179
41180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41181 /* end confdefs.h. */
41182 #include <math.h>
41183 int
41184 main ()
41185 {
41186 _frexpf(0, 0);
41187 ;
41188 return 0;
41189 }
41190 _ACEOF
41191 if ac_fn_cxx_try_compile "$LINENO"; then :
41192 glibcxx_cv_func__frexpf_use=yes
41193 else
41194 glibcxx_cv_func__frexpf_use=no
41195 fi
41196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41197 ac_ext=c
41198 ac_cpp='$CPP $CPPFLAGS'
41199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41202
41203
41204 fi
41205
41206 fi
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41208 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41209
41210 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41211 for ac_func in _frexpf
41212 do :
41213 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41214 if test "x$ac_cv_func__frexpf" = x""yes; then :
41215 cat >>confdefs.h <<_ACEOF
41216 #define HAVE__FREXPF 1
41217 _ACEOF
41218
41219 fi
41220 done
41221
41222 fi
41223 fi
41224
41225
41226
41227
41228
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41230 $as_echo_n "checking for hypotf declaration... " >&6; }
41231 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41232 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41233 $as_echo_n "(cached) " >&6
41234 else
41235
41236
41237 ac_ext=cpp
41238 ac_cpp='$CXXCPP $CPPFLAGS'
41239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242
41243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41244 /* end confdefs.h. */
41245 #include <math.h>
41246 int
41247 main ()
41248 {
41249 hypotf(0, 0);
41250 ;
41251 return 0;
41252 }
41253 _ACEOF
41254 if ac_fn_cxx_try_compile "$LINENO"; then :
41255 glibcxx_cv_func_hypotf_use=yes
41256 else
41257 glibcxx_cv_func_hypotf_use=no
41258 fi
41259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41260 ac_ext=c
41261 ac_cpp='$CPP $CPPFLAGS'
41262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41265
41266
41267 fi
41268
41269 fi
41270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41271 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41272
41273 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41274 for ac_func in hypotf
41275 do :
41276 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41277 if test "x$ac_cv_func_hypotf" = x""yes; then :
41278 cat >>confdefs.h <<_ACEOF
41279 #define HAVE_HYPOTF 1
41280 _ACEOF
41281
41282 fi
41283 done
41284
41285 else
41286
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41288 $as_echo_n "checking for _hypotf declaration... " >&6; }
41289 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41290 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41291 $as_echo_n "(cached) " >&6
41292 else
41293
41294
41295 ac_ext=cpp
41296 ac_cpp='$CXXCPP $CPPFLAGS'
41297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41300
41301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41302 /* end confdefs.h. */
41303 #include <math.h>
41304 int
41305 main ()
41306 {
41307 _hypotf(0, 0);
41308 ;
41309 return 0;
41310 }
41311 _ACEOF
41312 if ac_fn_cxx_try_compile "$LINENO"; then :
41313 glibcxx_cv_func__hypotf_use=yes
41314 else
41315 glibcxx_cv_func__hypotf_use=no
41316 fi
41317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41318 ac_ext=c
41319 ac_cpp='$CPP $CPPFLAGS'
41320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323
41324
41325 fi
41326
41327 fi
41328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41329 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41330
41331 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41332 for ac_func in _hypotf
41333 do :
41334 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41335 if test "x$ac_cv_func__hypotf" = x""yes; then :
41336 cat >>confdefs.h <<_ACEOF
41337 #define HAVE__HYPOTF 1
41338 _ACEOF
41339
41340 fi
41341 done
41342
41343 fi
41344 fi
41345
41346
41347
41348
41349
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41351 $as_echo_n "checking for ldexpf declaration... " >&6; }
41352 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41353 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41354 $as_echo_n "(cached) " >&6
41355 else
41356
41357
41358 ac_ext=cpp
41359 ac_cpp='$CXXCPP $CPPFLAGS'
41360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41363
41364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365 /* end confdefs.h. */
41366 #include <math.h>
41367 int
41368 main ()
41369 {
41370 ldexpf(0, 0);
41371 ;
41372 return 0;
41373 }
41374 _ACEOF
41375 if ac_fn_cxx_try_compile "$LINENO"; then :
41376 glibcxx_cv_func_ldexpf_use=yes
41377 else
41378 glibcxx_cv_func_ldexpf_use=no
41379 fi
41380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41381 ac_ext=c
41382 ac_cpp='$CPP $CPPFLAGS'
41383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41386
41387
41388 fi
41389
41390 fi
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41392 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41393
41394 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41395 for ac_func in ldexpf
41396 do :
41397 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41398 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41399 cat >>confdefs.h <<_ACEOF
41400 #define HAVE_LDEXPF 1
41401 _ACEOF
41402
41403 fi
41404 done
41405
41406 else
41407
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41409 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41410 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41411 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41412 $as_echo_n "(cached) " >&6
41413 else
41414
41415
41416 ac_ext=cpp
41417 ac_cpp='$CXXCPP $CPPFLAGS'
41418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41421
41422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41423 /* end confdefs.h. */
41424 #include <math.h>
41425 int
41426 main ()
41427 {
41428 _ldexpf(0, 0);
41429 ;
41430 return 0;
41431 }
41432 _ACEOF
41433 if ac_fn_cxx_try_compile "$LINENO"; then :
41434 glibcxx_cv_func__ldexpf_use=yes
41435 else
41436 glibcxx_cv_func__ldexpf_use=no
41437 fi
41438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41439 ac_ext=c
41440 ac_cpp='$CPP $CPPFLAGS'
41441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41444
41445
41446 fi
41447
41448 fi
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41450 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41451
41452 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41453 for ac_func in _ldexpf
41454 do :
41455 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41456 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41457 cat >>confdefs.h <<_ACEOF
41458 #define HAVE__LDEXPF 1
41459 _ACEOF
41460
41461 fi
41462 done
41463
41464 fi
41465 fi
41466
41467
41468
41469
41470
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41472 $as_echo_n "checking for logf declaration... " >&6; }
41473 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41474 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41475 $as_echo_n "(cached) " >&6
41476 else
41477
41478
41479 ac_ext=cpp
41480 ac_cpp='$CXXCPP $CPPFLAGS'
41481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41484
41485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 /* end confdefs.h. */
41487 #include <math.h>
41488 #ifdef HAVE_IEEEFP_H
41489 #include <ieeefp.h>
41490 #endif
41491
41492 int
41493 main ()
41494 {
41495 logf(0);
41496 ;
41497 return 0;
41498 }
41499 _ACEOF
41500 if ac_fn_cxx_try_compile "$LINENO"; then :
41501 glibcxx_cv_func_logf_use=yes
41502 else
41503 glibcxx_cv_func_logf_use=no
41504 fi
41505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41506 ac_ext=c
41507 ac_cpp='$CPP $CPPFLAGS'
41508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41511
41512
41513 fi
41514
41515 fi
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41517 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41518
41519 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41520 for ac_func in logf
41521 do :
41522 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41523 if test "x$ac_cv_func_logf" = x""yes; then :
41524 cat >>confdefs.h <<_ACEOF
41525 #define HAVE_LOGF 1
41526 _ACEOF
41527
41528 fi
41529 done
41530
41531 else
41532
41533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41534 $as_echo_n "checking for _logf declaration... " >&6; }
41535 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41536 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41537 $as_echo_n "(cached) " >&6
41538 else
41539
41540
41541 ac_ext=cpp
41542 ac_cpp='$CXXCPP $CPPFLAGS'
41543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41546
41547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41548 /* end confdefs.h. */
41549 #include <math.h>
41550 #ifdef HAVE_IEEEFP_H
41551 #include <ieeefp.h>
41552 #endif
41553
41554 int
41555 main ()
41556 {
41557 _logf(0);
41558 ;
41559 return 0;
41560 }
41561 _ACEOF
41562 if ac_fn_cxx_try_compile "$LINENO"; then :
41563 glibcxx_cv_func__logf_use=yes
41564 else
41565 glibcxx_cv_func__logf_use=no
41566 fi
41567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41568 ac_ext=c
41569 ac_cpp='$CPP $CPPFLAGS'
41570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41573
41574
41575 fi
41576
41577 fi
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41579 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41580
41581 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41582 for ac_func in _logf
41583 do :
41584 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41585 if test "x$ac_cv_func__logf" = x""yes; then :
41586 cat >>confdefs.h <<_ACEOF
41587 #define HAVE__LOGF 1
41588 _ACEOF
41589
41590 fi
41591 done
41592
41593 fi
41594 fi
41595
41596
41597
41598
41599
41600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41601 $as_echo_n "checking for log10f declaration... " >&6; }
41602 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41603 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41604 $as_echo_n "(cached) " >&6
41605 else
41606
41607
41608 ac_ext=cpp
41609 ac_cpp='$CXXCPP $CPPFLAGS'
41610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41613
41614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41615 /* end confdefs.h. */
41616 #include <math.h>
41617 #ifdef HAVE_IEEEFP_H
41618 #include <ieeefp.h>
41619 #endif
41620
41621 int
41622 main ()
41623 {
41624 log10f(0);
41625 ;
41626 return 0;
41627 }
41628 _ACEOF
41629 if ac_fn_cxx_try_compile "$LINENO"; then :
41630 glibcxx_cv_func_log10f_use=yes
41631 else
41632 glibcxx_cv_func_log10f_use=no
41633 fi
41634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41635 ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642 fi
41643
41644 fi
41645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41646 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41647
41648 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41649 for ac_func in log10f
41650 do :
41651 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41652 if test "x$ac_cv_func_log10f" = x""yes; then :
41653 cat >>confdefs.h <<_ACEOF
41654 #define HAVE_LOG10F 1
41655 _ACEOF
41656
41657 fi
41658 done
41659
41660 else
41661
41662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41663 $as_echo_n "checking for _log10f declaration... " >&6; }
41664 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41665 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41666 $as_echo_n "(cached) " >&6
41667 else
41668
41669
41670 ac_ext=cpp
41671 ac_cpp='$CXXCPP $CPPFLAGS'
41672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675
41676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41677 /* end confdefs.h. */
41678 #include <math.h>
41679 #ifdef HAVE_IEEEFP_H
41680 #include <ieeefp.h>
41681 #endif
41682
41683 int
41684 main ()
41685 {
41686 _log10f(0);
41687 ;
41688 return 0;
41689 }
41690 _ACEOF
41691 if ac_fn_cxx_try_compile "$LINENO"; then :
41692 glibcxx_cv_func__log10f_use=yes
41693 else
41694 glibcxx_cv_func__log10f_use=no
41695 fi
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697 ac_ext=c
41698 ac_cpp='$CPP $CPPFLAGS'
41699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702
41703
41704 fi
41705
41706 fi
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41708 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41709
41710 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41711 for ac_func in _log10f
41712 do :
41713 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41714 if test "x$ac_cv_func__log10f" = x""yes; then :
41715 cat >>confdefs.h <<_ACEOF
41716 #define HAVE__LOG10F 1
41717 _ACEOF
41718
41719 fi
41720 done
41721
41722 fi
41723 fi
41724
41725
41726
41727
41728
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41730 $as_echo_n "checking for modff declaration... " >&6; }
41731 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41732 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41733 $as_echo_n "(cached) " >&6
41734 else
41735
41736
41737 ac_ext=cpp
41738 ac_cpp='$CXXCPP $CPPFLAGS'
41739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41742
41743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41744 /* end confdefs.h. */
41745 #include <math.h>
41746 int
41747 main ()
41748 {
41749 modff(0, 0);
41750 ;
41751 return 0;
41752 }
41753 _ACEOF
41754 if ac_fn_cxx_try_compile "$LINENO"; then :
41755 glibcxx_cv_func_modff_use=yes
41756 else
41757 glibcxx_cv_func_modff_use=no
41758 fi
41759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41760 ac_ext=c
41761 ac_cpp='$CPP $CPPFLAGS'
41762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41765
41766
41767 fi
41768
41769 fi
41770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41771 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41772
41773 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41774 for ac_func in modff
41775 do :
41776 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41777 if test "x$ac_cv_func_modff" = x""yes; then :
41778 cat >>confdefs.h <<_ACEOF
41779 #define HAVE_MODFF 1
41780 _ACEOF
41781
41782 fi
41783 done
41784
41785 else
41786
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41788 $as_echo_n "checking for _modff declaration... " >&6; }
41789 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41790 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41791 $as_echo_n "(cached) " >&6
41792 else
41793
41794
41795 ac_ext=cpp
41796 ac_cpp='$CXXCPP $CPPFLAGS'
41797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41800
41801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41802 /* end confdefs.h. */
41803 #include <math.h>
41804 int
41805 main ()
41806 {
41807 _modff(0, 0);
41808 ;
41809 return 0;
41810 }
41811 _ACEOF
41812 if ac_fn_cxx_try_compile "$LINENO"; then :
41813 glibcxx_cv_func__modff_use=yes
41814 else
41815 glibcxx_cv_func__modff_use=no
41816 fi
41817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41818 ac_ext=c
41819 ac_cpp='$CPP $CPPFLAGS'
41820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41823
41824
41825 fi
41826
41827 fi
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41829 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41830
41831 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41832 for ac_func in _modff
41833 do :
41834 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41835 if test "x$ac_cv_func__modff" = x""yes; then :
41836 cat >>confdefs.h <<_ACEOF
41837 #define HAVE__MODFF 1
41838 _ACEOF
41839
41840 fi
41841 done
41842
41843 fi
41844 fi
41845
41846
41847
41848
41849
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41851 $as_echo_n "checking for modf declaration... " >&6; }
41852 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41853 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41854 $as_echo_n "(cached) " >&6
41855 else
41856
41857
41858 ac_ext=cpp
41859 ac_cpp='$CXXCPP $CPPFLAGS'
41860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41863
41864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41865 /* end confdefs.h. */
41866 #include <math.h>
41867 int
41868 main ()
41869 {
41870 modf(0, 0);
41871 ;
41872 return 0;
41873 }
41874 _ACEOF
41875 if ac_fn_cxx_try_compile "$LINENO"; then :
41876 glibcxx_cv_func_modf_use=yes
41877 else
41878 glibcxx_cv_func_modf_use=no
41879 fi
41880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41881 ac_ext=c
41882 ac_cpp='$CPP $CPPFLAGS'
41883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41886
41887
41888 fi
41889
41890 fi
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41892 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41893
41894 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41895 for ac_func in modf
41896 do :
41897 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41898 if test "x$ac_cv_func_modf" = x""yes; then :
41899 cat >>confdefs.h <<_ACEOF
41900 #define HAVE_MODF 1
41901 _ACEOF
41902
41903 fi
41904 done
41905
41906 else
41907
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41909 $as_echo_n "checking for _modf declaration... " >&6; }
41910 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41911 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41912 $as_echo_n "(cached) " >&6
41913 else
41914
41915
41916 ac_ext=cpp
41917 ac_cpp='$CXXCPP $CPPFLAGS'
41918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41921
41922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41923 /* end confdefs.h. */
41924 #include <math.h>
41925 int
41926 main ()
41927 {
41928 _modf(0, 0);
41929 ;
41930 return 0;
41931 }
41932 _ACEOF
41933 if ac_fn_cxx_try_compile "$LINENO"; then :
41934 glibcxx_cv_func__modf_use=yes
41935 else
41936 glibcxx_cv_func__modf_use=no
41937 fi
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41939 ac_ext=c
41940 ac_cpp='$CPP $CPPFLAGS'
41941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41944
41945
41946 fi
41947
41948 fi
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41950 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41951
41952 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41953 for ac_func in _modf
41954 do :
41955 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41956 if test "x$ac_cv_func__modf" = x""yes; then :
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE__MODF 1
41959 _ACEOF
41960
41961 fi
41962 done
41963
41964 fi
41965 fi
41966
41967
41968
41969
41970
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41972 $as_echo_n "checking for powf declaration... " >&6; }
41973 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41974 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41975 $as_echo_n "(cached) " >&6
41976 else
41977
41978
41979 ac_ext=cpp
41980 ac_cpp='$CXXCPP $CPPFLAGS'
41981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41984
41985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41986 /* end confdefs.h. */
41987 #include <math.h>
41988 int
41989 main ()
41990 {
41991 powf(0, 0);
41992 ;
41993 return 0;
41994 }
41995 _ACEOF
41996 if ac_fn_cxx_try_compile "$LINENO"; then :
41997 glibcxx_cv_func_powf_use=yes
41998 else
41999 glibcxx_cv_func_powf_use=no
42000 fi
42001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42002 ac_ext=c
42003 ac_cpp='$CPP $CPPFLAGS'
42004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42007
42008
42009 fi
42010
42011 fi
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42013 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42014
42015 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42016 for ac_func in powf
42017 do :
42018 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42019 if test "x$ac_cv_func_powf" = x""yes; then :
42020 cat >>confdefs.h <<_ACEOF
42021 #define HAVE_POWF 1
42022 _ACEOF
42023
42024 fi
42025 done
42026
42027 else
42028
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42030 $as_echo_n "checking for _powf declaration... " >&6; }
42031 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42032 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42033 $as_echo_n "(cached) " >&6
42034 else
42035
42036
42037 ac_ext=cpp
42038 ac_cpp='$CXXCPP $CPPFLAGS'
42039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42042
42043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044 /* end confdefs.h. */
42045 #include <math.h>
42046 int
42047 main ()
42048 {
42049 _powf(0, 0);
42050 ;
42051 return 0;
42052 }
42053 _ACEOF
42054 if ac_fn_cxx_try_compile "$LINENO"; then :
42055 glibcxx_cv_func__powf_use=yes
42056 else
42057 glibcxx_cv_func__powf_use=no
42058 fi
42059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42060 ac_ext=c
42061 ac_cpp='$CPP $CPPFLAGS'
42062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42065
42066
42067 fi
42068
42069 fi
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42071 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42072
42073 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42074 for ac_func in _powf
42075 do :
42076 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42077 if test "x$ac_cv_func__powf" = x""yes; then :
42078 cat >>confdefs.h <<_ACEOF
42079 #define HAVE__POWF 1
42080 _ACEOF
42081
42082 fi
42083 done
42084
42085 fi
42086 fi
42087
42088
42089
42090
42091
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42093 $as_echo_n "checking for sqrtf declaration... " >&6; }
42094 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42095 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42096 $as_echo_n "(cached) " >&6
42097 else
42098
42099
42100 ac_ext=cpp
42101 ac_cpp='$CXXCPP $CPPFLAGS'
42102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42105
42106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42107 /* end confdefs.h. */
42108 #include <math.h>
42109 #ifdef HAVE_IEEEFP_H
42110 #include <ieeefp.h>
42111 #endif
42112
42113 int
42114 main ()
42115 {
42116 sqrtf(0);
42117 ;
42118 return 0;
42119 }
42120 _ACEOF
42121 if ac_fn_cxx_try_compile "$LINENO"; then :
42122 glibcxx_cv_func_sqrtf_use=yes
42123 else
42124 glibcxx_cv_func_sqrtf_use=no
42125 fi
42126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42127 ac_ext=c
42128 ac_cpp='$CPP $CPPFLAGS'
42129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42132
42133
42134 fi
42135
42136 fi
42137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42138 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42139
42140 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42141 for ac_func in sqrtf
42142 do :
42143 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42144 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42145 cat >>confdefs.h <<_ACEOF
42146 #define HAVE_SQRTF 1
42147 _ACEOF
42148
42149 fi
42150 done
42151
42152 else
42153
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42155 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42156 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42157 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42158 $as_echo_n "(cached) " >&6
42159 else
42160
42161
42162 ac_ext=cpp
42163 ac_cpp='$CXXCPP $CPPFLAGS'
42164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42167
42168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42169 /* end confdefs.h. */
42170 #include <math.h>
42171 #ifdef HAVE_IEEEFP_H
42172 #include <ieeefp.h>
42173 #endif
42174
42175 int
42176 main ()
42177 {
42178 _sqrtf(0);
42179 ;
42180 return 0;
42181 }
42182 _ACEOF
42183 if ac_fn_cxx_try_compile "$LINENO"; then :
42184 glibcxx_cv_func__sqrtf_use=yes
42185 else
42186 glibcxx_cv_func__sqrtf_use=no
42187 fi
42188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42189 ac_ext=c
42190 ac_cpp='$CPP $CPPFLAGS'
42191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42194
42195
42196 fi
42197
42198 fi
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42200 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42201
42202 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42203 for ac_func in _sqrtf
42204 do :
42205 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42206 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42207 cat >>confdefs.h <<_ACEOF
42208 #define HAVE__SQRTF 1
42209 _ACEOF
42210
42211 fi
42212 done
42213
42214 fi
42215 fi
42216
42217
42218
42219
42220
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42222 $as_echo_n "checking for sincosf declaration... " >&6; }
42223 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42224 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42225 $as_echo_n "(cached) " >&6
42226 else
42227
42228
42229 ac_ext=cpp
42230 ac_cpp='$CXXCPP $CPPFLAGS'
42231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42234
42235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42236 /* end confdefs.h. */
42237 #include <math.h>
42238 int
42239 main ()
42240 {
42241 sincosf(0, 0, 0);
42242 ;
42243 return 0;
42244 }
42245 _ACEOF
42246 if ac_fn_cxx_try_compile "$LINENO"; then :
42247 glibcxx_cv_func_sincosf_use=yes
42248 else
42249 glibcxx_cv_func_sincosf_use=no
42250 fi
42251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42252 ac_ext=c
42253 ac_cpp='$CPP $CPPFLAGS'
42254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42257
42258
42259 fi
42260
42261 fi
42262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42263 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42264
42265 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42266 for ac_func in sincosf
42267 do :
42268 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42269 if test "x$ac_cv_func_sincosf" = x""yes; then :
42270 cat >>confdefs.h <<_ACEOF
42271 #define HAVE_SINCOSF 1
42272 _ACEOF
42273
42274 fi
42275 done
42276
42277 else
42278
42279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42280 $as_echo_n "checking for _sincosf declaration... " >&6; }
42281 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42282 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42283 $as_echo_n "(cached) " >&6
42284 else
42285
42286
42287 ac_ext=cpp
42288 ac_cpp='$CXXCPP $CPPFLAGS'
42289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42292
42293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42294 /* end confdefs.h. */
42295 #include <math.h>
42296 int
42297 main ()
42298 {
42299 _sincosf(0, 0, 0);
42300 ;
42301 return 0;
42302 }
42303 _ACEOF
42304 if ac_fn_cxx_try_compile "$LINENO"; then :
42305 glibcxx_cv_func__sincosf_use=yes
42306 else
42307 glibcxx_cv_func__sincosf_use=no
42308 fi
42309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42310 ac_ext=c
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42315
42316
42317 fi
42318
42319 fi
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42321 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42322
42323 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42324 for ac_func in _sincosf
42325 do :
42326 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42327 if test "x$ac_cv_func__sincosf" = x""yes; then :
42328 cat >>confdefs.h <<_ACEOF
42329 #define HAVE__SINCOSF 1
42330 _ACEOF
42331
42332 fi
42333 done
42334
42335 fi
42336 fi
42337
42338
42339
42340
42341
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42343 $as_echo_n "checking for finitef declaration... " >&6; }
42344 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42345 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42346 $as_echo_n "(cached) " >&6
42347 else
42348
42349
42350 ac_ext=cpp
42351 ac_cpp='$CXXCPP $CPPFLAGS'
42352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42355
42356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42357 /* end confdefs.h. */
42358 #include <math.h>
42359 #ifdef HAVE_IEEEFP_H
42360 #include <ieeefp.h>
42361 #endif
42362
42363 int
42364 main ()
42365 {
42366 finitef(0);
42367 ;
42368 return 0;
42369 }
42370 _ACEOF
42371 if ac_fn_cxx_try_compile "$LINENO"; then :
42372 glibcxx_cv_func_finitef_use=yes
42373 else
42374 glibcxx_cv_func_finitef_use=no
42375 fi
42376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42377 ac_ext=c
42378 ac_cpp='$CPP $CPPFLAGS'
42379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42382
42383
42384 fi
42385
42386 fi
42387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42388 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42389
42390 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42391 for ac_func in finitef
42392 do :
42393 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42394 if test "x$ac_cv_func_finitef" = x""yes; then :
42395 cat >>confdefs.h <<_ACEOF
42396 #define HAVE_FINITEF 1
42397 _ACEOF
42398
42399 fi
42400 done
42401
42402 else
42403
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42405 $as_echo_n "checking for _finitef declaration... " >&6; }
42406 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42407 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42408 $as_echo_n "(cached) " >&6
42409 else
42410
42411
42412 ac_ext=cpp
42413 ac_cpp='$CXXCPP $CPPFLAGS'
42414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42417
42418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42419 /* end confdefs.h. */
42420 #include <math.h>
42421 #ifdef HAVE_IEEEFP_H
42422 #include <ieeefp.h>
42423 #endif
42424
42425 int
42426 main ()
42427 {
42428 _finitef(0);
42429 ;
42430 return 0;
42431 }
42432 _ACEOF
42433 if ac_fn_cxx_try_compile "$LINENO"; then :
42434 glibcxx_cv_func__finitef_use=yes
42435 else
42436 glibcxx_cv_func__finitef_use=no
42437 fi
42438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42439 ac_ext=c
42440 ac_cpp='$CPP $CPPFLAGS'
42441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42444
42445
42446 fi
42447
42448 fi
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42450 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42451
42452 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42453 for ac_func in _finitef
42454 do :
42455 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42456 if test "x$ac_cv_func__finitef" = x""yes; then :
42457 cat >>confdefs.h <<_ACEOF
42458 #define HAVE__FINITEF 1
42459 _ACEOF
42460
42461 fi
42462 done
42463
42464 fi
42465 fi
42466
42467
42468
42469
42470
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42472 $as_echo_n "checking for long double trig functions... " >&6; }
42473 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42474 $as_echo_n "(cached) " >&6
42475 else
42476
42477
42478 ac_ext=cpp
42479 ac_cpp='$CXXCPP $CPPFLAGS'
42480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42483
42484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42485 /* end confdefs.h. */
42486 #include <math.h>
42487 int
42488 main ()
42489 {
42490 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42491 ;
42492 return 0;
42493 }
42494 _ACEOF
42495 if ac_fn_cxx_try_compile "$LINENO"; then :
42496 glibcxx_cv_func_long_double_trig_use=yes
42497 else
42498 glibcxx_cv_func_long_double_trig_use=no
42499 fi
42500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42501 ac_ext=c
42502 ac_cpp='$CPP $CPPFLAGS'
42503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42506
42507 fi
42508
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42510 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42511 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42512 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42513 do :
42514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42516 eval as_val=\$$as_ac_var
42517 if test "x$as_val" = x""yes; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42520 _ACEOF
42521
42522 fi
42523 done
42524
42525 else
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42527 $as_echo_n "checking for _long double trig functions... " >&6; }
42528 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42529 $as_echo_n "(cached) " >&6
42530 else
42531
42532
42533 ac_ext=cpp
42534 ac_cpp='$CXXCPP $CPPFLAGS'
42535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42538
42539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42540 /* end confdefs.h. */
42541 #include <math.h>
42542 int
42543 main ()
42544 {
42545 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42546 ;
42547 return 0;
42548 }
42549 _ACEOF
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551 glibcxx_cv_func__long_double_trig_use=yes
42552 else
42553 glibcxx_cv_func__long_double_trig_use=no
42554 fi
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42556 ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42561
42562 fi
42563
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42565 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42566 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42567 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42568 do :
42569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42571 eval as_val=\$$as_ac_var
42572 if test "x$as_val" = x""yes; then :
42573 cat >>confdefs.h <<_ACEOF
42574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42575 _ACEOF
42576
42577 fi
42578 done
42579
42580 fi
42581 fi
42582
42583
42584
42585
42586
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42588 $as_echo_n "checking for long double round functions... " >&6; }
42589 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42590 $as_echo_n "(cached) " >&6
42591 else
42592
42593
42594 ac_ext=cpp
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599
42600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42601 /* end confdefs.h. */
42602 #include <math.h>
42603 int
42604 main ()
42605 {
42606 ceill (0); floorl (0);
42607 ;
42608 return 0;
42609 }
42610 _ACEOF
42611 if ac_fn_cxx_try_compile "$LINENO"; then :
42612 glibcxx_cv_func_long_double_round_use=yes
42613 else
42614 glibcxx_cv_func_long_double_round_use=no
42615 fi
42616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42617 ac_ext=c
42618 ac_cpp='$CPP $CPPFLAGS'
42619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42622
42623 fi
42624
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42626 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42627 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42628 for ac_func in ceill floorl
42629 do :
42630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42632 eval as_val=\$$as_ac_var
42633 if test "x$as_val" = x""yes; then :
42634 cat >>confdefs.h <<_ACEOF
42635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42636 _ACEOF
42637
42638 fi
42639 done
42640
42641 else
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42643 $as_echo_n "checking for _long double round functions... " >&6; }
42644 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42645 $as_echo_n "(cached) " >&6
42646 else
42647
42648
42649 ac_ext=cpp
42650 ac_cpp='$CXXCPP $CPPFLAGS'
42651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42654
42655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42656 /* end confdefs.h. */
42657 #include <math.h>
42658 int
42659 main ()
42660 {
42661 _ceill (0); _floorl (0);
42662 ;
42663 return 0;
42664 }
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func__long_double_round_use=yes
42668 else
42669 glibcxx_cv_func__long_double_round_use=no
42670 fi
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677
42678 fi
42679
42680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42681 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42682 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42683 for ac_func in _ceill _floorl
42684 do :
42685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42687 eval as_val=\$$as_ac_var
42688 if test "x$as_val" = x""yes; then :
42689 cat >>confdefs.h <<_ACEOF
42690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42691 _ACEOF
42692
42693 fi
42694 done
42695
42696 fi
42697 fi
42698
42699
42700
42701
42702
42703
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42705 $as_echo_n "checking for isnanl declaration... " >&6; }
42706 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42707 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42708 $as_echo_n "(cached) " >&6
42709 else
42710
42711
42712 ac_ext=cpp
42713 ac_cpp='$CXXCPP $CPPFLAGS'
42714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42717
42718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42719 /* end confdefs.h. */
42720 #include <math.h>
42721 #ifdef HAVE_IEEEFP_H
42722 #include <ieeefp.h>
42723 #endif
42724
42725 int
42726 main ()
42727 {
42728 isnanl(0);
42729 ;
42730 return 0;
42731 }
42732 _ACEOF
42733 if ac_fn_cxx_try_compile "$LINENO"; then :
42734 glibcxx_cv_func_isnanl_use=yes
42735 else
42736 glibcxx_cv_func_isnanl_use=no
42737 fi
42738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42739 ac_ext=c
42740 ac_cpp='$CPP $CPPFLAGS'
42741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744
42745
42746 fi
42747
42748 fi
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42750 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42751
42752 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42753 for ac_func in isnanl
42754 do :
42755 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42756 if test "x$ac_cv_func_isnanl" = x""yes; then :
42757 cat >>confdefs.h <<_ACEOF
42758 #define HAVE_ISNANL 1
42759 _ACEOF
42760
42761 fi
42762 done
42763
42764 else
42765
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42767 $as_echo_n "checking for _isnanl declaration... " >&6; }
42768 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42769 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42770 $as_echo_n "(cached) " >&6
42771 else
42772
42773
42774 ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42779
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42782 #include <math.h>
42783 #ifdef HAVE_IEEEFP_H
42784 #include <ieeefp.h>
42785 #endif
42786
42787 int
42788 main ()
42789 {
42790 _isnanl(0);
42791 ;
42792 return 0;
42793 }
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func__isnanl_use=yes
42797 else
42798 glibcxx_cv_func__isnanl_use=no
42799 fi
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806
42807
42808 fi
42809
42810 fi
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42812 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42813
42814 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42815 for ac_func in _isnanl
42816 do :
42817 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42818 if test "x$ac_cv_func__isnanl" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE__ISNANL 1
42821 _ACEOF
42822
42823 fi
42824 done
42825
42826 fi
42827 fi
42828
42829
42830
42831
42832
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42834 $as_echo_n "checking for isinfl declaration... " >&6; }
42835 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42836 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42837 $as_echo_n "(cached) " >&6
42838 else
42839
42840
42841 ac_ext=cpp
42842 ac_cpp='$CXXCPP $CPPFLAGS'
42843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42846
42847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42848 /* end confdefs.h. */
42849 #include <math.h>
42850 #ifdef HAVE_IEEEFP_H
42851 #include <ieeefp.h>
42852 #endif
42853
42854 int
42855 main ()
42856 {
42857 isinfl(0);
42858 ;
42859 return 0;
42860 }
42861 _ACEOF
42862 if ac_fn_cxx_try_compile "$LINENO"; then :
42863 glibcxx_cv_func_isinfl_use=yes
42864 else
42865 glibcxx_cv_func_isinfl_use=no
42866 fi
42867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42868 ac_ext=c
42869 ac_cpp='$CPP $CPPFLAGS'
42870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42873
42874
42875 fi
42876
42877 fi
42878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42879 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42880
42881 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42882 for ac_func in isinfl
42883 do :
42884 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42885 if test "x$ac_cv_func_isinfl" = x""yes; then :
42886 cat >>confdefs.h <<_ACEOF
42887 #define HAVE_ISINFL 1
42888 _ACEOF
42889
42890 fi
42891 done
42892
42893 else
42894
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42896 $as_echo_n "checking for _isinfl declaration... " >&6; }
42897 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42898 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42901
42902
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42912 #ifdef HAVE_IEEEFP_H
42913 #include <ieeefp.h>
42914 #endif
42915
42916 int
42917 main ()
42918 {
42919 _isinfl(0);
42920 ;
42921 return 0;
42922 }
42923 _ACEOF
42924 if ac_fn_cxx_try_compile "$LINENO"; then :
42925 glibcxx_cv_func__isinfl_use=yes
42926 else
42927 glibcxx_cv_func__isinfl_use=no
42928 fi
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42930 ac_ext=c
42931 ac_cpp='$CPP $CPPFLAGS'
42932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42935
42936
42937 fi
42938
42939 fi
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42941 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42942
42943 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42944 for ac_func in _isinfl
42945 do :
42946 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42947 if test "x$ac_cv_func__isinfl" = x""yes; then :
42948 cat >>confdefs.h <<_ACEOF
42949 #define HAVE__ISINFL 1
42950 _ACEOF
42951
42952 fi
42953 done
42954
42955 fi
42956 fi
42957
42958
42959
42960
42961
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42963 $as_echo_n "checking for atan2l declaration... " >&6; }
42964 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42965 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42966 $as_echo_n "(cached) " >&6
42967 else
42968
42969
42970 ac_ext=cpp
42971 ac_cpp='$CXXCPP $CPPFLAGS'
42972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42975
42976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42977 /* end confdefs.h. */
42978 #include <math.h>
42979 int
42980 main ()
42981 {
42982 atan2l(0, 0);
42983 ;
42984 return 0;
42985 }
42986 _ACEOF
42987 if ac_fn_cxx_try_compile "$LINENO"; then :
42988 glibcxx_cv_func_atan2l_use=yes
42989 else
42990 glibcxx_cv_func_atan2l_use=no
42991 fi
42992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42993 ac_ext=c
42994 ac_cpp='$CPP $CPPFLAGS'
42995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42998
42999
43000 fi
43001
43002 fi
43003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43004 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43005
43006 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43007 for ac_func in atan2l
43008 do :
43009 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43010 if test "x$ac_cv_func_atan2l" = x""yes; then :
43011 cat >>confdefs.h <<_ACEOF
43012 #define HAVE_ATAN2L 1
43013 _ACEOF
43014
43015 fi
43016 done
43017
43018 else
43019
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43021 $as_echo_n "checking for _atan2l declaration... " >&6; }
43022 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43023 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43024 $as_echo_n "(cached) " >&6
43025 else
43026
43027
43028 ac_ext=cpp
43029 ac_cpp='$CXXCPP $CPPFLAGS'
43030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43033
43034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43035 /* end confdefs.h. */
43036 #include <math.h>
43037 int
43038 main ()
43039 {
43040 _atan2l(0, 0);
43041 ;
43042 return 0;
43043 }
43044 _ACEOF
43045 if ac_fn_cxx_try_compile "$LINENO"; then :
43046 glibcxx_cv_func__atan2l_use=yes
43047 else
43048 glibcxx_cv_func__atan2l_use=no
43049 fi
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43051 ac_ext=c
43052 ac_cpp='$CPP $CPPFLAGS'
43053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43056
43057
43058 fi
43059
43060 fi
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43062 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43063
43064 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43065 for ac_func in _atan2l
43066 do :
43067 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43068 if test "x$ac_cv_func__atan2l" = x""yes; then :
43069 cat >>confdefs.h <<_ACEOF
43070 #define HAVE__ATAN2L 1
43071 _ACEOF
43072
43073 fi
43074 done
43075
43076 fi
43077 fi
43078
43079
43080
43081
43082
43083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43084 $as_echo_n "checking for expl declaration... " >&6; }
43085 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43086 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43087 $as_echo_n "(cached) " >&6
43088 else
43089
43090
43091 ac_ext=cpp
43092 ac_cpp='$CXXCPP $CPPFLAGS'
43093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43096
43097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43098 /* end confdefs.h. */
43099 #include <math.h>
43100 #ifdef HAVE_IEEEFP_H
43101 #include <ieeefp.h>
43102 #endif
43103
43104 int
43105 main ()
43106 {
43107 expl(0);
43108 ;
43109 return 0;
43110 }
43111 _ACEOF
43112 if ac_fn_cxx_try_compile "$LINENO"; then :
43113 glibcxx_cv_func_expl_use=yes
43114 else
43115 glibcxx_cv_func_expl_use=no
43116 fi
43117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43118 ac_ext=c
43119 ac_cpp='$CPP $CPPFLAGS'
43120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43123
43124
43125 fi
43126
43127 fi
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43129 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43130
43131 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43132 for ac_func in expl
43133 do :
43134 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43135 if test "x$ac_cv_func_expl" = x""yes; then :
43136 cat >>confdefs.h <<_ACEOF
43137 #define HAVE_EXPL 1
43138 _ACEOF
43139
43140 fi
43141 done
43142
43143 else
43144
43145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43146 $as_echo_n "checking for _expl declaration... " >&6; }
43147 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43148 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43149 $as_echo_n "(cached) " >&6
43150 else
43151
43152
43153 ac_ext=cpp
43154 ac_cpp='$CXXCPP $CPPFLAGS'
43155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43158
43159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43160 /* end confdefs.h. */
43161 #include <math.h>
43162 #ifdef HAVE_IEEEFP_H
43163 #include <ieeefp.h>
43164 #endif
43165
43166 int
43167 main ()
43168 {
43169 _expl(0);
43170 ;
43171 return 0;
43172 }
43173 _ACEOF
43174 if ac_fn_cxx_try_compile "$LINENO"; then :
43175 glibcxx_cv_func__expl_use=yes
43176 else
43177 glibcxx_cv_func__expl_use=no
43178 fi
43179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43180 ac_ext=c
43181 ac_cpp='$CPP $CPPFLAGS'
43182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43185
43186
43187 fi
43188
43189 fi
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43191 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43192
43193 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43194 for ac_func in _expl
43195 do :
43196 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43197 if test "x$ac_cv_func__expl" = x""yes; then :
43198 cat >>confdefs.h <<_ACEOF
43199 #define HAVE__EXPL 1
43200 _ACEOF
43201
43202 fi
43203 done
43204
43205 fi
43206 fi
43207
43208
43209
43210
43211
43212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43213 $as_echo_n "checking for fabsl declaration... " >&6; }
43214 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43215 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43216 $as_echo_n "(cached) " >&6
43217 else
43218
43219
43220 ac_ext=cpp
43221 ac_cpp='$CXXCPP $CPPFLAGS'
43222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43225
43226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43227 /* end confdefs.h. */
43228 #include <math.h>
43229 #ifdef HAVE_IEEEFP_H
43230 #include <ieeefp.h>
43231 #endif
43232
43233 int
43234 main ()
43235 {
43236 fabsl(0);
43237 ;
43238 return 0;
43239 }
43240 _ACEOF
43241 if ac_fn_cxx_try_compile "$LINENO"; then :
43242 glibcxx_cv_func_fabsl_use=yes
43243 else
43244 glibcxx_cv_func_fabsl_use=no
43245 fi
43246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43252
43253
43254 fi
43255
43256 fi
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43258 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43259
43260 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43261 for ac_func in fabsl
43262 do :
43263 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43264 if test "x$ac_cv_func_fabsl" = x""yes; then :
43265 cat >>confdefs.h <<_ACEOF
43266 #define HAVE_FABSL 1
43267 _ACEOF
43268
43269 fi
43270 done
43271
43272 else
43273
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43275 $as_echo_n "checking for _fabsl declaration... " >&6; }
43276 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43277 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43278 $as_echo_n "(cached) " >&6
43279 else
43280
43281
43282 ac_ext=cpp
43283 ac_cpp='$CXXCPP $CPPFLAGS'
43284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43287
43288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43289 /* end confdefs.h. */
43290 #include <math.h>
43291 #ifdef HAVE_IEEEFP_H
43292 #include <ieeefp.h>
43293 #endif
43294
43295 int
43296 main ()
43297 {
43298 _fabsl(0);
43299 ;
43300 return 0;
43301 }
43302 _ACEOF
43303 if ac_fn_cxx_try_compile "$LINENO"; then :
43304 glibcxx_cv_func__fabsl_use=yes
43305 else
43306 glibcxx_cv_func__fabsl_use=no
43307 fi
43308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43309 ac_ext=c
43310 ac_cpp='$CPP $CPPFLAGS'
43311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314
43315
43316 fi
43317
43318 fi
43319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43320 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43321
43322 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43323 for ac_func in _fabsl
43324 do :
43325 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43326 if test "x$ac_cv_func__fabsl" = x""yes; then :
43327 cat >>confdefs.h <<_ACEOF
43328 #define HAVE__FABSL 1
43329 _ACEOF
43330
43331 fi
43332 done
43333
43334 fi
43335 fi
43336
43337
43338
43339
43340
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43342 $as_echo_n "checking for fmodl declaration... " >&6; }
43343 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43344 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43345 $as_echo_n "(cached) " >&6
43346 else
43347
43348
43349 ac_ext=cpp
43350 ac_cpp='$CXXCPP $CPPFLAGS'
43351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43354
43355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43356 /* end confdefs.h. */
43357 #include <math.h>
43358 int
43359 main ()
43360 {
43361 fmodl(0, 0);
43362 ;
43363 return 0;
43364 }
43365 _ACEOF
43366 if ac_fn_cxx_try_compile "$LINENO"; then :
43367 glibcxx_cv_func_fmodl_use=yes
43368 else
43369 glibcxx_cv_func_fmodl_use=no
43370 fi
43371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43372 ac_ext=c
43373 ac_cpp='$CPP $CPPFLAGS'
43374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43377
43378
43379 fi
43380
43381 fi
43382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43383 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43384
43385 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43386 for ac_func in fmodl
43387 do :
43388 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43389 if test "x$ac_cv_func_fmodl" = x""yes; then :
43390 cat >>confdefs.h <<_ACEOF
43391 #define HAVE_FMODL 1
43392 _ACEOF
43393
43394 fi
43395 done
43396
43397 else
43398
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43400 $as_echo_n "checking for _fmodl declaration... " >&6; }
43401 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43402 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43403 $as_echo_n "(cached) " >&6
43404 else
43405
43406
43407 ac_ext=cpp
43408 ac_cpp='$CXXCPP $CPPFLAGS'
43409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43412
43413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43414 /* end confdefs.h. */
43415 #include <math.h>
43416 int
43417 main ()
43418 {
43419 _fmodl(0, 0);
43420 ;
43421 return 0;
43422 }
43423 _ACEOF
43424 if ac_fn_cxx_try_compile "$LINENO"; then :
43425 glibcxx_cv_func__fmodl_use=yes
43426 else
43427 glibcxx_cv_func__fmodl_use=no
43428 fi
43429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43430 ac_ext=c
43431 ac_cpp='$CPP $CPPFLAGS'
43432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43435
43436
43437 fi
43438
43439 fi
43440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43441 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43442
43443 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43444 for ac_func in _fmodl
43445 do :
43446 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43447 if test "x$ac_cv_func__fmodl" = x""yes; then :
43448 cat >>confdefs.h <<_ACEOF
43449 #define HAVE__FMODL 1
43450 _ACEOF
43451
43452 fi
43453 done
43454
43455 fi
43456 fi
43457
43458
43459
43460
43461
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43463 $as_echo_n "checking for frexpl declaration... " >&6; }
43464 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43465 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43466 $as_echo_n "(cached) " >&6
43467 else
43468
43469
43470 ac_ext=cpp
43471 ac_cpp='$CXXCPP $CPPFLAGS'
43472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43475
43476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43477 /* end confdefs.h. */
43478 #include <math.h>
43479 int
43480 main ()
43481 {
43482 frexpl(0, 0);
43483 ;
43484 return 0;
43485 }
43486 _ACEOF
43487 if ac_fn_cxx_try_compile "$LINENO"; then :
43488 glibcxx_cv_func_frexpl_use=yes
43489 else
43490 glibcxx_cv_func_frexpl_use=no
43491 fi
43492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43493 ac_ext=c
43494 ac_cpp='$CPP $CPPFLAGS'
43495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43498
43499
43500 fi
43501
43502 fi
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43504 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43505
43506 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43507 for ac_func in frexpl
43508 do :
43509 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43510 if test "x$ac_cv_func_frexpl" = x""yes; then :
43511 cat >>confdefs.h <<_ACEOF
43512 #define HAVE_FREXPL 1
43513 _ACEOF
43514
43515 fi
43516 done
43517
43518 else
43519
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43521 $as_echo_n "checking for _frexpl declaration... " >&6; }
43522 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43523 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43524 $as_echo_n "(cached) " >&6
43525 else
43526
43527
43528 ac_ext=cpp
43529 ac_cpp='$CXXCPP $CPPFLAGS'
43530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43533
43534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43535 /* end confdefs.h. */
43536 #include <math.h>
43537 int
43538 main ()
43539 {
43540 _frexpl(0, 0);
43541 ;
43542 return 0;
43543 }
43544 _ACEOF
43545 if ac_fn_cxx_try_compile "$LINENO"; then :
43546 glibcxx_cv_func__frexpl_use=yes
43547 else
43548 glibcxx_cv_func__frexpl_use=no
43549 fi
43550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43551 ac_ext=c
43552 ac_cpp='$CPP $CPPFLAGS'
43553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43556
43557
43558 fi
43559
43560 fi
43561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43562 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43563
43564 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43565 for ac_func in _frexpl
43566 do :
43567 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43568 if test "x$ac_cv_func__frexpl" = x""yes; then :
43569 cat >>confdefs.h <<_ACEOF
43570 #define HAVE__FREXPL 1
43571 _ACEOF
43572
43573 fi
43574 done
43575
43576 fi
43577 fi
43578
43579
43580
43581
43582
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43584 $as_echo_n "checking for hypotl declaration... " >&6; }
43585 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43586 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43587 $as_echo_n "(cached) " >&6
43588 else
43589
43590
43591 ac_ext=cpp
43592 ac_cpp='$CXXCPP $CPPFLAGS'
43593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43596
43597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43598 /* end confdefs.h. */
43599 #include <math.h>
43600 int
43601 main ()
43602 {
43603 hypotl(0, 0);
43604 ;
43605 return 0;
43606 }
43607 _ACEOF
43608 if ac_fn_cxx_try_compile "$LINENO"; then :
43609 glibcxx_cv_func_hypotl_use=yes
43610 else
43611 glibcxx_cv_func_hypotl_use=no
43612 fi
43613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43614 ac_ext=c
43615 ac_cpp='$CPP $CPPFLAGS'
43616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43619
43620
43621 fi
43622
43623 fi
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43625 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43626
43627 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43628 for ac_func in hypotl
43629 do :
43630 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43631 if test "x$ac_cv_func_hypotl" = x""yes; then :
43632 cat >>confdefs.h <<_ACEOF
43633 #define HAVE_HYPOTL 1
43634 _ACEOF
43635
43636 fi
43637 done
43638
43639 else
43640
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43642 $as_echo_n "checking for _hypotl declaration... " >&6; }
43643 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43644 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43645 $as_echo_n "(cached) " >&6
43646 else
43647
43648
43649 ac_ext=cpp
43650 ac_cpp='$CXXCPP $CPPFLAGS'
43651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43654
43655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43656 /* end confdefs.h. */
43657 #include <math.h>
43658 int
43659 main ()
43660 {
43661 _hypotl(0, 0);
43662 ;
43663 return 0;
43664 }
43665 _ACEOF
43666 if ac_fn_cxx_try_compile "$LINENO"; then :
43667 glibcxx_cv_func__hypotl_use=yes
43668 else
43669 glibcxx_cv_func__hypotl_use=no
43670 fi
43671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43672 ac_ext=c
43673 ac_cpp='$CPP $CPPFLAGS'
43674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43677
43678
43679 fi
43680
43681 fi
43682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43683 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43684
43685 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43686 for ac_func in _hypotl
43687 do :
43688 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43689 if test "x$ac_cv_func__hypotl" = x""yes; then :
43690 cat >>confdefs.h <<_ACEOF
43691 #define HAVE__HYPOTL 1
43692 _ACEOF
43693
43694 fi
43695 done
43696
43697 fi
43698 fi
43699
43700
43701
43702
43703
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43705 $as_echo_n "checking for ldexpl declaration... " >&6; }
43706 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43707 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43708 $as_echo_n "(cached) " >&6
43709 else
43710
43711
43712 ac_ext=cpp
43713 ac_cpp='$CXXCPP $CPPFLAGS'
43714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43717
43718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43719 /* end confdefs.h. */
43720 #include <math.h>
43721 int
43722 main ()
43723 {
43724 ldexpl(0, 0);
43725 ;
43726 return 0;
43727 }
43728 _ACEOF
43729 if ac_fn_cxx_try_compile "$LINENO"; then :
43730 glibcxx_cv_func_ldexpl_use=yes
43731 else
43732 glibcxx_cv_func_ldexpl_use=no
43733 fi
43734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43735 ac_ext=c
43736 ac_cpp='$CPP $CPPFLAGS'
43737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43740
43741
43742 fi
43743
43744 fi
43745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43746 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43747
43748 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43749 for ac_func in ldexpl
43750 do :
43751 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43752 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43753 cat >>confdefs.h <<_ACEOF
43754 #define HAVE_LDEXPL 1
43755 _ACEOF
43756
43757 fi
43758 done
43759
43760 else
43761
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43763 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43764 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43765 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43766 $as_echo_n "(cached) " >&6
43767 else
43768
43769
43770 ac_ext=cpp
43771 ac_cpp='$CXXCPP $CPPFLAGS'
43772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43775
43776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43777 /* end confdefs.h. */
43778 #include <math.h>
43779 int
43780 main ()
43781 {
43782 _ldexpl(0, 0);
43783 ;
43784 return 0;
43785 }
43786 _ACEOF
43787 if ac_fn_cxx_try_compile "$LINENO"; then :
43788 glibcxx_cv_func__ldexpl_use=yes
43789 else
43790 glibcxx_cv_func__ldexpl_use=no
43791 fi
43792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43793 ac_ext=c
43794 ac_cpp='$CPP $CPPFLAGS'
43795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43798
43799
43800 fi
43801
43802 fi
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43804 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43805
43806 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43807 for ac_func in _ldexpl
43808 do :
43809 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43810 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43811 cat >>confdefs.h <<_ACEOF
43812 #define HAVE__LDEXPL 1
43813 _ACEOF
43814
43815 fi
43816 done
43817
43818 fi
43819 fi
43820
43821
43822
43823
43824
43825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43826 $as_echo_n "checking for logl declaration... " >&6; }
43827 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43828 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43829 $as_echo_n "(cached) " >&6
43830 else
43831
43832
43833 ac_ext=cpp
43834 ac_cpp='$CXXCPP $CPPFLAGS'
43835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43838
43839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43840 /* end confdefs.h. */
43841 #include <math.h>
43842 #ifdef HAVE_IEEEFP_H
43843 #include <ieeefp.h>
43844 #endif
43845
43846 int
43847 main ()
43848 {
43849 logl(0);
43850 ;
43851 return 0;
43852 }
43853 _ACEOF
43854 if ac_fn_cxx_try_compile "$LINENO"; then :
43855 glibcxx_cv_func_logl_use=yes
43856 else
43857 glibcxx_cv_func_logl_use=no
43858 fi
43859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43860 ac_ext=c
43861 ac_cpp='$CPP $CPPFLAGS'
43862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43865
43866
43867 fi
43868
43869 fi
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43871 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43872
43873 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43874 for ac_func in logl
43875 do :
43876 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43877 if test "x$ac_cv_func_logl" = x""yes; then :
43878 cat >>confdefs.h <<_ACEOF
43879 #define HAVE_LOGL 1
43880 _ACEOF
43881
43882 fi
43883 done
43884
43885 else
43886
43887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43888 $as_echo_n "checking for _logl declaration... " >&6; }
43889 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43890 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43891 $as_echo_n "(cached) " >&6
43892 else
43893
43894
43895 ac_ext=cpp
43896 ac_cpp='$CXXCPP $CPPFLAGS'
43897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43900
43901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43902 /* end confdefs.h. */
43903 #include <math.h>
43904 #ifdef HAVE_IEEEFP_H
43905 #include <ieeefp.h>
43906 #endif
43907
43908 int
43909 main ()
43910 {
43911 _logl(0);
43912 ;
43913 return 0;
43914 }
43915 _ACEOF
43916 if ac_fn_cxx_try_compile "$LINENO"; then :
43917 glibcxx_cv_func__logl_use=yes
43918 else
43919 glibcxx_cv_func__logl_use=no
43920 fi
43921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43922 ac_ext=c
43923 ac_cpp='$CPP $CPPFLAGS'
43924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43927
43928
43929 fi
43930
43931 fi
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43933 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43934
43935 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43936 for ac_func in _logl
43937 do :
43938 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43939 if test "x$ac_cv_func__logl" = x""yes; then :
43940 cat >>confdefs.h <<_ACEOF
43941 #define HAVE__LOGL 1
43942 _ACEOF
43943
43944 fi
43945 done
43946
43947 fi
43948 fi
43949
43950
43951
43952
43953
43954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43955 $as_echo_n "checking for log10l declaration... " >&6; }
43956 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43957 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43958 $as_echo_n "(cached) " >&6
43959 else
43960
43961
43962 ac_ext=cpp
43963 ac_cpp='$CXXCPP $CPPFLAGS'
43964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43967
43968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43969 /* end confdefs.h. */
43970 #include <math.h>
43971 #ifdef HAVE_IEEEFP_H
43972 #include <ieeefp.h>
43973 #endif
43974
43975 int
43976 main ()
43977 {
43978 log10l(0);
43979 ;
43980 return 0;
43981 }
43982 _ACEOF
43983 if ac_fn_cxx_try_compile "$LINENO"; then :
43984 glibcxx_cv_func_log10l_use=yes
43985 else
43986 glibcxx_cv_func_log10l_use=no
43987 fi
43988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43989 ac_ext=c
43990 ac_cpp='$CPP $CPPFLAGS'
43991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43994
43995
43996 fi
43997
43998 fi
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44000 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44001
44002 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44003 for ac_func in log10l
44004 do :
44005 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44006 if test "x$ac_cv_func_log10l" = x""yes; then :
44007 cat >>confdefs.h <<_ACEOF
44008 #define HAVE_LOG10L 1
44009 _ACEOF
44010
44011 fi
44012 done
44013
44014 else
44015
44016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44017 $as_echo_n "checking for _log10l declaration... " >&6; }
44018 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44019 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44020 $as_echo_n "(cached) " >&6
44021 else
44022
44023
44024 ac_ext=cpp
44025 ac_cpp='$CXXCPP $CPPFLAGS'
44026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44029
44030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44031 /* end confdefs.h. */
44032 #include <math.h>
44033 #ifdef HAVE_IEEEFP_H
44034 #include <ieeefp.h>
44035 #endif
44036
44037 int
44038 main ()
44039 {
44040 _log10l(0);
44041 ;
44042 return 0;
44043 }
44044 _ACEOF
44045 if ac_fn_cxx_try_compile "$LINENO"; then :
44046 glibcxx_cv_func__log10l_use=yes
44047 else
44048 glibcxx_cv_func__log10l_use=no
44049 fi
44050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44051 ac_ext=c
44052 ac_cpp='$CPP $CPPFLAGS'
44053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44056
44057
44058 fi
44059
44060 fi
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44062 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44063
44064 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44065 for ac_func in _log10l
44066 do :
44067 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44068 if test "x$ac_cv_func__log10l" = x""yes; then :
44069 cat >>confdefs.h <<_ACEOF
44070 #define HAVE__LOG10L 1
44071 _ACEOF
44072
44073 fi
44074 done
44075
44076 fi
44077 fi
44078
44079
44080
44081
44082
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44084 $as_echo_n "checking for modfl declaration... " >&6; }
44085 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44086 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44087 $as_echo_n "(cached) " >&6
44088 else
44089
44090
44091 ac_ext=cpp
44092 ac_cpp='$CXXCPP $CPPFLAGS'
44093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44096
44097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44098 /* end confdefs.h. */
44099 #include <math.h>
44100 int
44101 main ()
44102 {
44103 modfl(0, 0);
44104 ;
44105 return 0;
44106 }
44107 _ACEOF
44108 if ac_fn_cxx_try_compile "$LINENO"; then :
44109 glibcxx_cv_func_modfl_use=yes
44110 else
44111 glibcxx_cv_func_modfl_use=no
44112 fi
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44114 ac_ext=c
44115 ac_cpp='$CPP $CPPFLAGS'
44116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44119
44120
44121 fi
44122
44123 fi
44124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44125 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44126
44127 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44128 for ac_func in modfl
44129 do :
44130 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44131 if test "x$ac_cv_func_modfl" = x""yes; then :
44132 cat >>confdefs.h <<_ACEOF
44133 #define HAVE_MODFL 1
44134 _ACEOF
44135
44136 fi
44137 done
44138
44139 else
44140
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44142 $as_echo_n "checking for _modfl declaration... " >&6; }
44143 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44144 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44145 $as_echo_n "(cached) " >&6
44146 else
44147
44148
44149 ac_ext=cpp
44150 ac_cpp='$CXXCPP $CPPFLAGS'
44151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44154
44155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44156 /* end confdefs.h. */
44157 #include <math.h>
44158 int
44159 main ()
44160 {
44161 _modfl(0, 0);
44162 ;
44163 return 0;
44164 }
44165 _ACEOF
44166 if ac_fn_cxx_try_compile "$LINENO"; then :
44167 glibcxx_cv_func__modfl_use=yes
44168 else
44169 glibcxx_cv_func__modfl_use=no
44170 fi
44171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44172 ac_ext=c
44173 ac_cpp='$CPP $CPPFLAGS'
44174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44177
44178
44179 fi
44180
44181 fi
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44183 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44184
44185 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44186 for ac_func in _modfl
44187 do :
44188 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44189 if test "x$ac_cv_func__modfl" = x""yes; then :
44190 cat >>confdefs.h <<_ACEOF
44191 #define HAVE__MODFL 1
44192 _ACEOF
44193
44194 fi
44195 done
44196
44197 fi
44198 fi
44199
44200
44201
44202
44203
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44205 $as_echo_n "checking for powl declaration... " >&6; }
44206 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44207 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44208 $as_echo_n "(cached) " >&6
44209 else
44210
44211
44212 ac_ext=cpp
44213 ac_cpp='$CXXCPP $CPPFLAGS'
44214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44217
44218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44219 /* end confdefs.h. */
44220 #include <math.h>
44221 int
44222 main ()
44223 {
44224 powl(0, 0);
44225 ;
44226 return 0;
44227 }
44228 _ACEOF
44229 if ac_fn_cxx_try_compile "$LINENO"; then :
44230 glibcxx_cv_func_powl_use=yes
44231 else
44232 glibcxx_cv_func_powl_use=no
44233 fi
44234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44235 ac_ext=c
44236 ac_cpp='$CPP $CPPFLAGS'
44237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44240
44241
44242 fi
44243
44244 fi
44245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44246 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44247
44248 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44249 for ac_func in powl
44250 do :
44251 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44252 if test "x$ac_cv_func_powl" = x""yes; then :
44253 cat >>confdefs.h <<_ACEOF
44254 #define HAVE_POWL 1
44255 _ACEOF
44256
44257 fi
44258 done
44259
44260 else
44261
44262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44263 $as_echo_n "checking for _powl declaration... " >&6; }
44264 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44265 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44266 $as_echo_n "(cached) " >&6
44267 else
44268
44269
44270 ac_ext=cpp
44271 ac_cpp='$CXXCPP $CPPFLAGS'
44272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44275
44276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44277 /* end confdefs.h. */
44278 #include <math.h>
44279 int
44280 main ()
44281 {
44282 _powl(0, 0);
44283 ;
44284 return 0;
44285 }
44286 _ACEOF
44287 if ac_fn_cxx_try_compile "$LINENO"; then :
44288 glibcxx_cv_func__powl_use=yes
44289 else
44290 glibcxx_cv_func__powl_use=no
44291 fi
44292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44293 ac_ext=c
44294 ac_cpp='$CPP $CPPFLAGS'
44295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44298
44299
44300 fi
44301
44302 fi
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44304 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44305
44306 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44307 for ac_func in _powl
44308 do :
44309 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44310 if test "x$ac_cv_func__powl" = x""yes; then :
44311 cat >>confdefs.h <<_ACEOF
44312 #define HAVE__POWL 1
44313 _ACEOF
44314
44315 fi
44316 done
44317
44318 fi
44319 fi
44320
44321
44322
44323
44324
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44326 $as_echo_n "checking for sqrtl declaration... " >&6; }
44327 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44328 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44329 $as_echo_n "(cached) " >&6
44330 else
44331
44332
44333 ac_ext=cpp
44334 ac_cpp='$CXXCPP $CPPFLAGS'
44335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44338
44339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340 /* end confdefs.h. */
44341 #include <math.h>
44342 #ifdef HAVE_IEEEFP_H
44343 #include <ieeefp.h>
44344 #endif
44345
44346 int
44347 main ()
44348 {
44349 sqrtl(0);
44350 ;
44351 return 0;
44352 }
44353 _ACEOF
44354 if ac_fn_cxx_try_compile "$LINENO"; then :
44355 glibcxx_cv_func_sqrtl_use=yes
44356 else
44357 glibcxx_cv_func_sqrtl_use=no
44358 fi
44359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44360 ac_ext=c
44361 ac_cpp='$CPP $CPPFLAGS'
44362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44365
44366
44367 fi
44368
44369 fi
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44371 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44372
44373 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44374 for ac_func in sqrtl
44375 do :
44376 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44377 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44378 cat >>confdefs.h <<_ACEOF
44379 #define HAVE_SQRTL 1
44380 _ACEOF
44381
44382 fi
44383 done
44384
44385 else
44386
44387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44388 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44389 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44390 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44391 $as_echo_n "(cached) " >&6
44392 else
44393
44394
44395 ac_ext=cpp
44396 ac_cpp='$CXXCPP $CPPFLAGS'
44397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44400
44401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44402 /* end confdefs.h. */
44403 #include <math.h>
44404 #ifdef HAVE_IEEEFP_H
44405 #include <ieeefp.h>
44406 #endif
44407
44408 int
44409 main ()
44410 {
44411 _sqrtl(0);
44412 ;
44413 return 0;
44414 }
44415 _ACEOF
44416 if ac_fn_cxx_try_compile "$LINENO"; then :
44417 glibcxx_cv_func__sqrtl_use=yes
44418 else
44419 glibcxx_cv_func__sqrtl_use=no
44420 fi
44421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44422 ac_ext=c
44423 ac_cpp='$CPP $CPPFLAGS'
44424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44427
44428
44429 fi
44430
44431 fi
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44433 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44434
44435 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44436 for ac_func in _sqrtl
44437 do :
44438 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44439 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44440 cat >>confdefs.h <<_ACEOF
44441 #define HAVE__SQRTL 1
44442 _ACEOF
44443
44444 fi
44445 done
44446
44447 fi
44448 fi
44449
44450
44451
44452
44453
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44455 $as_echo_n "checking for sincosl declaration... " >&6; }
44456 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44457 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44458 $as_echo_n "(cached) " >&6
44459 else
44460
44461
44462 ac_ext=cpp
44463 ac_cpp='$CXXCPP $CPPFLAGS'
44464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44467
44468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44469 /* end confdefs.h. */
44470 #include <math.h>
44471 int
44472 main ()
44473 {
44474 sincosl(0, 0, 0);
44475 ;
44476 return 0;
44477 }
44478 _ACEOF
44479 if ac_fn_cxx_try_compile "$LINENO"; then :
44480 glibcxx_cv_func_sincosl_use=yes
44481 else
44482 glibcxx_cv_func_sincosl_use=no
44483 fi
44484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44485 ac_ext=c
44486 ac_cpp='$CPP $CPPFLAGS'
44487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44490
44491
44492 fi
44493
44494 fi
44495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44496 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44497
44498 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44499 for ac_func in sincosl
44500 do :
44501 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44502 if test "x$ac_cv_func_sincosl" = x""yes; then :
44503 cat >>confdefs.h <<_ACEOF
44504 #define HAVE_SINCOSL 1
44505 _ACEOF
44506
44507 fi
44508 done
44509
44510 else
44511
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44513 $as_echo_n "checking for _sincosl declaration... " >&6; }
44514 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44515 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44516 $as_echo_n "(cached) " >&6
44517 else
44518
44519
44520 ac_ext=cpp
44521 ac_cpp='$CXXCPP $CPPFLAGS'
44522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44525
44526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44527 /* end confdefs.h. */
44528 #include <math.h>
44529 int
44530 main ()
44531 {
44532 _sincosl(0, 0, 0);
44533 ;
44534 return 0;
44535 }
44536 _ACEOF
44537 if ac_fn_cxx_try_compile "$LINENO"; then :
44538 glibcxx_cv_func__sincosl_use=yes
44539 else
44540 glibcxx_cv_func__sincosl_use=no
44541 fi
44542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44543 ac_ext=c
44544 ac_cpp='$CPP $CPPFLAGS'
44545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44548
44549
44550 fi
44551
44552 fi
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44554 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44555
44556 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44557 for ac_func in _sincosl
44558 do :
44559 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44560 if test "x$ac_cv_func__sincosl" = x""yes; then :
44561 cat >>confdefs.h <<_ACEOF
44562 #define HAVE__SINCOSL 1
44563 _ACEOF
44564
44565 fi
44566 done
44567
44568 fi
44569 fi
44570
44571
44572
44573
44574
44575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44576 $as_echo_n "checking for finitel declaration... " >&6; }
44577 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44578 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44579 $as_echo_n "(cached) " >&6
44580 else
44581
44582
44583 ac_ext=cpp
44584 ac_cpp='$CXXCPP $CPPFLAGS'
44585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44588
44589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44590 /* end confdefs.h. */
44591 #include <math.h>
44592 #ifdef HAVE_IEEEFP_H
44593 #include <ieeefp.h>
44594 #endif
44595
44596 int
44597 main ()
44598 {
44599 finitel(0);
44600 ;
44601 return 0;
44602 }
44603 _ACEOF
44604 if ac_fn_cxx_try_compile "$LINENO"; then :
44605 glibcxx_cv_func_finitel_use=yes
44606 else
44607 glibcxx_cv_func_finitel_use=no
44608 fi
44609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44610 ac_ext=c
44611 ac_cpp='$CPP $CPPFLAGS'
44612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44615
44616
44617 fi
44618
44619 fi
44620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44621 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44622
44623 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44624 for ac_func in finitel
44625 do :
44626 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44627 if test "x$ac_cv_func_finitel" = x""yes; then :
44628 cat >>confdefs.h <<_ACEOF
44629 #define HAVE_FINITEL 1
44630 _ACEOF
44631
44632 fi
44633 done
44634
44635 else
44636
44637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44638 $as_echo_n "checking for _finitel declaration... " >&6; }
44639 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44640 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44641 $as_echo_n "(cached) " >&6
44642 else
44643
44644
44645 ac_ext=cpp
44646 ac_cpp='$CXXCPP $CPPFLAGS'
44647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44650
44651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44652 /* end confdefs.h. */
44653 #include <math.h>
44654 #ifdef HAVE_IEEEFP_H
44655 #include <ieeefp.h>
44656 #endif
44657
44658 int
44659 main ()
44660 {
44661 _finitel(0);
44662 ;
44663 return 0;
44664 }
44665 _ACEOF
44666 if ac_fn_cxx_try_compile "$LINENO"; then :
44667 glibcxx_cv_func__finitel_use=yes
44668 else
44669 glibcxx_cv_func__finitel_use=no
44670 fi
44671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44672 ac_ext=c
44673 ac_cpp='$CPP $CPPFLAGS'
44674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44677
44678
44679 fi
44680
44681 fi
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44683 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44684
44685 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44686 for ac_func in _finitel
44687 do :
44688 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44689 if test "x$ac_cv_func__finitel" = x""yes; then :
44690 cat >>confdefs.h <<_ACEOF
44691 #define HAVE__FINITEL 1
44692 _ACEOF
44693
44694 fi
44695 done
44696
44697 fi
44698 fi
44699
44700
44701
44702
44703 LIBS="$ac_save_LIBS"
44704 CXXFLAGS="$ac_save_CXXFLAGS"
44705
44706
44707 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44708 ac_save_CXXFLAGS="$CXXFLAGS"
44709 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44710
44711
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44713 $as_echo_n "checking for strtold declaration... " >&6; }
44714 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44715 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44716 $as_echo_n "(cached) " >&6
44717 else
44718
44719
44720 ac_ext=cpp
44721 ac_cpp='$CXXCPP $CPPFLAGS'
44722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44725
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h. */
44728 #include <stdlib.h>
44729 int
44730 main ()
44731 {
44732 strtold(0, 0);
44733 ;
44734 return 0;
44735 }
44736 _ACEOF
44737 if ac_fn_cxx_try_compile "$LINENO"; then :
44738 glibcxx_cv_func_strtold_use=yes
44739 else
44740 glibcxx_cv_func_strtold_use=no
44741 fi
44742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44743 ac_ext=c
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44748
44749
44750 fi
44751
44752 fi
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44754 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44755 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44756 for ac_func in strtold
44757 do :
44758 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44759 if test "x$ac_cv_func_strtold" = x""yes; then :
44760 cat >>confdefs.h <<_ACEOF
44761 #define HAVE_STRTOLD 1
44762 _ACEOF
44763
44764 fi
44765 done
44766
44767 fi
44768
44769
44770
44771
44772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44773 $as_echo_n "checking for strtof declaration... " >&6; }
44774 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44775 if test "${glibcxx_cv_func_strtof_use+set}" = set; 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 <stdlib.h>
44789 int
44790 main ()
44791 {
44792 strtof(0, 0);
44793 ;
44794 return 0;
44795 }
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func_strtof_use=yes
44799 else
44800 glibcxx_cv_func_strtof_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
44810 fi
44811
44812 fi
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44814 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44815 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44816 for ac_func in strtof
44817 do :
44818 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44819 if test "x$ac_cv_func_strtof" = x""yes; then :
44820 cat >>confdefs.h <<_ACEOF
44821 #define HAVE_STRTOF 1
44822 _ACEOF
44823
44824 fi
44825 done
44826
44827 fi
44828
44829
44830
44831
44832 CXXFLAGS="$ac_save_CXXFLAGS"
44833
44834 ;;
44835
44836 *djgpp)
44837 # GLIBCXX_CHECK_MATH_SUPPORT
44838 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44839
44840 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44841
44842 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44843
44844 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44845
44846 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44847
44848 ;;
44849
44850 *-freebsd*)
44851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44852
44853
44854 # If we're not using GNU ld, then there's no point in even trying these
44855 # tests. Check for that first. We should have already tested for gld
44856 # by now (in libtool), but require it now just to be safe...
44857 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44858 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44859
44860
44861
44862 # The name set by libtool depends on the version of libtool. Shame on us
44863 # for depending on an impl detail, but c'est la vie. Older versions used
44864 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44865 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44866 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44867 # set (hence we're using an older libtool), then set it.
44868 if test x${with_gnu_ld+set} != xset; then
44869 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44870 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44871 with_gnu_ld=no
44872 else
44873 with_gnu_ld=$ac_cv_prog_gnu_ld
44874 fi
44875 fi
44876
44877 # Start by getting the version number. I think the libtool test already
44878 # does some of this, but throws away the result.
44879 glibcxx_ld_is_gold=no
44880 if test x"$with_gnu_ld" = x"yes"; then
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44882 $as_echo_n "checking for ld version... " >&6; }
44883
44884 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44885 glibcxx_ld_is_gold=yes
44886 fi
44887 ldver=`$LD --version 2>/dev/null |
44888 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44889
44890 glibcxx_gnu_ld_version=`echo $ldver | \
44891 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44893 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44894 fi
44895
44896 # Set --gc-sections.
44897 glibcxx_have_gc_sections=no
44898 if test "$glibcxx_ld_is_gold" = "yes"; then
44899 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44900 glibcxx_have_gc_sections=yes
44901 fi
44902 else
44903 glibcxx_gcsections_min_ld=21602
44904 if test x"$with_gnu_ld" = x"yes" &&
44905 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44906 glibcxx_have_gc_sections=yes
44907 fi
44908 fi
44909 if test "$glibcxx_have_gc_sections" = "yes"; then
44910 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44911 # NB: This flag only works reliably after 2.16.1. Configure tests
44912 # for this are difficult, so hard wire a value that should work.
44913
44914 ac_test_CFLAGS="${CFLAGS+set}"
44915 ac_save_CFLAGS="$CFLAGS"
44916 CFLAGS='-Wl,--gc-sections'
44917
44918 # Check for -Wl,--gc-sections
44919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44920 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44921 if test x$gcc_no_link = xyes; then
44922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44923 fi
44924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44925 /* end confdefs.h. */
44926 int one(void) { return 1; }
44927 int two(void) { return 2; }
44928
44929 int
44930 main ()
44931 {
44932 two();
44933 ;
44934 return 0;
44935 }
44936 _ACEOF
44937 if ac_fn_c_try_link "$LINENO"; then :
44938 ac_gcsections=yes
44939 else
44940 ac_gcsections=no
44941 fi
44942 rm -f core conftest.err conftest.$ac_objext \
44943 conftest$ac_exeext conftest.$ac_ext
44944 if test "$ac_gcsections" = "yes"; then
44945 rm -f conftest.c
44946 touch conftest.c
44947 if $CC -c conftest.c; then
44948 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44949 grep "Warning: gc-sections option ignored" > /dev/null; then
44950 ac_gcsections=no
44951 fi
44952 fi
44953 rm -f conftest.c conftest.o conftest
44954 fi
44955 if test "$ac_gcsections" = "yes"; then
44956 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44957 fi
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44959 $as_echo "$ac_gcsections" >&6; }
44960
44961 if test "$ac_test_CFLAGS" = set; then
44962 CFLAGS="$ac_save_CFLAGS"
44963 else
44964 # this is the suspicious part
44965 CFLAGS=''
44966 fi
44967 fi
44968
44969 # Set -z,relro.
44970 # Note this is only for shared objects.
44971 ac_ld_relro=no
44972 if test x"$with_gnu_ld" = x"yes"; then
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44974 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44975 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44976 if test -n "$cxx_z_relo"; then
44977 OPT_LDFLAGS="-Wl,-z,relro"
44978 ac_ld_relro=yes
44979 fi
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44981 $as_echo "$ac_ld_relro" >&6; }
44982 fi
44983
44984 # Set linker optimization flags.
44985 if test x"$with_gnu_ld" = x"yes"; then
44986 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44987 fi
44988
44989
44990
44991
44992 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44993
44994 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44995
44996 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44997
44998 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44999
45000 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45001
45002 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45003
45004 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45005
45006 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45007
45008 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45009
45010
45011 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45012
45013 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45014
45015 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45016
45017 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45018
45019 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45020
45021 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45022
45023 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45024
45025 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45026
45027 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45028
45029 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45030
45031 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45032
45033 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45034
45035 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45036
45037 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45038
45039 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45040
45041 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45042
45043 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45044
45045 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45046
45047 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45048
45049 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45050
45051 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45052
45053 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45054
45055 if test x"long_double_math_on_this_cpu" = x"yes"; then
45056 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45057
45058 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45059
45060 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45061
45062 fi
45063 ;;
45064 *-hpux*)
45065 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45066
45067
45068 # If we're not using GNU ld, then there's no point in even trying these
45069 # tests. Check for that first. We should have already tested for gld
45070 # by now (in libtool), but require it now just to be safe...
45071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45073
45074
45075
45076 # The name set by libtool depends on the version of libtool. Shame on us
45077 # for depending on an impl detail, but c'est la vie. Older versions used
45078 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45079 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45080 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45081 # set (hence we're using an older libtool), then set it.
45082 if test x${with_gnu_ld+set} != xset; then
45083 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45084 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45085 with_gnu_ld=no
45086 else
45087 with_gnu_ld=$ac_cv_prog_gnu_ld
45088 fi
45089 fi
45090
45091 # Start by getting the version number. I think the libtool test already
45092 # does some of this, but throws away the result.
45093 glibcxx_ld_is_gold=no
45094 if test x"$with_gnu_ld" = x"yes"; then
45095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45096 $as_echo_n "checking for ld version... " >&6; }
45097
45098 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45099 glibcxx_ld_is_gold=yes
45100 fi
45101 ldver=`$LD --version 2>/dev/null |
45102 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45103
45104 glibcxx_gnu_ld_version=`echo $ldver | \
45105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45107 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45108 fi
45109
45110 # Set --gc-sections.
45111 glibcxx_have_gc_sections=no
45112 if test "$glibcxx_ld_is_gold" = "yes"; then
45113 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45114 glibcxx_have_gc_sections=yes
45115 fi
45116 else
45117 glibcxx_gcsections_min_ld=21602
45118 if test x"$with_gnu_ld" = x"yes" &&
45119 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45120 glibcxx_have_gc_sections=yes
45121 fi
45122 fi
45123 if test "$glibcxx_have_gc_sections" = "yes"; then
45124 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45125 # NB: This flag only works reliably after 2.16.1. Configure tests
45126 # for this are difficult, so hard wire a value that should work.
45127
45128 ac_test_CFLAGS="${CFLAGS+set}"
45129 ac_save_CFLAGS="$CFLAGS"
45130 CFLAGS='-Wl,--gc-sections'
45131
45132 # Check for -Wl,--gc-sections
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45134 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45135 if test x$gcc_no_link = xyes; then
45136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45137 fi
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 int one(void) { return 1; }
45141 int two(void) { return 2; }
45142
45143 int
45144 main ()
45145 {
45146 two();
45147 ;
45148 return 0;
45149 }
45150 _ACEOF
45151 if ac_fn_c_try_link "$LINENO"; then :
45152 ac_gcsections=yes
45153 else
45154 ac_gcsections=no
45155 fi
45156 rm -f core conftest.err conftest.$ac_objext \
45157 conftest$ac_exeext conftest.$ac_ext
45158 if test "$ac_gcsections" = "yes"; then
45159 rm -f conftest.c
45160 touch conftest.c
45161 if $CC -c conftest.c; then
45162 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45163 grep "Warning: gc-sections option ignored" > /dev/null; then
45164 ac_gcsections=no
45165 fi
45166 fi
45167 rm -f conftest.c conftest.o conftest
45168 fi
45169 if test "$ac_gcsections" = "yes"; then
45170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45171 fi
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45173 $as_echo "$ac_gcsections" >&6; }
45174
45175 if test "$ac_test_CFLAGS" = set; then
45176 CFLAGS="$ac_save_CFLAGS"
45177 else
45178 # this is the suspicious part
45179 CFLAGS=''
45180 fi
45181 fi
45182
45183 # Set -z,relro.
45184 # Note this is only for shared objects.
45185 ac_ld_relro=no
45186 if test x"$with_gnu_ld" = x"yes"; then
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45188 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45189 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45190 if test -n "$cxx_z_relo"; then
45191 OPT_LDFLAGS="-Wl,-z,relro"
45192 ac_ld_relro=yes
45193 fi
45194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45195 $as_echo "$ac_ld_relro" >&6; }
45196 fi
45197
45198 # Set linker optimization flags.
45199 if test x"$with_gnu_ld" = x"yes"; then
45200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45201 fi
45202
45203
45204
45205
45206
45207 # GLIBCXX_CHECK_MATH_SUPPORT
45208 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45209
45210 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45211
45212 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45213
45214 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45215
45216 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45217
45218 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45219
45220 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45221
45222 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45223
45224 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45225
45226 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45227
45228 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45229
45230 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45231
45232 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45233
45234 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45235
45236 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45237
45238 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45239
45240 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45241
45242 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45243
45244 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45245
45246 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45247
45248 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45249
45250
45251 # GLIBCXX_CHECK_STDLIB_SUPPORT
45252 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45253
45254
45255
45256
45257 # Check whether --enable-tls was given.
45258 if test "${enable_tls+set}" = set; then :
45259 enableval=$enable_tls;
45260 case "$enableval" in
45261 yes|no) ;;
45262 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45263 esac
45264
45265 else
45266 enable_tls=yes
45267 fi
45268
45269
45270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45271 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45272 if test "${gcc_cv_have_tls+set}" = set; then :
45273 $as_echo_n "(cached) " >&6
45274 else
45275
45276 if test "$cross_compiling" = yes; then :
45277 if test x$gcc_no_link = xyes; then
45278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45279 fi
45280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45281 /* end confdefs.h. */
45282 __thread int a; int b; int main() { return a = b; }
45283 _ACEOF
45284 if ac_fn_c_try_link "$LINENO"; then :
45285 chktls_save_LDFLAGS="$LDFLAGS"
45286 case $host in
45287 *-*-linux*)
45288 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45289 ;;
45290 esac
45291 chktls_save_CFLAGS="$CFLAGS"
45292 CFLAGS="-fPIC $CFLAGS"
45293 if test x$gcc_no_link = xyes; then
45294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45295 fi
45296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45297 /* end confdefs.h. */
45298 int f() { return 0; }
45299 _ACEOF
45300 if ac_fn_c_try_link "$LINENO"; then :
45301 if test x$gcc_no_link = xyes; then
45302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45303 fi
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 __thread int a; int b; int f() { return a = b; }
45307 _ACEOF
45308 if ac_fn_c_try_link "$LINENO"; then :
45309 gcc_cv_have_tls=yes
45310 else
45311 gcc_cv_have_tls=no
45312 fi
45313 rm -f core conftest.err conftest.$ac_objext \
45314 conftest$ac_exeext conftest.$ac_ext
45315 else
45316 gcc_cv_have_tls=yes
45317 fi
45318 rm -f core conftest.err conftest.$ac_objext \
45319 conftest$ac_exeext conftest.$ac_ext
45320 CFLAGS="$chktls_save_CFLAGS"
45321 LDFLAGS="$chktls_save_LDFLAGS"
45322 else
45323 gcc_cv_have_tls=no
45324 fi
45325 rm -f core conftest.err conftest.$ac_objext \
45326 conftest$ac_exeext conftest.$ac_ext
45327
45328
45329 else
45330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45331 /* end confdefs.h. */
45332 __thread int a; int b; int main() { return a = b; }
45333 _ACEOF
45334 if ac_fn_c_try_run "$LINENO"; then :
45335 chktls_save_LDFLAGS="$LDFLAGS"
45336 LDFLAGS="-static $LDFLAGS"
45337 if test x$gcc_no_link = xyes; then
45338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45339 fi
45340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45341 /* end confdefs.h. */
45342 int main() { return 0; }
45343 _ACEOF
45344 if ac_fn_c_try_link "$LINENO"; then :
45345 if test "$cross_compiling" = yes; then :
45346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45348 as_fn_error "cannot run test program while cross compiling
45349 See \`config.log' for more details." "$LINENO" 5; }
45350 else
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 __thread int a; int b; int main() { return a = b; }
45354 _ACEOF
45355 if ac_fn_c_try_run "$LINENO"; then :
45356 gcc_cv_have_tls=yes
45357 else
45358 gcc_cv_have_tls=no
45359 fi
45360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45361 conftest.$ac_objext conftest.beam conftest.$ac_ext
45362 fi
45363
45364 else
45365 gcc_cv_have_tls=yes
45366 fi
45367 rm -f core conftest.err conftest.$ac_objext \
45368 conftest$ac_exeext conftest.$ac_ext
45369 LDFLAGS="$chktls_save_LDFLAGS"
45370 if test $gcc_cv_have_tls = yes; then
45371 chktls_save_CFLAGS="$CFLAGS"
45372 thread_CFLAGS=failed
45373 for flag in '' '-pthread' '-lpthread'; do
45374 CFLAGS="$flag $chktls_save_CFLAGS"
45375 if test x$gcc_no_link = xyes; then
45376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45377 fi
45378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45379 /* end confdefs.h. */
45380 #include <pthread.h>
45381 void *g(void *d) { return NULL; }
45382 int
45383 main ()
45384 {
45385 pthread_t t; pthread_create(&t,NULL,g,NULL);
45386 ;
45387 return 0;
45388 }
45389 _ACEOF
45390 if ac_fn_c_try_link "$LINENO"; then :
45391 thread_CFLAGS="$flag"
45392 fi
45393 rm -f core conftest.err conftest.$ac_objext \
45394 conftest$ac_exeext conftest.$ac_ext
45395 if test "X$thread_CFLAGS" != Xfailed; then
45396 break
45397 fi
45398 done
45399 CFLAGS="$chktls_save_CFLAGS"
45400 if test "X$thread_CFLAGS" != Xfailed; then
45401 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45402 if test "$cross_compiling" = yes; then :
45403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45405 as_fn_error "cannot run test program while cross compiling
45406 See \`config.log' for more details." "$LINENO" 5; }
45407 else
45408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45409 /* end confdefs.h. */
45410 #include <pthread.h>
45411 __thread int a;
45412 static int *volatile a_in_other_thread;
45413 static void *
45414 thread_func (void *arg)
45415 {
45416 a_in_other_thread = &a;
45417 return (void *)0;
45418 }
45419 int
45420 main ()
45421 {
45422 pthread_t thread;
45423 void *thread_retval;
45424 int *volatile a_in_main_thread;
45425 a_in_main_thread = &a;
45426 if (pthread_create (&thread, (pthread_attr_t *)0,
45427 thread_func, (void *)0))
45428 return 0;
45429 if (pthread_join (thread, &thread_retval))
45430 return 0;
45431 return (a_in_other_thread == a_in_main_thread);
45432 ;
45433 return 0;
45434 }
45435 _ACEOF
45436 if ac_fn_c_try_run "$LINENO"; then :
45437 gcc_cv_have_tls=yes
45438 else
45439 gcc_cv_have_tls=no
45440 fi
45441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45442 conftest.$ac_objext conftest.beam conftest.$ac_ext
45443 fi
45444
45445 CFLAGS="$chktls_save_CFLAGS"
45446 fi
45447 fi
45448 else
45449 gcc_cv_have_tls=no
45450 fi
45451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45452 conftest.$ac_objext conftest.beam conftest.$ac_ext
45453 fi
45454
45455 fi
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45457 $as_echo "$gcc_cv_have_tls" >&6; }
45458 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45459
45460 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45461
45462 fi
45463 case "$target" in
45464 *-hpux10*)
45465 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45466
45467 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45468
45469 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45470
45471 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45472
45473 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45474
45475 ;;
45476 esac
45477 ;;
45478 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45479
45480 # All these tests are for C++; save the language and the compiler flags.
45481 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45482 # found in GLIBCXX_CONFIGURE.
45483
45484 ac_ext=cpp
45485 ac_cpp='$CXXCPP $CPPFLAGS'
45486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45489
45490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45491 ac_save_CXXFLAGS="$CXXFLAGS"
45492
45493 # Check for maintainer-mode bits.
45494 if test x"$USE_MAINTAINER_MODE" = xno; then
45495 WERROR=''
45496 else
45497 WERROR='-Werror'
45498 fi
45499
45500 # Check for -ffunction-sections -fdata-sections
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45502 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45503 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45505 /* end confdefs.h. */
45506 int foo; void bar() { };
45507 int
45508 main ()
45509 {
45510
45511 ;
45512 return 0;
45513 }
45514 _ACEOF
45515 if ac_fn_cxx_try_compile "$LINENO"; then :
45516 ac_fdsections=yes
45517 else
45518 ac_fdsections=no
45519 fi
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 if test "$ac_test_CXXFLAGS" = set; then
45522 CXXFLAGS="$ac_save_CXXFLAGS"
45523 else
45524 # this is the suspicious part
45525 CXXFLAGS=''
45526 fi
45527 if test x"$ac_fdsections" = x"yes"; then
45528 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45529 fi
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45531 $as_echo "$ac_fdsections" >&6; }
45532
45533 ac_ext=c
45534 ac_cpp='$CPP $CPPFLAGS'
45535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45538
45539
45540
45541
45542
45543 # If we're not using GNU ld, then there's no point in even trying these
45544 # tests. Check for that first. We should have already tested for gld
45545 # by now (in libtool), but require it now just to be safe...
45546 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45547 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45548
45549
45550
45551 # The name set by libtool depends on the version of libtool. Shame on us
45552 # for depending on an impl detail, but c'est la vie. Older versions used
45553 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45554 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45555 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45556 # set (hence we're using an older libtool), then set it.
45557 if test x${with_gnu_ld+set} != xset; then
45558 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45559 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45560 with_gnu_ld=no
45561 else
45562 with_gnu_ld=$ac_cv_prog_gnu_ld
45563 fi
45564 fi
45565
45566 # Start by getting the version number. I think the libtool test already
45567 # does some of this, but throws away the result.
45568 glibcxx_ld_is_gold=no
45569 if test x"$with_gnu_ld" = x"yes"; then
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45571 $as_echo_n "checking for ld version... " >&6; }
45572
45573 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45574 glibcxx_ld_is_gold=yes
45575 fi
45576 ldver=`$LD --version 2>/dev/null |
45577 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45578
45579 glibcxx_gnu_ld_version=`echo $ldver | \
45580 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45582 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45583 fi
45584
45585 # Set --gc-sections.
45586 glibcxx_have_gc_sections=no
45587 if test "$glibcxx_ld_is_gold" = "yes"; then
45588 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45589 glibcxx_have_gc_sections=yes
45590 fi
45591 else
45592 glibcxx_gcsections_min_ld=21602
45593 if test x"$with_gnu_ld" = x"yes" &&
45594 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45595 glibcxx_have_gc_sections=yes
45596 fi
45597 fi
45598 if test "$glibcxx_have_gc_sections" = "yes"; then
45599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45600 # NB: This flag only works reliably after 2.16.1. Configure tests
45601 # for this are difficult, so hard wire a value that should work.
45602
45603 ac_test_CFLAGS="${CFLAGS+set}"
45604 ac_save_CFLAGS="$CFLAGS"
45605 CFLAGS='-Wl,--gc-sections'
45606
45607 # Check for -Wl,--gc-sections
45608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45609 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45610 if test x$gcc_no_link = xyes; then
45611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45612 fi
45613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45614 /* end confdefs.h. */
45615 int one(void) { return 1; }
45616 int two(void) { return 2; }
45617
45618 int
45619 main ()
45620 {
45621 two();
45622 ;
45623 return 0;
45624 }
45625 _ACEOF
45626 if ac_fn_c_try_link "$LINENO"; then :
45627 ac_gcsections=yes
45628 else
45629 ac_gcsections=no
45630 fi
45631 rm -f core conftest.err conftest.$ac_objext \
45632 conftest$ac_exeext conftest.$ac_ext
45633 if test "$ac_gcsections" = "yes"; then
45634 rm -f conftest.c
45635 touch conftest.c
45636 if $CC -c conftest.c; then
45637 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45638 grep "Warning: gc-sections option ignored" > /dev/null; then
45639 ac_gcsections=no
45640 fi
45641 fi
45642 rm -f conftest.c conftest.o conftest
45643 fi
45644 if test "$ac_gcsections" = "yes"; then
45645 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45646 fi
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45648 $as_echo "$ac_gcsections" >&6; }
45649
45650 if test "$ac_test_CFLAGS" = set; then
45651 CFLAGS="$ac_save_CFLAGS"
45652 else
45653 # this is the suspicious part
45654 CFLAGS=''
45655 fi
45656 fi
45657
45658 # Set -z,relro.
45659 # Note this is only for shared objects.
45660 ac_ld_relro=no
45661 if test x"$with_gnu_ld" = x"yes"; then
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45663 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45664 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45665 if test -n "$cxx_z_relo"; then
45666 OPT_LDFLAGS="-Wl,-z,relro"
45667 ac_ld_relro=yes
45668 fi
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45670 $as_echo "$ac_ld_relro" >&6; }
45671 fi
45672
45673 # Set linker optimization flags.
45674 if test x"$with_gnu_ld" = x"yes"; then
45675 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45676 fi
45677
45678
45679
45680
45681
45682 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45683 ac_save_CXXFLAGS="$CXXFLAGS"
45684 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45685
45686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45687 $as_echo_n "checking for sin in -lm... " >&6; }
45688 if test "${ac_cv_lib_m_sin+set}" = set; then :
45689 $as_echo_n "(cached) " >&6
45690 else
45691 ac_check_lib_save_LIBS=$LIBS
45692 LIBS="-lm $LIBS"
45693 if test x$gcc_no_link = xyes; then
45694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45695 fi
45696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45697 /* end confdefs.h. */
45698
45699 /* Override any GCC internal prototype to avoid an error.
45700 Use char because int might match the return type of a GCC
45701 builtin and then its argument prototype would still apply. */
45702 #ifdef __cplusplus
45703 extern "C"
45704 #endif
45705 char sin ();
45706 int
45707 main ()
45708 {
45709 return sin ();
45710 ;
45711 return 0;
45712 }
45713 _ACEOF
45714 if ac_fn_c_try_link "$LINENO"; then :
45715 ac_cv_lib_m_sin=yes
45716 else
45717 ac_cv_lib_m_sin=no
45718 fi
45719 rm -f core conftest.err conftest.$ac_objext \
45720 conftest$ac_exeext conftest.$ac_ext
45721 LIBS=$ac_check_lib_save_LIBS
45722 fi
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45724 $as_echo "$ac_cv_lib_m_sin" >&6; }
45725 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45726 libm="-lm"
45727 fi
45728
45729 ac_save_LIBS="$LIBS"
45730 LIBS="$LIBS $libm"
45731
45732
45733
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45735 $as_echo_n "checking for isinf declaration... " >&6; }
45736 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45737 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45738 $as_echo_n "(cached) " >&6
45739 else
45740
45741
45742 ac_ext=cpp
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747
45748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h. */
45750 #include <math.h>
45751 #ifdef HAVE_IEEEFP_H
45752 #include <ieeefp.h>
45753 #endif
45754
45755 int
45756 main ()
45757 {
45758 isinf(0);
45759 ;
45760 return 0;
45761 }
45762 _ACEOF
45763 if ac_fn_cxx_try_compile "$LINENO"; then :
45764 glibcxx_cv_func_isinf_use=yes
45765 else
45766 glibcxx_cv_func_isinf_use=no
45767 fi
45768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45769 ac_ext=c
45770 ac_cpp='$CPP $CPPFLAGS'
45771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45774
45775
45776 fi
45777
45778 fi
45779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45780 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45781
45782 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45783 for ac_func in isinf
45784 do :
45785 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45786 if test "x$ac_cv_func_isinf" = x""yes; then :
45787 cat >>confdefs.h <<_ACEOF
45788 #define HAVE_ISINF 1
45789 _ACEOF
45790
45791 fi
45792 done
45793
45794 else
45795
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45797 $as_echo_n "checking for _isinf declaration... " >&6; }
45798 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45799 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45800 $as_echo_n "(cached) " >&6
45801 else
45802
45803
45804 ac_ext=cpp
45805 ac_cpp='$CXXCPP $CPPFLAGS'
45806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809
45810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45811 /* end confdefs.h. */
45812 #include <math.h>
45813 #ifdef HAVE_IEEEFP_H
45814 #include <ieeefp.h>
45815 #endif
45816
45817 int
45818 main ()
45819 {
45820 _isinf(0);
45821 ;
45822 return 0;
45823 }
45824 _ACEOF
45825 if ac_fn_cxx_try_compile "$LINENO"; then :
45826 glibcxx_cv_func__isinf_use=yes
45827 else
45828 glibcxx_cv_func__isinf_use=no
45829 fi
45830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45831 ac_ext=c
45832 ac_cpp='$CPP $CPPFLAGS'
45833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45836
45837
45838 fi
45839
45840 fi
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45842 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45843
45844 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45845 for ac_func in _isinf
45846 do :
45847 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45848 if test "x$ac_cv_func__isinf" = x""yes; then :
45849 cat >>confdefs.h <<_ACEOF
45850 #define HAVE__ISINF 1
45851 _ACEOF
45852
45853 fi
45854 done
45855
45856 fi
45857 fi
45858
45859
45860
45861
45862
45863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45864 $as_echo_n "checking for isnan declaration... " >&6; }
45865 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45866 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45867 $as_echo_n "(cached) " >&6
45868 else
45869
45870
45871 ac_ext=cpp
45872 ac_cpp='$CXXCPP $CPPFLAGS'
45873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45876
45877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45878 /* end confdefs.h. */
45879 #include <math.h>
45880 #ifdef HAVE_IEEEFP_H
45881 #include <ieeefp.h>
45882 #endif
45883
45884 int
45885 main ()
45886 {
45887 isnan(0);
45888 ;
45889 return 0;
45890 }
45891 _ACEOF
45892 if ac_fn_cxx_try_compile "$LINENO"; then :
45893 glibcxx_cv_func_isnan_use=yes
45894 else
45895 glibcxx_cv_func_isnan_use=no
45896 fi
45897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45898 ac_ext=c
45899 ac_cpp='$CPP $CPPFLAGS'
45900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45903
45904
45905 fi
45906
45907 fi
45908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45909 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45910
45911 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45912 for ac_func in isnan
45913 do :
45914 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45915 if test "x$ac_cv_func_isnan" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define HAVE_ISNAN 1
45918 _ACEOF
45919
45920 fi
45921 done
45922
45923 else
45924
45925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45926 $as_echo_n "checking for _isnan declaration... " >&6; }
45927 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45928 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45929 $as_echo_n "(cached) " >&6
45930 else
45931
45932
45933 ac_ext=cpp
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938
45939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45940 /* end confdefs.h. */
45941 #include <math.h>
45942 #ifdef HAVE_IEEEFP_H
45943 #include <ieeefp.h>
45944 #endif
45945
45946 int
45947 main ()
45948 {
45949 _isnan(0);
45950 ;
45951 return 0;
45952 }
45953 _ACEOF
45954 if ac_fn_cxx_try_compile "$LINENO"; then :
45955 glibcxx_cv_func__isnan_use=yes
45956 else
45957 glibcxx_cv_func__isnan_use=no
45958 fi
45959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45960 ac_ext=c
45961 ac_cpp='$CPP $CPPFLAGS'
45962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45965
45966
45967 fi
45968
45969 fi
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45971 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45972
45973 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45974 for ac_func in _isnan
45975 do :
45976 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45977 if test "x$ac_cv_func__isnan" = x""yes; then :
45978 cat >>confdefs.h <<_ACEOF
45979 #define HAVE__ISNAN 1
45980 _ACEOF
45981
45982 fi
45983 done
45984
45985 fi
45986 fi
45987
45988
45989
45990
45991
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45993 $as_echo_n "checking for finite declaration... " >&6; }
45994 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45995 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45996 $as_echo_n "(cached) " >&6
45997 else
45998
45999
46000 ac_ext=cpp
46001 ac_cpp='$CXXCPP $CPPFLAGS'
46002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46005
46006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46007 /* end confdefs.h. */
46008 #include <math.h>
46009 #ifdef HAVE_IEEEFP_H
46010 #include <ieeefp.h>
46011 #endif
46012
46013 int
46014 main ()
46015 {
46016 finite(0);
46017 ;
46018 return 0;
46019 }
46020 _ACEOF
46021 if ac_fn_cxx_try_compile "$LINENO"; then :
46022 glibcxx_cv_func_finite_use=yes
46023 else
46024 glibcxx_cv_func_finite_use=no
46025 fi
46026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46027 ac_ext=c
46028 ac_cpp='$CPP $CPPFLAGS'
46029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46032
46033
46034 fi
46035
46036 fi
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46038 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46039
46040 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46041 for ac_func in finite
46042 do :
46043 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46044 if test "x$ac_cv_func_finite" = x""yes; then :
46045 cat >>confdefs.h <<_ACEOF
46046 #define HAVE_FINITE 1
46047 _ACEOF
46048
46049 fi
46050 done
46051
46052 else
46053
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46055 $as_echo_n "checking for _finite declaration... " >&6; }
46056 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46057 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46058 $as_echo_n "(cached) " >&6
46059 else
46060
46061
46062 ac_ext=cpp
46063 ac_cpp='$CXXCPP $CPPFLAGS'
46064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46067
46068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46069 /* end confdefs.h. */
46070 #include <math.h>
46071 #ifdef HAVE_IEEEFP_H
46072 #include <ieeefp.h>
46073 #endif
46074
46075 int
46076 main ()
46077 {
46078 _finite(0);
46079 ;
46080 return 0;
46081 }
46082 _ACEOF
46083 if ac_fn_cxx_try_compile "$LINENO"; then :
46084 glibcxx_cv_func__finite_use=yes
46085 else
46086 glibcxx_cv_func__finite_use=no
46087 fi
46088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46089 ac_ext=c
46090 ac_cpp='$CPP $CPPFLAGS'
46091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46094
46095
46096 fi
46097
46098 fi
46099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46100 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46101
46102 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46103 for ac_func in _finite
46104 do :
46105 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46106 if test "x$ac_cv_func__finite" = x""yes; then :
46107 cat >>confdefs.h <<_ACEOF
46108 #define HAVE__FINITE 1
46109 _ACEOF
46110
46111 fi
46112 done
46113
46114 fi
46115 fi
46116
46117
46118
46119
46120
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46122 $as_echo_n "checking for sincos declaration... " >&6; }
46123 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46124 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46125 $as_echo_n "(cached) " >&6
46126 else
46127
46128
46129 ac_ext=cpp
46130 ac_cpp='$CXXCPP $CPPFLAGS'
46131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46134
46135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46136 /* end confdefs.h. */
46137 #include <math.h>
46138 int
46139 main ()
46140 {
46141 sincos(0, 0, 0);
46142 ;
46143 return 0;
46144 }
46145 _ACEOF
46146 if ac_fn_cxx_try_compile "$LINENO"; then :
46147 glibcxx_cv_func_sincos_use=yes
46148 else
46149 glibcxx_cv_func_sincos_use=no
46150 fi
46151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46152 ac_ext=c
46153 ac_cpp='$CPP $CPPFLAGS'
46154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46157
46158
46159 fi
46160
46161 fi
46162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46163 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46164
46165 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46166 for ac_func in sincos
46167 do :
46168 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46169 if test "x$ac_cv_func_sincos" = x""yes; then :
46170 cat >>confdefs.h <<_ACEOF
46171 #define HAVE_SINCOS 1
46172 _ACEOF
46173
46174 fi
46175 done
46176
46177 else
46178
46179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46180 $as_echo_n "checking for _sincos declaration... " >&6; }
46181 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46182 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46183 $as_echo_n "(cached) " >&6
46184 else
46185
46186
46187 ac_ext=cpp
46188 ac_cpp='$CXXCPP $CPPFLAGS'
46189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46192
46193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46194 /* end confdefs.h. */
46195 #include <math.h>
46196 int
46197 main ()
46198 {
46199 _sincos(0, 0, 0);
46200 ;
46201 return 0;
46202 }
46203 _ACEOF
46204 if ac_fn_cxx_try_compile "$LINENO"; then :
46205 glibcxx_cv_func__sincos_use=yes
46206 else
46207 glibcxx_cv_func__sincos_use=no
46208 fi
46209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46210 ac_ext=c
46211 ac_cpp='$CPP $CPPFLAGS'
46212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215
46216
46217 fi
46218
46219 fi
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46221 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46222
46223 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46224 for ac_func in _sincos
46225 do :
46226 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46227 if test "x$ac_cv_func__sincos" = x""yes; then :
46228 cat >>confdefs.h <<_ACEOF
46229 #define HAVE__SINCOS 1
46230 _ACEOF
46231
46232 fi
46233 done
46234
46235 fi
46236 fi
46237
46238
46239
46240
46241
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46243 $as_echo_n "checking for fpclass declaration... " >&6; }
46244 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46245 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46246 $as_echo_n "(cached) " >&6
46247 else
46248
46249
46250 ac_ext=cpp
46251 ac_cpp='$CXXCPP $CPPFLAGS'
46252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46255
46256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46257 /* end confdefs.h. */
46258 #include <math.h>
46259 #ifdef HAVE_IEEEFP_H
46260 #include <ieeefp.h>
46261 #endif
46262
46263 int
46264 main ()
46265 {
46266 fpclass(0);
46267 ;
46268 return 0;
46269 }
46270 _ACEOF
46271 if ac_fn_cxx_try_compile "$LINENO"; then :
46272 glibcxx_cv_func_fpclass_use=yes
46273 else
46274 glibcxx_cv_func_fpclass_use=no
46275 fi
46276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46277 ac_ext=c
46278 ac_cpp='$CPP $CPPFLAGS'
46279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46282
46283
46284 fi
46285
46286 fi
46287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46288 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46289
46290 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46291 for ac_func in fpclass
46292 do :
46293 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46294 if test "x$ac_cv_func_fpclass" = x""yes; then :
46295 cat >>confdefs.h <<_ACEOF
46296 #define HAVE_FPCLASS 1
46297 _ACEOF
46298
46299 fi
46300 done
46301
46302 else
46303
46304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46305 $as_echo_n "checking for _fpclass declaration... " >&6; }
46306 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46307 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46308 $as_echo_n "(cached) " >&6
46309 else
46310
46311
46312 ac_ext=cpp
46313 ac_cpp='$CXXCPP $CPPFLAGS'
46314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46317
46318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46319 /* end confdefs.h. */
46320 #include <math.h>
46321 #ifdef HAVE_IEEEFP_H
46322 #include <ieeefp.h>
46323 #endif
46324
46325 int
46326 main ()
46327 {
46328 _fpclass(0);
46329 ;
46330 return 0;
46331 }
46332 _ACEOF
46333 if ac_fn_cxx_try_compile "$LINENO"; then :
46334 glibcxx_cv_func__fpclass_use=yes
46335 else
46336 glibcxx_cv_func__fpclass_use=no
46337 fi
46338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46339 ac_ext=c
46340 ac_cpp='$CPP $CPPFLAGS'
46341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46344
46345
46346 fi
46347
46348 fi
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46350 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46351
46352 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46353 for ac_func in _fpclass
46354 do :
46355 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46356 if test "x$ac_cv_func__fpclass" = x""yes; then :
46357 cat >>confdefs.h <<_ACEOF
46358 #define HAVE__FPCLASS 1
46359 _ACEOF
46360
46361 fi
46362 done
46363
46364 fi
46365 fi
46366
46367
46368
46369
46370
46371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46372 $as_echo_n "checking for qfpclass declaration... " >&6; }
46373 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46374 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46375 $as_echo_n "(cached) " >&6
46376 else
46377
46378
46379 ac_ext=cpp
46380 ac_cpp='$CXXCPP $CPPFLAGS'
46381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46384
46385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46386 /* end confdefs.h. */
46387 #include <math.h>
46388 #ifdef HAVE_IEEEFP_H
46389 #include <ieeefp.h>
46390 #endif
46391
46392 int
46393 main ()
46394 {
46395 qfpclass(0);
46396 ;
46397 return 0;
46398 }
46399 _ACEOF
46400 if ac_fn_cxx_try_compile "$LINENO"; then :
46401 glibcxx_cv_func_qfpclass_use=yes
46402 else
46403 glibcxx_cv_func_qfpclass_use=no
46404 fi
46405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46406 ac_ext=c
46407 ac_cpp='$CPP $CPPFLAGS'
46408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46411
46412
46413 fi
46414
46415 fi
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46417 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46418
46419 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46420 for ac_func in qfpclass
46421 do :
46422 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46423 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46424 cat >>confdefs.h <<_ACEOF
46425 #define HAVE_QFPCLASS 1
46426 _ACEOF
46427
46428 fi
46429 done
46430
46431 else
46432
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46434 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46435 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46436 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46439
46440
46441 ac_ext=cpp
46442 ac_cpp='$CXXCPP $CPPFLAGS'
46443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46446
46447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46448 /* end confdefs.h. */
46449 #include <math.h>
46450 #ifdef HAVE_IEEEFP_H
46451 #include <ieeefp.h>
46452 #endif
46453
46454 int
46455 main ()
46456 {
46457 _qfpclass(0);
46458 ;
46459 return 0;
46460 }
46461 _ACEOF
46462 if ac_fn_cxx_try_compile "$LINENO"; then :
46463 glibcxx_cv_func__qfpclass_use=yes
46464 else
46465 glibcxx_cv_func__qfpclass_use=no
46466 fi
46467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46468 ac_ext=c
46469 ac_cpp='$CPP $CPPFLAGS'
46470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46473
46474
46475 fi
46476
46477 fi
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46479 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46480
46481 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46482 for ac_func in _qfpclass
46483 do :
46484 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46485 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46486 cat >>confdefs.h <<_ACEOF
46487 #define HAVE__QFPCLASS 1
46488 _ACEOF
46489
46490 fi
46491 done
46492
46493 fi
46494 fi
46495
46496
46497
46498
46499
46500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46501 $as_echo_n "checking for hypot declaration... " >&6; }
46502 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46503 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46504 $as_echo_n "(cached) " >&6
46505 else
46506
46507
46508 ac_ext=cpp
46509 ac_cpp='$CXXCPP $CPPFLAGS'
46510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46513
46514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46515 /* end confdefs.h. */
46516 #include <math.h>
46517 int
46518 main ()
46519 {
46520 hypot(0, 0);
46521 ;
46522 return 0;
46523 }
46524 _ACEOF
46525 if ac_fn_cxx_try_compile "$LINENO"; then :
46526 glibcxx_cv_func_hypot_use=yes
46527 else
46528 glibcxx_cv_func_hypot_use=no
46529 fi
46530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46531 ac_ext=c
46532 ac_cpp='$CPP $CPPFLAGS'
46533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46536
46537
46538 fi
46539
46540 fi
46541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46542 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46543
46544 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46545 for ac_func in hypot
46546 do :
46547 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46548 if test "x$ac_cv_func_hypot" = x""yes; then :
46549 cat >>confdefs.h <<_ACEOF
46550 #define HAVE_HYPOT 1
46551 _ACEOF
46552
46553 fi
46554 done
46555
46556 else
46557
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46559 $as_echo_n "checking for _hypot declaration... " >&6; }
46560 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46561 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46562 $as_echo_n "(cached) " >&6
46563 else
46564
46565
46566 ac_ext=cpp
46567 ac_cpp='$CXXCPP $CPPFLAGS'
46568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46571
46572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46573 /* end confdefs.h. */
46574 #include <math.h>
46575 int
46576 main ()
46577 {
46578 _hypot(0, 0);
46579 ;
46580 return 0;
46581 }
46582 _ACEOF
46583 if ac_fn_cxx_try_compile "$LINENO"; then :
46584 glibcxx_cv_func__hypot_use=yes
46585 else
46586 glibcxx_cv_func__hypot_use=no
46587 fi
46588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46589 ac_ext=c
46590 ac_cpp='$CPP $CPPFLAGS'
46591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46594
46595
46596 fi
46597
46598 fi
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46600 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46601
46602 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46603 for ac_func in _hypot
46604 do :
46605 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46606 if test "x$ac_cv_func__hypot" = x""yes; then :
46607 cat >>confdefs.h <<_ACEOF
46608 #define HAVE__HYPOT 1
46609 _ACEOF
46610
46611 fi
46612 done
46613
46614 fi
46615 fi
46616
46617
46618
46619
46620
46621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46622 $as_echo_n "checking for float trig functions... " >&6; }
46623 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46624 $as_echo_n "(cached) " >&6
46625 else
46626
46627
46628 ac_ext=cpp
46629 ac_cpp='$CXXCPP $CPPFLAGS'
46630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633
46634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46635 /* end confdefs.h. */
46636 #include <math.h>
46637 int
46638 main ()
46639 {
46640 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46641 ;
46642 return 0;
46643 }
46644 _ACEOF
46645 if ac_fn_cxx_try_compile "$LINENO"; then :
46646 glibcxx_cv_func_float_trig_use=yes
46647 else
46648 glibcxx_cv_func_float_trig_use=no
46649 fi
46650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46651 ac_ext=c
46652 ac_cpp='$CPP $CPPFLAGS'
46653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656
46657 fi
46658
46659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46660 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46661 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46662 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46663 do :
46664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46666 eval as_val=\$$as_ac_var
46667 if test "x$as_val" = x""yes; then :
46668 cat >>confdefs.h <<_ACEOF
46669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46670 _ACEOF
46671
46672 fi
46673 done
46674
46675 else
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46677 $as_echo_n "checking for _float trig functions... " >&6; }
46678 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46680 else
46681
46682
46683 ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46688
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46691 #include <math.h>
46692 int
46693 main ()
46694 {
46695 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46696 ;
46697 return 0;
46698 }
46699 _ACEOF
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701 glibcxx_cv_func__float_trig_use=yes
46702 else
46703 glibcxx_cv_func__float_trig_use=no
46704 fi
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 ac_ext=c
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46711
46712 fi
46713
46714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46715 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46716 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46717 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46718 do :
46719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46721 eval as_val=\$$as_ac_var
46722 if test "x$as_val" = x""yes; then :
46723 cat >>confdefs.h <<_ACEOF
46724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46725 _ACEOF
46726
46727 fi
46728 done
46729
46730 fi
46731 fi
46732
46733
46734
46735
46736
46737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46738 $as_echo_n "checking for float round functions... " >&6; }
46739 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46740 $as_echo_n "(cached) " >&6
46741 else
46742
46743
46744 ac_ext=cpp
46745 ac_cpp='$CXXCPP $CPPFLAGS'
46746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46749
46750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46751 /* end confdefs.h. */
46752 #include <math.h>
46753 int
46754 main ()
46755 {
46756 ceilf (0); floorf (0);
46757 ;
46758 return 0;
46759 }
46760 _ACEOF
46761 if ac_fn_cxx_try_compile "$LINENO"; then :
46762 glibcxx_cv_func_float_round_use=yes
46763 else
46764 glibcxx_cv_func_float_round_use=no
46765 fi
46766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46767 ac_ext=c
46768 ac_cpp='$CPP $CPPFLAGS'
46769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46772
46773 fi
46774
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46776 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46777 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46778 for ac_func in ceilf floorf
46779 do :
46780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46782 eval as_val=\$$as_ac_var
46783 if test "x$as_val" = x""yes; then :
46784 cat >>confdefs.h <<_ACEOF
46785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46786 _ACEOF
46787
46788 fi
46789 done
46790
46791 else
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46793 $as_echo_n "checking for _float round functions... " >&6; }
46794 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46795 $as_echo_n "(cached) " >&6
46796 else
46797
46798
46799 ac_ext=cpp
46800 ac_cpp='$CXXCPP $CPPFLAGS'
46801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46804
46805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46806 /* end confdefs.h. */
46807 #include <math.h>
46808 int
46809 main ()
46810 {
46811 _ceilf (0); _floorf (0);
46812 ;
46813 return 0;
46814 }
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func__float_round_use=yes
46818 else
46819 glibcxx_cv_func__float_round_use=no
46820 fi
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827
46828 fi
46829
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46831 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46832 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46833 for ac_func in _ceilf _floorf
46834 do :
46835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46837 eval as_val=\$$as_ac_var
46838 if test "x$as_val" = x""yes; then :
46839 cat >>confdefs.h <<_ACEOF
46840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46841 _ACEOF
46842
46843 fi
46844 done
46845
46846 fi
46847 fi
46848
46849
46850
46851
46852
46853
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46855 $as_echo_n "checking for expf declaration... " >&6; }
46856 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46857 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46858 $as_echo_n "(cached) " >&6
46859 else
46860
46861
46862 ac_ext=cpp
46863 ac_cpp='$CXXCPP $CPPFLAGS'
46864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46867
46868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46869 /* end confdefs.h. */
46870 #include <math.h>
46871 #ifdef HAVE_IEEEFP_H
46872 #include <ieeefp.h>
46873 #endif
46874
46875 int
46876 main ()
46877 {
46878 expf(0);
46879 ;
46880 return 0;
46881 }
46882 _ACEOF
46883 if ac_fn_cxx_try_compile "$LINENO"; then :
46884 glibcxx_cv_func_expf_use=yes
46885 else
46886 glibcxx_cv_func_expf_use=no
46887 fi
46888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46889 ac_ext=c
46890 ac_cpp='$CPP $CPPFLAGS'
46891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46894
46895
46896 fi
46897
46898 fi
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46900 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46901
46902 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46903 for ac_func in expf
46904 do :
46905 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46906 if test "x$ac_cv_func_expf" = x""yes; then :
46907 cat >>confdefs.h <<_ACEOF
46908 #define HAVE_EXPF 1
46909 _ACEOF
46910
46911 fi
46912 done
46913
46914 else
46915
46916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46917 $as_echo_n "checking for _expf declaration... " >&6; }
46918 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46919 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46920 $as_echo_n "(cached) " >&6
46921 else
46922
46923
46924 ac_ext=cpp
46925 ac_cpp='$CXXCPP $CPPFLAGS'
46926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46929
46930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46931 /* end confdefs.h. */
46932 #include <math.h>
46933 #ifdef HAVE_IEEEFP_H
46934 #include <ieeefp.h>
46935 #endif
46936
46937 int
46938 main ()
46939 {
46940 _expf(0);
46941 ;
46942 return 0;
46943 }
46944 _ACEOF
46945 if ac_fn_cxx_try_compile "$LINENO"; then :
46946 glibcxx_cv_func__expf_use=yes
46947 else
46948 glibcxx_cv_func__expf_use=no
46949 fi
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951 ac_ext=c
46952 ac_cpp='$CPP $CPPFLAGS'
46953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46956
46957
46958 fi
46959
46960 fi
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46962 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46963
46964 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46965 for ac_func in _expf
46966 do :
46967 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46968 if test "x$ac_cv_func__expf" = x""yes; then :
46969 cat >>confdefs.h <<_ACEOF
46970 #define HAVE__EXPF 1
46971 _ACEOF
46972
46973 fi
46974 done
46975
46976 fi
46977 fi
46978
46979
46980
46981
46982
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46984 $as_echo_n "checking for isnanf declaration... " >&6; }
46985 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46986 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46988 else
46989
46990
46991 ac_ext=cpp
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
46999 #include <math.h>
47000 #ifdef HAVE_IEEEFP_H
47001 #include <ieeefp.h>
47002 #endif
47003
47004 int
47005 main ()
47006 {
47007 isnanf(0);
47008 ;
47009 return 0;
47010 }
47011 _ACEOF
47012 if ac_fn_cxx_try_compile "$LINENO"; then :
47013 glibcxx_cv_func_isnanf_use=yes
47014 else
47015 glibcxx_cv_func_isnanf_use=no
47016 fi
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47018 ac_ext=c
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47023
47024
47025 fi
47026
47027 fi
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47029 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47030
47031 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47032 for ac_func in isnanf
47033 do :
47034 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47035 if test "x$ac_cv_func_isnanf" = x""yes; then :
47036 cat >>confdefs.h <<_ACEOF
47037 #define HAVE_ISNANF 1
47038 _ACEOF
47039
47040 fi
47041 done
47042
47043 else
47044
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47046 $as_echo_n "checking for _isnanf declaration... " >&6; }
47047 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47048 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47050 else
47051
47052
47053 ac_ext=cpp
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47061 #include <math.h>
47062 #ifdef HAVE_IEEEFP_H
47063 #include <ieeefp.h>
47064 #endif
47065
47066 int
47067 main ()
47068 {
47069 _isnanf(0);
47070 ;
47071 return 0;
47072 }
47073 _ACEOF
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func__isnanf_use=yes
47076 else
47077 glibcxx_cv_func__isnanf_use=no
47078 fi
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47080 ac_ext=c
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47085
47086
47087 fi
47088
47089 fi
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47091 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47092
47093 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47094 for ac_func in _isnanf
47095 do :
47096 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47097 if test "x$ac_cv_func__isnanf" = x""yes; then :
47098 cat >>confdefs.h <<_ACEOF
47099 #define HAVE__ISNANF 1
47100 _ACEOF
47101
47102 fi
47103 done
47104
47105 fi
47106 fi
47107
47108
47109
47110
47111
47112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47113 $as_echo_n "checking for isinff declaration... " >&6; }
47114 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47115 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47116 $as_echo_n "(cached) " >&6
47117 else
47118
47119
47120 ac_ext=cpp
47121 ac_cpp='$CXXCPP $CPPFLAGS'
47122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47125
47126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47127 /* end confdefs.h. */
47128 #include <math.h>
47129 #ifdef HAVE_IEEEFP_H
47130 #include <ieeefp.h>
47131 #endif
47132
47133 int
47134 main ()
47135 {
47136 isinff(0);
47137 ;
47138 return 0;
47139 }
47140 _ACEOF
47141 if ac_fn_cxx_try_compile "$LINENO"; then :
47142 glibcxx_cv_func_isinff_use=yes
47143 else
47144 glibcxx_cv_func_isinff_use=no
47145 fi
47146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47147 ac_ext=c
47148 ac_cpp='$CPP $CPPFLAGS'
47149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47152
47153
47154 fi
47155
47156 fi
47157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47158 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47159
47160 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47161 for ac_func in isinff
47162 do :
47163 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47164 if test "x$ac_cv_func_isinff" = x""yes; then :
47165 cat >>confdefs.h <<_ACEOF
47166 #define HAVE_ISINFF 1
47167 _ACEOF
47168
47169 fi
47170 done
47171
47172 else
47173
47174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47175 $as_echo_n "checking for _isinff declaration... " >&6; }
47176 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47177 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47178 $as_echo_n "(cached) " >&6
47179 else
47180
47181
47182 ac_ext=cpp
47183 ac_cpp='$CXXCPP $CPPFLAGS'
47184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47187
47188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47189 /* end confdefs.h. */
47190 #include <math.h>
47191 #ifdef HAVE_IEEEFP_H
47192 #include <ieeefp.h>
47193 #endif
47194
47195 int
47196 main ()
47197 {
47198 _isinff(0);
47199 ;
47200 return 0;
47201 }
47202 _ACEOF
47203 if ac_fn_cxx_try_compile "$LINENO"; then :
47204 glibcxx_cv_func__isinff_use=yes
47205 else
47206 glibcxx_cv_func__isinff_use=no
47207 fi
47208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47209 ac_ext=c
47210 ac_cpp='$CPP $CPPFLAGS'
47211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47214
47215
47216 fi
47217
47218 fi
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47220 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47221
47222 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47223 for ac_func in _isinff
47224 do :
47225 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47226 if test "x$ac_cv_func__isinff" = x""yes; then :
47227 cat >>confdefs.h <<_ACEOF
47228 #define HAVE__ISINFF 1
47229 _ACEOF
47230
47231 fi
47232 done
47233
47234 fi
47235 fi
47236
47237
47238
47239
47240
47241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47242 $as_echo_n "checking for atan2f declaration... " >&6; }
47243 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47244 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47245 $as_echo_n "(cached) " >&6
47246 else
47247
47248
47249 ac_ext=cpp
47250 ac_cpp='$CXXCPP $CPPFLAGS'
47251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47254
47255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47256 /* end confdefs.h. */
47257 #include <math.h>
47258 int
47259 main ()
47260 {
47261 atan2f(0, 0);
47262 ;
47263 return 0;
47264 }
47265 _ACEOF
47266 if ac_fn_cxx_try_compile "$LINENO"; then :
47267 glibcxx_cv_func_atan2f_use=yes
47268 else
47269 glibcxx_cv_func_atan2f_use=no
47270 fi
47271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47272 ac_ext=c
47273 ac_cpp='$CPP $CPPFLAGS'
47274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47277
47278
47279 fi
47280
47281 fi
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47283 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47284
47285 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47286 for ac_func in atan2f
47287 do :
47288 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47289 if test "x$ac_cv_func_atan2f" = x""yes; then :
47290 cat >>confdefs.h <<_ACEOF
47291 #define HAVE_ATAN2F 1
47292 _ACEOF
47293
47294 fi
47295 done
47296
47297 else
47298
47299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47300 $as_echo_n "checking for _atan2f declaration... " >&6; }
47301 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47302 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47303 $as_echo_n "(cached) " >&6
47304 else
47305
47306
47307 ac_ext=cpp
47308 ac_cpp='$CXXCPP $CPPFLAGS'
47309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47312
47313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47314 /* end confdefs.h. */
47315 #include <math.h>
47316 int
47317 main ()
47318 {
47319 _atan2f(0, 0);
47320 ;
47321 return 0;
47322 }
47323 _ACEOF
47324 if ac_fn_cxx_try_compile "$LINENO"; then :
47325 glibcxx_cv_func__atan2f_use=yes
47326 else
47327 glibcxx_cv_func__atan2f_use=no
47328 fi
47329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47330 ac_ext=c
47331 ac_cpp='$CPP $CPPFLAGS'
47332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47335
47336
47337 fi
47338
47339 fi
47340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47341 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47342
47343 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47344 for ac_func in _atan2f
47345 do :
47346 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47347 if test "x$ac_cv_func__atan2f" = x""yes; then :
47348 cat >>confdefs.h <<_ACEOF
47349 #define HAVE__ATAN2F 1
47350 _ACEOF
47351
47352 fi
47353 done
47354
47355 fi
47356 fi
47357
47358
47359
47360
47361
47362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47363 $as_echo_n "checking for fabsf declaration... " >&6; }
47364 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47365 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47366 $as_echo_n "(cached) " >&6
47367 else
47368
47369
47370 ac_ext=cpp
47371 ac_cpp='$CXXCPP $CPPFLAGS'
47372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47375
47376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47377 /* end confdefs.h. */
47378 #include <math.h>
47379 #ifdef HAVE_IEEEFP_H
47380 #include <ieeefp.h>
47381 #endif
47382
47383 int
47384 main ()
47385 {
47386 fabsf(0);
47387 ;
47388 return 0;
47389 }
47390 _ACEOF
47391 if ac_fn_cxx_try_compile "$LINENO"; then :
47392 glibcxx_cv_func_fabsf_use=yes
47393 else
47394 glibcxx_cv_func_fabsf_use=no
47395 fi
47396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47397 ac_ext=c
47398 ac_cpp='$CPP $CPPFLAGS'
47399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47402
47403
47404 fi
47405
47406 fi
47407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47408 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47409
47410 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47411 for ac_func in fabsf
47412 do :
47413 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47414 if test "x$ac_cv_func_fabsf" = x""yes; then :
47415 cat >>confdefs.h <<_ACEOF
47416 #define HAVE_FABSF 1
47417 _ACEOF
47418
47419 fi
47420 done
47421
47422 else
47423
47424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47425 $as_echo_n "checking for _fabsf declaration... " >&6; }
47426 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47427 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47428 $as_echo_n "(cached) " >&6
47429 else
47430
47431
47432 ac_ext=cpp
47433 ac_cpp='$CXXCPP $CPPFLAGS'
47434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47437
47438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47439 /* end confdefs.h. */
47440 #include <math.h>
47441 #ifdef HAVE_IEEEFP_H
47442 #include <ieeefp.h>
47443 #endif
47444
47445 int
47446 main ()
47447 {
47448 _fabsf(0);
47449 ;
47450 return 0;
47451 }
47452 _ACEOF
47453 if ac_fn_cxx_try_compile "$LINENO"; then :
47454 glibcxx_cv_func__fabsf_use=yes
47455 else
47456 glibcxx_cv_func__fabsf_use=no
47457 fi
47458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47459 ac_ext=c
47460 ac_cpp='$CPP $CPPFLAGS'
47461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47464
47465
47466 fi
47467
47468 fi
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47470 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47471
47472 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47473 for ac_func in _fabsf
47474 do :
47475 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47476 if test "x$ac_cv_func__fabsf" = x""yes; then :
47477 cat >>confdefs.h <<_ACEOF
47478 #define HAVE__FABSF 1
47479 _ACEOF
47480
47481 fi
47482 done
47483
47484 fi
47485 fi
47486
47487
47488
47489
47490
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47492 $as_echo_n "checking for fmodf declaration... " >&6; }
47493 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47494 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47495 $as_echo_n "(cached) " >&6
47496 else
47497
47498
47499 ac_ext=cpp
47500 ac_cpp='$CXXCPP $CPPFLAGS'
47501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47504
47505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47506 /* end confdefs.h. */
47507 #include <math.h>
47508 int
47509 main ()
47510 {
47511 fmodf(0, 0);
47512 ;
47513 return 0;
47514 }
47515 _ACEOF
47516 if ac_fn_cxx_try_compile "$LINENO"; then :
47517 glibcxx_cv_func_fmodf_use=yes
47518 else
47519 glibcxx_cv_func_fmodf_use=no
47520 fi
47521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47522 ac_ext=c
47523 ac_cpp='$CPP $CPPFLAGS'
47524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47527
47528
47529 fi
47530
47531 fi
47532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47533 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47534
47535 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47536 for ac_func in fmodf
47537 do :
47538 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47539 if test "x$ac_cv_func_fmodf" = x""yes; then :
47540 cat >>confdefs.h <<_ACEOF
47541 #define HAVE_FMODF 1
47542 _ACEOF
47543
47544 fi
47545 done
47546
47547 else
47548
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47550 $as_echo_n "checking for _fmodf declaration... " >&6; }
47551 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47552 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47553 $as_echo_n "(cached) " >&6
47554 else
47555
47556
47557 ac_ext=cpp
47558 ac_cpp='$CXXCPP $CPPFLAGS'
47559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47562
47563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47564 /* end confdefs.h. */
47565 #include <math.h>
47566 int
47567 main ()
47568 {
47569 _fmodf(0, 0);
47570 ;
47571 return 0;
47572 }
47573 _ACEOF
47574 if ac_fn_cxx_try_compile "$LINENO"; then :
47575 glibcxx_cv_func__fmodf_use=yes
47576 else
47577 glibcxx_cv_func__fmodf_use=no
47578 fi
47579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47580 ac_ext=c
47581 ac_cpp='$CPP $CPPFLAGS'
47582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47585
47586
47587 fi
47588
47589 fi
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47591 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47592
47593 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47594 for ac_func in _fmodf
47595 do :
47596 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47597 if test "x$ac_cv_func__fmodf" = x""yes; then :
47598 cat >>confdefs.h <<_ACEOF
47599 #define HAVE__FMODF 1
47600 _ACEOF
47601
47602 fi
47603 done
47604
47605 fi
47606 fi
47607
47608
47609
47610
47611
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47613 $as_echo_n "checking for frexpf declaration... " >&6; }
47614 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47615 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47616 $as_echo_n "(cached) " >&6
47617 else
47618
47619
47620 ac_ext=cpp
47621 ac_cpp='$CXXCPP $CPPFLAGS'
47622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47625
47626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47627 /* end confdefs.h. */
47628 #include <math.h>
47629 int
47630 main ()
47631 {
47632 frexpf(0, 0);
47633 ;
47634 return 0;
47635 }
47636 _ACEOF
47637 if ac_fn_cxx_try_compile "$LINENO"; then :
47638 glibcxx_cv_func_frexpf_use=yes
47639 else
47640 glibcxx_cv_func_frexpf_use=no
47641 fi
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47643 ac_ext=c
47644 ac_cpp='$CPP $CPPFLAGS'
47645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47648
47649
47650 fi
47651
47652 fi
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47654 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47655
47656 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47657 for ac_func in frexpf
47658 do :
47659 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47660 if test "x$ac_cv_func_frexpf" = x""yes; then :
47661 cat >>confdefs.h <<_ACEOF
47662 #define HAVE_FREXPF 1
47663 _ACEOF
47664
47665 fi
47666 done
47667
47668 else
47669
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47671 $as_echo_n "checking for _frexpf declaration... " >&6; }
47672 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47673 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47674 $as_echo_n "(cached) " >&6
47675 else
47676
47677
47678 ac_ext=cpp
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47683
47684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47685 /* end confdefs.h. */
47686 #include <math.h>
47687 int
47688 main ()
47689 {
47690 _frexpf(0, 0);
47691 ;
47692 return 0;
47693 }
47694 _ACEOF
47695 if ac_fn_cxx_try_compile "$LINENO"; then :
47696 glibcxx_cv_func__frexpf_use=yes
47697 else
47698 glibcxx_cv_func__frexpf_use=no
47699 fi
47700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47701 ac_ext=c
47702 ac_cpp='$CPP $CPPFLAGS'
47703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47706
47707
47708 fi
47709
47710 fi
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47712 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47713
47714 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47715 for ac_func in _frexpf
47716 do :
47717 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47718 if test "x$ac_cv_func__frexpf" = x""yes; then :
47719 cat >>confdefs.h <<_ACEOF
47720 #define HAVE__FREXPF 1
47721 _ACEOF
47722
47723 fi
47724 done
47725
47726 fi
47727 fi
47728
47729
47730
47731
47732
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47734 $as_echo_n "checking for hypotf declaration... " >&6; }
47735 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47736 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47737 $as_echo_n "(cached) " >&6
47738 else
47739
47740
47741 ac_ext=cpp
47742 ac_cpp='$CXXCPP $CPPFLAGS'
47743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47746
47747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47748 /* end confdefs.h. */
47749 #include <math.h>
47750 int
47751 main ()
47752 {
47753 hypotf(0, 0);
47754 ;
47755 return 0;
47756 }
47757 _ACEOF
47758 if ac_fn_cxx_try_compile "$LINENO"; then :
47759 glibcxx_cv_func_hypotf_use=yes
47760 else
47761 glibcxx_cv_func_hypotf_use=no
47762 fi
47763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47764 ac_ext=c
47765 ac_cpp='$CPP $CPPFLAGS'
47766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47769
47770
47771 fi
47772
47773 fi
47774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47775 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47776
47777 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47778 for ac_func in hypotf
47779 do :
47780 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47781 if test "x$ac_cv_func_hypotf" = x""yes; then :
47782 cat >>confdefs.h <<_ACEOF
47783 #define HAVE_HYPOTF 1
47784 _ACEOF
47785
47786 fi
47787 done
47788
47789 else
47790
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47792 $as_echo_n "checking for _hypotf declaration... " >&6; }
47793 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47794 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47795 $as_echo_n "(cached) " >&6
47796 else
47797
47798
47799 ac_ext=cpp
47800 ac_cpp='$CXXCPP $CPPFLAGS'
47801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47804
47805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47806 /* end confdefs.h. */
47807 #include <math.h>
47808 int
47809 main ()
47810 {
47811 _hypotf(0, 0);
47812 ;
47813 return 0;
47814 }
47815 _ACEOF
47816 if ac_fn_cxx_try_compile "$LINENO"; then :
47817 glibcxx_cv_func__hypotf_use=yes
47818 else
47819 glibcxx_cv_func__hypotf_use=no
47820 fi
47821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47822 ac_ext=c
47823 ac_cpp='$CPP $CPPFLAGS'
47824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47827
47828
47829 fi
47830
47831 fi
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47833 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47834
47835 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47836 for ac_func in _hypotf
47837 do :
47838 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47839 if test "x$ac_cv_func__hypotf" = x""yes; then :
47840 cat >>confdefs.h <<_ACEOF
47841 #define HAVE__HYPOTF 1
47842 _ACEOF
47843
47844 fi
47845 done
47846
47847 fi
47848 fi
47849
47850
47851
47852
47853
47854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47855 $as_echo_n "checking for ldexpf declaration... " >&6; }
47856 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47857 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47858 $as_echo_n "(cached) " >&6
47859 else
47860
47861
47862 ac_ext=cpp
47863 ac_cpp='$CXXCPP $CPPFLAGS'
47864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47867
47868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47869 /* end confdefs.h. */
47870 #include <math.h>
47871 int
47872 main ()
47873 {
47874 ldexpf(0, 0);
47875 ;
47876 return 0;
47877 }
47878 _ACEOF
47879 if ac_fn_cxx_try_compile "$LINENO"; then :
47880 glibcxx_cv_func_ldexpf_use=yes
47881 else
47882 glibcxx_cv_func_ldexpf_use=no
47883 fi
47884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47885 ac_ext=c
47886 ac_cpp='$CPP $CPPFLAGS'
47887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47890
47891
47892 fi
47893
47894 fi
47895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47896 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47897
47898 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47899 for ac_func in ldexpf
47900 do :
47901 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47902 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47903 cat >>confdefs.h <<_ACEOF
47904 #define HAVE_LDEXPF 1
47905 _ACEOF
47906
47907 fi
47908 done
47909
47910 else
47911
47912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47913 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47914 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47915 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47916 $as_echo_n "(cached) " >&6
47917 else
47918
47919
47920 ac_ext=cpp
47921 ac_cpp='$CXXCPP $CPPFLAGS'
47922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47925
47926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47927 /* end confdefs.h. */
47928 #include <math.h>
47929 int
47930 main ()
47931 {
47932 _ldexpf(0, 0);
47933 ;
47934 return 0;
47935 }
47936 _ACEOF
47937 if ac_fn_cxx_try_compile "$LINENO"; then :
47938 glibcxx_cv_func__ldexpf_use=yes
47939 else
47940 glibcxx_cv_func__ldexpf_use=no
47941 fi
47942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47943 ac_ext=c
47944 ac_cpp='$CPP $CPPFLAGS'
47945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47948
47949
47950 fi
47951
47952 fi
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47954 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47955
47956 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47957 for ac_func in _ldexpf
47958 do :
47959 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47960 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47961 cat >>confdefs.h <<_ACEOF
47962 #define HAVE__LDEXPF 1
47963 _ACEOF
47964
47965 fi
47966 done
47967
47968 fi
47969 fi
47970
47971
47972
47973
47974
47975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47976 $as_echo_n "checking for logf declaration... " >&6; }
47977 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47978 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47979 $as_echo_n "(cached) " >&6
47980 else
47981
47982
47983 ac_ext=cpp
47984 ac_cpp='$CXXCPP $CPPFLAGS'
47985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47988
47989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47990 /* end confdefs.h. */
47991 #include <math.h>
47992 #ifdef HAVE_IEEEFP_H
47993 #include <ieeefp.h>
47994 #endif
47995
47996 int
47997 main ()
47998 {
47999 logf(0);
48000 ;
48001 return 0;
48002 }
48003 _ACEOF
48004 if ac_fn_cxx_try_compile "$LINENO"; then :
48005 glibcxx_cv_func_logf_use=yes
48006 else
48007 glibcxx_cv_func_logf_use=no
48008 fi
48009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48010 ac_ext=c
48011 ac_cpp='$CPP $CPPFLAGS'
48012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48015
48016
48017 fi
48018
48019 fi
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48021 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48022
48023 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48024 for ac_func in logf
48025 do :
48026 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48027 if test "x$ac_cv_func_logf" = x""yes; then :
48028 cat >>confdefs.h <<_ACEOF
48029 #define HAVE_LOGF 1
48030 _ACEOF
48031
48032 fi
48033 done
48034
48035 else
48036
48037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48038 $as_echo_n "checking for _logf declaration... " >&6; }
48039 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48040 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48041 $as_echo_n "(cached) " >&6
48042 else
48043
48044
48045 ac_ext=cpp
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48050
48051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48052 /* end confdefs.h. */
48053 #include <math.h>
48054 #ifdef HAVE_IEEEFP_H
48055 #include <ieeefp.h>
48056 #endif
48057
48058 int
48059 main ()
48060 {
48061 _logf(0);
48062 ;
48063 return 0;
48064 }
48065 _ACEOF
48066 if ac_fn_cxx_try_compile "$LINENO"; then :
48067 glibcxx_cv_func__logf_use=yes
48068 else
48069 glibcxx_cv_func__logf_use=no
48070 fi
48071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48072 ac_ext=c
48073 ac_cpp='$CPP $CPPFLAGS'
48074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48077
48078
48079 fi
48080
48081 fi
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48083 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48084
48085 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48086 for ac_func in _logf
48087 do :
48088 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48089 if test "x$ac_cv_func__logf" = x""yes; then :
48090 cat >>confdefs.h <<_ACEOF
48091 #define HAVE__LOGF 1
48092 _ACEOF
48093
48094 fi
48095 done
48096
48097 fi
48098 fi
48099
48100
48101
48102
48103
48104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48105 $as_echo_n "checking for log10f declaration... " >&6; }
48106 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48107 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48108 $as_echo_n "(cached) " >&6
48109 else
48110
48111
48112 ac_ext=cpp
48113 ac_cpp='$CXXCPP $CPPFLAGS'
48114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48117
48118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48119 /* end confdefs.h. */
48120 #include <math.h>
48121 #ifdef HAVE_IEEEFP_H
48122 #include <ieeefp.h>
48123 #endif
48124
48125 int
48126 main ()
48127 {
48128 log10f(0);
48129 ;
48130 return 0;
48131 }
48132 _ACEOF
48133 if ac_fn_cxx_try_compile "$LINENO"; then :
48134 glibcxx_cv_func_log10f_use=yes
48135 else
48136 glibcxx_cv_func_log10f_use=no
48137 fi
48138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48139 ac_ext=c
48140 ac_cpp='$CPP $CPPFLAGS'
48141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48144
48145
48146 fi
48147
48148 fi
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48150 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48151
48152 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48153 for ac_func in log10f
48154 do :
48155 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48156 if test "x$ac_cv_func_log10f" = x""yes; then :
48157 cat >>confdefs.h <<_ACEOF
48158 #define HAVE_LOG10F 1
48159 _ACEOF
48160
48161 fi
48162 done
48163
48164 else
48165
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48167 $as_echo_n "checking for _log10f declaration... " >&6; }
48168 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48169 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48170 $as_echo_n "(cached) " >&6
48171 else
48172
48173
48174 ac_ext=cpp
48175 ac_cpp='$CXXCPP $CPPFLAGS'
48176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48179
48180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48181 /* end confdefs.h. */
48182 #include <math.h>
48183 #ifdef HAVE_IEEEFP_H
48184 #include <ieeefp.h>
48185 #endif
48186
48187 int
48188 main ()
48189 {
48190 _log10f(0);
48191 ;
48192 return 0;
48193 }
48194 _ACEOF
48195 if ac_fn_cxx_try_compile "$LINENO"; then :
48196 glibcxx_cv_func__log10f_use=yes
48197 else
48198 glibcxx_cv_func__log10f_use=no
48199 fi
48200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48201 ac_ext=c
48202 ac_cpp='$CPP $CPPFLAGS'
48203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48206
48207
48208 fi
48209
48210 fi
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48212 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48213
48214 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48215 for ac_func in _log10f
48216 do :
48217 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48218 if test "x$ac_cv_func__log10f" = x""yes; then :
48219 cat >>confdefs.h <<_ACEOF
48220 #define HAVE__LOG10F 1
48221 _ACEOF
48222
48223 fi
48224 done
48225
48226 fi
48227 fi
48228
48229
48230
48231
48232
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48234 $as_echo_n "checking for modff declaration... " >&6; }
48235 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48236 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48237 $as_echo_n "(cached) " >&6
48238 else
48239
48240
48241 ac_ext=cpp
48242 ac_cpp='$CXXCPP $CPPFLAGS'
48243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48246
48247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48248 /* end confdefs.h. */
48249 #include <math.h>
48250 int
48251 main ()
48252 {
48253 modff(0, 0);
48254 ;
48255 return 0;
48256 }
48257 _ACEOF
48258 if ac_fn_cxx_try_compile "$LINENO"; then :
48259 glibcxx_cv_func_modff_use=yes
48260 else
48261 glibcxx_cv_func_modff_use=no
48262 fi
48263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48264 ac_ext=c
48265 ac_cpp='$CPP $CPPFLAGS'
48266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48269
48270
48271 fi
48272
48273 fi
48274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48275 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48276
48277 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48278 for ac_func in modff
48279 do :
48280 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48281 if test "x$ac_cv_func_modff" = x""yes; then :
48282 cat >>confdefs.h <<_ACEOF
48283 #define HAVE_MODFF 1
48284 _ACEOF
48285
48286 fi
48287 done
48288
48289 else
48290
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48292 $as_echo_n "checking for _modff declaration... " >&6; }
48293 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48294 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48295 $as_echo_n "(cached) " >&6
48296 else
48297
48298
48299 ac_ext=cpp
48300 ac_cpp='$CXXCPP $CPPFLAGS'
48301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48304
48305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48306 /* end confdefs.h. */
48307 #include <math.h>
48308 int
48309 main ()
48310 {
48311 _modff(0, 0);
48312 ;
48313 return 0;
48314 }
48315 _ACEOF
48316 if ac_fn_cxx_try_compile "$LINENO"; then :
48317 glibcxx_cv_func__modff_use=yes
48318 else
48319 glibcxx_cv_func__modff_use=no
48320 fi
48321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48322 ac_ext=c
48323 ac_cpp='$CPP $CPPFLAGS'
48324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48327
48328
48329 fi
48330
48331 fi
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48333 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48334
48335 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48336 for ac_func in _modff
48337 do :
48338 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48339 if test "x$ac_cv_func__modff" = x""yes; then :
48340 cat >>confdefs.h <<_ACEOF
48341 #define HAVE__MODFF 1
48342 _ACEOF
48343
48344 fi
48345 done
48346
48347 fi
48348 fi
48349
48350
48351
48352
48353
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48355 $as_echo_n "checking for modf declaration... " >&6; }
48356 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48357 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48358 $as_echo_n "(cached) " >&6
48359 else
48360
48361
48362 ac_ext=cpp
48363 ac_cpp='$CXXCPP $CPPFLAGS'
48364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48367
48368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48369 /* end confdefs.h. */
48370 #include <math.h>
48371 int
48372 main ()
48373 {
48374 modf(0, 0);
48375 ;
48376 return 0;
48377 }
48378 _ACEOF
48379 if ac_fn_cxx_try_compile "$LINENO"; then :
48380 glibcxx_cv_func_modf_use=yes
48381 else
48382 glibcxx_cv_func_modf_use=no
48383 fi
48384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48385 ac_ext=c
48386 ac_cpp='$CPP $CPPFLAGS'
48387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48390
48391
48392 fi
48393
48394 fi
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48396 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48397
48398 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48399 for ac_func in modf
48400 do :
48401 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48402 if test "x$ac_cv_func_modf" = x""yes; then :
48403 cat >>confdefs.h <<_ACEOF
48404 #define HAVE_MODF 1
48405 _ACEOF
48406
48407 fi
48408 done
48409
48410 else
48411
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48413 $as_echo_n "checking for _modf declaration... " >&6; }
48414 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48415 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48416 $as_echo_n "(cached) " >&6
48417 else
48418
48419
48420 ac_ext=cpp
48421 ac_cpp='$CXXCPP $CPPFLAGS'
48422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48425
48426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48427 /* end confdefs.h. */
48428 #include <math.h>
48429 int
48430 main ()
48431 {
48432 _modf(0, 0);
48433 ;
48434 return 0;
48435 }
48436 _ACEOF
48437 if ac_fn_cxx_try_compile "$LINENO"; then :
48438 glibcxx_cv_func__modf_use=yes
48439 else
48440 glibcxx_cv_func__modf_use=no
48441 fi
48442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48443 ac_ext=c
48444 ac_cpp='$CPP $CPPFLAGS'
48445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48448
48449
48450 fi
48451
48452 fi
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48454 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48455
48456 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48457 for ac_func in _modf
48458 do :
48459 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48460 if test "x$ac_cv_func__modf" = x""yes; then :
48461 cat >>confdefs.h <<_ACEOF
48462 #define HAVE__MODF 1
48463 _ACEOF
48464
48465 fi
48466 done
48467
48468 fi
48469 fi
48470
48471
48472
48473
48474
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48476 $as_echo_n "checking for powf declaration... " >&6; }
48477 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48478 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48479 $as_echo_n "(cached) " >&6
48480 else
48481
48482
48483 ac_ext=cpp
48484 ac_cpp='$CXXCPP $CPPFLAGS'
48485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48488
48489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48490 /* end confdefs.h. */
48491 #include <math.h>
48492 int
48493 main ()
48494 {
48495 powf(0, 0);
48496 ;
48497 return 0;
48498 }
48499 _ACEOF
48500 if ac_fn_cxx_try_compile "$LINENO"; then :
48501 glibcxx_cv_func_powf_use=yes
48502 else
48503 glibcxx_cv_func_powf_use=no
48504 fi
48505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48506 ac_ext=c
48507 ac_cpp='$CPP $CPPFLAGS'
48508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48511
48512
48513 fi
48514
48515 fi
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48517 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48518
48519 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48520 for ac_func in powf
48521 do :
48522 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48523 if test "x$ac_cv_func_powf" = x""yes; then :
48524 cat >>confdefs.h <<_ACEOF
48525 #define HAVE_POWF 1
48526 _ACEOF
48527
48528 fi
48529 done
48530
48531 else
48532
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48534 $as_echo_n "checking for _powf declaration... " >&6; }
48535 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48536 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48537 $as_echo_n "(cached) " >&6
48538 else
48539
48540
48541 ac_ext=cpp
48542 ac_cpp='$CXXCPP $CPPFLAGS'
48543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48546
48547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48548 /* end confdefs.h. */
48549 #include <math.h>
48550 int
48551 main ()
48552 {
48553 _powf(0, 0);
48554 ;
48555 return 0;
48556 }
48557 _ACEOF
48558 if ac_fn_cxx_try_compile "$LINENO"; then :
48559 glibcxx_cv_func__powf_use=yes
48560 else
48561 glibcxx_cv_func__powf_use=no
48562 fi
48563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48564 ac_ext=c
48565 ac_cpp='$CPP $CPPFLAGS'
48566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569
48570
48571 fi
48572
48573 fi
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48575 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48576
48577 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48578 for ac_func in _powf
48579 do :
48580 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48581 if test "x$ac_cv_func__powf" = x""yes; then :
48582 cat >>confdefs.h <<_ACEOF
48583 #define HAVE__POWF 1
48584 _ACEOF
48585
48586 fi
48587 done
48588
48589 fi
48590 fi
48591
48592
48593
48594
48595
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48597 $as_echo_n "checking for sqrtf declaration... " >&6; }
48598 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48599 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48600 $as_echo_n "(cached) " >&6
48601 else
48602
48603
48604 ac_ext=cpp
48605 ac_cpp='$CXXCPP $CPPFLAGS'
48606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48609
48610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48611 /* end confdefs.h. */
48612 #include <math.h>
48613 #ifdef HAVE_IEEEFP_H
48614 #include <ieeefp.h>
48615 #endif
48616
48617 int
48618 main ()
48619 {
48620 sqrtf(0);
48621 ;
48622 return 0;
48623 }
48624 _ACEOF
48625 if ac_fn_cxx_try_compile "$LINENO"; then :
48626 glibcxx_cv_func_sqrtf_use=yes
48627 else
48628 glibcxx_cv_func_sqrtf_use=no
48629 fi
48630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48631 ac_ext=c
48632 ac_cpp='$CPP $CPPFLAGS'
48633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48636
48637
48638 fi
48639
48640 fi
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48642 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48643
48644 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48645 for ac_func in sqrtf
48646 do :
48647 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48648 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48649 cat >>confdefs.h <<_ACEOF
48650 #define HAVE_SQRTF 1
48651 _ACEOF
48652
48653 fi
48654 done
48655
48656 else
48657
48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48659 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48660 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48661 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48662 $as_echo_n "(cached) " >&6
48663 else
48664
48665
48666 ac_ext=cpp
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48671
48672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48673 /* end confdefs.h. */
48674 #include <math.h>
48675 #ifdef HAVE_IEEEFP_H
48676 #include <ieeefp.h>
48677 #endif
48678
48679 int
48680 main ()
48681 {
48682 _sqrtf(0);
48683 ;
48684 return 0;
48685 }
48686 _ACEOF
48687 if ac_fn_cxx_try_compile "$LINENO"; then :
48688 glibcxx_cv_func__sqrtf_use=yes
48689 else
48690 glibcxx_cv_func__sqrtf_use=no
48691 fi
48692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48693 ac_ext=c
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48698
48699
48700 fi
48701
48702 fi
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48704 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48705
48706 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48707 for ac_func in _sqrtf
48708 do :
48709 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48710 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48711 cat >>confdefs.h <<_ACEOF
48712 #define HAVE__SQRTF 1
48713 _ACEOF
48714
48715 fi
48716 done
48717
48718 fi
48719 fi
48720
48721
48722
48723
48724
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48726 $as_echo_n "checking for sincosf declaration... " >&6; }
48727 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48728 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48729 $as_echo_n "(cached) " >&6
48730 else
48731
48732
48733 ac_ext=cpp
48734 ac_cpp='$CXXCPP $CPPFLAGS'
48735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48738
48739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48740 /* end confdefs.h. */
48741 #include <math.h>
48742 int
48743 main ()
48744 {
48745 sincosf(0, 0, 0);
48746 ;
48747 return 0;
48748 }
48749 _ACEOF
48750 if ac_fn_cxx_try_compile "$LINENO"; then :
48751 glibcxx_cv_func_sincosf_use=yes
48752 else
48753 glibcxx_cv_func_sincosf_use=no
48754 fi
48755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48756 ac_ext=c
48757 ac_cpp='$CPP $CPPFLAGS'
48758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48761
48762
48763 fi
48764
48765 fi
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48767 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48768
48769 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48770 for ac_func in sincosf
48771 do :
48772 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48773 if test "x$ac_cv_func_sincosf" = x""yes; then :
48774 cat >>confdefs.h <<_ACEOF
48775 #define HAVE_SINCOSF 1
48776 _ACEOF
48777
48778 fi
48779 done
48780
48781 else
48782
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48784 $as_echo_n "checking for _sincosf declaration... " >&6; }
48785 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48786 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48787 $as_echo_n "(cached) " >&6
48788 else
48789
48790
48791 ac_ext=cpp
48792 ac_cpp='$CXXCPP $CPPFLAGS'
48793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48796
48797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48798 /* end confdefs.h. */
48799 #include <math.h>
48800 int
48801 main ()
48802 {
48803 _sincosf(0, 0, 0);
48804 ;
48805 return 0;
48806 }
48807 _ACEOF
48808 if ac_fn_cxx_try_compile "$LINENO"; then :
48809 glibcxx_cv_func__sincosf_use=yes
48810 else
48811 glibcxx_cv_func__sincosf_use=no
48812 fi
48813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48814 ac_ext=c
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48819
48820
48821 fi
48822
48823 fi
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48825 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48826
48827 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48828 for ac_func in _sincosf
48829 do :
48830 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48831 if test "x$ac_cv_func__sincosf" = x""yes; then :
48832 cat >>confdefs.h <<_ACEOF
48833 #define HAVE__SINCOSF 1
48834 _ACEOF
48835
48836 fi
48837 done
48838
48839 fi
48840 fi
48841
48842
48843
48844
48845
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48847 $as_echo_n "checking for finitef declaration... " >&6; }
48848 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48849 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48850 $as_echo_n "(cached) " >&6
48851 else
48852
48853
48854 ac_ext=cpp
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48859
48860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861 /* end confdefs.h. */
48862 #include <math.h>
48863 #ifdef HAVE_IEEEFP_H
48864 #include <ieeefp.h>
48865 #endif
48866
48867 int
48868 main ()
48869 {
48870 finitef(0);
48871 ;
48872 return 0;
48873 }
48874 _ACEOF
48875 if ac_fn_cxx_try_compile "$LINENO"; then :
48876 glibcxx_cv_func_finitef_use=yes
48877 else
48878 glibcxx_cv_func_finitef_use=no
48879 fi
48880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48881 ac_ext=c
48882 ac_cpp='$CPP $CPPFLAGS'
48883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48886
48887
48888 fi
48889
48890 fi
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48892 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48893
48894 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48895 for ac_func in finitef
48896 do :
48897 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48898 if test "x$ac_cv_func_finitef" = x""yes; then :
48899 cat >>confdefs.h <<_ACEOF
48900 #define HAVE_FINITEF 1
48901 _ACEOF
48902
48903 fi
48904 done
48905
48906 else
48907
48908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48909 $as_echo_n "checking for _finitef declaration... " >&6; }
48910 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48911 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48912 $as_echo_n "(cached) " >&6
48913 else
48914
48915
48916 ac_ext=cpp
48917 ac_cpp='$CXXCPP $CPPFLAGS'
48918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48921
48922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48923 /* end confdefs.h. */
48924 #include <math.h>
48925 #ifdef HAVE_IEEEFP_H
48926 #include <ieeefp.h>
48927 #endif
48928
48929 int
48930 main ()
48931 {
48932 _finitef(0);
48933 ;
48934 return 0;
48935 }
48936 _ACEOF
48937 if ac_fn_cxx_try_compile "$LINENO"; then :
48938 glibcxx_cv_func__finitef_use=yes
48939 else
48940 glibcxx_cv_func__finitef_use=no
48941 fi
48942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48943 ac_ext=c
48944 ac_cpp='$CPP $CPPFLAGS'
48945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48948
48949
48950 fi
48951
48952 fi
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48954 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48955
48956 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48957 for ac_func in _finitef
48958 do :
48959 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48960 if test "x$ac_cv_func__finitef" = x""yes; then :
48961 cat >>confdefs.h <<_ACEOF
48962 #define HAVE__FINITEF 1
48963 _ACEOF
48964
48965 fi
48966 done
48967
48968 fi
48969 fi
48970
48971
48972
48973
48974
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48976 $as_echo_n "checking for long double trig functions... " >&6; }
48977 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48978 $as_echo_n "(cached) " >&6
48979 else
48980
48981
48982 ac_ext=cpp
48983 ac_cpp='$CXXCPP $CPPFLAGS'
48984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48987
48988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48989 /* end confdefs.h. */
48990 #include <math.h>
48991 int
48992 main ()
48993 {
48994 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48995 ;
48996 return 0;
48997 }
48998 _ACEOF
48999 if ac_fn_cxx_try_compile "$LINENO"; then :
49000 glibcxx_cv_func_long_double_trig_use=yes
49001 else
49002 glibcxx_cv_func_long_double_trig_use=no
49003 fi
49004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49005 ac_ext=c
49006 ac_cpp='$CPP $CPPFLAGS'
49007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49010
49011 fi
49012
49013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49014 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49015 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49016 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49017 do :
49018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49020 eval as_val=\$$as_ac_var
49021 if test "x$as_val" = x""yes; then :
49022 cat >>confdefs.h <<_ACEOF
49023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49024 _ACEOF
49025
49026 fi
49027 done
49028
49029 else
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49031 $as_echo_n "checking for _long double trig functions... " >&6; }
49032 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49033 $as_echo_n "(cached) " >&6
49034 else
49035
49036
49037 ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49042
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49045 #include <math.h>
49046 int
49047 main ()
49048 {
49049 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49050 ;
49051 return 0;
49052 }
49053 _ACEOF
49054 if ac_fn_cxx_try_compile "$LINENO"; then :
49055 glibcxx_cv_func__long_double_trig_use=yes
49056 else
49057 glibcxx_cv_func__long_double_trig_use=no
49058 fi
49059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49060 ac_ext=c
49061 ac_cpp='$CPP $CPPFLAGS'
49062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49065
49066 fi
49067
49068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49069 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49070 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49071 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49072 do :
49073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49075 eval as_val=\$$as_ac_var
49076 if test "x$as_val" = x""yes; then :
49077 cat >>confdefs.h <<_ACEOF
49078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49079 _ACEOF
49080
49081 fi
49082 done
49083
49084 fi
49085 fi
49086
49087
49088
49089
49090
49091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49092 $as_echo_n "checking for long double round functions... " >&6; }
49093 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49094 $as_echo_n "(cached) " >&6
49095 else
49096
49097
49098 ac_ext=cpp
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49103
49104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49105 /* end confdefs.h. */
49106 #include <math.h>
49107 int
49108 main ()
49109 {
49110 ceill (0); floorl (0);
49111 ;
49112 return 0;
49113 }
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func_long_double_round_use=yes
49117 else
49118 glibcxx_cv_func_long_double_round_use=no
49119 fi
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121 ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49126
49127 fi
49128
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49130 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49131 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49132 for ac_func in ceill floorl
49133 do :
49134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49136 eval as_val=\$$as_ac_var
49137 if test "x$as_val" = x""yes; then :
49138 cat >>confdefs.h <<_ACEOF
49139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49140 _ACEOF
49141
49142 fi
49143 done
49144
49145 else
49146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49147 $as_echo_n "checking for _long double round functions... " >&6; }
49148 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49149 $as_echo_n "(cached) " >&6
49150 else
49151
49152
49153 ac_ext=cpp
49154 ac_cpp='$CXXCPP $CPPFLAGS'
49155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49158
49159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49160 /* end confdefs.h. */
49161 #include <math.h>
49162 int
49163 main ()
49164 {
49165 _ceill (0); _floorl (0);
49166 ;
49167 return 0;
49168 }
49169 _ACEOF
49170 if ac_fn_cxx_try_compile "$LINENO"; then :
49171 glibcxx_cv_func__long_double_round_use=yes
49172 else
49173 glibcxx_cv_func__long_double_round_use=no
49174 fi
49175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49176 ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49181
49182 fi
49183
49184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49185 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49186 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49187 for ac_func in _ceill _floorl
49188 do :
49189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49191 eval as_val=\$$as_ac_var
49192 if test "x$as_val" = x""yes; then :
49193 cat >>confdefs.h <<_ACEOF
49194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49195 _ACEOF
49196
49197 fi
49198 done
49199
49200 fi
49201 fi
49202
49203
49204
49205
49206
49207
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49209 $as_echo_n "checking for isnanl declaration... " >&6; }
49210 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49211 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49214
49215
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49225 #ifdef HAVE_IEEEFP_H
49226 #include <ieeefp.h>
49227 #endif
49228
49229 int
49230 main ()
49231 {
49232 isnanl(0);
49233 ;
49234 return 0;
49235 }
49236 _ACEOF
49237 if ac_fn_cxx_try_compile "$LINENO"; then :
49238 glibcxx_cv_func_isnanl_use=yes
49239 else
49240 glibcxx_cv_func_isnanl_use=no
49241 fi
49242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49243 ac_ext=c
49244 ac_cpp='$CPP $CPPFLAGS'
49245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248
49249
49250 fi
49251
49252 fi
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49254 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49255
49256 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49257 for ac_func in isnanl
49258 do :
49259 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49260 if test "x$ac_cv_func_isnanl" = x""yes; then :
49261 cat >>confdefs.h <<_ACEOF
49262 #define HAVE_ISNANL 1
49263 _ACEOF
49264
49265 fi
49266 done
49267
49268 else
49269
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49271 $as_echo_n "checking for _isnanl declaration... " >&6; }
49272 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49273 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49275 else
49276
49277
49278 ac_ext=cpp
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49283
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49286 #include <math.h>
49287 #ifdef HAVE_IEEEFP_H
49288 #include <ieeefp.h>
49289 #endif
49290
49291 int
49292 main ()
49293 {
49294 _isnanl(0);
49295 ;
49296 return 0;
49297 }
49298 _ACEOF
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__isnanl_use=yes
49301 else
49302 glibcxx_cv_func__isnanl_use=no
49303 fi
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310
49311
49312 fi
49313
49314 fi
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49316 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49317
49318 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49319 for ac_func in _isnanl
49320 do :
49321 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49322 if test "x$ac_cv_func__isnanl" = x""yes; then :
49323 cat >>confdefs.h <<_ACEOF
49324 #define HAVE__ISNANL 1
49325 _ACEOF
49326
49327 fi
49328 done
49329
49330 fi
49331 fi
49332
49333
49334
49335
49336
49337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49338 $as_echo_n "checking for isinfl declaration... " >&6; }
49339 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49340 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49341 $as_echo_n "(cached) " >&6
49342 else
49343
49344
49345 ac_ext=cpp
49346 ac_cpp='$CXXCPP $CPPFLAGS'
49347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49350
49351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49352 /* end confdefs.h. */
49353 #include <math.h>
49354 #ifdef HAVE_IEEEFP_H
49355 #include <ieeefp.h>
49356 #endif
49357
49358 int
49359 main ()
49360 {
49361 isinfl(0);
49362 ;
49363 return 0;
49364 }
49365 _ACEOF
49366 if ac_fn_cxx_try_compile "$LINENO"; then :
49367 glibcxx_cv_func_isinfl_use=yes
49368 else
49369 glibcxx_cv_func_isinfl_use=no
49370 fi
49371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49372 ac_ext=c
49373 ac_cpp='$CPP $CPPFLAGS'
49374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49377
49378
49379 fi
49380
49381 fi
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49383 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49384
49385 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49386 for ac_func in isinfl
49387 do :
49388 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49389 if test "x$ac_cv_func_isinfl" = x""yes; then :
49390 cat >>confdefs.h <<_ACEOF
49391 #define HAVE_ISINFL 1
49392 _ACEOF
49393
49394 fi
49395 done
49396
49397 else
49398
49399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49400 $as_echo_n "checking for _isinfl declaration... " >&6; }
49401 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49402 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49403 $as_echo_n "(cached) " >&6
49404 else
49405
49406
49407 ac_ext=cpp
49408 ac_cpp='$CXXCPP $CPPFLAGS'
49409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412
49413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49414 /* end confdefs.h. */
49415 #include <math.h>
49416 #ifdef HAVE_IEEEFP_H
49417 #include <ieeefp.h>
49418 #endif
49419
49420 int
49421 main ()
49422 {
49423 _isinfl(0);
49424 ;
49425 return 0;
49426 }
49427 _ACEOF
49428 if ac_fn_cxx_try_compile "$LINENO"; then :
49429 glibcxx_cv_func__isinfl_use=yes
49430 else
49431 glibcxx_cv_func__isinfl_use=no
49432 fi
49433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49434 ac_ext=c
49435 ac_cpp='$CPP $CPPFLAGS'
49436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49439
49440
49441 fi
49442
49443 fi
49444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49445 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49446
49447 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49448 for ac_func in _isinfl
49449 do :
49450 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49451 if test "x$ac_cv_func__isinfl" = x""yes; then :
49452 cat >>confdefs.h <<_ACEOF
49453 #define HAVE__ISINFL 1
49454 _ACEOF
49455
49456 fi
49457 done
49458
49459 fi
49460 fi
49461
49462
49463
49464
49465
49466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49467 $as_echo_n "checking for atan2l declaration... " >&6; }
49468 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49469 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49470 $as_echo_n "(cached) " >&6
49471 else
49472
49473
49474 ac_ext=cpp
49475 ac_cpp='$CXXCPP $CPPFLAGS'
49476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49479
49480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49481 /* end confdefs.h. */
49482 #include <math.h>
49483 int
49484 main ()
49485 {
49486 atan2l(0, 0);
49487 ;
49488 return 0;
49489 }
49490 _ACEOF
49491 if ac_fn_cxx_try_compile "$LINENO"; then :
49492 glibcxx_cv_func_atan2l_use=yes
49493 else
49494 glibcxx_cv_func_atan2l_use=no
49495 fi
49496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49497 ac_ext=c
49498 ac_cpp='$CPP $CPPFLAGS'
49499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49502
49503
49504 fi
49505
49506 fi
49507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49508 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49509
49510 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49511 for ac_func in atan2l
49512 do :
49513 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49514 if test "x$ac_cv_func_atan2l" = x""yes; then :
49515 cat >>confdefs.h <<_ACEOF
49516 #define HAVE_ATAN2L 1
49517 _ACEOF
49518
49519 fi
49520 done
49521
49522 else
49523
49524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49525 $as_echo_n "checking for _atan2l declaration... " >&6; }
49526 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49527 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49528 $as_echo_n "(cached) " >&6
49529 else
49530
49531
49532 ac_ext=cpp
49533 ac_cpp='$CXXCPP $CPPFLAGS'
49534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49537
49538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49539 /* end confdefs.h. */
49540 #include <math.h>
49541 int
49542 main ()
49543 {
49544 _atan2l(0, 0);
49545 ;
49546 return 0;
49547 }
49548 _ACEOF
49549 if ac_fn_cxx_try_compile "$LINENO"; then :
49550 glibcxx_cv_func__atan2l_use=yes
49551 else
49552 glibcxx_cv_func__atan2l_use=no
49553 fi
49554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49555 ac_ext=c
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49560
49561
49562 fi
49563
49564 fi
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49566 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49567
49568 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49569 for ac_func in _atan2l
49570 do :
49571 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49572 if test "x$ac_cv_func__atan2l" = x""yes; then :
49573 cat >>confdefs.h <<_ACEOF
49574 #define HAVE__ATAN2L 1
49575 _ACEOF
49576
49577 fi
49578 done
49579
49580 fi
49581 fi
49582
49583
49584
49585
49586
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49588 $as_echo_n "checking for expl declaration... " >&6; }
49589 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49590 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49591 $as_echo_n "(cached) " >&6
49592 else
49593
49594
49595 ac_ext=cpp
49596 ac_cpp='$CXXCPP $CPPFLAGS'
49597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49600
49601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49602 /* end confdefs.h. */
49603 #include <math.h>
49604 #ifdef HAVE_IEEEFP_H
49605 #include <ieeefp.h>
49606 #endif
49607
49608 int
49609 main ()
49610 {
49611 expl(0);
49612 ;
49613 return 0;
49614 }
49615 _ACEOF
49616 if ac_fn_cxx_try_compile "$LINENO"; then :
49617 glibcxx_cv_func_expl_use=yes
49618 else
49619 glibcxx_cv_func_expl_use=no
49620 fi
49621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49622 ac_ext=c
49623 ac_cpp='$CPP $CPPFLAGS'
49624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49627
49628
49629 fi
49630
49631 fi
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49633 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49634
49635 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49636 for ac_func in expl
49637 do :
49638 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49639 if test "x$ac_cv_func_expl" = x""yes; then :
49640 cat >>confdefs.h <<_ACEOF
49641 #define HAVE_EXPL 1
49642 _ACEOF
49643
49644 fi
49645 done
49646
49647 else
49648
49649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49650 $as_echo_n "checking for _expl declaration... " >&6; }
49651 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49652 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49653 $as_echo_n "(cached) " >&6
49654 else
49655
49656
49657 ac_ext=cpp
49658 ac_cpp='$CXXCPP $CPPFLAGS'
49659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49662
49663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49664 /* end confdefs.h. */
49665 #include <math.h>
49666 #ifdef HAVE_IEEEFP_H
49667 #include <ieeefp.h>
49668 #endif
49669
49670 int
49671 main ()
49672 {
49673 _expl(0);
49674 ;
49675 return 0;
49676 }
49677 _ACEOF
49678 if ac_fn_cxx_try_compile "$LINENO"; then :
49679 glibcxx_cv_func__expl_use=yes
49680 else
49681 glibcxx_cv_func__expl_use=no
49682 fi
49683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49684 ac_ext=c
49685 ac_cpp='$CPP $CPPFLAGS'
49686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49689
49690
49691 fi
49692
49693 fi
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49695 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49696
49697 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49698 for ac_func in _expl
49699 do :
49700 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49701 if test "x$ac_cv_func__expl" = x""yes; then :
49702 cat >>confdefs.h <<_ACEOF
49703 #define HAVE__EXPL 1
49704 _ACEOF
49705
49706 fi
49707 done
49708
49709 fi
49710 fi
49711
49712
49713
49714
49715
49716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49717 $as_echo_n "checking for fabsl declaration... " >&6; }
49718 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49719 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49720 $as_echo_n "(cached) " >&6
49721 else
49722
49723
49724 ac_ext=cpp
49725 ac_cpp='$CXXCPP $CPPFLAGS'
49726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49729
49730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49731 /* end confdefs.h. */
49732 #include <math.h>
49733 #ifdef HAVE_IEEEFP_H
49734 #include <ieeefp.h>
49735 #endif
49736
49737 int
49738 main ()
49739 {
49740 fabsl(0);
49741 ;
49742 return 0;
49743 }
49744 _ACEOF
49745 if ac_fn_cxx_try_compile "$LINENO"; then :
49746 glibcxx_cv_func_fabsl_use=yes
49747 else
49748 glibcxx_cv_func_fabsl_use=no
49749 fi
49750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49751 ac_ext=c
49752 ac_cpp='$CPP $CPPFLAGS'
49753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49756
49757
49758 fi
49759
49760 fi
49761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49762 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49763
49764 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49765 for ac_func in fabsl
49766 do :
49767 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49768 if test "x$ac_cv_func_fabsl" = x""yes; then :
49769 cat >>confdefs.h <<_ACEOF
49770 #define HAVE_FABSL 1
49771 _ACEOF
49772
49773 fi
49774 done
49775
49776 else
49777
49778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49779 $as_echo_n "checking for _fabsl declaration... " >&6; }
49780 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49781 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49782 $as_echo_n "(cached) " >&6
49783 else
49784
49785
49786 ac_ext=cpp
49787 ac_cpp='$CXXCPP $CPPFLAGS'
49788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791
49792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49793 /* end confdefs.h. */
49794 #include <math.h>
49795 #ifdef HAVE_IEEEFP_H
49796 #include <ieeefp.h>
49797 #endif
49798
49799 int
49800 main ()
49801 {
49802 _fabsl(0);
49803 ;
49804 return 0;
49805 }
49806 _ACEOF
49807 if ac_fn_cxx_try_compile "$LINENO"; then :
49808 glibcxx_cv_func__fabsl_use=yes
49809 else
49810 glibcxx_cv_func__fabsl_use=no
49811 fi
49812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49813 ac_ext=c
49814 ac_cpp='$CPP $CPPFLAGS'
49815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49818
49819
49820 fi
49821
49822 fi
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49824 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49825
49826 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49827 for ac_func in _fabsl
49828 do :
49829 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49830 if test "x$ac_cv_func__fabsl" = x""yes; then :
49831 cat >>confdefs.h <<_ACEOF
49832 #define HAVE__FABSL 1
49833 _ACEOF
49834
49835 fi
49836 done
49837
49838 fi
49839 fi
49840
49841
49842
49843
49844
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49846 $as_echo_n "checking for fmodl declaration... " >&6; }
49847 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49848 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49849 $as_echo_n "(cached) " >&6
49850 else
49851
49852
49853 ac_ext=cpp
49854 ac_cpp='$CXXCPP $CPPFLAGS'
49855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49858
49859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49860 /* end confdefs.h. */
49861 #include <math.h>
49862 int
49863 main ()
49864 {
49865 fmodl(0, 0);
49866 ;
49867 return 0;
49868 }
49869 _ACEOF
49870 if ac_fn_cxx_try_compile "$LINENO"; then :
49871 glibcxx_cv_func_fmodl_use=yes
49872 else
49873 glibcxx_cv_func_fmodl_use=no
49874 fi
49875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49876 ac_ext=c
49877 ac_cpp='$CPP $CPPFLAGS'
49878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49881
49882
49883 fi
49884
49885 fi
49886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49887 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49888
49889 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49890 for ac_func in fmodl
49891 do :
49892 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49893 if test "x$ac_cv_func_fmodl" = x""yes; then :
49894 cat >>confdefs.h <<_ACEOF
49895 #define HAVE_FMODL 1
49896 _ACEOF
49897
49898 fi
49899 done
49900
49901 else
49902
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49904 $as_echo_n "checking for _fmodl declaration... " >&6; }
49905 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49906 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49907 $as_echo_n "(cached) " >&6
49908 else
49909
49910
49911 ac_ext=cpp
49912 ac_cpp='$CXXCPP $CPPFLAGS'
49913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916
49917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49918 /* end confdefs.h. */
49919 #include <math.h>
49920 int
49921 main ()
49922 {
49923 _fmodl(0, 0);
49924 ;
49925 return 0;
49926 }
49927 _ACEOF
49928 if ac_fn_cxx_try_compile "$LINENO"; then :
49929 glibcxx_cv_func__fmodl_use=yes
49930 else
49931 glibcxx_cv_func__fmodl_use=no
49932 fi
49933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49934 ac_ext=c
49935 ac_cpp='$CPP $CPPFLAGS'
49936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49939
49940
49941 fi
49942
49943 fi
49944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49945 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49946
49947 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49948 for ac_func in _fmodl
49949 do :
49950 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49951 if test "x$ac_cv_func__fmodl" = x""yes; then :
49952 cat >>confdefs.h <<_ACEOF
49953 #define HAVE__FMODL 1
49954 _ACEOF
49955
49956 fi
49957 done
49958
49959 fi
49960 fi
49961
49962
49963
49964
49965
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49967 $as_echo_n "checking for frexpl declaration... " >&6; }
49968 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49969 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49970 $as_echo_n "(cached) " >&6
49971 else
49972
49973
49974 ac_ext=cpp
49975 ac_cpp='$CXXCPP $CPPFLAGS'
49976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49979
49980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49981 /* end confdefs.h. */
49982 #include <math.h>
49983 int
49984 main ()
49985 {
49986 frexpl(0, 0);
49987 ;
49988 return 0;
49989 }
49990 _ACEOF
49991 if ac_fn_cxx_try_compile "$LINENO"; then :
49992 glibcxx_cv_func_frexpl_use=yes
49993 else
49994 glibcxx_cv_func_frexpl_use=no
49995 fi
49996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49997 ac_ext=c
49998 ac_cpp='$CPP $CPPFLAGS'
49999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50002
50003
50004 fi
50005
50006 fi
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50008 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50009
50010 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50011 for ac_func in frexpl
50012 do :
50013 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50014 if test "x$ac_cv_func_frexpl" = x""yes; then :
50015 cat >>confdefs.h <<_ACEOF
50016 #define HAVE_FREXPL 1
50017 _ACEOF
50018
50019 fi
50020 done
50021
50022 else
50023
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50025 $as_echo_n "checking for _frexpl declaration... " >&6; }
50026 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50027 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50028 $as_echo_n "(cached) " >&6
50029 else
50030
50031
50032 ac_ext=cpp
50033 ac_cpp='$CXXCPP $CPPFLAGS'
50034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50037
50038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50039 /* end confdefs.h. */
50040 #include <math.h>
50041 int
50042 main ()
50043 {
50044 _frexpl(0, 0);
50045 ;
50046 return 0;
50047 }
50048 _ACEOF
50049 if ac_fn_cxx_try_compile "$LINENO"; then :
50050 glibcxx_cv_func__frexpl_use=yes
50051 else
50052 glibcxx_cv_func__frexpl_use=no
50053 fi
50054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50055 ac_ext=c
50056 ac_cpp='$CPP $CPPFLAGS'
50057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50060
50061
50062 fi
50063
50064 fi
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50066 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50067
50068 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50069 for ac_func in _frexpl
50070 do :
50071 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50072 if test "x$ac_cv_func__frexpl" = x""yes; then :
50073 cat >>confdefs.h <<_ACEOF
50074 #define HAVE__FREXPL 1
50075 _ACEOF
50076
50077 fi
50078 done
50079
50080 fi
50081 fi
50082
50083
50084
50085
50086
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50088 $as_echo_n "checking for hypotl declaration... " >&6; }
50089 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50090 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50091 $as_echo_n "(cached) " >&6
50092 else
50093
50094
50095 ac_ext=cpp
50096 ac_cpp='$CXXCPP $CPPFLAGS'
50097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50100
50101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50102 /* end confdefs.h. */
50103 #include <math.h>
50104 int
50105 main ()
50106 {
50107 hypotl(0, 0);
50108 ;
50109 return 0;
50110 }
50111 _ACEOF
50112 if ac_fn_cxx_try_compile "$LINENO"; then :
50113 glibcxx_cv_func_hypotl_use=yes
50114 else
50115 glibcxx_cv_func_hypotl_use=no
50116 fi
50117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50118 ac_ext=c
50119 ac_cpp='$CPP $CPPFLAGS'
50120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50123
50124
50125 fi
50126
50127 fi
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50129 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50130
50131 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50132 for ac_func in hypotl
50133 do :
50134 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50135 if test "x$ac_cv_func_hypotl" = x""yes; then :
50136 cat >>confdefs.h <<_ACEOF
50137 #define HAVE_HYPOTL 1
50138 _ACEOF
50139
50140 fi
50141 done
50142
50143 else
50144
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50146 $as_echo_n "checking for _hypotl declaration... " >&6; }
50147 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50148 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50149 $as_echo_n "(cached) " >&6
50150 else
50151
50152
50153 ac_ext=cpp
50154 ac_cpp='$CXXCPP $CPPFLAGS'
50155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50158
50159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50160 /* end confdefs.h. */
50161 #include <math.h>
50162 int
50163 main ()
50164 {
50165 _hypotl(0, 0);
50166 ;
50167 return 0;
50168 }
50169 _ACEOF
50170 if ac_fn_cxx_try_compile "$LINENO"; then :
50171 glibcxx_cv_func__hypotl_use=yes
50172 else
50173 glibcxx_cv_func__hypotl_use=no
50174 fi
50175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50176 ac_ext=c
50177 ac_cpp='$CPP $CPPFLAGS'
50178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50181
50182
50183 fi
50184
50185 fi
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50187 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50188
50189 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50190 for ac_func in _hypotl
50191 do :
50192 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50193 if test "x$ac_cv_func__hypotl" = x""yes; then :
50194 cat >>confdefs.h <<_ACEOF
50195 #define HAVE__HYPOTL 1
50196 _ACEOF
50197
50198 fi
50199 done
50200
50201 fi
50202 fi
50203
50204
50205
50206
50207
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50209 $as_echo_n "checking for ldexpl declaration... " >&6; }
50210 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50211 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50212 $as_echo_n "(cached) " >&6
50213 else
50214
50215
50216 ac_ext=cpp
50217 ac_cpp='$CXXCPP $CPPFLAGS'
50218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50221
50222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50223 /* end confdefs.h. */
50224 #include <math.h>
50225 int
50226 main ()
50227 {
50228 ldexpl(0, 0);
50229 ;
50230 return 0;
50231 }
50232 _ACEOF
50233 if ac_fn_cxx_try_compile "$LINENO"; then :
50234 glibcxx_cv_func_ldexpl_use=yes
50235 else
50236 glibcxx_cv_func_ldexpl_use=no
50237 fi
50238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50239 ac_ext=c
50240 ac_cpp='$CPP $CPPFLAGS'
50241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50244
50245
50246 fi
50247
50248 fi
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50250 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50251
50252 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50253 for ac_func in ldexpl
50254 do :
50255 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50256 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50257 cat >>confdefs.h <<_ACEOF
50258 #define HAVE_LDEXPL 1
50259 _ACEOF
50260
50261 fi
50262 done
50263
50264 else
50265
50266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50267 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50268 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50269 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50270 $as_echo_n "(cached) " >&6
50271 else
50272
50273
50274 ac_ext=cpp
50275 ac_cpp='$CXXCPP $CPPFLAGS'
50276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50279
50280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50281 /* end confdefs.h. */
50282 #include <math.h>
50283 int
50284 main ()
50285 {
50286 _ldexpl(0, 0);
50287 ;
50288 return 0;
50289 }
50290 _ACEOF
50291 if ac_fn_cxx_try_compile "$LINENO"; then :
50292 glibcxx_cv_func__ldexpl_use=yes
50293 else
50294 glibcxx_cv_func__ldexpl_use=no
50295 fi
50296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50297 ac_ext=c
50298 ac_cpp='$CPP $CPPFLAGS'
50299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302
50303
50304 fi
50305
50306 fi
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50308 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50309
50310 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50311 for ac_func in _ldexpl
50312 do :
50313 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50314 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50315 cat >>confdefs.h <<_ACEOF
50316 #define HAVE__LDEXPL 1
50317 _ACEOF
50318
50319 fi
50320 done
50321
50322 fi
50323 fi
50324
50325
50326
50327
50328
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50330 $as_echo_n "checking for logl declaration... " >&6; }
50331 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50332 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50333 $as_echo_n "(cached) " >&6
50334 else
50335
50336
50337 ac_ext=cpp
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50342
50343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h. */
50345 #include <math.h>
50346 #ifdef HAVE_IEEEFP_H
50347 #include <ieeefp.h>
50348 #endif
50349
50350 int
50351 main ()
50352 {
50353 logl(0);
50354 ;
50355 return 0;
50356 }
50357 _ACEOF
50358 if ac_fn_cxx_try_compile "$LINENO"; then :
50359 glibcxx_cv_func_logl_use=yes
50360 else
50361 glibcxx_cv_func_logl_use=no
50362 fi
50363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50364 ac_ext=c
50365 ac_cpp='$CPP $CPPFLAGS'
50366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50369
50370
50371 fi
50372
50373 fi
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50375 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50376
50377 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50378 for ac_func in logl
50379 do :
50380 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50381 if test "x$ac_cv_func_logl" = x""yes; then :
50382 cat >>confdefs.h <<_ACEOF
50383 #define HAVE_LOGL 1
50384 _ACEOF
50385
50386 fi
50387 done
50388
50389 else
50390
50391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50392 $as_echo_n "checking for _logl declaration... " >&6; }
50393 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50394 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50395 $as_echo_n "(cached) " >&6
50396 else
50397
50398
50399 ac_ext=cpp
50400 ac_cpp='$CXXCPP $CPPFLAGS'
50401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404
50405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50406 /* end confdefs.h. */
50407 #include <math.h>
50408 #ifdef HAVE_IEEEFP_H
50409 #include <ieeefp.h>
50410 #endif
50411
50412 int
50413 main ()
50414 {
50415 _logl(0);
50416 ;
50417 return 0;
50418 }
50419 _ACEOF
50420 if ac_fn_cxx_try_compile "$LINENO"; then :
50421 glibcxx_cv_func__logl_use=yes
50422 else
50423 glibcxx_cv_func__logl_use=no
50424 fi
50425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50426 ac_ext=c
50427 ac_cpp='$CPP $CPPFLAGS'
50428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50431
50432
50433 fi
50434
50435 fi
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50437 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50438
50439 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50440 for ac_func in _logl
50441 do :
50442 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50443 if test "x$ac_cv_func__logl" = x""yes; then :
50444 cat >>confdefs.h <<_ACEOF
50445 #define HAVE__LOGL 1
50446 _ACEOF
50447
50448 fi
50449 done
50450
50451 fi
50452 fi
50453
50454
50455
50456
50457
50458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50459 $as_echo_n "checking for log10l declaration... " >&6; }
50460 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50461 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50462 $as_echo_n "(cached) " >&6
50463 else
50464
50465
50466 ac_ext=cpp
50467 ac_cpp='$CXXCPP $CPPFLAGS'
50468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50471
50472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50473 /* end confdefs.h. */
50474 #include <math.h>
50475 #ifdef HAVE_IEEEFP_H
50476 #include <ieeefp.h>
50477 #endif
50478
50479 int
50480 main ()
50481 {
50482 log10l(0);
50483 ;
50484 return 0;
50485 }
50486 _ACEOF
50487 if ac_fn_cxx_try_compile "$LINENO"; then :
50488 glibcxx_cv_func_log10l_use=yes
50489 else
50490 glibcxx_cv_func_log10l_use=no
50491 fi
50492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50493 ac_ext=c
50494 ac_cpp='$CPP $CPPFLAGS'
50495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50498
50499
50500 fi
50501
50502 fi
50503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50504 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50505
50506 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50507 for ac_func in log10l
50508 do :
50509 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50510 if test "x$ac_cv_func_log10l" = x""yes; then :
50511 cat >>confdefs.h <<_ACEOF
50512 #define HAVE_LOG10L 1
50513 _ACEOF
50514
50515 fi
50516 done
50517
50518 else
50519
50520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50521 $as_echo_n "checking for _log10l declaration... " >&6; }
50522 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50523 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50524 $as_echo_n "(cached) " >&6
50525 else
50526
50527
50528 ac_ext=cpp
50529 ac_cpp='$CXXCPP $CPPFLAGS'
50530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50533
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50536 #include <math.h>
50537 #ifdef HAVE_IEEEFP_H
50538 #include <ieeefp.h>
50539 #endif
50540
50541 int
50542 main ()
50543 {
50544 _log10l(0);
50545 ;
50546 return 0;
50547 }
50548 _ACEOF
50549 if ac_fn_cxx_try_compile "$LINENO"; then :
50550 glibcxx_cv_func__log10l_use=yes
50551 else
50552 glibcxx_cv_func__log10l_use=no
50553 fi
50554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50555 ac_ext=c
50556 ac_cpp='$CPP $CPPFLAGS'
50557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50560
50561
50562 fi
50563
50564 fi
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50566 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50567
50568 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50569 for ac_func in _log10l
50570 do :
50571 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50572 if test "x$ac_cv_func__log10l" = x""yes; then :
50573 cat >>confdefs.h <<_ACEOF
50574 #define HAVE__LOG10L 1
50575 _ACEOF
50576
50577 fi
50578 done
50579
50580 fi
50581 fi
50582
50583
50584
50585
50586
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50588 $as_echo_n "checking for modfl declaration... " >&6; }
50589 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50590 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50591 $as_echo_n "(cached) " >&6
50592 else
50593
50594
50595 ac_ext=cpp
50596 ac_cpp='$CXXCPP $CPPFLAGS'
50597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50600
50601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50602 /* end confdefs.h. */
50603 #include <math.h>
50604 int
50605 main ()
50606 {
50607 modfl(0, 0);
50608 ;
50609 return 0;
50610 }
50611 _ACEOF
50612 if ac_fn_cxx_try_compile "$LINENO"; then :
50613 glibcxx_cv_func_modfl_use=yes
50614 else
50615 glibcxx_cv_func_modfl_use=no
50616 fi
50617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50618 ac_ext=c
50619 ac_cpp='$CPP $CPPFLAGS'
50620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50623
50624
50625 fi
50626
50627 fi
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50629 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50630
50631 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50632 for ac_func in modfl
50633 do :
50634 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50635 if test "x$ac_cv_func_modfl" = x""yes; then :
50636 cat >>confdefs.h <<_ACEOF
50637 #define HAVE_MODFL 1
50638 _ACEOF
50639
50640 fi
50641 done
50642
50643 else
50644
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50646 $as_echo_n "checking for _modfl declaration... " >&6; }
50647 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50648 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50649 $as_echo_n "(cached) " >&6
50650 else
50651
50652
50653 ac_ext=cpp
50654 ac_cpp='$CXXCPP $CPPFLAGS'
50655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50658
50659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50660 /* end confdefs.h. */
50661 #include <math.h>
50662 int
50663 main ()
50664 {
50665 _modfl(0, 0);
50666 ;
50667 return 0;
50668 }
50669 _ACEOF
50670 if ac_fn_cxx_try_compile "$LINENO"; then :
50671 glibcxx_cv_func__modfl_use=yes
50672 else
50673 glibcxx_cv_func__modfl_use=no
50674 fi
50675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50676 ac_ext=c
50677 ac_cpp='$CPP $CPPFLAGS'
50678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50681
50682
50683 fi
50684
50685 fi
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50687 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50688
50689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50690 for ac_func in _modfl
50691 do :
50692 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50693 if test "x$ac_cv_func__modfl" = x""yes; then :
50694 cat >>confdefs.h <<_ACEOF
50695 #define HAVE__MODFL 1
50696 _ACEOF
50697
50698 fi
50699 done
50700
50701 fi
50702 fi
50703
50704
50705
50706
50707
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50709 $as_echo_n "checking for powl declaration... " >&6; }
50710 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50711 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50712 $as_echo_n "(cached) " >&6
50713 else
50714
50715
50716 ac_ext=cpp
50717 ac_cpp='$CXXCPP $CPPFLAGS'
50718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50721
50722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50723 /* end confdefs.h. */
50724 #include <math.h>
50725 int
50726 main ()
50727 {
50728 powl(0, 0);
50729 ;
50730 return 0;
50731 }
50732 _ACEOF
50733 if ac_fn_cxx_try_compile "$LINENO"; then :
50734 glibcxx_cv_func_powl_use=yes
50735 else
50736 glibcxx_cv_func_powl_use=no
50737 fi
50738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50739 ac_ext=c
50740 ac_cpp='$CPP $CPPFLAGS'
50741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50744
50745
50746 fi
50747
50748 fi
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50750 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50751
50752 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50753 for ac_func in powl
50754 do :
50755 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50756 if test "x$ac_cv_func_powl" = x""yes; then :
50757 cat >>confdefs.h <<_ACEOF
50758 #define HAVE_POWL 1
50759 _ACEOF
50760
50761 fi
50762 done
50763
50764 else
50765
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50767 $as_echo_n "checking for _powl declaration... " >&6; }
50768 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50769 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50770 $as_echo_n "(cached) " >&6
50771 else
50772
50773
50774 ac_ext=cpp
50775 ac_cpp='$CXXCPP $CPPFLAGS'
50776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50779
50780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50781 /* end confdefs.h. */
50782 #include <math.h>
50783 int
50784 main ()
50785 {
50786 _powl(0, 0);
50787 ;
50788 return 0;
50789 }
50790 _ACEOF
50791 if ac_fn_cxx_try_compile "$LINENO"; then :
50792 glibcxx_cv_func__powl_use=yes
50793 else
50794 glibcxx_cv_func__powl_use=no
50795 fi
50796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50797 ac_ext=c
50798 ac_cpp='$CPP $CPPFLAGS'
50799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50802
50803
50804 fi
50805
50806 fi
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50808 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50809
50810 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50811 for ac_func in _powl
50812 do :
50813 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50814 if test "x$ac_cv_func__powl" = x""yes; then :
50815 cat >>confdefs.h <<_ACEOF
50816 #define HAVE__POWL 1
50817 _ACEOF
50818
50819 fi
50820 done
50821
50822 fi
50823 fi
50824
50825
50826
50827
50828
50829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50830 $as_echo_n "checking for sqrtl declaration... " >&6; }
50831 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50832 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50833 $as_echo_n "(cached) " >&6
50834 else
50835
50836
50837 ac_ext=cpp
50838 ac_cpp='$CXXCPP $CPPFLAGS'
50839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50842
50843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50844 /* end confdefs.h. */
50845 #include <math.h>
50846 #ifdef HAVE_IEEEFP_H
50847 #include <ieeefp.h>
50848 #endif
50849
50850 int
50851 main ()
50852 {
50853 sqrtl(0);
50854 ;
50855 return 0;
50856 }
50857 _ACEOF
50858 if ac_fn_cxx_try_compile "$LINENO"; then :
50859 glibcxx_cv_func_sqrtl_use=yes
50860 else
50861 glibcxx_cv_func_sqrtl_use=no
50862 fi
50863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50864 ac_ext=c
50865 ac_cpp='$CPP $CPPFLAGS'
50866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50869
50870
50871 fi
50872
50873 fi
50874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50875 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50876
50877 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50878 for ac_func in sqrtl
50879 do :
50880 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50881 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50882 cat >>confdefs.h <<_ACEOF
50883 #define HAVE_SQRTL 1
50884 _ACEOF
50885
50886 fi
50887 done
50888
50889 else
50890
50891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50892 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50893 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50894 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50895 $as_echo_n "(cached) " >&6
50896 else
50897
50898
50899 ac_ext=cpp
50900 ac_cpp='$CXXCPP $CPPFLAGS'
50901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50904
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50907 #include <math.h>
50908 #ifdef HAVE_IEEEFP_H
50909 #include <ieeefp.h>
50910 #endif
50911
50912 int
50913 main ()
50914 {
50915 _sqrtl(0);
50916 ;
50917 return 0;
50918 }
50919 _ACEOF
50920 if ac_fn_cxx_try_compile "$LINENO"; then :
50921 glibcxx_cv_func__sqrtl_use=yes
50922 else
50923 glibcxx_cv_func__sqrtl_use=no
50924 fi
50925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50926 ac_ext=c
50927 ac_cpp='$CPP $CPPFLAGS'
50928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50931
50932
50933 fi
50934
50935 fi
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50937 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50938
50939 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50940 for ac_func in _sqrtl
50941 do :
50942 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50943 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50944 cat >>confdefs.h <<_ACEOF
50945 #define HAVE__SQRTL 1
50946 _ACEOF
50947
50948 fi
50949 done
50950
50951 fi
50952 fi
50953
50954
50955
50956
50957
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50959 $as_echo_n "checking for sincosl declaration... " >&6; }
50960 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50961 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50962 $as_echo_n "(cached) " >&6
50963 else
50964
50965
50966 ac_ext=cpp
50967 ac_cpp='$CXXCPP $CPPFLAGS'
50968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50971
50972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50973 /* end confdefs.h. */
50974 #include <math.h>
50975 int
50976 main ()
50977 {
50978 sincosl(0, 0, 0);
50979 ;
50980 return 0;
50981 }
50982 _ACEOF
50983 if ac_fn_cxx_try_compile "$LINENO"; then :
50984 glibcxx_cv_func_sincosl_use=yes
50985 else
50986 glibcxx_cv_func_sincosl_use=no
50987 fi
50988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50989 ac_ext=c
50990 ac_cpp='$CPP $CPPFLAGS'
50991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50994
50995
50996 fi
50997
50998 fi
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51000 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51001
51002 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51003 for ac_func in sincosl
51004 do :
51005 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51006 if test "x$ac_cv_func_sincosl" = x""yes; then :
51007 cat >>confdefs.h <<_ACEOF
51008 #define HAVE_SINCOSL 1
51009 _ACEOF
51010
51011 fi
51012 done
51013
51014 else
51015
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51017 $as_echo_n "checking for _sincosl declaration... " >&6; }
51018 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51019 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51020 $as_echo_n "(cached) " >&6
51021 else
51022
51023
51024 ac_ext=cpp
51025 ac_cpp='$CXXCPP $CPPFLAGS'
51026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51029
51030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51031 /* end confdefs.h. */
51032 #include <math.h>
51033 int
51034 main ()
51035 {
51036 _sincosl(0, 0, 0);
51037 ;
51038 return 0;
51039 }
51040 _ACEOF
51041 if ac_fn_cxx_try_compile "$LINENO"; then :
51042 glibcxx_cv_func__sincosl_use=yes
51043 else
51044 glibcxx_cv_func__sincosl_use=no
51045 fi
51046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51047 ac_ext=c
51048 ac_cpp='$CPP $CPPFLAGS'
51049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51052
51053
51054 fi
51055
51056 fi
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51058 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51059
51060 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51061 for ac_func in _sincosl
51062 do :
51063 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51064 if test "x$ac_cv_func__sincosl" = x""yes; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define HAVE__SINCOSL 1
51067 _ACEOF
51068
51069 fi
51070 done
51071
51072 fi
51073 fi
51074
51075
51076
51077
51078
51079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51080 $as_echo_n "checking for finitel declaration... " >&6; }
51081 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51082 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51083 $as_echo_n "(cached) " >&6
51084 else
51085
51086
51087 ac_ext=cpp
51088 ac_cpp='$CXXCPP $CPPFLAGS'
51089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51092
51093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094 /* end confdefs.h. */
51095 #include <math.h>
51096 #ifdef HAVE_IEEEFP_H
51097 #include <ieeefp.h>
51098 #endif
51099
51100 int
51101 main ()
51102 {
51103 finitel(0);
51104 ;
51105 return 0;
51106 }
51107 _ACEOF
51108 if ac_fn_cxx_try_compile "$LINENO"; then :
51109 glibcxx_cv_func_finitel_use=yes
51110 else
51111 glibcxx_cv_func_finitel_use=no
51112 fi
51113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51114 ac_ext=c
51115 ac_cpp='$CPP $CPPFLAGS'
51116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51119
51120
51121 fi
51122
51123 fi
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51125 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51126
51127 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51128 for ac_func in finitel
51129 do :
51130 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51131 if test "x$ac_cv_func_finitel" = x""yes; then :
51132 cat >>confdefs.h <<_ACEOF
51133 #define HAVE_FINITEL 1
51134 _ACEOF
51135
51136 fi
51137 done
51138
51139 else
51140
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51142 $as_echo_n "checking for _finitel declaration... " >&6; }
51143 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51144 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51145 $as_echo_n "(cached) " >&6
51146 else
51147
51148
51149 ac_ext=cpp
51150 ac_cpp='$CXXCPP $CPPFLAGS'
51151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51154
51155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51156 /* end confdefs.h. */
51157 #include <math.h>
51158 #ifdef HAVE_IEEEFP_H
51159 #include <ieeefp.h>
51160 #endif
51161
51162 int
51163 main ()
51164 {
51165 _finitel(0);
51166 ;
51167 return 0;
51168 }
51169 _ACEOF
51170 if ac_fn_cxx_try_compile "$LINENO"; then :
51171 glibcxx_cv_func__finitel_use=yes
51172 else
51173 glibcxx_cv_func__finitel_use=no
51174 fi
51175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51176 ac_ext=c
51177 ac_cpp='$CPP $CPPFLAGS'
51178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51181
51182
51183 fi
51184
51185 fi
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51187 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51188
51189 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51190 for ac_func in _finitel
51191 do :
51192 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51193 if test "x$ac_cv_func__finitel" = x""yes; then :
51194 cat >>confdefs.h <<_ACEOF
51195 #define HAVE__FINITEL 1
51196 _ACEOF
51197
51198 fi
51199 done
51200
51201 fi
51202 fi
51203
51204
51205
51206
51207 LIBS="$ac_save_LIBS"
51208 CXXFLAGS="$ac_save_CXXFLAGS"
51209
51210
51211 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51212 ac_save_CXXFLAGS="$CXXFLAGS"
51213 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51214
51215
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51217 $as_echo_n "checking for strtold declaration... " >&6; }
51218 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51219 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51220 $as_echo_n "(cached) " >&6
51221 else
51222
51223
51224 ac_ext=cpp
51225 ac_cpp='$CXXCPP $CPPFLAGS'
51226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51229
51230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51231 /* end confdefs.h. */
51232 #include <stdlib.h>
51233 int
51234 main ()
51235 {
51236 strtold(0, 0);
51237 ;
51238 return 0;
51239 }
51240 _ACEOF
51241 if ac_fn_cxx_try_compile "$LINENO"; then :
51242 glibcxx_cv_func_strtold_use=yes
51243 else
51244 glibcxx_cv_func_strtold_use=no
51245 fi
51246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51247 ac_ext=c
51248 ac_cpp='$CPP $CPPFLAGS'
51249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51252
51253
51254 fi
51255
51256 fi
51257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51258 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51259 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51260 for ac_func in strtold
51261 do :
51262 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51263 if test "x$ac_cv_func_strtold" = x""yes; then :
51264 cat >>confdefs.h <<_ACEOF
51265 #define HAVE_STRTOLD 1
51266 _ACEOF
51267
51268 fi
51269 done
51270
51271 fi
51272
51273
51274
51275
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51277 $as_echo_n "checking for strtof declaration... " >&6; }
51278 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51279 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51280 $as_echo_n "(cached) " >&6
51281 else
51282
51283
51284 ac_ext=cpp
51285 ac_cpp='$CXXCPP $CPPFLAGS'
51286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51289
51290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51291 /* end confdefs.h. */
51292 #include <stdlib.h>
51293 int
51294 main ()
51295 {
51296 strtof(0, 0);
51297 ;
51298 return 0;
51299 }
51300 _ACEOF
51301 if ac_fn_cxx_try_compile "$LINENO"; then :
51302 glibcxx_cv_func_strtof_use=yes
51303 else
51304 glibcxx_cv_func_strtof_use=no
51305 fi
51306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51307 ac_ext=c
51308 ac_cpp='$CPP $CPPFLAGS'
51309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51312
51313
51314 fi
51315
51316 fi
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51318 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51319 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51320 for ac_func in strtof
51321 do :
51322 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51323 if test "x$ac_cv_func_strtof" = x""yes; then :
51324 cat >>confdefs.h <<_ACEOF
51325 #define HAVE_STRTOF 1
51326 _ACEOF
51327
51328 fi
51329 done
51330
51331 fi
51332
51333
51334
51335
51336 CXXFLAGS="$ac_save_CXXFLAGS"
51337
51338 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51339
51340
51341
51342 # Check whether --enable-tls was given.
51343 if test "${enable_tls+set}" = set; then :
51344 enableval=$enable_tls;
51345 case "$enableval" in
51346 yes|no) ;;
51347 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51348 esac
51349
51350 else
51351 enable_tls=yes
51352 fi
51353
51354
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51356 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51357 if test "${gcc_cv_have_tls+set}" = set; then :
51358 $as_echo_n "(cached) " >&6
51359 else
51360
51361 if test "$cross_compiling" = yes; then :
51362 if test x$gcc_no_link = xyes; then
51363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51364 fi
51365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51366 /* end confdefs.h. */
51367 __thread int a; int b; int main() { return a = b; }
51368 _ACEOF
51369 if ac_fn_c_try_link "$LINENO"; then :
51370 chktls_save_LDFLAGS="$LDFLAGS"
51371 case $host in
51372 *-*-linux*)
51373 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51374 ;;
51375 esac
51376 chktls_save_CFLAGS="$CFLAGS"
51377 CFLAGS="-fPIC $CFLAGS"
51378 if test x$gcc_no_link = xyes; then
51379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51380 fi
51381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h. */
51383 int f() { return 0; }
51384 _ACEOF
51385 if ac_fn_c_try_link "$LINENO"; then :
51386 if test x$gcc_no_link = xyes; then
51387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51388 fi
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 __thread int a; int b; int f() { return a = b; }
51392 _ACEOF
51393 if ac_fn_c_try_link "$LINENO"; then :
51394 gcc_cv_have_tls=yes
51395 else
51396 gcc_cv_have_tls=no
51397 fi
51398 rm -f core conftest.err conftest.$ac_objext \
51399 conftest$ac_exeext conftest.$ac_ext
51400 else
51401 gcc_cv_have_tls=yes
51402 fi
51403 rm -f core conftest.err conftest.$ac_objext \
51404 conftest$ac_exeext conftest.$ac_ext
51405 CFLAGS="$chktls_save_CFLAGS"
51406 LDFLAGS="$chktls_save_LDFLAGS"
51407 else
51408 gcc_cv_have_tls=no
51409 fi
51410 rm -f core conftest.err conftest.$ac_objext \
51411 conftest$ac_exeext conftest.$ac_ext
51412
51413
51414 else
51415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51416 /* end confdefs.h. */
51417 __thread int a; int b; int main() { return a = b; }
51418 _ACEOF
51419 if ac_fn_c_try_run "$LINENO"; then :
51420 chktls_save_LDFLAGS="$LDFLAGS"
51421 LDFLAGS="-static $LDFLAGS"
51422 if test x$gcc_no_link = xyes; then
51423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51424 fi
51425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51426 /* end confdefs.h. */
51427 int main() { return 0; }
51428 _ACEOF
51429 if ac_fn_c_try_link "$LINENO"; then :
51430 if test "$cross_compiling" = yes; then :
51431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51433 as_fn_error "cannot run test program while cross compiling
51434 See \`config.log' for more details." "$LINENO" 5; }
51435 else
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 __thread int a; int b; int main() { return a = b; }
51439 _ACEOF
51440 if ac_fn_c_try_run "$LINENO"; then :
51441 gcc_cv_have_tls=yes
51442 else
51443 gcc_cv_have_tls=no
51444 fi
51445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51446 conftest.$ac_objext conftest.beam conftest.$ac_ext
51447 fi
51448
51449 else
51450 gcc_cv_have_tls=yes
51451 fi
51452 rm -f core conftest.err conftest.$ac_objext \
51453 conftest$ac_exeext conftest.$ac_ext
51454 LDFLAGS="$chktls_save_LDFLAGS"
51455 if test $gcc_cv_have_tls = yes; then
51456 chktls_save_CFLAGS="$CFLAGS"
51457 thread_CFLAGS=failed
51458 for flag in '' '-pthread' '-lpthread'; do
51459 CFLAGS="$flag $chktls_save_CFLAGS"
51460 if test x$gcc_no_link = xyes; then
51461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51462 fi
51463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51464 /* end confdefs.h. */
51465 #include <pthread.h>
51466 void *g(void *d) { return NULL; }
51467 int
51468 main ()
51469 {
51470 pthread_t t; pthread_create(&t,NULL,g,NULL);
51471 ;
51472 return 0;
51473 }
51474 _ACEOF
51475 if ac_fn_c_try_link "$LINENO"; then :
51476 thread_CFLAGS="$flag"
51477 fi
51478 rm -f core conftest.err conftest.$ac_objext \
51479 conftest$ac_exeext conftest.$ac_ext
51480 if test "X$thread_CFLAGS" != Xfailed; then
51481 break
51482 fi
51483 done
51484 CFLAGS="$chktls_save_CFLAGS"
51485 if test "X$thread_CFLAGS" != Xfailed; then
51486 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51487 if test "$cross_compiling" = yes; then :
51488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51490 as_fn_error "cannot run test program while cross compiling
51491 See \`config.log' for more details." "$LINENO" 5; }
51492 else
51493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51494 /* end confdefs.h. */
51495 #include <pthread.h>
51496 __thread int a;
51497 static int *volatile a_in_other_thread;
51498 static void *
51499 thread_func (void *arg)
51500 {
51501 a_in_other_thread = &a;
51502 return (void *)0;
51503 }
51504 int
51505 main ()
51506 {
51507 pthread_t thread;
51508 void *thread_retval;
51509 int *volatile a_in_main_thread;
51510 a_in_main_thread = &a;
51511 if (pthread_create (&thread, (pthread_attr_t *)0,
51512 thread_func, (void *)0))
51513 return 0;
51514 if (pthread_join (thread, &thread_retval))
51515 return 0;
51516 return (a_in_other_thread == a_in_main_thread);
51517 ;
51518 return 0;
51519 }
51520 _ACEOF
51521 if ac_fn_c_try_run "$LINENO"; then :
51522 gcc_cv_have_tls=yes
51523 else
51524 gcc_cv_have_tls=no
51525 fi
51526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51527 conftest.$ac_objext conftest.beam conftest.$ac_ext
51528 fi
51529
51530 CFLAGS="$chktls_save_CFLAGS"
51531 fi
51532 fi
51533 else
51534 gcc_cv_have_tls=no
51535 fi
51536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51537 conftest.$ac_objext conftest.beam conftest.$ac_ext
51538 fi
51539
51540 fi
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51542 $as_echo "$gcc_cv_have_tls" >&6; }
51543 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51544
51545 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51546
51547 fi
51548
51549
51550
51551
51552
51553 am_save_CPPFLAGS="$CPPFLAGS"
51554
51555 for element in $INCICONV; do
51556 haveit=
51557 for x in $CPPFLAGS; do
51558
51559 acl_save_prefix="$prefix"
51560 prefix="$acl_final_prefix"
51561 acl_save_exec_prefix="$exec_prefix"
51562 exec_prefix="$acl_final_exec_prefix"
51563 eval x=\"$x\"
51564 exec_prefix="$acl_save_exec_prefix"
51565 prefix="$acl_save_prefix"
51566
51567 if test "X$x" = "X$element"; then
51568 haveit=yes
51569 break
51570 fi
51571 done
51572 if test -z "$haveit"; then
51573 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51574 fi
51575 done
51576
51577
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51579 $as_echo_n "checking for iconv... " >&6; }
51580 if test "${am_cv_func_iconv+set}" = set; then :
51581 $as_echo_n "(cached) " >&6
51582 else
51583
51584 am_cv_func_iconv="no, consider installing GNU libiconv"
51585 am_cv_lib_iconv=no
51586 if test x$gcc_no_link = xyes; then
51587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51588 fi
51589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51590 /* end confdefs.h. */
51591 #include <stdlib.h>
51592 #include <iconv.h>
51593 int
51594 main ()
51595 {
51596 iconv_t cd = iconv_open("","");
51597 iconv(cd,NULL,NULL,NULL,NULL);
51598 iconv_close(cd);
51599 ;
51600 return 0;
51601 }
51602 _ACEOF
51603 if ac_fn_c_try_link "$LINENO"; then :
51604 am_cv_func_iconv=yes
51605 fi
51606 rm -f core conftest.err conftest.$ac_objext \
51607 conftest$ac_exeext conftest.$ac_ext
51608 if test "$am_cv_func_iconv" != yes; then
51609 am_save_LIBS="$LIBS"
51610 LIBS="$LIBS $LIBICONV"
51611 if test x$gcc_no_link = xyes; then
51612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51613 fi
51614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51615 /* end confdefs.h. */
51616 #include <stdlib.h>
51617 #include <iconv.h>
51618 int
51619 main ()
51620 {
51621 iconv_t cd = iconv_open("","");
51622 iconv(cd,NULL,NULL,NULL,NULL);
51623 iconv_close(cd);
51624 ;
51625 return 0;
51626 }
51627 _ACEOF
51628 if ac_fn_c_try_link "$LINENO"; then :
51629 am_cv_lib_iconv=yes
51630 am_cv_func_iconv=yes
51631 fi
51632 rm -f core conftest.err conftest.$ac_objext \
51633 conftest$ac_exeext conftest.$ac_ext
51634 LIBS="$am_save_LIBS"
51635 fi
51636
51637 fi
51638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51639 $as_echo "$am_cv_func_iconv" >&6; }
51640 if test "$am_cv_func_iconv" = yes; then
51641
51642 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51643
51644 fi
51645 if test "$am_cv_lib_iconv" = yes; then
51646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51647 $as_echo_n "checking how to link with libiconv... " >&6; }
51648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51649 $as_echo "$LIBICONV" >&6; }
51650 else
51651 CPPFLAGS="$am_save_CPPFLAGS"
51652 LIBICONV=
51653 LTLIBICONV=
51654 fi
51655
51656
51657
51658 if test "$am_cv_func_iconv" = yes; then
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51660 $as_echo_n "checking for iconv declaration... " >&6; }
51661 if test "${am_cv_proto_iconv+set}" = set; then :
51662 $as_echo_n "(cached) " >&6
51663 else
51664
51665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51666 /* end confdefs.h. */
51667
51668 #include <stdlib.h>
51669 #include <iconv.h>
51670 extern
51671 #ifdef __cplusplus
51672 "C"
51673 #endif
51674 #if defined(__STDC__) || defined(__cplusplus)
51675 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51676 #else
51677 size_t iconv();
51678 #endif
51679
51680 int
51681 main ()
51682 {
51683
51684 ;
51685 return 0;
51686 }
51687 _ACEOF
51688 if ac_fn_c_try_compile "$LINENO"; then :
51689 am_cv_proto_iconv_arg1=""
51690 else
51691 am_cv_proto_iconv_arg1="const"
51692 fi
51693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51694 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);"
51695 fi
51696
51697 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51699 }$am_cv_proto_iconv" >&5
51700 $as_echo "${ac_t:-
51701 }$am_cv_proto_iconv" >&6; }
51702
51703 cat >>confdefs.h <<_ACEOF
51704 #define ICONV_CONST $am_cv_proto_iconv_arg1
51705 _ACEOF
51706
51707 fi
51708
51709 ;;
51710 *-mingw32*)
51711
51712 # If we're not using GNU ld, then there's no point in even trying these
51713 # tests. Check for that first. We should have already tested for gld
51714 # by now (in libtool), but require it now just to be safe...
51715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51717
51718
51719
51720 # The name set by libtool depends on the version of libtool. Shame on us
51721 # for depending on an impl detail, but c'est la vie. Older versions used
51722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51725 # set (hence we're using an older libtool), then set it.
51726 if test x${with_gnu_ld+set} != xset; then
51727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51729 with_gnu_ld=no
51730 else
51731 with_gnu_ld=$ac_cv_prog_gnu_ld
51732 fi
51733 fi
51734
51735 # Start by getting the version number. I think the libtool test already
51736 # does some of this, but throws away the result.
51737 glibcxx_ld_is_gold=no
51738 if test x"$with_gnu_ld" = x"yes"; then
51739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51740 $as_echo_n "checking for ld version... " >&6; }
51741
51742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51743 glibcxx_ld_is_gold=yes
51744 fi
51745 ldver=`$LD --version 2>/dev/null |
51746 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
51747
51748 glibcxx_gnu_ld_version=`echo $ldver | \
51749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51752 fi
51753
51754 # Set --gc-sections.
51755 glibcxx_have_gc_sections=no
51756 if test "$glibcxx_ld_is_gold" = "yes"; then
51757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51758 glibcxx_have_gc_sections=yes
51759 fi
51760 else
51761 glibcxx_gcsections_min_ld=21602
51762 if test x"$with_gnu_ld" = x"yes" &&
51763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51764 glibcxx_have_gc_sections=yes
51765 fi
51766 fi
51767 if test "$glibcxx_have_gc_sections" = "yes"; then
51768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51769 # NB: This flag only works reliably after 2.16.1. Configure tests
51770 # for this are difficult, so hard wire a value that should work.
51771
51772 ac_test_CFLAGS="${CFLAGS+set}"
51773 ac_save_CFLAGS="$CFLAGS"
51774 CFLAGS='-Wl,--gc-sections'
51775
51776 # Check for -Wl,--gc-sections
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51779 if test x$gcc_no_link = xyes; then
51780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51781 fi
51782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51783 /* end confdefs.h. */
51784 int one(void) { return 1; }
51785 int two(void) { return 2; }
51786
51787 int
51788 main ()
51789 {
51790 two();
51791 ;
51792 return 0;
51793 }
51794 _ACEOF
51795 if ac_fn_c_try_link "$LINENO"; then :
51796 ac_gcsections=yes
51797 else
51798 ac_gcsections=no
51799 fi
51800 rm -f core conftest.err conftest.$ac_objext \
51801 conftest$ac_exeext conftest.$ac_ext
51802 if test "$ac_gcsections" = "yes"; then
51803 rm -f conftest.c
51804 touch conftest.c
51805 if $CC -c conftest.c; then
51806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51807 grep "Warning: gc-sections option ignored" > /dev/null; then
51808 ac_gcsections=no
51809 fi
51810 fi
51811 rm -f conftest.c conftest.o conftest
51812 fi
51813 if test "$ac_gcsections" = "yes"; then
51814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51815 fi
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51817 $as_echo "$ac_gcsections" >&6; }
51818
51819 if test "$ac_test_CFLAGS" = set; then
51820 CFLAGS="$ac_save_CFLAGS"
51821 else
51822 # this is the suspicious part
51823 CFLAGS=''
51824 fi
51825 fi
51826
51827 # Set -z,relro.
51828 # Note this is only for shared objects.
51829 ac_ld_relro=no
51830 if test x"$with_gnu_ld" = x"yes"; then
51831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51834 if test -n "$cxx_z_relo"; then
51835 OPT_LDFLAGS="-Wl,-z,relro"
51836 ac_ld_relro=yes
51837 fi
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51839 $as_echo "$ac_ld_relro" >&6; }
51840 fi
51841
51842 # Set linker optimization flags.
51843 if test x"$with_gnu_ld" = x"yes"; then
51844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51845 fi
51846
51847
51848
51849
51850
51851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51852 ac_save_CXXFLAGS="$CXXFLAGS"
51853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51854
51855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51856 $as_echo_n "checking for sin in -lm... " >&6; }
51857 if test "${ac_cv_lib_m_sin+set}" = set; then :
51858 $as_echo_n "(cached) " >&6
51859 else
51860 ac_check_lib_save_LIBS=$LIBS
51861 LIBS="-lm $LIBS"
51862 if test x$gcc_no_link = xyes; then
51863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51864 fi
51865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51866 /* end confdefs.h. */
51867
51868 /* Override any GCC internal prototype to avoid an error.
51869 Use char because int might match the return type of a GCC
51870 builtin and then its argument prototype would still apply. */
51871 #ifdef __cplusplus
51872 extern "C"
51873 #endif
51874 char sin ();
51875 int
51876 main ()
51877 {
51878 return sin ();
51879 ;
51880 return 0;
51881 }
51882 _ACEOF
51883 if ac_fn_c_try_link "$LINENO"; then :
51884 ac_cv_lib_m_sin=yes
51885 else
51886 ac_cv_lib_m_sin=no
51887 fi
51888 rm -f core conftest.err conftest.$ac_objext \
51889 conftest$ac_exeext conftest.$ac_ext
51890 LIBS=$ac_check_lib_save_LIBS
51891 fi
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51893 $as_echo "$ac_cv_lib_m_sin" >&6; }
51894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51895 libm="-lm"
51896 fi
51897
51898 ac_save_LIBS="$LIBS"
51899 LIBS="$LIBS $libm"
51900
51901
51902
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51904 $as_echo_n "checking for isinf declaration... " >&6; }
51905 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51906 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51907 $as_echo_n "(cached) " >&6
51908 else
51909
51910
51911 ac_ext=cpp
51912 ac_cpp='$CXXCPP $CPPFLAGS'
51913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51916
51917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51918 /* end confdefs.h. */
51919 #include <math.h>
51920 #ifdef HAVE_IEEEFP_H
51921 #include <ieeefp.h>
51922 #endif
51923
51924 int
51925 main ()
51926 {
51927 isinf(0);
51928 ;
51929 return 0;
51930 }
51931 _ACEOF
51932 if ac_fn_cxx_try_compile "$LINENO"; then :
51933 glibcxx_cv_func_isinf_use=yes
51934 else
51935 glibcxx_cv_func_isinf_use=no
51936 fi
51937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51938 ac_ext=c
51939 ac_cpp='$CPP $CPPFLAGS'
51940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51943
51944
51945 fi
51946
51947 fi
51948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51950
51951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51952 for ac_func in isinf
51953 do :
51954 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51955 if test "x$ac_cv_func_isinf" = x""yes; then :
51956 cat >>confdefs.h <<_ACEOF
51957 #define HAVE_ISINF 1
51958 _ACEOF
51959
51960 fi
51961 done
51962
51963 else
51964
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51966 $as_echo_n "checking for _isinf declaration... " >&6; }
51967 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51968 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51969 $as_echo_n "(cached) " >&6
51970 else
51971
51972
51973 ac_ext=cpp
51974 ac_cpp='$CXXCPP $CPPFLAGS'
51975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978
51979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51980 /* end confdefs.h. */
51981 #include <math.h>
51982 #ifdef HAVE_IEEEFP_H
51983 #include <ieeefp.h>
51984 #endif
51985
51986 int
51987 main ()
51988 {
51989 _isinf(0);
51990 ;
51991 return 0;
51992 }
51993 _ACEOF
51994 if ac_fn_cxx_try_compile "$LINENO"; then :
51995 glibcxx_cv_func__isinf_use=yes
51996 else
51997 glibcxx_cv_func__isinf_use=no
51998 fi
51999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52000 ac_ext=c
52001 ac_cpp='$CPP $CPPFLAGS'
52002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52005
52006
52007 fi
52008
52009 fi
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52012
52013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52014 for ac_func in _isinf
52015 do :
52016 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52017 if test "x$ac_cv_func__isinf" = x""yes; then :
52018 cat >>confdefs.h <<_ACEOF
52019 #define HAVE__ISINF 1
52020 _ACEOF
52021
52022 fi
52023 done
52024
52025 fi
52026 fi
52027
52028
52029
52030
52031
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52033 $as_echo_n "checking for isnan declaration... " >&6; }
52034 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52035 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52036 $as_echo_n "(cached) " >&6
52037 else
52038
52039
52040 ac_ext=cpp
52041 ac_cpp='$CXXCPP $CPPFLAGS'
52042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52045
52046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52047 /* end confdefs.h. */
52048 #include <math.h>
52049 #ifdef HAVE_IEEEFP_H
52050 #include <ieeefp.h>
52051 #endif
52052
52053 int
52054 main ()
52055 {
52056 isnan(0);
52057 ;
52058 return 0;
52059 }
52060 _ACEOF
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062 glibcxx_cv_func_isnan_use=yes
52063 else
52064 glibcxx_cv_func_isnan_use=no
52065 fi
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072
52073
52074 fi
52075
52076 fi
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52079
52080 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52081 for ac_func in isnan
52082 do :
52083 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52084 if test "x$ac_cv_func_isnan" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define HAVE_ISNAN 1
52087 _ACEOF
52088
52089 fi
52090 done
52091
52092 else
52093
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52095 $as_echo_n "checking for _isnan declaration... " >&6; }
52096 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52097 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52098 $as_echo_n "(cached) " >&6
52099 else
52100
52101
52102 ac_ext=cpp
52103 ac_cpp='$CXXCPP $CPPFLAGS'
52104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107
52108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52109 /* end confdefs.h. */
52110 #include <math.h>
52111 #ifdef HAVE_IEEEFP_H
52112 #include <ieeefp.h>
52113 #endif
52114
52115 int
52116 main ()
52117 {
52118 _isnan(0);
52119 ;
52120 return 0;
52121 }
52122 _ACEOF
52123 if ac_fn_cxx_try_compile "$LINENO"; then :
52124 glibcxx_cv_func__isnan_use=yes
52125 else
52126 glibcxx_cv_func__isnan_use=no
52127 fi
52128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52129 ac_ext=c
52130 ac_cpp='$CPP $CPPFLAGS'
52131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52134
52135
52136 fi
52137
52138 fi
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52141
52142 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52143 for ac_func in _isnan
52144 do :
52145 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52146 if test "x$ac_cv_func__isnan" = x""yes; then :
52147 cat >>confdefs.h <<_ACEOF
52148 #define HAVE__ISNAN 1
52149 _ACEOF
52150
52151 fi
52152 done
52153
52154 fi
52155 fi
52156
52157
52158
52159
52160
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52162 $as_echo_n "checking for finite declaration... " >&6; }
52163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52164 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52165 $as_echo_n "(cached) " >&6
52166 else
52167
52168
52169 ac_ext=cpp
52170 ac_cpp='$CXXCPP $CPPFLAGS'
52171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174
52175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h. */
52177 #include <math.h>
52178 #ifdef HAVE_IEEEFP_H
52179 #include <ieeefp.h>
52180 #endif
52181
52182 int
52183 main ()
52184 {
52185 finite(0);
52186 ;
52187 return 0;
52188 }
52189 _ACEOF
52190 if ac_fn_cxx_try_compile "$LINENO"; then :
52191 glibcxx_cv_func_finite_use=yes
52192 else
52193 glibcxx_cv_func_finite_use=no
52194 fi
52195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52196 ac_ext=c
52197 ac_cpp='$CPP $CPPFLAGS'
52198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52201
52202
52203 fi
52204
52205 fi
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52208
52209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52210 for ac_func in finite
52211 do :
52212 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52213 if test "x$ac_cv_func_finite" = x""yes; then :
52214 cat >>confdefs.h <<_ACEOF
52215 #define HAVE_FINITE 1
52216 _ACEOF
52217
52218 fi
52219 done
52220
52221 else
52222
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52224 $as_echo_n "checking for _finite declaration... " >&6; }
52225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52226 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52227 $as_echo_n "(cached) " >&6
52228 else
52229
52230
52231 ac_ext=cpp
52232 ac_cpp='$CXXCPP $CPPFLAGS'
52233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52236
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 #include <math.h>
52240 #ifdef HAVE_IEEEFP_H
52241 #include <ieeefp.h>
52242 #endif
52243
52244 int
52245 main ()
52246 {
52247 _finite(0);
52248 ;
52249 return 0;
52250 }
52251 _ACEOF
52252 if ac_fn_cxx_try_compile "$LINENO"; then :
52253 glibcxx_cv_func__finite_use=yes
52254 else
52255 glibcxx_cv_func__finite_use=no
52256 fi
52257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52258 ac_ext=c
52259 ac_cpp='$CPP $CPPFLAGS'
52260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52263
52264
52265 fi
52266
52267 fi
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52270
52271 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52272 for ac_func in _finite
52273 do :
52274 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52275 if test "x$ac_cv_func__finite" = x""yes; then :
52276 cat >>confdefs.h <<_ACEOF
52277 #define HAVE__FINITE 1
52278 _ACEOF
52279
52280 fi
52281 done
52282
52283 fi
52284 fi
52285
52286
52287
52288
52289
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52291 $as_echo_n "checking for sincos declaration... " >&6; }
52292 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52293 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52294 $as_echo_n "(cached) " >&6
52295 else
52296
52297
52298 ac_ext=cpp
52299 ac_cpp='$CXXCPP $CPPFLAGS'
52300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52303
52304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52305 /* end confdefs.h. */
52306 #include <math.h>
52307 int
52308 main ()
52309 {
52310 sincos(0, 0, 0);
52311 ;
52312 return 0;
52313 }
52314 _ACEOF
52315 if ac_fn_cxx_try_compile "$LINENO"; then :
52316 glibcxx_cv_func_sincos_use=yes
52317 else
52318 glibcxx_cv_func_sincos_use=no
52319 fi
52320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52321 ac_ext=c
52322 ac_cpp='$CPP $CPPFLAGS'
52323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52326
52327
52328 fi
52329
52330 fi
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52333
52334 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52335 for ac_func in sincos
52336 do :
52337 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52338 if test "x$ac_cv_func_sincos" = x""yes; then :
52339 cat >>confdefs.h <<_ACEOF
52340 #define HAVE_SINCOS 1
52341 _ACEOF
52342
52343 fi
52344 done
52345
52346 else
52347
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52349 $as_echo_n "checking for _sincos declaration... " >&6; }
52350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52352 $as_echo_n "(cached) " >&6
52353 else
52354
52355
52356 ac_ext=cpp
52357 ac_cpp='$CXXCPP $CPPFLAGS'
52358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52361
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52364 #include <math.h>
52365 int
52366 main ()
52367 {
52368 _sincos(0, 0, 0);
52369 ;
52370 return 0;
52371 }
52372 _ACEOF
52373 if ac_fn_cxx_try_compile "$LINENO"; then :
52374 glibcxx_cv_func__sincos_use=yes
52375 else
52376 glibcxx_cv_func__sincos_use=no
52377 fi
52378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52379 ac_ext=c
52380 ac_cpp='$CPP $CPPFLAGS'
52381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52384
52385
52386 fi
52387
52388 fi
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52391
52392 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52393 for ac_func in _sincos
52394 do :
52395 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52396 if test "x$ac_cv_func__sincos" = x""yes; then :
52397 cat >>confdefs.h <<_ACEOF
52398 #define HAVE__SINCOS 1
52399 _ACEOF
52400
52401 fi
52402 done
52403
52404 fi
52405 fi
52406
52407
52408
52409
52410
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52412 $as_echo_n "checking for fpclass declaration... " >&6; }
52413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52415 $as_echo_n "(cached) " >&6
52416 else
52417
52418
52419 ac_ext=cpp
52420 ac_cpp='$CXXCPP $CPPFLAGS'
52421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52424
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52427 #include <math.h>
52428 #ifdef HAVE_IEEEFP_H
52429 #include <ieeefp.h>
52430 #endif
52431
52432 int
52433 main ()
52434 {
52435 fpclass(0);
52436 ;
52437 return 0;
52438 }
52439 _ACEOF
52440 if ac_fn_cxx_try_compile "$LINENO"; then :
52441 glibcxx_cv_func_fpclass_use=yes
52442 else
52443 glibcxx_cv_func_fpclass_use=no
52444 fi
52445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52446 ac_ext=c
52447 ac_cpp='$CPP $CPPFLAGS'
52448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451
52452
52453 fi
52454
52455 fi
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52458
52459 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52460 for ac_func in fpclass
52461 do :
52462 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52463 if test "x$ac_cv_func_fpclass" = x""yes; then :
52464 cat >>confdefs.h <<_ACEOF
52465 #define HAVE_FPCLASS 1
52466 _ACEOF
52467
52468 fi
52469 done
52470
52471 else
52472
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52474 $as_echo_n "checking for _fpclass declaration... " >&6; }
52475 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52476 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52479
52480
52481 ac_ext=cpp
52482 ac_cpp='$CXXCPP $CPPFLAGS'
52483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486
52487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488 /* end confdefs.h. */
52489 #include <math.h>
52490 #ifdef HAVE_IEEEFP_H
52491 #include <ieeefp.h>
52492 #endif
52493
52494 int
52495 main ()
52496 {
52497 _fpclass(0);
52498 ;
52499 return 0;
52500 }
52501 _ACEOF
52502 if ac_fn_cxx_try_compile "$LINENO"; then :
52503 glibcxx_cv_func__fpclass_use=yes
52504 else
52505 glibcxx_cv_func__fpclass_use=no
52506 fi
52507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52513
52514
52515 fi
52516
52517 fi
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52520
52521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52522 for ac_func in _fpclass
52523 do :
52524 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52525 if test "x$ac_cv_func__fpclass" = x""yes; then :
52526 cat >>confdefs.h <<_ACEOF
52527 #define HAVE__FPCLASS 1
52528 _ACEOF
52529
52530 fi
52531 done
52532
52533 fi
52534 fi
52535
52536
52537
52538
52539
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52541 $as_echo_n "checking for qfpclass declaration... " >&6; }
52542 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52543 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52544 $as_echo_n "(cached) " >&6
52545 else
52546
52547
52548 ac_ext=cpp
52549 ac_cpp='$CXXCPP $CPPFLAGS'
52550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52553
52554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555 /* end confdefs.h. */
52556 #include <math.h>
52557 #ifdef HAVE_IEEEFP_H
52558 #include <ieeefp.h>
52559 #endif
52560
52561 int
52562 main ()
52563 {
52564 qfpclass(0);
52565 ;
52566 return 0;
52567 }
52568 _ACEOF
52569 if ac_fn_cxx_try_compile "$LINENO"; then :
52570 glibcxx_cv_func_qfpclass_use=yes
52571 else
52572 glibcxx_cv_func_qfpclass_use=no
52573 fi
52574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52575 ac_ext=c
52576 ac_cpp='$CPP $CPPFLAGS'
52577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52580
52581
52582 fi
52583
52584 fi
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52587
52588 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52589 for ac_func in qfpclass
52590 do :
52591 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52593 cat >>confdefs.h <<_ACEOF
52594 #define HAVE_QFPCLASS 1
52595 _ACEOF
52596
52597 fi
52598 done
52599
52600 else
52601
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52604 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52605 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52606 $as_echo_n "(cached) " >&6
52607 else
52608
52609
52610 ac_ext=cpp
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615
52616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52617 /* end confdefs.h. */
52618 #include <math.h>
52619 #ifdef HAVE_IEEEFP_H
52620 #include <ieeefp.h>
52621 #endif
52622
52623 int
52624 main ()
52625 {
52626 _qfpclass(0);
52627 ;
52628 return 0;
52629 }
52630 _ACEOF
52631 if ac_fn_cxx_try_compile "$LINENO"; then :
52632 glibcxx_cv_func__qfpclass_use=yes
52633 else
52634 glibcxx_cv_func__qfpclass_use=no
52635 fi
52636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52637 ac_ext=c
52638 ac_cpp='$CPP $CPPFLAGS'
52639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52642
52643
52644 fi
52645
52646 fi
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52649
52650 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52651 for ac_func in _qfpclass
52652 do :
52653 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52655 cat >>confdefs.h <<_ACEOF
52656 #define HAVE__QFPCLASS 1
52657 _ACEOF
52658
52659 fi
52660 done
52661
52662 fi
52663 fi
52664
52665
52666
52667
52668
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52670 $as_echo_n "checking for hypot declaration... " >&6; }
52671 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52672 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52673 $as_echo_n "(cached) " >&6
52674 else
52675
52676
52677 ac_ext=cpp
52678 ac_cpp='$CXXCPP $CPPFLAGS'
52679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52682
52683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52684 /* end confdefs.h. */
52685 #include <math.h>
52686 int
52687 main ()
52688 {
52689 hypot(0, 0);
52690 ;
52691 return 0;
52692 }
52693 _ACEOF
52694 if ac_fn_cxx_try_compile "$LINENO"; then :
52695 glibcxx_cv_func_hypot_use=yes
52696 else
52697 glibcxx_cv_func_hypot_use=no
52698 fi
52699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52700 ac_ext=c
52701 ac_cpp='$CPP $CPPFLAGS'
52702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52705
52706
52707 fi
52708
52709 fi
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52712
52713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52714 for ac_func in hypot
52715 do :
52716 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52717 if test "x$ac_cv_func_hypot" = x""yes; then :
52718 cat >>confdefs.h <<_ACEOF
52719 #define HAVE_HYPOT 1
52720 _ACEOF
52721
52722 fi
52723 done
52724
52725 else
52726
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52728 $as_echo_n "checking for _hypot declaration... " >&6; }
52729 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52730 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52731 $as_echo_n "(cached) " >&6
52732 else
52733
52734
52735 ac_ext=cpp
52736 ac_cpp='$CXXCPP $CPPFLAGS'
52737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52740
52741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52742 /* end confdefs.h. */
52743 #include <math.h>
52744 int
52745 main ()
52746 {
52747 _hypot(0, 0);
52748 ;
52749 return 0;
52750 }
52751 _ACEOF
52752 if ac_fn_cxx_try_compile "$LINENO"; then :
52753 glibcxx_cv_func__hypot_use=yes
52754 else
52755 glibcxx_cv_func__hypot_use=no
52756 fi
52757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52758 ac_ext=c
52759 ac_cpp='$CPP $CPPFLAGS'
52760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52763
52764
52765 fi
52766
52767 fi
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52770
52771 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52772 for ac_func in _hypot
52773 do :
52774 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52775 if test "x$ac_cv_func__hypot" = x""yes; then :
52776 cat >>confdefs.h <<_ACEOF
52777 #define HAVE__HYPOT 1
52778 _ACEOF
52779
52780 fi
52781 done
52782
52783 fi
52784 fi
52785
52786
52787
52788
52789
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52791 $as_echo_n "checking for float trig functions... " >&6; }
52792 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52793 $as_echo_n "(cached) " >&6
52794 else
52795
52796
52797 ac_ext=cpp
52798 ac_cpp='$CXXCPP $CPPFLAGS'
52799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52802
52803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52804 /* end confdefs.h. */
52805 #include <math.h>
52806 int
52807 main ()
52808 {
52809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52810 ;
52811 return 0;
52812 }
52813 _ACEOF
52814 if ac_fn_cxx_try_compile "$LINENO"; then :
52815 glibcxx_cv_func_float_trig_use=yes
52816 else
52817 glibcxx_cv_func_float_trig_use=no
52818 fi
52819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52820 ac_ext=c
52821 ac_cpp='$CPP $CPPFLAGS'
52822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52825
52826 fi
52827
52828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52830 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52831 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52832 do :
52833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52835 eval as_val=\$$as_ac_var
52836 if test "x$as_val" = x""yes; then :
52837 cat >>confdefs.h <<_ACEOF
52838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52839 _ACEOF
52840
52841 fi
52842 done
52843
52844 else
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52846 $as_echo_n "checking for _float trig functions... " >&6; }
52847 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52848 $as_echo_n "(cached) " >&6
52849 else
52850
52851
52852 ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52857
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52860 #include <math.h>
52861 int
52862 main ()
52863 {
52864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52865 ;
52866 return 0;
52867 }
52868 _ACEOF
52869 if ac_fn_cxx_try_compile "$LINENO"; then :
52870 glibcxx_cv_func__float_trig_use=yes
52871 else
52872 glibcxx_cv_func__float_trig_use=no
52873 fi
52874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52875 ac_ext=c
52876 ac_cpp='$CPP $CPPFLAGS'
52877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52880
52881 fi
52882
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52885 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52887 do :
52888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52890 eval as_val=\$$as_ac_var
52891 if test "x$as_val" = x""yes; then :
52892 cat >>confdefs.h <<_ACEOF
52893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52894 _ACEOF
52895
52896 fi
52897 done
52898
52899 fi
52900 fi
52901
52902
52903
52904
52905
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52907 $as_echo_n "checking for float round functions... " >&6; }
52908 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52909 $as_echo_n "(cached) " >&6
52910 else
52911
52912
52913 ac_ext=cpp
52914 ac_cpp='$CXXCPP $CPPFLAGS'
52915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52918
52919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52920 /* end confdefs.h. */
52921 #include <math.h>
52922 int
52923 main ()
52924 {
52925 ceilf (0); floorf (0);
52926 ;
52927 return 0;
52928 }
52929 _ACEOF
52930 if ac_fn_cxx_try_compile "$LINENO"; then :
52931 glibcxx_cv_func_float_round_use=yes
52932 else
52933 glibcxx_cv_func_float_round_use=no
52934 fi
52935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52936 ac_ext=c
52937 ac_cpp='$CPP $CPPFLAGS'
52938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52941
52942 fi
52943
52944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52946 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52947 for ac_func in ceilf floorf
52948 do :
52949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52951 eval as_val=\$$as_ac_var
52952 if test "x$as_val" = x""yes; then :
52953 cat >>confdefs.h <<_ACEOF
52954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52955 _ACEOF
52956
52957 fi
52958 done
52959
52960 else
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52962 $as_echo_n "checking for _float round functions... " >&6; }
52963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52964 $as_echo_n "(cached) " >&6
52965 else
52966
52967
52968 ac_ext=cpp
52969 ac_cpp='$CXXCPP $CPPFLAGS'
52970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52973
52974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52975 /* end confdefs.h. */
52976 #include <math.h>
52977 int
52978 main ()
52979 {
52980 _ceilf (0); _floorf (0);
52981 ;
52982 return 0;
52983 }
52984 _ACEOF
52985 if ac_fn_cxx_try_compile "$LINENO"; then :
52986 glibcxx_cv_func__float_round_use=yes
52987 else
52988 glibcxx_cv_func__float_round_use=no
52989 fi
52990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52991 ac_ext=c
52992 ac_cpp='$CPP $CPPFLAGS'
52993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52996
52997 fi
52998
52999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53001 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53002 for ac_func in _ceilf _floorf
53003 do :
53004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53006 eval as_val=\$$as_ac_var
53007 if test "x$as_val" = x""yes; then :
53008 cat >>confdefs.h <<_ACEOF
53009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53010 _ACEOF
53011
53012 fi
53013 done
53014
53015 fi
53016 fi
53017
53018
53019
53020
53021
53022
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53024 $as_echo_n "checking for expf declaration... " >&6; }
53025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53026 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53027 $as_echo_n "(cached) " >&6
53028 else
53029
53030
53031 ac_ext=cpp
53032 ac_cpp='$CXXCPP $CPPFLAGS'
53033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53036
53037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038 /* end confdefs.h. */
53039 #include <math.h>
53040 #ifdef HAVE_IEEEFP_H
53041 #include <ieeefp.h>
53042 #endif
53043
53044 int
53045 main ()
53046 {
53047 expf(0);
53048 ;
53049 return 0;
53050 }
53051 _ACEOF
53052 if ac_fn_cxx_try_compile "$LINENO"; then :
53053 glibcxx_cv_func_expf_use=yes
53054 else
53055 glibcxx_cv_func_expf_use=no
53056 fi
53057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53058 ac_ext=c
53059 ac_cpp='$CPP $CPPFLAGS'
53060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53063
53064
53065 fi
53066
53067 fi
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53070
53071 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53072 for ac_func in expf
53073 do :
53074 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53075 if test "x$ac_cv_func_expf" = x""yes; then :
53076 cat >>confdefs.h <<_ACEOF
53077 #define HAVE_EXPF 1
53078 _ACEOF
53079
53080 fi
53081 done
53082
53083 else
53084
53085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53086 $as_echo_n "checking for _expf declaration... " >&6; }
53087 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53088 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53089 $as_echo_n "(cached) " >&6
53090 else
53091
53092
53093 ac_ext=cpp
53094 ac_cpp='$CXXCPP $CPPFLAGS'
53095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53098
53099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53100 /* end confdefs.h. */
53101 #include <math.h>
53102 #ifdef HAVE_IEEEFP_H
53103 #include <ieeefp.h>
53104 #endif
53105
53106 int
53107 main ()
53108 {
53109 _expf(0);
53110 ;
53111 return 0;
53112 }
53113 _ACEOF
53114 if ac_fn_cxx_try_compile "$LINENO"; then :
53115 glibcxx_cv_func__expf_use=yes
53116 else
53117 glibcxx_cv_func__expf_use=no
53118 fi
53119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53120 ac_ext=c
53121 ac_cpp='$CPP $CPPFLAGS'
53122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53125
53126
53127 fi
53128
53129 fi
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53132
53133 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53134 for ac_func in _expf
53135 do :
53136 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53137 if test "x$ac_cv_func__expf" = x""yes; then :
53138 cat >>confdefs.h <<_ACEOF
53139 #define HAVE__EXPF 1
53140 _ACEOF
53141
53142 fi
53143 done
53144
53145 fi
53146 fi
53147
53148
53149
53150
53151
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53153 $as_echo_n "checking for isnanf declaration... " >&6; }
53154 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53155 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53156 $as_echo_n "(cached) " >&6
53157 else
53158
53159
53160 ac_ext=cpp
53161 ac_cpp='$CXXCPP $CPPFLAGS'
53162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53165
53166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53167 /* end confdefs.h. */
53168 #include <math.h>
53169 #ifdef HAVE_IEEEFP_H
53170 #include <ieeefp.h>
53171 #endif
53172
53173 int
53174 main ()
53175 {
53176 isnanf(0);
53177 ;
53178 return 0;
53179 }
53180 _ACEOF
53181 if ac_fn_cxx_try_compile "$LINENO"; then :
53182 glibcxx_cv_func_isnanf_use=yes
53183 else
53184 glibcxx_cv_func_isnanf_use=no
53185 fi
53186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53187 ac_ext=c
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53192
53193
53194 fi
53195
53196 fi
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53199
53200 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53201 for ac_func in isnanf
53202 do :
53203 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53204 if test "x$ac_cv_func_isnanf" = x""yes; then :
53205 cat >>confdefs.h <<_ACEOF
53206 #define HAVE_ISNANF 1
53207 _ACEOF
53208
53209 fi
53210 done
53211
53212 else
53213
53214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53215 $as_echo_n "checking for _isnanf declaration... " >&6; }
53216 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53217 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53218 $as_echo_n "(cached) " >&6
53219 else
53220
53221
53222 ac_ext=cpp
53223 ac_cpp='$CXXCPP $CPPFLAGS'
53224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53227
53228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53229 /* end confdefs.h. */
53230 #include <math.h>
53231 #ifdef HAVE_IEEEFP_H
53232 #include <ieeefp.h>
53233 #endif
53234
53235 int
53236 main ()
53237 {
53238 _isnanf(0);
53239 ;
53240 return 0;
53241 }
53242 _ACEOF
53243 if ac_fn_cxx_try_compile "$LINENO"; then :
53244 glibcxx_cv_func__isnanf_use=yes
53245 else
53246 glibcxx_cv_func__isnanf_use=no
53247 fi
53248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53249 ac_ext=c
53250 ac_cpp='$CPP $CPPFLAGS'
53251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53254
53255
53256 fi
53257
53258 fi
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53261
53262 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53263 for ac_func in _isnanf
53264 do :
53265 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53266 if test "x$ac_cv_func__isnanf" = x""yes; then :
53267 cat >>confdefs.h <<_ACEOF
53268 #define HAVE__ISNANF 1
53269 _ACEOF
53270
53271 fi
53272 done
53273
53274 fi
53275 fi
53276
53277
53278
53279
53280
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53282 $as_echo_n "checking for isinff declaration... " >&6; }
53283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53285 $as_echo_n "(cached) " >&6
53286 else
53287
53288
53289 ac_ext=cpp
53290 ac_cpp='$CXXCPP $CPPFLAGS'
53291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53294
53295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53296 /* end confdefs.h. */
53297 #include <math.h>
53298 #ifdef HAVE_IEEEFP_H
53299 #include <ieeefp.h>
53300 #endif
53301
53302 int
53303 main ()
53304 {
53305 isinff(0);
53306 ;
53307 return 0;
53308 }
53309 _ACEOF
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_isinff_use=yes
53312 else
53313 glibcxx_cv_func_isinff_use=no
53314 fi
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53316 ac_ext=c
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53321
53322
53323 fi
53324
53325 fi
53326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53328
53329 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53330 for ac_func in isinff
53331 do :
53332 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53333 if test "x$ac_cv_func_isinff" = x""yes; then :
53334 cat >>confdefs.h <<_ACEOF
53335 #define HAVE_ISINFF 1
53336 _ACEOF
53337
53338 fi
53339 done
53340
53341 else
53342
53343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53344 $as_echo_n "checking for _isinff declaration... " >&6; }
53345 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53346 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53347 $as_echo_n "(cached) " >&6
53348 else
53349
53350
53351 ac_ext=cpp
53352 ac_cpp='$CXXCPP $CPPFLAGS'
53353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53356
53357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53358 /* end confdefs.h. */
53359 #include <math.h>
53360 #ifdef HAVE_IEEEFP_H
53361 #include <ieeefp.h>
53362 #endif
53363
53364 int
53365 main ()
53366 {
53367 _isinff(0);
53368 ;
53369 return 0;
53370 }
53371 _ACEOF
53372 if ac_fn_cxx_try_compile "$LINENO"; then :
53373 glibcxx_cv_func__isinff_use=yes
53374 else
53375 glibcxx_cv_func__isinff_use=no
53376 fi
53377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53378 ac_ext=c
53379 ac_cpp='$CPP $CPPFLAGS'
53380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53383
53384
53385 fi
53386
53387 fi
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53390
53391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53392 for ac_func in _isinff
53393 do :
53394 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53395 if test "x$ac_cv_func__isinff" = x""yes; then :
53396 cat >>confdefs.h <<_ACEOF
53397 #define HAVE__ISINFF 1
53398 _ACEOF
53399
53400 fi
53401 done
53402
53403 fi
53404 fi
53405
53406
53407
53408
53409
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53411 $as_echo_n "checking for atan2f declaration... " >&6; }
53412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53414 $as_echo_n "(cached) " >&6
53415 else
53416
53417
53418 ac_ext=cpp
53419 ac_cpp='$CXXCPP $CPPFLAGS'
53420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53423
53424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53425 /* end confdefs.h. */
53426 #include <math.h>
53427 int
53428 main ()
53429 {
53430 atan2f(0, 0);
53431 ;
53432 return 0;
53433 }
53434 _ACEOF
53435 if ac_fn_cxx_try_compile "$LINENO"; then :
53436 glibcxx_cv_func_atan2f_use=yes
53437 else
53438 glibcxx_cv_func_atan2f_use=no
53439 fi
53440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53441 ac_ext=c
53442 ac_cpp='$CPP $CPPFLAGS'
53443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53446
53447
53448 fi
53449
53450 fi
53451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53453
53454 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53455 for ac_func in atan2f
53456 do :
53457 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53458 if test "x$ac_cv_func_atan2f" = x""yes; then :
53459 cat >>confdefs.h <<_ACEOF
53460 #define HAVE_ATAN2F 1
53461 _ACEOF
53462
53463 fi
53464 done
53465
53466 else
53467
53468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53469 $as_echo_n "checking for _atan2f declaration... " >&6; }
53470 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53471 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53472 $as_echo_n "(cached) " >&6
53473 else
53474
53475
53476 ac_ext=cpp
53477 ac_cpp='$CXXCPP $CPPFLAGS'
53478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53481
53482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53483 /* end confdefs.h. */
53484 #include <math.h>
53485 int
53486 main ()
53487 {
53488 _atan2f(0, 0);
53489 ;
53490 return 0;
53491 }
53492 _ACEOF
53493 if ac_fn_cxx_try_compile "$LINENO"; then :
53494 glibcxx_cv_func__atan2f_use=yes
53495 else
53496 glibcxx_cv_func__atan2f_use=no
53497 fi
53498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53499 ac_ext=c
53500 ac_cpp='$CPP $CPPFLAGS'
53501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53504
53505
53506 fi
53507
53508 fi
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53511
53512 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53513 for ac_func in _atan2f
53514 do :
53515 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53516 if test "x$ac_cv_func__atan2f" = x""yes; then :
53517 cat >>confdefs.h <<_ACEOF
53518 #define HAVE__ATAN2F 1
53519 _ACEOF
53520
53521 fi
53522 done
53523
53524 fi
53525 fi
53526
53527
53528
53529
53530
53531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53532 $as_echo_n "checking for fabsf declaration... " >&6; }
53533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53535 $as_echo_n "(cached) " >&6
53536 else
53537
53538
53539 ac_ext=cpp
53540 ac_cpp='$CXXCPP $CPPFLAGS'
53541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53544
53545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53546 /* end confdefs.h. */
53547 #include <math.h>
53548 #ifdef HAVE_IEEEFP_H
53549 #include <ieeefp.h>
53550 #endif
53551
53552 int
53553 main ()
53554 {
53555 fabsf(0);
53556 ;
53557 return 0;
53558 }
53559 _ACEOF
53560 if ac_fn_cxx_try_compile "$LINENO"; then :
53561 glibcxx_cv_func_fabsf_use=yes
53562 else
53563 glibcxx_cv_func_fabsf_use=no
53564 fi
53565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53566 ac_ext=c
53567 ac_cpp='$CPP $CPPFLAGS'
53568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53571
53572
53573 fi
53574
53575 fi
53576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53578
53579 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53580 for ac_func in fabsf
53581 do :
53582 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53583 if test "x$ac_cv_func_fabsf" = x""yes; then :
53584 cat >>confdefs.h <<_ACEOF
53585 #define HAVE_FABSF 1
53586 _ACEOF
53587
53588 fi
53589 done
53590
53591 else
53592
53593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53594 $as_echo_n "checking for _fabsf declaration... " >&6; }
53595 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53596 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53597 $as_echo_n "(cached) " >&6
53598 else
53599
53600
53601 ac_ext=cpp
53602 ac_cpp='$CXXCPP $CPPFLAGS'
53603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53606
53607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53608 /* end confdefs.h. */
53609 #include <math.h>
53610 #ifdef HAVE_IEEEFP_H
53611 #include <ieeefp.h>
53612 #endif
53613
53614 int
53615 main ()
53616 {
53617 _fabsf(0);
53618 ;
53619 return 0;
53620 }
53621 _ACEOF
53622 if ac_fn_cxx_try_compile "$LINENO"; then :
53623 glibcxx_cv_func__fabsf_use=yes
53624 else
53625 glibcxx_cv_func__fabsf_use=no
53626 fi
53627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53628 ac_ext=c
53629 ac_cpp='$CPP $CPPFLAGS'
53630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53633
53634
53635 fi
53636
53637 fi
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53640
53641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53642 for ac_func in _fabsf
53643 do :
53644 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53645 if test "x$ac_cv_func__fabsf" = x""yes; then :
53646 cat >>confdefs.h <<_ACEOF
53647 #define HAVE__FABSF 1
53648 _ACEOF
53649
53650 fi
53651 done
53652
53653 fi
53654 fi
53655
53656
53657
53658
53659
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53661 $as_echo_n "checking for fmodf declaration... " >&6; }
53662 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53663 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53664 $as_echo_n "(cached) " >&6
53665 else
53666
53667
53668 ac_ext=cpp
53669 ac_cpp='$CXXCPP $CPPFLAGS'
53670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53673
53674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53675 /* end confdefs.h. */
53676 #include <math.h>
53677 int
53678 main ()
53679 {
53680 fmodf(0, 0);
53681 ;
53682 return 0;
53683 }
53684 _ACEOF
53685 if ac_fn_cxx_try_compile "$LINENO"; then :
53686 glibcxx_cv_func_fmodf_use=yes
53687 else
53688 glibcxx_cv_func_fmodf_use=no
53689 fi
53690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53691 ac_ext=c
53692 ac_cpp='$CPP $CPPFLAGS'
53693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53696
53697
53698 fi
53699
53700 fi
53701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53703
53704 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53705 for ac_func in fmodf
53706 do :
53707 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53708 if test "x$ac_cv_func_fmodf" = x""yes; then :
53709 cat >>confdefs.h <<_ACEOF
53710 #define HAVE_FMODF 1
53711 _ACEOF
53712
53713 fi
53714 done
53715
53716 else
53717
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53719 $as_echo_n "checking for _fmodf declaration... " >&6; }
53720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53722 $as_echo_n "(cached) " >&6
53723 else
53724
53725
53726 ac_ext=cpp
53727 ac_cpp='$CXXCPP $CPPFLAGS'
53728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53731
53732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53733 /* end confdefs.h. */
53734 #include <math.h>
53735 int
53736 main ()
53737 {
53738 _fmodf(0, 0);
53739 ;
53740 return 0;
53741 }
53742 _ACEOF
53743 if ac_fn_cxx_try_compile "$LINENO"; then :
53744 glibcxx_cv_func__fmodf_use=yes
53745 else
53746 glibcxx_cv_func__fmodf_use=no
53747 fi
53748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53749 ac_ext=c
53750 ac_cpp='$CPP $CPPFLAGS'
53751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53754
53755
53756 fi
53757
53758 fi
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53761
53762 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53763 for ac_func in _fmodf
53764 do :
53765 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53766 if test "x$ac_cv_func__fmodf" = x""yes; then :
53767 cat >>confdefs.h <<_ACEOF
53768 #define HAVE__FMODF 1
53769 _ACEOF
53770
53771 fi
53772 done
53773
53774 fi
53775 fi
53776
53777
53778
53779
53780
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53782 $as_echo_n "checking for frexpf declaration... " >&6; }
53783 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53784 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53786 else
53787
53788
53789 ac_ext=cpp
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53794
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53797 #include <math.h>
53798 int
53799 main ()
53800 {
53801 frexpf(0, 0);
53802 ;
53803 return 0;
53804 }
53805 _ACEOF
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_frexpf_use=yes
53808 else
53809 glibcxx_cv_func_frexpf_use=no
53810 fi
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812 ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817
53818
53819 fi
53820
53821 fi
53822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53824
53825 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53826 for ac_func in frexpf
53827 do :
53828 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53829 if test "x$ac_cv_func_frexpf" = x""yes; then :
53830 cat >>confdefs.h <<_ACEOF
53831 #define HAVE_FREXPF 1
53832 _ACEOF
53833
53834 fi
53835 done
53836
53837 else
53838
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53840 $as_echo_n "checking for _frexpf declaration... " >&6; }
53841 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53842 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53843 $as_echo_n "(cached) " >&6
53844 else
53845
53846
53847 ac_ext=cpp
53848 ac_cpp='$CXXCPP $CPPFLAGS'
53849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53852
53853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53854 /* end confdefs.h. */
53855 #include <math.h>
53856 int
53857 main ()
53858 {
53859 _frexpf(0, 0);
53860 ;
53861 return 0;
53862 }
53863 _ACEOF
53864 if ac_fn_cxx_try_compile "$LINENO"; then :
53865 glibcxx_cv_func__frexpf_use=yes
53866 else
53867 glibcxx_cv_func__frexpf_use=no
53868 fi
53869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53870 ac_ext=c
53871 ac_cpp='$CPP $CPPFLAGS'
53872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53875
53876
53877 fi
53878
53879 fi
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53882
53883 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53884 for ac_func in _frexpf
53885 do :
53886 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53887 if test "x$ac_cv_func__frexpf" = x""yes; then :
53888 cat >>confdefs.h <<_ACEOF
53889 #define HAVE__FREXPF 1
53890 _ACEOF
53891
53892 fi
53893 done
53894
53895 fi
53896 fi
53897
53898
53899
53900
53901
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53903 $as_echo_n "checking for hypotf declaration... " >&6; }
53904 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53905 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53906 $as_echo_n "(cached) " >&6
53907 else
53908
53909
53910 ac_ext=cpp
53911 ac_cpp='$CXXCPP $CPPFLAGS'
53912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53915
53916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53917 /* end confdefs.h. */
53918 #include <math.h>
53919 int
53920 main ()
53921 {
53922 hypotf(0, 0);
53923 ;
53924 return 0;
53925 }
53926 _ACEOF
53927 if ac_fn_cxx_try_compile "$LINENO"; then :
53928 glibcxx_cv_func_hypotf_use=yes
53929 else
53930 glibcxx_cv_func_hypotf_use=no
53931 fi
53932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53933 ac_ext=c
53934 ac_cpp='$CPP $CPPFLAGS'
53935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53938
53939
53940 fi
53941
53942 fi
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53945
53946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53947 for ac_func in hypotf
53948 do :
53949 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53950 if test "x$ac_cv_func_hypotf" = x""yes; then :
53951 cat >>confdefs.h <<_ACEOF
53952 #define HAVE_HYPOTF 1
53953 _ACEOF
53954
53955 fi
53956 done
53957
53958 else
53959
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53961 $as_echo_n "checking for _hypotf declaration... " >&6; }
53962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53964 $as_echo_n "(cached) " >&6
53965 else
53966
53967
53968 ac_ext=cpp
53969 ac_cpp='$CXXCPP $CPPFLAGS'
53970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53973
53974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53975 /* end confdefs.h. */
53976 #include <math.h>
53977 int
53978 main ()
53979 {
53980 _hypotf(0, 0);
53981 ;
53982 return 0;
53983 }
53984 _ACEOF
53985 if ac_fn_cxx_try_compile "$LINENO"; then :
53986 glibcxx_cv_func__hypotf_use=yes
53987 else
53988 glibcxx_cv_func__hypotf_use=no
53989 fi
53990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53996
53997
53998 fi
53999
54000 fi
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54003
54004 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54005 for ac_func in _hypotf
54006 do :
54007 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54008 if test "x$ac_cv_func__hypotf" = x""yes; then :
54009 cat >>confdefs.h <<_ACEOF
54010 #define HAVE__HYPOTF 1
54011 _ACEOF
54012
54013 fi
54014 done
54015
54016 fi
54017 fi
54018
54019
54020
54021
54022
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54024 $as_echo_n "checking for ldexpf declaration... " >&6; }
54025 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54026 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54027 $as_echo_n "(cached) " >&6
54028 else
54029
54030
54031 ac_ext=cpp
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54036
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54039 #include <math.h>
54040 int
54041 main ()
54042 {
54043 ldexpf(0, 0);
54044 ;
54045 return 0;
54046 }
54047 _ACEOF
54048 if ac_fn_cxx_try_compile "$LINENO"; then :
54049 glibcxx_cv_func_ldexpf_use=yes
54050 else
54051 glibcxx_cv_func_ldexpf_use=no
54052 fi
54053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54054 ac_ext=c
54055 ac_cpp='$CPP $CPPFLAGS'
54056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54059
54060
54061 fi
54062
54063 fi
54064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54066
54067 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54068 for ac_func in ldexpf
54069 do :
54070 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54072 cat >>confdefs.h <<_ACEOF
54073 #define HAVE_LDEXPF 1
54074 _ACEOF
54075
54076 fi
54077 done
54078
54079 else
54080
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54083 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54084 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54085 $as_echo_n "(cached) " >&6
54086 else
54087
54088
54089 ac_ext=cpp
54090 ac_cpp='$CXXCPP $CPPFLAGS'
54091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54094
54095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54096 /* end confdefs.h. */
54097 #include <math.h>
54098 int
54099 main ()
54100 {
54101 _ldexpf(0, 0);
54102 ;
54103 return 0;
54104 }
54105 _ACEOF
54106 if ac_fn_cxx_try_compile "$LINENO"; then :
54107 glibcxx_cv_func__ldexpf_use=yes
54108 else
54109 glibcxx_cv_func__ldexpf_use=no
54110 fi
54111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54117
54118
54119 fi
54120
54121 fi
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54124
54125 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54126 for ac_func in _ldexpf
54127 do :
54128 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54130 cat >>confdefs.h <<_ACEOF
54131 #define HAVE__LDEXPF 1
54132 _ACEOF
54133
54134 fi
54135 done
54136
54137 fi
54138 fi
54139
54140
54141
54142
54143
54144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54145 $as_echo_n "checking for logf declaration... " >&6; }
54146 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54147 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54148 $as_echo_n "(cached) " >&6
54149 else
54150
54151
54152 ac_ext=cpp
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54157
54158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h. */
54160 #include <math.h>
54161 #ifdef HAVE_IEEEFP_H
54162 #include <ieeefp.h>
54163 #endif
54164
54165 int
54166 main ()
54167 {
54168 logf(0);
54169 ;
54170 return 0;
54171 }
54172 _ACEOF
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174 glibcxx_cv_func_logf_use=yes
54175 else
54176 glibcxx_cv_func_logf_use=no
54177 fi
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54179 ac_ext=c
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54184
54185
54186 fi
54187
54188 fi
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54191
54192 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54193 for ac_func in logf
54194 do :
54195 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54196 if test "x$ac_cv_func_logf" = x""yes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE_LOGF 1
54199 _ACEOF
54200
54201 fi
54202 done
54203
54204 else
54205
54206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54207 $as_echo_n "checking for _logf declaration... " >&6; }
54208 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54209 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54210 $as_echo_n "(cached) " >&6
54211 else
54212
54213
54214 ac_ext=cpp
54215 ac_cpp='$CXXCPP $CPPFLAGS'
54216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54219
54220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54221 /* end confdefs.h. */
54222 #include <math.h>
54223 #ifdef HAVE_IEEEFP_H
54224 #include <ieeefp.h>
54225 #endif
54226
54227 int
54228 main ()
54229 {
54230 _logf(0);
54231 ;
54232 return 0;
54233 }
54234 _ACEOF
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__logf_use=yes
54237 else
54238 glibcxx_cv_func__logf_use=no
54239 fi
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54241 ac_ext=c
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54246
54247
54248 fi
54249
54250 fi
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54253
54254 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54255 for ac_func in _logf
54256 do :
54257 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54258 if test "x$ac_cv_func__logf" = x""yes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__LOGF 1
54261 _ACEOF
54262
54263 fi
54264 done
54265
54266 fi
54267 fi
54268
54269
54270
54271
54272
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54274 $as_echo_n "checking for log10f declaration... " >&6; }
54275 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54276 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54279
54280
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54286
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54290 #ifdef HAVE_IEEEFP_H
54291 #include <ieeefp.h>
54292 #endif
54293
54294 int
54295 main ()
54296 {
54297 log10f(0);
54298 ;
54299 return 0;
54300 }
54301 _ACEOF
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303 glibcxx_cv_func_log10f_use=yes
54304 else
54305 glibcxx_cv_func_log10f_use=no
54306 fi
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54313
54314
54315 fi
54316
54317 fi
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54320
54321 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54322 for ac_func in log10f
54323 do :
54324 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54325 if test "x$ac_cv_func_log10f" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define HAVE_LOG10F 1
54328 _ACEOF
54329
54330 fi
54331 done
54332
54333 else
54334
54335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54336 $as_echo_n "checking for _log10f declaration... " >&6; }
54337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54339 $as_echo_n "(cached) " >&6
54340 else
54341
54342
54343 ac_ext=cpp
54344 ac_cpp='$CXXCPP $CPPFLAGS'
54345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54348
54349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54350 /* end confdefs.h. */
54351 #include <math.h>
54352 #ifdef HAVE_IEEEFP_H
54353 #include <ieeefp.h>
54354 #endif
54355
54356 int
54357 main ()
54358 {
54359 _log10f(0);
54360 ;
54361 return 0;
54362 }
54363 _ACEOF
54364 if ac_fn_cxx_try_compile "$LINENO"; then :
54365 glibcxx_cv_func__log10f_use=yes
54366 else
54367 glibcxx_cv_func__log10f_use=no
54368 fi
54369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54370 ac_ext=c
54371 ac_cpp='$CPP $CPPFLAGS'
54372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54375
54376
54377 fi
54378
54379 fi
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54382
54383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54384 for ac_func in _log10f
54385 do :
54386 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54387 if test "x$ac_cv_func__log10f" = x""yes; then :
54388 cat >>confdefs.h <<_ACEOF
54389 #define HAVE__LOG10F 1
54390 _ACEOF
54391
54392 fi
54393 done
54394
54395 fi
54396 fi
54397
54398
54399
54400
54401
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54403 $as_echo_n "checking for modff declaration... " >&6; }
54404 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54405 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54406 $as_echo_n "(cached) " >&6
54407 else
54408
54409
54410 ac_ext=cpp
54411 ac_cpp='$CXXCPP $CPPFLAGS'
54412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54415
54416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54417 /* end confdefs.h. */
54418 #include <math.h>
54419 int
54420 main ()
54421 {
54422 modff(0, 0);
54423 ;
54424 return 0;
54425 }
54426 _ACEOF
54427 if ac_fn_cxx_try_compile "$LINENO"; then :
54428 glibcxx_cv_func_modff_use=yes
54429 else
54430 glibcxx_cv_func_modff_use=no
54431 fi
54432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54433 ac_ext=c
54434 ac_cpp='$CPP $CPPFLAGS'
54435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54438
54439
54440 fi
54441
54442 fi
54443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54445
54446 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54447 for ac_func in modff
54448 do :
54449 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54450 if test "x$ac_cv_func_modff" = x""yes; then :
54451 cat >>confdefs.h <<_ACEOF
54452 #define HAVE_MODFF 1
54453 _ACEOF
54454
54455 fi
54456 done
54457
54458 else
54459
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54461 $as_echo_n "checking for _modff declaration... " >&6; }
54462 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54463 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54464 $as_echo_n "(cached) " >&6
54465 else
54466
54467
54468 ac_ext=cpp
54469 ac_cpp='$CXXCPP $CPPFLAGS'
54470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54473
54474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54475 /* end confdefs.h. */
54476 #include <math.h>
54477 int
54478 main ()
54479 {
54480 _modff(0, 0);
54481 ;
54482 return 0;
54483 }
54484 _ACEOF
54485 if ac_fn_cxx_try_compile "$LINENO"; then :
54486 glibcxx_cv_func__modff_use=yes
54487 else
54488 glibcxx_cv_func__modff_use=no
54489 fi
54490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54491 ac_ext=c
54492 ac_cpp='$CPP $CPPFLAGS'
54493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54496
54497
54498 fi
54499
54500 fi
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54503
54504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54505 for ac_func in _modff
54506 do :
54507 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54508 if test "x$ac_cv_func__modff" = x""yes; then :
54509 cat >>confdefs.h <<_ACEOF
54510 #define HAVE__MODFF 1
54511 _ACEOF
54512
54513 fi
54514 done
54515
54516 fi
54517 fi
54518
54519
54520
54521
54522
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54524 $as_echo_n "checking for modf declaration... " >&6; }
54525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54526 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54527 $as_echo_n "(cached) " >&6
54528 else
54529
54530
54531 ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54539 #include <math.h>
54540 int
54541 main ()
54542 {
54543 modf(0, 0);
54544 ;
54545 return 0;
54546 }
54547 _ACEOF
54548 if ac_fn_cxx_try_compile "$LINENO"; then :
54549 glibcxx_cv_func_modf_use=yes
54550 else
54551 glibcxx_cv_func_modf_use=no
54552 fi
54553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54554 ac_ext=c
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54559
54560
54561 fi
54562
54563 fi
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54566
54567 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54568 for ac_func in modf
54569 do :
54570 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54571 if test "x$ac_cv_func_modf" = x""yes; then :
54572 cat >>confdefs.h <<_ACEOF
54573 #define HAVE_MODF 1
54574 _ACEOF
54575
54576 fi
54577 done
54578
54579 else
54580
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54582 $as_echo_n "checking for _modf declaration... " >&6; }
54583 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54584 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54585 $as_echo_n "(cached) " >&6
54586 else
54587
54588
54589 ac_ext=cpp
54590 ac_cpp='$CXXCPP $CPPFLAGS'
54591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54594
54595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54596 /* end confdefs.h. */
54597 #include <math.h>
54598 int
54599 main ()
54600 {
54601 _modf(0, 0);
54602 ;
54603 return 0;
54604 }
54605 _ACEOF
54606 if ac_fn_cxx_try_compile "$LINENO"; then :
54607 glibcxx_cv_func__modf_use=yes
54608 else
54609 glibcxx_cv_func__modf_use=no
54610 fi
54611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54612 ac_ext=c
54613 ac_cpp='$CPP $CPPFLAGS'
54614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54617
54618
54619 fi
54620
54621 fi
54622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54624
54625 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54626 for ac_func in _modf
54627 do :
54628 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54629 if test "x$ac_cv_func__modf" = x""yes; then :
54630 cat >>confdefs.h <<_ACEOF
54631 #define HAVE__MODF 1
54632 _ACEOF
54633
54634 fi
54635 done
54636
54637 fi
54638 fi
54639
54640
54641
54642
54643
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54645 $as_echo_n "checking for powf declaration... " >&6; }
54646 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54647 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54648 $as_echo_n "(cached) " >&6
54649 else
54650
54651
54652 ac_ext=cpp
54653 ac_cpp='$CXXCPP $CPPFLAGS'
54654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54657
54658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54659 /* end confdefs.h. */
54660 #include <math.h>
54661 int
54662 main ()
54663 {
54664 powf(0, 0);
54665 ;
54666 return 0;
54667 }
54668 _ACEOF
54669 if ac_fn_cxx_try_compile "$LINENO"; then :
54670 glibcxx_cv_func_powf_use=yes
54671 else
54672 glibcxx_cv_func_powf_use=no
54673 fi
54674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54675 ac_ext=c
54676 ac_cpp='$CPP $CPPFLAGS'
54677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54680
54681
54682 fi
54683
54684 fi
54685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54687
54688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54689 for ac_func in powf
54690 do :
54691 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54692 if test "x$ac_cv_func_powf" = x""yes; then :
54693 cat >>confdefs.h <<_ACEOF
54694 #define HAVE_POWF 1
54695 _ACEOF
54696
54697 fi
54698 done
54699
54700 else
54701
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54703 $as_echo_n "checking for _powf declaration... " >&6; }
54704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54705 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54706 $as_echo_n "(cached) " >&6
54707 else
54708
54709
54710 ac_ext=cpp
54711 ac_cpp='$CXXCPP $CPPFLAGS'
54712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54715
54716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54717 /* end confdefs.h. */
54718 #include <math.h>
54719 int
54720 main ()
54721 {
54722 _powf(0, 0);
54723 ;
54724 return 0;
54725 }
54726 _ACEOF
54727 if ac_fn_cxx_try_compile "$LINENO"; then :
54728 glibcxx_cv_func__powf_use=yes
54729 else
54730 glibcxx_cv_func__powf_use=no
54731 fi
54732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54733 ac_ext=c
54734 ac_cpp='$CPP $CPPFLAGS'
54735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54738
54739
54740 fi
54741
54742 fi
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54745
54746 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54747 for ac_func in _powf
54748 do :
54749 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54750 if test "x$ac_cv_func__powf" = x""yes; then :
54751 cat >>confdefs.h <<_ACEOF
54752 #define HAVE__POWF 1
54753 _ACEOF
54754
54755 fi
54756 done
54757
54758 fi
54759 fi
54760
54761
54762
54763
54764
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54766 $as_echo_n "checking for sqrtf declaration... " >&6; }
54767 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54768 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54769 $as_echo_n "(cached) " >&6
54770 else
54771
54772
54773 ac_ext=cpp
54774 ac_cpp='$CXXCPP $CPPFLAGS'
54775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54778
54779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54780 /* end confdefs.h. */
54781 #include <math.h>
54782 #ifdef HAVE_IEEEFP_H
54783 #include <ieeefp.h>
54784 #endif
54785
54786 int
54787 main ()
54788 {
54789 sqrtf(0);
54790 ;
54791 return 0;
54792 }
54793 _ACEOF
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795 glibcxx_cv_func_sqrtf_use=yes
54796 else
54797 glibcxx_cv_func_sqrtf_use=no
54798 fi
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54800 ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54805
54806
54807 fi
54808
54809 fi
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54812
54813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54814 for ac_func in sqrtf
54815 do :
54816 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define HAVE_SQRTF 1
54820 _ACEOF
54821
54822 fi
54823 done
54824
54825 else
54826
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54829 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54830 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54831 $as_echo_n "(cached) " >&6
54832 else
54833
54834
54835 ac_ext=cpp
54836 ac_cpp='$CXXCPP $CPPFLAGS'
54837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54840
54841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54842 /* end confdefs.h. */
54843 #include <math.h>
54844 #ifdef HAVE_IEEEFP_H
54845 #include <ieeefp.h>
54846 #endif
54847
54848 int
54849 main ()
54850 {
54851 _sqrtf(0);
54852 ;
54853 return 0;
54854 }
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__sqrtf_use=yes
54858 else
54859 glibcxx_cv_func__sqrtf_use=no
54860 fi
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54867
54868
54869 fi
54870
54871 fi
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54874
54875 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54876 for ac_func in _sqrtf
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__SQRTF 1
54882 _ACEOF
54883
54884 fi
54885 done
54886
54887 fi
54888 fi
54889
54890
54891
54892
54893
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54895 $as_echo_n "checking for sincosf declaration... " >&6; }
54896 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54897 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54898 $as_echo_n "(cached) " >&6
54899 else
54900
54901
54902 ac_ext=cpp
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54910 #include <math.h>
54911 int
54912 main ()
54913 {
54914 sincosf(0, 0, 0);
54915 ;
54916 return 0;
54917 }
54918 _ACEOF
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_sincosf_use=yes
54921 else
54922 glibcxx_cv_func_sincosf_use=no
54923 fi
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54930
54931
54932 fi
54933
54934 fi
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54937
54938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54939 for ac_func in sincosf
54940 do :
54941 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54942 if test "x$ac_cv_func_sincosf" = x""yes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_SINCOSF 1
54945 _ACEOF
54946
54947 fi
54948 done
54949
54950 else
54951
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54953 $as_echo_n "checking for _sincosf declaration... " >&6; }
54954 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54955 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54958
54959
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54969 int
54970 main ()
54971 {
54972 _sincosf(0, 0, 0);
54973 ;
54974 return 0;
54975 }
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__sincosf_use=yes
54979 else
54980 glibcxx_cv_func__sincosf_use=no
54981 fi
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54988
54989
54990 fi
54991
54992 fi
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54995
54996 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54997 for ac_func in _sincosf
54998 do :
54999 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55000 if test "x$ac_cv_func__sincosf" = x""yes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__SINCOSF 1
55003 _ACEOF
55004
55005 fi
55006 done
55007
55008 fi
55009 fi
55010
55011
55012
55013
55014
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55016 $as_echo_n "checking for finitef declaration... " >&6; }
55017 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55018 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55019 $as_echo_n "(cached) " >&6
55020 else
55021
55022
55023 ac_ext=cpp
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55028
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55031 #include <math.h>
55032 #ifdef HAVE_IEEEFP_H
55033 #include <ieeefp.h>
55034 #endif
55035
55036 int
55037 main ()
55038 {
55039 finitef(0);
55040 ;
55041 return 0;
55042 }
55043 _ACEOF
55044 if ac_fn_cxx_try_compile "$LINENO"; then :
55045 glibcxx_cv_func_finitef_use=yes
55046 else
55047 glibcxx_cv_func_finitef_use=no
55048 fi
55049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55050 ac_ext=c
55051 ac_cpp='$CPP $CPPFLAGS'
55052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55055
55056
55057 fi
55058
55059 fi
55060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55062
55063 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55064 for ac_func in finitef
55065 do :
55066 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55067 if test "x$ac_cv_func_finitef" = x""yes; then :
55068 cat >>confdefs.h <<_ACEOF
55069 #define HAVE_FINITEF 1
55070 _ACEOF
55071
55072 fi
55073 done
55074
55075 else
55076
55077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55078 $as_echo_n "checking for _finitef declaration... " >&6; }
55079 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55080 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55081 $as_echo_n "(cached) " >&6
55082 else
55083
55084
55085 ac_ext=cpp
55086 ac_cpp='$CXXCPP $CPPFLAGS'
55087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55090
55091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55092 /* end confdefs.h. */
55093 #include <math.h>
55094 #ifdef HAVE_IEEEFP_H
55095 #include <ieeefp.h>
55096 #endif
55097
55098 int
55099 main ()
55100 {
55101 _finitef(0);
55102 ;
55103 return 0;
55104 }
55105 _ACEOF
55106 if ac_fn_cxx_try_compile "$LINENO"; then :
55107 glibcxx_cv_func__finitef_use=yes
55108 else
55109 glibcxx_cv_func__finitef_use=no
55110 fi
55111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55112 ac_ext=c
55113 ac_cpp='$CPP $CPPFLAGS'
55114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55117
55118
55119 fi
55120
55121 fi
55122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55124
55125 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55126 for ac_func in _finitef
55127 do :
55128 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55129 if test "x$ac_cv_func__finitef" = x""yes; then :
55130 cat >>confdefs.h <<_ACEOF
55131 #define HAVE__FINITEF 1
55132 _ACEOF
55133
55134 fi
55135 done
55136
55137 fi
55138 fi
55139
55140
55141
55142
55143
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55145 $as_echo_n "checking for long double trig functions... " >&6; }
55146 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55147 $as_echo_n "(cached) " >&6
55148 else
55149
55150
55151 ac_ext=cpp
55152 ac_cpp='$CXXCPP $CPPFLAGS'
55153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55156
55157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55158 /* end confdefs.h. */
55159 #include <math.h>
55160 int
55161 main ()
55162 {
55163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55164 ;
55165 return 0;
55166 }
55167 _ACEOF
55168 if ac_fn_cxx_try_compile "$LINENO"; then :
55169 glibcxx_cv_func_long_double_trig_use=yes
55170 else
55171 glibcxx_cv_func_long_double_trig_use=no
55172 fi
55173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55174 ac_ext=c
55175 ac_cpp='$CPP $CPPFLAGS'
55176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55179
55180 fi
55181
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55184 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55185 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55186 do :
55187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55189 eval as_val=\$$as_ac_var
55190 if test "x$as_val" = x""yes; then :
55191 cat >>confdefs.h <<_ACEOF
55192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55193 _ACEOF
55194
55195 fi
55196 done
55197
55198 else
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55200 $as_echo_n "checking for _long double trig functions... " >&6; }
55201 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55204
55205
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 int
55216 main ()
55217 {
55218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55219 ;
55220 return 0;
55221 }
55222 _ACEOF
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224 glibcxx_cv_func__long_double_trig_use=yes
55225 else
55226 glibcxx_cv_func__long_double_trig_use=no
55227 fi
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55229 ac_ext=c
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55234
55235 fi
55236
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55239 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55240 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55241 do :
55242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55244 eval as_val=\$$as_ac_var
55245 if test "x$as_val" = x""yes; then :
55246 cat >>confdefs.h <<_ACEOF
55247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55248 _ACEOF
55249
55250 fi
55251 done
55252
55253 fi
55254 fi
55255
55256
55257
55258
55259
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55261 $as_echo_n "checking for long double round functions... " >&6; }
55262 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55263 $as_echo_n "(cached) " >&6
55264 else
55265
55266
55267 ac_ext=cpp
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55272
55273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h. */
55275 #include <math.h>
55276 int
55277 main ()
55278 {
55279 ceill (0); floorl (0);
55280 ;
55281 return 0;
55282 }
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_long_double_round_use=yes
55286 else
55287 glibcxx_cv_func_long_double_round_use=no
55288 fi
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55295
55296 fi
55297
55298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55301 for ac_func in ceill floorl
55302 do :
55303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55305 eval as_val=\$$as_ac_var
55306 if test "x$as_val" = x""yes; then :
55307 cat >>confdefs.h <<_ACEOF
55308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55309 _ACEOF
55310
55311 fi
55312 done
55313
55314 else
55315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55316 $as_echo_n "checking for _long double round functions... " >&6; }
55317 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55318 $as_echo_n "(cached) " >&6
55319 else
55320
55321
55322 ac_ext=cpp
55323 ac_cpp='$CXXCPP $CPPFLAGS'
55324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55327
55328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55329 /* end confdefs.h. */
55330 #include <math.h>
55331 int
55332 main ()
55333 {
55334 _ceill (0); _floorl (0);
55335 ;
55336 return 0;
55337 }
55338 _ACEOF
55339 if ac_fn_cxx_try_compile "$LINENO"; then :
55340 glibcxx_cv_func__long_double_round_use=yes
55341 else
55342 glibcxx_cv_func__long_double_round_use=no
55343 fi
55344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55345 ac_ext=c
55346 ac_cpp='$CPP $CPPFLAGS'
55347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55350
55351 fi
55352
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55355 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55356 for ac_func in _ceill _floorl
55357 do :
55358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55360 eval as_val=\$$as_ac_var
55361 if test "x$as_val" = x""yes; then :
55362 cat >>confdefs.h <<_ACEOF
55363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55364 _ACEOF
55365
55366 fi
55367 done
55368
55369 fi
55370 fi
55371
55372
55373
55374
55375
55376
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55378 $as_echo_n "checking for isnanl declaration... " >&6; }
55379 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55380 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55381 $as_echo_n "(cached) " >&6
55382 else
55383
55384
55385 ac_ext=cpp
55386 ac_cpp='$CXXCPP $CPPFLAGS'
55387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55390
55391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55392 /* end confdefs.h. */
55393 #include <math.h>
55394 #ifdef HAVE_IEEEFP_H
55395 #include <ieeefp.h>
55396 #endif
55397
55398 int
55399 main ()
55400 {
55401 isnanl(0);
55402 ;
55403 return 0;
55404 }
55405 _ACEOF
55406 if ac_fn_cxx_try_compile "$LINENO"; then :
55407 glibcxx_cv_func_isnanl_use=yes
55408 else
55409 glibcxx_cv_func_isnanl_use=no
55410 fi
55411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55412 ac_ext=c
55413 ac_cpp='$CPP $CPPFLAGS'
55414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55417
55418
55419 fi
55420
55421 fi
55422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55424
55425 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55426 for ac_func in isnanl
55427 do :
55428 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55429 if test "x$ac_cv_func_isnanl" = x""yes; then :
55430 cat >>confdefs.h <<_ACEOF
55431 #define HAVE_ISNANL 1
55432 _ACEOF
55433
55434 fi
55435 done
55436
55437 else
55438
55439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55440 $as_echo_n "checking for _isnanl declaration... " >&6; }
55441 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55442 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55443 $as_echo_n "(cached) " >&6
55444 else
55445
55446
55447 ac_ext=cpp
55448 ac_cpp='$CXXCPP $CPPFLAGS'
55449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55452
55453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55454 /* end confdefs.h. */
55455 #include <math.h>
55456 #ifdef HAVE_IEEEFP_H
55457 #include <ieeefp.h>
55458 #endif
55459
55460 int
55461 main ()
55462 {
55463 _isnanl(0);
55464 ;
55465 return 0;
55466 }
55467 _ACEOF
55468 if ac_fn_cxx_try_compile "$LINENO"; then :
55469 glibcxx_cv_func__isnanl_use=yes
55470 else
55471 glibcxx_cv_func__isnanl_use=no
55472 fi
55473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55474 ac_ext=c
55475 ac_cpp='$CPP $CPPFLAGS'
55476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55479
55480
55481 fi
55482
55483 fi
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55486
55487 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55488 for ac_func in _isnanl
55489 do :
55490 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55491 if test "x$ac_cv_func__isnanl" = x""yes; then :
55492 cat >>confdefs.h <<_ACEOF
55493 #define HAVE__ISNANL 1
55494 _ACEOF
55495
55496 fi
55497 done
55498
55499 fi
55500 fi
55501
55502
55503
55504
55505
55506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55507 $as_echo_n "checking for isinfl declaration... " >&6; }
55508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55510 $as_echo_n "(cached) " >&6
55511 else
55512
55513
55514 ac_ext=cpp
55515 ac_cpp='$CXXCPP $CPPFLAGS'
55516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55519
55520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55521 /* end confdefs.h. */
55522 #include <math.h>
55523 #ifdef HAVE_IEEEFP_H
55524 #include <ieeefp.h>
55525 #endif
55526
55527 int
55528 main ()
55529 {
55530 isinfl(0);
55531 ;
55532 return 0;
55533 }
55534 _ACEOF
55535 if ac_fn_cxx_try_compile "$LINENO"; then :
55536 glibcxx_cv_func_isinfl_use=yes
55537 else
55538 glibcxx_cv_func_isinfl_use=no
55539 fi
55540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55541 ac_ext=c
55542 ac_cpp='$CPP $CPPFLAGS'
55543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55546
55547
55548 fi
55549
55550 fi
55551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55553
55554 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55555 for ac_func in isinfl
55556 do :
55557 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55558 if test "x$ac_cv_func_isinfl" = x""yes; then :
55559 cat >>confdefs.h <<_ACEOF
55560 #define HAVE_ISINFL 1
55561 _ACEOF
55562
55563 fi
55564 done
55565
55566 else
55567
55568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55569 $as_echo_n "checking for _isinfl declaration... " >&6; }
55570 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55571 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55572 $as_echo_n "(cached) " >&6
55573 else
55574
55575
55576 ac_ext=cpp
55577 ac_cpp='$CXXCPP $CPPFLAGS'
55578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55581
55582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55583 /* end confdefs.h. */
55584 #include <math.h>
55585 #ifdef HAVE_IEEEFP_H
55586 #include <ieeefp.h>
55587 #endif
55588
55589 int
55590 main ()
55591 {
55592 _isinfl(0);
55593 ;
55594 return 0;
55595 }
55596 _ACEOF
55597 if ac_fn_cxx_try_compile "$LINENO"; then :
55598 glibcxx_cv_func__isinfl_use=yes
55599 else
55600 glibcxx_cv_func__isinfl_use=no
55601 fi
55602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55603 ac_ext=c
55604 ac_cpp='$CPP $CPPFLAGS'
55605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55608
55609
55610 fi
55611
55612 fi
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55615
55616 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55617 for ac_func in _isinfl
55618 do :
55619 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55620 if test "x$ac_cv_func__isinfl" = x""yes; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define HAVE__ISINFL 1
55623 _ACEOF
55624
55625 fi
55626 done
55627
55628 fi
55629 fi
55630
55631
55632
55633
55634
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55636 $as_echo_n "checking for atan2l declaration... " >&6; }
55637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55639 $as_echo_n "(cached) " >&6
55640 else
55641
55642
55643 ac_ext=cpp
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55648
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55651 #include <math.h>
55652 int
55653 main ()
55654 {
55655 atan2l(0, 0);
55656 ;
55657 return 0;
55658 }
55659 _ACEOF
55660 if ac_fn_cxx_try_compile "$LINENO"; then :
55661 glibcxx_cv_func_atan2l_use=yes
55662 else
55663 glibcxx_cv_func_atan2l_use=no
55664 fi
55665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55666 ac_ext=c
55667 ac_cpp='$CPP $CPPFLAGS'
55668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55671
55672
55673 fi
55674
55675 fi
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55678
55679 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55680 for ac_func in atan2l
55681 do :
55682 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55683 if test "x$ac_cv_func_atan2l" = x""yes; then :
55684 cat >>confdefs.h <<_ACEOF
55685 #define HAVE_ATAN2L 1
55686 _ACEOF
55687
55688 fi
55689 done
55690
55691 else
55692
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55694 $as_echo_n "checking for _atan2l declaration... " >&6; }
55695 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55696 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55697 $as_echo_n "(cached) " >&6
55698 else
55699
55700
55701 ac_ext=cpp
55702 ac_cpp='$CXXCPP $CPPFLAGS'
55703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55706
55707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55708 /* end confdefs.h. */
55709 #include <math.h>
55710 int
55711 main ()
55712 {
55713 _atan2l(0, 0);
55714 ;
55715 return 0;
55716 }
55717 _ACEOF
55718 if ac_fn_cxx_try_compile "$LINENO"; then :
55719 glibcxx_cv_func__atan2l_use=yes
55720 else
55721 glibcxx_cv_func__atan2l_use=no
55722 fi
55723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55724 ac_ext=c
55725 ac_cpp='$CPP $CPPFLAGS'
55726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55729
55730
55731 fi
55732
55733 fi
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55736
55737 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55738 for ac_func in _atan2l
55739 do :
55740 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55741 if test "x$ac_cv_func__atan2l" = x""yes; then :
55742 cat >>confdefs.h <<_ACEOF
55743 #define HAVE__ATAN2L 1
55744 _ACEOF
55745
55746 fi
55747 done
55748
55749 fi
55750 fi
55751
55752
55753
55754
55755
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55757 $as_echo_n "checking for expl declaration... " >&6; }
55758 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55759 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55760 $as_echo_n "(cached) " >&6
55761 else
55762
55763
55764 ac_ext=cpp
55765 ac_cpp='$CXXCPP $CPPFLAGS'
55766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55769
55770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55771 /* end confdefs.h. */
55772 #include <math.h>
55773 #ifdef HAVE_IEEEFP_H
55774 #include <ieeefp.h>
55775 #endif
55776
55777 int
55778 main ()
55779 {
55780 expl(0);
55781 ;
55782 return 0;
55783 }
55784 _ACEOF
55785 if ac_fn_cxx_try_compile "$LINENO"; then :
55786 glibcxx_cv_func_expl_use=yes
55787 else
55788 glibcxx_cv_func_expl_use=no
55789 fi
55790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55791 ac_ext=c
55792 ac_cpp='$CPP $CPPFLAGS'
55793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55796
55797
55798 fi
55799
55800 fi
55801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55803
55804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55805 for ac_func in expl
55806 do :
55807 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55808 if test "x$ac_cv_func_expl" = x""yes; then :
55809 cat >>confdefs.h <<_ACEOF
55810 #define HAVE_EXPL 1
55811 _ACEOF
55812
55813 fi
55814 done
55815
55816 else
55817
55818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55819 $as_echo_n "checking for _expl declaration... " >&6; }
55820 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55821 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55822 $as_echo_n "(cached) " >&6
55823 else
55824
55825
55826 ac_ext=cpp
55827 ac_cpp='$CXXCPP $CPPFLAGS'
55828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55831
55832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55833 /* end confdefs.h. */
55834 #include <math.h>
55835 #ifdef HAVE_IEEEFP_H
55836 #include <ieeefp.h>
55837 #endif
55838
55839 int
55840 main ()
55841 {
55842 _expl(0);
55843 ;
55844 return 0;
55845 }
55846 _ACEOF
55847 if ac_fn_cxx_try_compile "$LINENO"; then :
55848 glibcxx_cv_func__expl_use=yes
55849 else
55850 glibcxx_cv_func__expl_use=no
55851 fi
55852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55853 ac_ext=c
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55858
55859
55860 fi
55861
55862 fi
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55865
55866 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55867 for ac_func in _expl
55868 do :
55869 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55870 if test "x$ac_cv_func__expl" = x""yes; then :
55871 cat >>confdefs.h <<_ACEOF
55872 #define HAVE__EXPL 1
55873 _ACEOF
55874
55875 fi
55876 done
55877
55878 fi
55879 fi
55880
55881
55882
55883
55884
55885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55886 $as_echo_n "checking for fabsl declaration... " >&6; }
55887 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55888 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55889 $as_echo_n "(cached) " >&6
55890 else
55891
55892
55893 ac_ext=cpp
55894 ac_cpp='$CXXCPP $CPPFLAGS'
55895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55898
55899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55900 /* end confdefs.h. */
55901 #include <math.h>
55902 #ifdef HAVE_IEEEFP_H
55903 #include <ieeefp.h>
55904 #endif
55905
55906 int
55907 main ()
55908 {
55909 fabsl(0);
55910 ;
55911 return 0;
55912 }
55913 _ACEOF
55914 if ac_fn_cxx_try_compile "$LINENO"; then :
55915 glibcxx_cv_func_fabsl_use=yes
55916 else
55917 glibcxx_cv_func_fabsl_use=no
55918 fi
55919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55920 ac_ext=c
55921 ac_cpp='$CPP $CPPFLAGS'
55922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55925
55926
55927 fi
55928
55929 fi
55930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55932
55933 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55934 for ac_func in fabsl
55935 do :
55936 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55937 if test "x$ac_cv_func_fabsl" = x""yes; then :
55938 cat >>confdefs.h <<_ACEOF
55939 #define HAVE_FABSL 1
55940 _ACEOF
55941
55942 fi
55943 done
55944
55945 else
55946
55947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55948 $as_echo_n "checking for _fabsl declaration... " >&6; }
55949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55951 $as_echo_n "(cached) " >&6
55952 else
55953
55954
55955 ac_ext=cpp
55956 ac_cpp='$CXXCPP $CPPFLAGS'
55957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960
55961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55962 /* end confdefs.h. */
55963 #include <math.h>
55964 #ifdef HAVE_IEEEFP_H
55965 #include <ieeefp.h>
55966 #endif
55967
55968 int
55969 main ()
55970 {
55971 _fabsl(0);
55972 ;
55973 return 0;
55974 }
55975 _ACEOF
55976 if ac_fn_cxx_try_compile "$LINENO"; then :
55977 glibcxx_cv_func__fabsl_use=yes
55978 else
55979 glibcxx_cv_func__fabsl_use=no
55980 fi
55981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55982 ac_ext=c
55983 ac_cpp='$CPP $CPPFLAGS'
55984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55987
55988
55989 fi
55990
55991 fi
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55994
55995 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55996 for ac_func in _fabsl
55997 do :
55998 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55999 if test "x$ac_cv_func__fabsl" = x""yes; then :
56000 cat >>confdefs.h <<_ACEOF
56001 #define HAVE__FABSL 1
56002 _ACEOF
56003
56004 fi
56005 done
56006
56007 fi
56008 fi
56009
56010
56011
56012
56013
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56015 $as_echo_n "checking for fmodl declaration... " >&6; }
56016 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56017 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56018 $as_echo_n "(cached) " >&6
56019 else
56020
56021
56022 ac_ext=cpp
56023 ac_cpp='$CXXCPP $CPPFLAGS'
56024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56027
56028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56029 /* end confdefs.h. */
56030 #include <math.h>
56031 int
56032 main ()
56033 {
56034 fmodl(0, 0);
56035 ;
56036 return 0;
56037 }
56038 _ACEOF
56039 if ac_fn_cxx_try_compile "$LINENO"; then :
56040 glibcxx_cv_func_fmodl_use=yes
56041 else
56042 glibcxx_cv_func_fmodl_use=no
56043 fi
56044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56045 ac_ext=c
56046 ac_cpp='$CPP $CPPFLAGS'
56047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56050
56051
56052 fi
56053
56054 fi
56055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56057
56058 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56059 for ac_func in fmodl
56060 do :
56061 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56062 if test "x$ac_cv_func_fmodl" = x""yes; then :
56063 cat >>confdefs.h <<_ACEOF
56064 #define HAVE_FMODL 1
56065 _ACEOF
56066
56067 fi
56068 done
56069
56070 else
56071
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56073 $as_echo_n "checking for _fmodl declaration... " >&6; }
56074 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56075 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56076 $as_echo_n "(cached) " >&6
56077 else
56078
56079
56080 ac_ext=cpp
56081 ac_cpp='$CXXCPP $CPPFLAGS'
56082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56085
56086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56087 /* end confdefs.h. */
56088 #include <math.h>
56089 int
56090 main ()
56091 {
56092 _fmodl(0, 0);
56093 ;
56094 return 0;
56095 }
56096 _ACEOF
56097 if ac_fn_cxx_try_compile "$LINENO"; then :
56098 glibcxx_cv_func__fmodl_use=yes
56099 else
56100 glibcxx_cv_func__fmodl_use=no
56101 fi
56102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56103 ac_ext=c
56104 ac_cpp='$CPP $CPPFLAGS'
56105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56108
56109
56110 fi
56111
56112 fi
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56115
56116 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56117 for ac_func in _fmodl
56118 do :
56119 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56120 if test "x$ac_cv_func__fmodl" = x""yes; then :
56121 cat >>confdefs.h <<_ACEOF
56122 #define HAVE__FMODL 1
56123 _ACEOF
56124
56125 fi
56126 done
56127
56128 fi
56129 fi
56130
56131
56132
56133
56134
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56136 $as_echo_n "checking for frexpl declaration... " >&6; }
56137 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56138 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56140 else
56141
56142
56143 ac_ext=cpp
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56148
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56151 #include <math.h>
56152 int
56153 main ()
56154 {
56155 frexpl(0, 0);
56156 ;
56157 return 0;
56158 }
56159 _ACEOF
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_frexpl_use=yes
56162 else
56163 glibcxx_cv_func_frexpl_use=no
56164 fi
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56171
56172
56173 fi
56174
56175 fi
56176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56178
56179 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56180 for ac_func in frexpl
56181 do :
56182 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56183 if test "x$ac_cv_func_frexpl" = x""yes; then :
56184 cat >>confdefs.h <<_ACEOF
56185 #define HAVE_FREXPL 1
56186 _ACEOF
56187
56188 fi
56189 done
56190
56191 else
56192
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56194 $as_echo_n "checking for _frexpl declaration... " >&6; }
56195 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56196 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56197 $as_echo_n "(cached) " >&6
56198 else
56199
56200
56201 ac_ext=cpp
56202 ac_cpp='$CXXCPP $CPPFLAGS'
56203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56206
56207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56208 /* end confdefs.h. */
56209 #include <math.h>
56210 int
56211 main ()
56212 {
56213 _frexpl(0, 0);
56214 ;
56215 return 0;
56216 }
56217 _ACEOF
56218 if ac_fn_cxx_try_compile "$LINENO"; then :
56219 glibcxx_cv_func__frexpl_use=yes
56220 else
56221 glibcxx_cv_func__frexpl_use=no
56222 fi
56223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56224 ac_ext=c
56225 ac_cpp='$CPP $CPPFLAGS'
56226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56229
56230
56231 fi
56232
56233 fi
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56236
56237 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56238 for ac_func in _frexpl
56239 do :
56240 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56241 if test "x$ac_cv_func__frexpl" = x""yes; then :
56242 cat >>confdefs.h <<_ACEOF
56243 #define HAVE__FREXPL 1
56244 _ACEOF
56245
56246 fi
56247 done
56248
56249 fi
56250 fi
56251
56252
56253
56254
56255
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56257 $as_echo_n "checking for hypotl declaration... " >&6; }
56258 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56259 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56260 $as_echo_n "(cached) " >&6
56261 else
56262
56263
56264 ac_ext=cpp
56265 ac_cpp='$CXXCPP $CPPFLAGS'
56266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56269
56270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56271 /* end confdefs.h. */
56272 #include <math.h>
56273 int
56274 main ()
56275 {
56276 hypotl(0, 0);
56277 ;
56278 return 0;
56279 }
56280 _ACEOF
56281 if ac_fn_cxx_try_compile "$LINENO"; then :
56282 glibcxx_cv_func_hypotl_use=yes
56283 else
56284 glibcxx_cv_func_hypotl_use=no
56285 fi
56286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56287 ac_ext=c
56288 ac_cpp='$CPP $CPPFLAGS'
56289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56292
56293
56294 fi
56295
56296 fi
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56299
56300 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56301 for ac_func in hypotl
56302 do :
56303 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56304 if test "x$ac_cv_func_hypotl" = x""yes; then :
56305 cat >>confdefs.h <<_ACEOF
56306 #define HAVE_HYPOTL 1
56307 _ACEOF
56308
56309 fi
56310 done
56311
56312 else
56313
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56315 $as_echo_n "checking for _hypotl declaration... " >&6; }
56316 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56317 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56318 $as_echo_n "(cached) " >&6
56319 else
56320
56321
56322 ac_ext=cpp
56323 ac_cpp='$CXXCPP $CPPFLAGS'
56324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56327
56328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56329 /* end confdefs.h. */
56330 #include <math.h>
56331 int
56332 main ()
56333 {
56334 _hypotl(0, 0);
56335 ;
56336 return 0;
56337 }
56338 _ACEOF
56339 if ac_fn_cxx_try_compile "$LINENO"; then :
56340 glibcxx_cv_func__hypotl_use=yes
56341 else
56342 glibcxx_cv_func__hypotl_use=no
56343 fi
56344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56345 ac_ext=c
56346 ac_cpp='$CPP $CPPFLAGS'
56347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56350
56351
56352 fi
56353
56354 fi
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56357
56358 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56359 for ac_func in _hypotl
56360 do :
56361 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56362 if test "x$ac_cv_func__hypotl" = x""yes; then :
56363 cat >>confdefs.h <<_ACEOF
56364 #define HAVE__HYPOTL 1
56365 _ACEOF
56366
56367 fi
56368 done
56369
56370 fi
56371 fi
56372
56373
56374
56375
56376
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56378 $as_echo_n "checking for ldexpl declaration... " >&6; }
56379 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56380 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56382 else
56383
56384
56385 ac_ext=cpp
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56390
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56393 #include <math.h>
56394 int
56395 main ()
56396 {
56397 ldexpl(0, 0);
56398 ;
56399 return 0;
56400 }
56401 _ACEOF
56402 if ac_fn_cxx_try_compile "$LINENO"; then :
56403 glibcxx_cv_func_ldexpl_use=yes
56404 else
56405 glibcxx_cv_func_ldexpl_use=no
56406 fi
56407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56413
56414
56415 fi
56416
56417 fi
56418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56420
56421 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56422 for ac_func in ldexpl
56423 do :
56424 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56426 cat >>confdefs.h <<_ACEOF
56427 #define HAVE_LDEXPL 1
56428 _ACEOF
56429
56430 fi
56431 done
56432
56433 else
56434
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56437 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56438 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56439 $as_echo_n "(cached) " >&6
56440 else
56441
56442
56443 ac_ext=cpp
56444 ac_cpp='$CXXCPP $CPPFLAGS'
56445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56448
56449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56450 /* end confdefs.h. */
56451 #include <math.h>
56452 int
56453 main ()
56454 {
56455 _ldexpl(0, 0);
56456 ;
56457 return 0;
56458 }
56459 _ACEOF
56460 if ac_fn_cxx_try_compile "$LINENO"; then :
56461 glibcxx_cv_func__ldexpl_use=yes
56462 else
56463 glibcxx_cv_func__ldexpl_use=no
56464 fi
56465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56466 ac_ext=c
56467 ac_cpp='$CPP $CPPFLAGS'
56468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56471
56472
56473 fi
56474
56475 fi
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56478
56479 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56480 for ac_func in _ldexpl
56481 do :
56482 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56484 cat >>confdefs.h <<_ACEOF
56485 #define HAVE__LDEXPL 1
56486 _ACEOF
56487
56488 fi
56489 done
56490
56491 fi
56492 fi
56493
56494
56495
56496
56497
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56499 $as_echo_n "checking for logl declaration... " >&6; }
56500 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56501 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56504
56505
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56511
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <math.h>
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56517 #endif
56518
56519 int
56520 main ()
56521 {
56522 logl(0);
56523 ;
56524 return 0;
56525 }
56526 _ACEOF
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528 glibcxx_cv_func_logl_use=yes
56529 else
56530 glibcxx_cv_func_logl_use=no
56531 fi
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56533 ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56538
56539
56540 fi
56541
56542 fi
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56545
56546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56547 for ac_func in logl
56548 do :
56549 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56550 if test "x$ac_cv_func_logl" = x""yes; then :
56551 cat >>confdefs.h <<_ACEOF
56552 #define HAVE_LOGL 1
56553 _ACEOF
56554
56555 fi
56556 done
56557
56558 else
56559
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56561 $as_echo_n "checking for _logl declaration... " >&6; }
56562 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56563 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56564 $as_echo_n "(cached) " >&6
56565 else
56566
56567
56568 ac_ext=cpp
56569 ac_cpp='$CXXCPP $CPPFLAGS'
56570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56573
56574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56575 /* end confdefs.h. */
56576 #include <math.h>
56577 #ifdef HAVE_IEEEFP_H
56578 #include <ieeefp.h>
56579 #endif
56580
56581 int
56582 main ()
56583 {
56584 _logl(0);
56585 ;
56586 return 0;
56587 }
56588 _ACEOF
56589 if ac_fn_cxx_try_compile "$LINENO"; then :
56590 glibcxx_cv_func__logl_use=yes
56591 else
56592 glibcxx_cv_func__logl_use=no
56593 fi
56594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56595 ac_ext=c
56596 ac_cpp='$CPP $CPPFLAGS'
56597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56600
56601
56602 fi
56603
56604 fi
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56607
56608 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56609 for ac_func in _logl
56610 do :
56611 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56612 if test "x$ac_cv_func__logl" = x""yes; then :
56613 cat >>confdefs.h <<_ACEOF
56614 #define HAVE__LOGL 1
56615 _ACEOF
56616
56617 fi
56618 done
56619
56620 fi
56621 fi
56622
56623
56624
56625
56626
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56628 $as_echo_n "checking for log10l declaration... " >&6; }
56629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56631 $as_echo_n "(cached) " >&6
56632 else
56633
56634
56635 ac_ext=cpp
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56640
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 #include <math.h>
56644 #ifdef HAVE_IEEEFP_H
56645 #include <ieeefp.h>
56646 #endif
56647
56648 int
56649 main ()
56650 {
56651 log10l(0);
56652 ;
56653 return 0;
56654 }
56655 _ACEOF
56656 if ac_fn_cxx_try_compile "$LINENO"; then :
56657 glibcxx_cv_func_log10l_use=yes
56658 else
56659 glibcxx_cv_func_log10l_use=no
56660 fi
56661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56662 ac_ext=c
56663 ac_cpp='$CPP $CPPFLAGS'
56664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56667
56668
56669 fi
56670
56671 fi
56672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56674
56675 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56676 for ac_func in log10l
56677 do :
56678 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56679 if test "x$ac_cv_func_log10l" = x""yes; then :
56680 cat >>confdefs.h <<_ACEOF
56681 #define HAVE_LOG10L 1
56682 _ACEOF
56683
56684 fi
56685 done
56686
56687 else
56688
56689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56690 $as_echo_n "checking for _log10l declaration... " >&6; }
56691 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56692 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56693 $as_echo_n "(cached) " >&6
56694 else
56695
56696
56697 ac_ext=cpp
56698 ac_cpp='$CXXCPP $CPPFLAGS'
56699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56702
56703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56704 /* end confdefs.h. */
56705 #include <math.h>
56706 #ifdef HAVE_IEEEFP_H
56707 #include <ieeefp.h>
56708 #endif
56709
56710 int
56711 main ()
56712 {
56713 _log10l(0);
56714 ;
56715 return 0;
56716 }
56717 _ACEOF
56718 if ac_fn_cxx_try_compile "$LINENO"; then :
56719 glibcxx_cv_func__log10l_use=yes
56720 else
56721 glibcxx_cv_func__log10l_use=no
56722 fi
56723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56724 ac_ext=c
56725 ac_cpp='$CPP $CPPFLAGS'
56726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56729
56730
56731 fi
56732
56733 fi
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56736
56737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56738 for ac_func in _log10l
56739 do :
56740 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56741 if test "x$ac_cv_func__log10l" = x""yes; then :
56742 cat >>confdefs.h <<_ACEOF
56743 #define HAVE__LOG10L 1
56744 _ACEOF
56745
56746 fi
56747 done
56748
56749 fi
56750 fi
56751
56752
56753
56754
56755
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56757 $as_echo_n "checking for modfl declaration... " >&6; }
56758 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56759 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56760 $as_echo_n "(cached) " >&6
56761 else
56762
56763
56764 ac_ext=cpp
56765 ac_cpp='$CXXCPP $CPPFLAGS'
56766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56769
56770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56771 /* end confdefs.h. */
56772 #include <math.h>
56773 int
56774 main ()
56775 {
56776 modfl(0, 0);
56777 ;
56778 return 0;
56779 }
56780 _ACEOF
56781 if ac_fn_cxx_try_compile "$LINENO"; then :
56782 glibcxx_cv_func_modfl_use=yes
56783 else
56784 glibcxx_cv_func_modfl_use=no
56785 fi
56786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56787 ac_ext=c
56788 ac_cpp='$CPP $CPPFLAGS'
56789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56792
56793
56794 fi
56795
56796 fi
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56799
56800 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56801 for ac_func in modfl
56802 do :
56803 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56804 if test "x$ac_cv_func_modfl" = x""yes; then :
56805 cat >>confdefs.h <<_ACEOF
56806 #define HAVE_MODFL 1
56807 _ACEOF
56808
56809 fi
56810 done
56811
56812 else
56813
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56815 $as_echo_n "checking for _modfl declaration... " >&6; }
56816 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56817 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56818 $as_echo_n "(cached) " >&6
56819 else
56820
56821
56822 ac_ext=cpp
56823 ac_cpp='$CXXCPP $CPPFLAGS'
56824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56827
56828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56829 /* end confdefs.h. */
56830 #include <math.h>
56831 int
56832 main ()
56833 {
56834 _modfl(0, 0);
56835 ;
56836 return 0;
56837 }
56838 _ACEOF
56839 if ac_fn_cxx_try_compile "$LINENO"; then :
56840 glibcxx_cv_func__modfl_use=yes
56841 else
56842 glibcxx_cv_func__modfl_use=no
56843 fi
56844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56845 ac_ext=c
56846 ac_cpp='$CPP $CPPFLAGS'
56847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56850
56851
56852 fi
56853
56854 fi
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56857
56858 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56859 for ac_func in _modfl
56860 do :
56861 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56862 if test "x$ac_cv_func__modfl" = x""yes; then :
56863 cat >>confdefs.h <<_ACEOF
56864 #define HAVE__MODFL 1
56865 _ACEOF
56866
56867 fi
56868 done
56869
56870 fi
56871 fi
56872
56873
56874
56875
56876
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56878 $as_echo_n "checking for powl declaration... " >&6; }
56879 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56880 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56881 $as_echo_n "(cached) " >&6
56882 else
56883
56884
56885 ac_ext=cpp
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56890
56891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h. */
56893 #include <math.h>
56894 int
56895 main ()
56896 {
56897 powl(0, 0);
56898 ;
56899 return 0;
56900 }
56901 _ACEOF
56902 if ac_fn_cxx_try_compile "$LINENO"; then :
56903 glibcxx_cv_func_powl_use=yes
56904 else
56905 glibcxx_cv_func_powl_use=no
56906 fi
56907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56908 ac_ext=c
56909 ac_cpp='$CPP $CPPFLAGS'
56910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56913
56914
56915 fi
56916
56917 fi
56918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56920
56921 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56922 for ac_func in powl
56923 do :
56924 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56925 if test "x$ac_cv_func_powl" = x""yes; then :
56926 cat >>confdefs.h <<_ACEOF
56927 #define HAVE_POWL 1
56928 _ACEOF
56929
56930 fi
56931 done
56932
56933 else
56934
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56936 $as_echo_n "checking for _powl declaration... " >&6; }
56937 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56938 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56939 $as_echo_n "(cached) " >&6
56940 else
56941
56942
56943 ac_ext=cpp
56944 ac_cpp='$CXXCPP $CPPFLAGS'
56945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56948
56949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56950 /* end confdefs.h. */
56951 #include <math.h>
56952 int
56953 main ()
56954 {
56955 _powl(0, 0);
56956 ;
56957 return 0;
56958 }
56959 _ACEOF
56960 if ac_fn_cxx_try_compile "$LINENO"; then :
56961 glibcxx_cv_func__powl_use=yes
56962 else
56963 glibcxx_cv_func__powl_use=no
56964 fi
56965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56966 ac_ext=c
56967 ac_cpp='$CPP $CPPFLAGS'
56968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56971
56972
56973 fi
56974
56975 fi
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56978
56979 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56980 for ac_func in _powl
56981 do :
56982 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56983 if test "x$ac_cv_func__powl" = x""yes; then :
56984 cat >>confdefs.h <<_ACEOF
56985 #define HAVE__POWL 1
56986 _ACEOF
56987
56988 fi
56989 done
56990
56991 fi
56992 fi
56993
56994
56995
56996
56997
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56999 $as_echo_n "checking for sqrtl declaration... " >&6; }
57000 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57001 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57002 $as_echo_n "(cached) " >&6
57003 else
57004
57005
57006 ac_ext=cpp
57007 ac_cpp='$CXXCPP $CPPFLAGS'
57008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57011
57012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57013 /* end confdefs.h. */
57014 #include <math.h>
57015 #ifdef HAVE_IEEEFP_H
57016 #include <ieeefp.h>
57017 #endif
57018
57019 int
57020 main ()
57021 {
57022 sqrtl(0);
57023 ;
57024 return 0;
57025 }
57026 _ACEOF
57027 if ac_fn_cxx_try_compile "$LINENO"; then :
57028 glibcxx_cv_func_sqrtl_use=yes
57029 else
57030 glibcxx_cv_func_sqrtl_use=no
57031 fi
57032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57033 ac_ext=c
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57038
57039
57040 fi
57041
57042 fi
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57045
57046 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57047 for ac_func in sqrtl
57048 do :
57049 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57051 cat >>confdefs.h <<_ACEOF
57052 #define HAVE_SQRTL 1
57053 _ACEOF
57054
57055 fi
57056 done
57057
57058 else
57059
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57064 $as_echo_n "(cached) " >&6
57065 else
57066
57067
57068 ac_ext=cpp
57069 ac_cpp='$CXXCPP $CPPFLAGS'
57070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57073
57074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57075 /* end confdefs.h. */
57076 #include <math.h>
57077 #ifdef HAVE_IEEEFP_H
57078 #include <ieeefp.h>
57079 #endif
57080
57081 int
57082 main ()
57083 {
57084 _sqrtl(0);
57085 ;
57086 return 0;
57087 }
57088 _ACEOF
57089 if ac_fn_cxx_try_compile "$LINENO"; then :
57090 glibcxx_cv_func__sqrtl_use=yes
57091 else
57092 glibcxx_cv_func__sqrtl_use=no
57093 fi
57094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57095 ac_ext=c
57096 ac_cpp='$CPP $CPPFLAGS'
57097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57100
57101
57102 fi
57103
57104 fi
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57107
57108 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57109 for ac_func in _sqrtl
57110 do :
57111 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57113 cat >>confdefs.h <<_ACEOF
57114 #define HAVE__SQRTL 1
57115 _ACEOF
57116
57117 fi
57118 done
57119
57120 fi
57121 fi
57122
57123
57124
57125
57126
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57128 $as_echo_n "checking for sincosl declaration... " >&6; }
57129 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57130 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57131 $as_echo_n "(cached) " >&6
57132 else
57133
57134
57135 ac_ext=cpp
57136 ac_cpp='$CXXCPP $CPPFLAGS'
57137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57140
57141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57142 /* end confdefs.h. */
57143 #include <math.h>
57144 int
57145 main ()
57146 {
57147 sincosl(0, 0, 0);
57148 ;
57149 return 0;
57150 }
57151 _ACEOF
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func_sincosl_use=yes
57154 else
57155 glibcxx_cv_func_sincosl_use=no
57156 fi
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57158 ac_ext=c
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57163
57164
57165 fi
57166
57167 fi
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57170
57171 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57172 for ac_func in sincosl
57173 do :
57174 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57175 if test "x$ac_cv_func_sincosl" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE_SINCOSL 1
57178 _ACEOF
57179
57180 fi
57181 done
57182
57183 else
57184
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57186 $as_echo_n "checking for _sincosl declaration... " >&6; }
57187 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57188 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57189 $as_echo_n "(cached) " >&6
57190 else
57191
57192
57193 ac_ext=cpp
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57198
57199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57200 /* end confdefs.h. */
57201 #include <math.h>
57202 int
57203 main ()
57204 {
57205 _sincosl(0, 0, 0);
57206 ;
57207 return 0;
57208 }
57209 _ACEOF
57210 if ac_fn_cxx_try_compile "$LINENO"; then :
57211 glibcxx_cv_func__sincosl_use=yes
57212 else
57213 glibcxx_cv_func__sincosl_use=no
57214 fi
57215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57216 ac_ext=c
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57221
57222
57223 fi
57224
57225 fi
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57228
57229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57230 for ac_func in _sincosl
57231 do :
57232 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57233 if test "x$ac_cv_func__sincosl" = x""yes; then :
57234 cat >>confdefs.h <<_ACEOF
57235 #define HAVE__SINCOSL 1
57236 _ACEOF
57237
57238 fi
57239 done
57240
57241 fi
57242 fi
57243
57244
57245
57246
57247
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57249 $as_echo_n "checking for finitel declaration... " >&6; }
57250 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57251 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57252 $as_echo_n "(cached) " >&6
57253 else
57254
57255
57256 ac_ext=cpp
57257 ac_cpp='$CXXCPP $CPPFLAGS'
57258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57261
57262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57263 /* end confdefs.h. */
57264 #include <math.h>
57265 #ifdef HAVE_IEEEFP_H
57266 #include <ieeefp.h>
57267 #endif
57268
57269 int
57270 main ()
57271 {
57272 finitel(0);
57273 ;
57274 return 0;
57275 }
57276 _ACEOF
57277 if ac_fn_cxx_try_compile "$LINENO"; then :
57278 glibcxx_cv_func_finitel_use=yes
57279 else
57280 glibcxx_cv_func_finitel_use=no
57281 fi
57282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57283 ac_ext=c
57284 ac_cpp='$CPP $CPPFLAGS'
57285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57288
57289
57290 fi
57291
57292 fi
57293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57295
57296 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57297 for ac_func in finitel
57298 do :
57299 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57300 if test "x$ac_cv_func_finitel" = x""yes; then :
57301 cat >>confdefs.h <<_ACEOF
57302 #define HAVE_FINITEL 1
57303 _ACEOF
57304
57305 fi
57306 done
57307
57308 else
57309
57310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57311 $as_echo_n "checking for _finitel declaration... " >&6; }
57312 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57313 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57314 $as_echo_n "(cached) " >&6
57315 else
57316
57317
57318 ac_ext=cpp
57319 ac_cpp='$CXXCPP $CPPFLAGS'
57320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57323
57324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57325 /* end confdefs.h. */
57326 #include <math.h>
57327 #ifdef HAVE_IEEEFP_H
57328 #include <ieeefp.h>
57329 #endif
57330
57331 int
57332 main ()
57333 {
57334 _finitel(0);
57335 ;
57336 return 0;
57337 }
57338 _ACEOF
57339 if ac_fn_cxx_try_compile "$LINENO"; then :
57340 glibcxx_cv_func__finitel_use=yes
57341 else
57342 glibcxx_cv_func__finitel_use=no
57343 fi
57344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57345 ac_ext=c
57346 ac_cpp='$CPP $CPPFLAGS'
57347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57350
57351
57352 fi
57353
57354 fi
57355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57357
57358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57359 for ac_func in _finitel
57360 do :
57361 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57362 if test "x$ac_cv_func__finitel" = x""yes; then :
57363 cat >>confdefs.h <<_ACEOF
57364 #define HAVE__FINITEL 1
57365 _ACEOF
57366
57367 fi
57368 done
57369
57370 fi
57371 fi
57372
57373
57374
57375
57376 LIBS="$ac_save_LIBS"
57377 CXXFLAGS="$ac_save_CXXFLAGS"
57378
57379
57380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57381 ac_save_CXXFLAGS="$CXXFLAGS"
57382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57383
57384
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57386 $as_echo_n "checking for strtold declaration... " >&6; }
57387 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57388 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57389 $as_echo_n "(cached) " >&6
57390 else
57391
57392
57393 ac_ext=cpp
57394 ac_cpp='$CXXCPP $CPPFLAGS'
57395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57398
57399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57400 /* end confdefs.h. */
57401 #include <stdlib.h>
57402 int
57403 main ()
57404 {
57405 strtold(0, 0);
57406 ;
57407 return 0;
57408 }
57409 _ACEOF
57410 if ac_fn_cxx_try_compile "$LINENO"; then :
57411 glibcxx_cv_func_strtold_use=yes
57412 else
57413 glibcxx_cv_func_strtold_use=no
57414 fi
57415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57416 ac_ext=c
57417 ac_cpp='$CPP $CPPFLAGS'
57418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57421
57422
57423 fi
57424
57425 fi
57426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57427 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57428 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57429 for ac_func in strtold
57430 do :
57431 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57432 if test "x$ac_cv_func_strtold" = x""yes; then :
57433 cat >>confdefs.h <<_ACEOF
57434 #define HAVE_STRTOLD 1
57435 _ACEOF
57436
57437 fi
57438 done
57439
57440 fi
57441
57442
57443
57444
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57446 $as_echo_n "checking for strtof declaration... " >&6; }
57447 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57448 if test "${glibcxx_cv_func_strtof_use+set}" = set; 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 <stdlib.h>
57462 int
57463 main ()
57464 {
57465 strtof(0, 0);
57466 ;
57467 return 0;
57468 }
57469 _ACEOF
57470 if ac_fn_cxx_try_compile "$LINENO"; then :
57471 glibcxx_cv_func_strtof_use=yes
57472 else
57473 glibcxx_cv_func_strtof_use=no
57474 fi
57475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57476 ac_ext=c
57477 ac_cpp='$CPP $CPPFLAGS'
57478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57481
57482
57483 fi
57484
57485 fi
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57487 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57488 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57489 for ac_func in strtof
57490 do :
57491 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57492 if test "x$ac_cv_func_strtof" = x""yes; then :
57493 cat >>confdefs.h <<_ACEOF
57494 #define HAVE_STRTOF 1
57495 _ACEOF
57496
57497 fi
57498 done
57499
57500 fi
57501
57502
57503
57504
57505 CXXFLAGS="$ac_save_CXXFLAGS"
57506
57507 ;;
57508 *-netbsd*)
57509 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57510
57511
57512 # If we're not using GNU ld, then there's no point in even trying these
57513 # tests. Check for that first. We should have already tested for gld
57514 # by now (in libtool), but require it now just to be safe...
57515 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57516 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57517
57518
57519
57520 # The name set by libtool depends on the version of libtool. Shame on us
57521 # for depending on an impl detail, but c'est la vie. Older versions used
57522 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57523 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57524 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57525 # set (hence we're using an older libtool), then set it.
57526 if test x${with_gnu_ld+set} != xset; then
57527 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57528 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57529 with_gnu_ld=no
57530 else
57531 with_gnu_ld=$ac_cv_prog_gnu_ld
57532 fi
57533 fi
57534
57535 # Start by getting the version number. I think the libtool test already
57536 # does some of this, but throws away the result.
57537 glibcxx_ld_is_gold=no
57538 if test x"$with_gnu_ld" = x"yes"; then
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57540 $as_echo_n "checking for ld version... " >&6; }
57541
57542 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57543 glibcxx_ld_is_gold=yes
57544 fi
57545 ldver=`$LD --version 2>/dev/null |
57546 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57547
57548 glibcxx_gnu_ld_version=`echo $ldver | \
57549 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57551 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57552 fi
57553
57554 # Set --gc-sections.
57555 glibcxx_have_gc_sections=no
57556 if test "$glibcxx_ld_is_gold" = "yes"; then
57557 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57558 glibcxx_have_gc_sections=yes
57559 fi
57560 else
57561 glibcxx_gcsections_min_ld=21602
57562 if test x"$with_gnu_ld" = x"yes" &&
57563 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57564 glibcxx_have_gc_sections=yes
57565 fi
57566 fi
57567 if test "$glibcxx_have_gc_sections" = "yes"; then
57568 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57569 # NB: This flag only works reliably after 2.16.1. Configure tests
57570 # for this are difficult, so hard wire a value that should work.
57571
57572 ac_test_CFLAGS="${CFLAGS+set}"
57573 ac_save_CFLAGS="$CFLAGS"
57574 CFLAGS='-Wl,--gc-sections'
57575
57576 # Check for -Wl,--gc-sections
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57578 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57579 if test x$gcc_no_link = xyes; then
57580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57581 fi
57582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57583 /* end confdefs.h. */
57584 int one(void) { return 1; }
57585 int two(void) { return 2; }
57586
57587 int
57588 main ()
57589 {
57590 two();
57591 ;
57592 return 0;
57593 }
57594 _ACEOF
57595 if ac_fn_c_try_link "$LINENO"; then :
57596 ac_gcsections=yes
57597 else
57598 ac_gcsections=no
57599 fi
57600 rm -f core conftest.err conftest.$ac_objext \
57601 conftest$ac_exeext conftest.$ac_ext
57602 if test "$ac_gcsections" = "yes"; then
57603 rm -f conftest.c
57604 touch conftest.c
57605 if $CC -c conftest.c; then
57606 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57607 grep "Warning: gc-sections option ignored" > /dev/null; then
57608 ac_gcsections=no
57609 fi
57610 fi
57611 rm -f conftest.c conftest.o conftest
57612 fi
57613 if test "$ac_gcsections" = "yes"; then
57614 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57615 fi
57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57617 $as_echo "$ac_gcsections" >&6; }
57618
57619 if test "$ac_test_CFLAGS" = set; then
57620 CFLAGS="$ac_save_CFLAGS"
57621 else
57622 # this is the suspicious part
57623 CFLAGS=''
57624 fi
57625 fi
57626
57627 # Set -z,relro.
57628 # Note this is only for shared objects.
57629 ac_ld_relro=no
57630 if test x"$with_gnu_ld" = x"yes"; then
57631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57632 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57633 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57634 if test -n "$cxx_z_relo"; then
57635 OPT_LDFLAGS="-Wl,-z,relro"
57636 ac_ld_relro=yes
57637 fi
57638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57639 $as_echo "$ac_ld_relro" >&6; }
57640 fi
57641
57642 # Set linker optimization flags.
57643 if test x"$with_gnu_ld" = x"yes"; then
57644 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57645 fi
57646
57647
57648
57649
57650 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57651
57652 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57653
57654 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57655
57656 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57657
57658 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57659
57660 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57661
57662 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57663
57664 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57665
57666 if test x"long_double_math_on_this_cpu" = x"yes"; then
57667 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57668
57669 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57670
57671 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57672
57673 fi
57674 ;;
57675 *-qnx6.1* | *-qnx6.2*)
57676 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57677
57678
57679 # If we're not using GNU ld, then there's no point in even trying these
57680 # tests. Check for that first. We should have already tested for gld
57681 # by now (in libtool), but require it now just to be safe...
57682 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57683 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57684
57685
57686
57687 # The name set by libtool depends on the version of libtool. Shame on us
57688 # for depending on an impl detail, but c'est la vie. Older versions used
57689 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57690 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57691 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57692 # set (hence we're using an older libtool), then set it.
57693 if test x${with_gnu_ld+set} != xset; then
57694 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57695 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57696 with_gnu_ld=no
57697 else
57698 with_gnu_ld=$ac_cv_prog_gnu_ld
57699 fi
57700 fi
57701
57702 # Start by getting the version number. I think the libtool test already
57703 # does some of this, but throws away the result.
57704 glibcxx_ld_is_gold=no
57705 if test x"$with_gnu_ld" = x"yes"; then
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57707 $as_echo_n "checking for ld version... " >&6; }
57708
57709 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57710 glibcxx_ld_is_gold=yes
57711 fi
57712 ldver=`$LD --version 2>/dev/null |
57713 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57714
57715 glibcxx_gnu_ld_version=`echo $ldver | \
57716 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57718 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57719 fi
57720
57721 # Set --gc-sections.
57722 glibcxx_have_gc_sections=no
57723 if test "$glibcxx_ld_is_gold" = "yes"; then
57724 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57725 glibcxx_have_gc_sections=yes
57726 fi
57727 else
57728 glibcxx_gcsections_min_ld=21602
57729 if test x"$with_gnu_ld" = x"yes" &&
57730 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57731 glibcxx_have_gc_sections=yes
57732 fi
57733 fi
57734 if test "$glibcxx_have_gc_sections" = "yes"; then
57735 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57736 # NB: This flag only works reliably after 2.16.1. Configure tests
57737 # for this are difficult, so hard wire a value that should work.
57738
57739 ac_test_CFLAGS="${CFLAGS+set}"
57740 ac_save_CFLAGS="$CFLAGS"
57741 CFLAGS='-Wl,--gc-sections'
57742
57743 # Check for -Wl,--gc-sections
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57745 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57746 if test x$gcc_no_link = xyes; then
57747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57748 fi
57749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57750 /* end confdefs.h. */
57751 int one(void) { return 1; }
57752 int two(void) { return 2; }
57753
57754 int
57755 main ()
57756 {
57757 two();
57758 ;
57759 return 0;
57760 }
57761 _ACEOF
57762 if ac_fn_c_try_link "$LINENO"; then :
57763 ac_gcsections=yes
57764 else
57765 ac_gcsections=no
57766 fi
57767 rm -f core conftest.err conftest.$ac_objext \
57768 conftest$ac_exeext conftest.$ac_ext
57769 if test "$ac_gcsections" = "yes"; then
57770 rm -f conftest.c
57771 touch conftest.c
57772 if $CC -c conftest.c; then
57773 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57774 grep "Warning: gc-sections option ignored" > /dev/null; then
57775 ac_gcsections=no
57776 fi
57777 fi
57778 rm -f conftest.c conftest.o conftest
57779 fi
57780 if test "$ac_gcsections" = "yes"; then
57781 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57782 fi
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57784 $as_echo "$ac_gcsections" >&6; }
57785
57786 if test "$ac_test_CFLAGS" = set; then
57787 CFLAGS="$ac_save_CFLAGS"
57788 else
57789 # this is the suspicious part
57790 CFLAGS=''
57791 fi
57792 fi
57793
57794 # Set -z,relro.
57795 # Note this is only for shared objects.
57796 ac_ld_relro=no
57797 if test x"$with_gnu_ld" = x"yes"; then
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57799 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57800 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57801 if test -n "$cxx_z_relo"; then
57802 OPT_LDFLAGS="-Wl,-z,relro"
57803 ac_ld_relro=yes
57804 fi
57805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57806 $as_echo "$ac_ld_relro" >&6; }
57807 fi
57808
57809 # Set linker optimization flags.
57810 if test x"$with_gnu_ld" = x"yes"; then
57811 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57812 fi
57813
57814
57815
57816
57817 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57818
57819 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57820
57821 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57822
57823 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57824
57825 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57826
57827 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57828
57829 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57830
57831 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57832
57833 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57834
57835 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57836
57837 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57838
57839 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57840
57841 ;;
57842 *-rtems*)
57843
57844 # All these tests are for C++; save the language and the compiler flags.
57845 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57846 # found in GLIBCXX_CONFIGURE.
57847
57848 ac_ext=cpp
57849 ac_cpp='$CXXCPP $CPPFLAGS'
57850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57853
57854 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57855 ac_save_CXXFLAGS="$CXXFLAGS"
57856
57857 # Check for maintainer-mode bits.
57858 if test x"$USE_MAINTAINER_MODE" = xno; then
57859 WERROR=''
57860 else
57861 WERROR='-Werror'
57862 fi
57863
57864 # Check for -ffunction-sections -fdata-sections
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57866 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57867 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57869 /* end confdefs.h. */
57870 int foo; void bar() { };
57871 int
57872 main ()
57873 {
57874
57875 ;
57876 return 0;
57877 }
57878 _ACEOF
57879 if ac_fn_cxx_try_compile "$LINENO"; then :
57880 ac_fdsections=yes
57881 else
57882 ac_fdsections=no
57883 fi
57884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57885 if test "$ac_test_CXXFLAGS" = set; then
57886 CXXFLAGS="$ac_save_CXXFLAGS"
57887 else
57888 # this is the suspicious part
57889 CXXFLAGS=''
57890 fi
57891 if test x"$ac_fdsections" = x"yes"; then
57892 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57893 fi
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57895 $as_echo "$ac_fdsections" >&6; }
57896
57897 ac_ext=c
57898 ac_cpp='$CPP $CPPFLAGS'
57899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57902
57903
57904
57905
57906
57907 # If we're not using GNU ld, then there's no point in even trying these
57908 # tests. Check for that first. We should have already tested for gld
57909 # by now (in libtool), but require it now just to be safe...
57910 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57911 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57912
57913
57914
57915 # The name set by libtool depends on the version of libtool. Shame on us
57916 # for depending on an impl detail, but c'est la vie. Older versions used
57917 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57918 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57919 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57920 # set (hence we're using an older libtool), then set it.
57921 if test x${with_gnu_ld+set} != xset; then
57922 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57923 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57924 with_gnu_ld=no
57925 else
57926 with_gnu_ld=$ac_cv_prog_gnu_ld
57927 fi
57928 fi
57929
57930 # Start by getting the version number. I think the libtool test already
57931 # does some of this, but throws away the result.
57932 glibcxx_ld_is_gold=no
57933 if test x"$with_gnu_ld" = x"yes"; then
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57935 $as_echo_n "checking for ld version... " >&6; }
57936
57937 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57938 glibcxx_ld_is_gold=yes
57939 fi
57940 ldver=`$LD --version 2>/dev/null |
57941 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57942
57943 glibcxx_gnu_ld_version=`echo $ldver | \
57944 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57946 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57947 fi
57948
57949 # Set --gc-sections.
57950 glibcxx_have_gc_sections=no
57951 if test "$glibcxx_ld_is_gold" = "yes"; then
57952 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57953 glibcxx_have_gc_sections=yes
57954 fi
57955 else
57956 glibcxx_gcsections_min_ld=21602
57957 if test x"$with_gnu_ld" = x"yes" &&
57958 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57959 glibcxx_have_gc_sections=yes
57960 fi
57961 fi
57962 if test "$glibcxx_have_gc_sections" = "yes"; then
57963 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57964 # NB: This flag only works reliably after 2.16.1. Configure tests
57965 # for this are difficult, so hard wire a value that should work.
57966
57967 ac_test_CFLAGS="${CFLAGS+set}"
57968 ac_save_CFLAGS="$CFLAGS"
57969 CFLAGS='-Wl,--gc-sections'
57970
57971 # Check for -Wl,--gc-sections
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57973 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57974 if test x$gcc_no_link = xyes; then
57975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57976 fi
57977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57978 /* end confdefs.h. */
57979 int one(void) { return 1; }
57980 int two(void) { return 2; }
57981
57982 int
57983 main ()
57984 {
57985 two();
57986 ;
57987 return 0;
57988 }
57989 _ACEOF
57990 if ac_fn_c_try_link "$LINENO"; then :
57991 ac_gcsections=yes
57992 else
57993 ac_gcsections=no
57994 fi
57995 rm -f core conftest.err conftest.$ac_objext \
57996 conftest$ac_exeext conftest.$ac_ext
57997 if test "$ac_gcsections" = "yes"; then
57998 rm -f conftest.c
57999 touch conftest.c
58000 if $CC -c conftest.c; then
58001 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58002 grep "Warning: gc-sections option ignored" > /dev/null; then
58003 ac_gcsections=no
58004 fi
58005 fi
58006 rm -f conftest.c conftest.o conftest
58007 fi
58008 if test "$ac_gcsections" = "yes"; then
58009 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58010 fi
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58012 $as_echo "$ac_gcsections" >&6; }
58013
58014 if test "$ac_test_CFLAGS" = set; then
58015 CFLAGS="$ac_save_CFLAGS"
58016 else
58017 # this is the suspicious part
58018 CFLAGS=''
58019 fi
58020 fi
58021
58022 # Set -z,relro.
58023 # Note this is only for shared objects.
58024 ac_ld_relro=no
58025 if test x"$with_gnu_ld" = x"yes"; then
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58027 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58028 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58029 if test -n "$cxx_z_relo"; then
58030 OPT_LDFLAGS="-Wl,-z,relro"
58031 ac_ld_relro=yes
58032 fi
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58034 $as_echo "$ac_ld_relro" >&6; }
58035 fi
58036
58037 # Set linker optimization flags.
58038 if test x"$with_gnu_ld" = x"yes"; then
58039 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58040 fi
58041
58042
58043
58044
58045
58046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58047 ac_save_CXXFLAGS="$CXXFLAGS"
58048 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58049
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58051 $as_echo_n "checking for sin in -lm... " >&6; }
58052 if test "${ac_cv_lib_m_sin+set}" = set; then :
58053 $as_echo_n "(cached) " >&6
58054 else
58055 ac_check_lib_save_LIBS=$LIBS
58056 LIBS="-lm $LIBS"
58057 if test x$gcc_no_link = xyes; then
58058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58059 fi
58060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58061 /* end confdefs.h. */
58062
58063 /* Override any GCC internal prototype to avoid an error.
58064 Use char because int might match the return type of a GCC
58065 builtin and then its argument prototype would still apply. */
58066 #ifdef __cplusplus
58067 extern "C"
58068 #endif
58069 char sin ();
58070 int
58071 main ()
58072 {
58073 return sin ();
58074 ;
58075 return 0;
58076 }
58077 _ACEOF
58078 if ac_fn_c_try_link "$LINENO"; then :
58079 ac_cv_lib_m_sin=yes
58080 else
58081 ac_cv_lib_m_sin=no
58082 fi
58083 rm -f core conftest.err conftest.$ac_objext \
58084 conftest$ac_exeext conftest.$ac_ext
58085 LIBS=$ac_check_lib_save_LIBS
58086 fi
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58088 $as_echo "$ac_cv_lib_m_sin" >&6; }
58089 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58090 libm="-lm"
58091 fi
58092
58093 ac_save_LIBS="$LIBS"
58094 LIBS="$LIBS $libm"
58095
58096
58097
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58099 $as_echo_n "checking for isinf declaration... " >&6; }
58100 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58101 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58102 $as_echo_n "(cached) " >&6
58103 else
58104
58105
58106 ac_ext=cpp
58107 ac_cpp='$CXXCPP $CPPFLAGS'
58108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58111
58112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58113 /* end confdefs.h. */
58114 #include <math.h>
58115 #ifdef HAVE_IEEEFP_H
58116 #include <ieeefp.h>
58117 #endif
58118
58119 int
58120 main ()
58121 {
58122 isinf(0);
58123 ;
58124 return 0;
58125 }
58126 _ACEOF
58127 if ac_fn_cxx_try_compile "$LINENO"; then :
58128 glibcxx_cv_func_isinf_use=yes
58129 else
58130 glibcxx_cv_func_isinf_use=no
58131 fi
58132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58133 ac_ext=c
58134 ac_cpp='$CPP $CPPFLAGS'
58135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58138
58139
58140 fi
58141
58142 fi
58143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58144 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58145
58146 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58147 for ac_func in isinf
58148 do :
58149 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58150 if test "x$ac_cv_func_isinf" = x""yes; then :
58151 cat >>confdefs.h <<_ACEOF
58152 #define HAVE_ISINF 1
58153 _ACEOF
58154
58155 fi
58156 done
58157
58158 else
58159
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58161 $as_echo_n "checking for _isinf declaration... " >&6; }
58162 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58163 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58164 $as_echo_n "(cached) " >&6
58165 else
58166
58167
58168 ac_ext=cpp
58169 ac_cpp='$CXXCPP $CPPFLAGS'
58170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58173
58174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58175 /* end confdefs.h. */
58176 #include <math.h>
58177 #ifdef HAVE_IEEEFP_H
58178 #include <ieeefp.h>
58179 #endif
58180
58181 int
58182 main ()
58183 {
58184 _isinf(0);
58185 ;
58186 return 0;
58187 }
58188 _ACEOF
58189 if ac_fn_cxx_try_compile "$LINENO"; then :
58190 glibcxx_cv_func__isinf_use=yes
58191 else
58192 glibcxx_cv_func__isinf_use=no
58193 fi
58194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58195 ac_ext=c
58196 ac_cpp='$CPP $CPPFLAGS'
58197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58200
58201
58202 fi
58203
58204 fi
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58206 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58207
58208 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58209 for ac_func in _isinf
58210 do :
58211 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58212 if test "x$ac_cv_func__isinf" = x""yes; then :
58213 cat >>confdefs.h <<_ACEOF
58214 #define HAVE__ISINF 1
58215 _ACEOF
58216
58217 fi
58218 done
58219
58220 fi
58221 fi
58222
58223
58224
58225
58226
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58228 $as_echo_n "checking for isnan declaration... " >&6; }
58229 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58230 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58231 $as_echo_n "(cached) " >&6
58232 else
58233
58234
58235 ac_ext=cpp
58236 ac_cpp='$CXXCPP $CPPFLAGS'
58237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58240
58241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58242 /* end confdefs.h. */
58243 #include <math.h>
58244 #ifdef HAVE_IEEEFP_H
58245 #include <ieeefp.h>
58246 #endif
58247
58248 int
58249 main ()
58250 {
58251 isnan(0);
58252 ;
58253 return 0;
58254 }
58255 _ACEOF
58256 if ac_fn_cxx_try_compile "$LINENO"; then :
58257 glibcxx_cv_func_isnan_use=yes
58258 else
58259 glibcxx_cv_func_isnan_use=no
58260 fi
58261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58262 ac_ext=c
58263 ac_cpp='$CPP $CPPFLAGS'
58264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58267
58268
58269 fi
58270
58271 fi
58272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58273 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58274
58275 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58276 for ac_func in isnan
58277 do :
58278 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58279 if test "x$ac_cv_func_isnan" = x""yes; then :
58280 cat >>confdefs.h <<_ACEOF
58281 #define HAVE_ISNAN 1
58282 _ACEOF
58283
58284 fi
58285 done
58286
58287 else
58288
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58290 $as_echo_n "checking for _isnan declaration... " >&6; }
58291 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58292 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58293 $as_echo_n "(cached) " >&6
58294 else
58295
58296
58297 ac_ext=cpp
58298 ac_cpp='$CXXCPP $CPPFLAGS'
58299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58302
58303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58304 /* end confdefs.h. */
58305 #include <math.h>
58306 #ifdef HAVE_IEEEFP_H
58307 #include <ieeefp.h>
58308 #endif
58309
58310 int
58311 main ()
58312 {
58313 _isnan(0);
58314 ;
58315 return 0;
58316 }
58317 _ACEOF
58318 if ac_fn_cxx_try_compile "$LINENO"; then :
58319 glibcxx_cv_func__isnan_use=yes
58320 else
58321 glibcxx_cv_func__isnan_use=no
58322 fi
58323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58324 ac_ext=c
58325 ac_cpp='$CPP $CPPFLAGS'
58326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58329
58330
58331 fi
58332
58333 fi
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58335 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58336
58337 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58338 for ac_func in _isnan
58339 do :
58340 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58341 if test "x$ac_cv_func__isnan" = x""yes; then :
58342 cat >>confdefs.h <<_ACEOF
58343 #define HAVE__ISNAN 1
58344 _ACEOF
58345
58346 fi
58347 done
58348
58349 fi
58350 fi
58351
58352
58353
58354
58355
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58357 $as_echo_n "checking for finite declaration... " >&6; }
58358 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58359 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58360 $as_echo_n "(cached) " >&6
58361 else
58362
58363
58364 ac_ext=cpp
58365 ac_cpp='$CXXCPP $CPPFLAGS'
58366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58369
58370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58371 /* end confdefs.h. */
58372 #include <math.h>
58373 #ifdef HAVE_IEEEFP_H
58374 #include <ieeefp.h>
58375 #endif
58376
58377 int
58378 main ()
58379 {
58380 finite(0);
58381 ;
58382 return 0;
58383 }
58384 _ACEOF
58385 if ac_fn_cxx_try_compile "$LINENO"; then :
58386 glibcxx_cv_func_finite_use=yes
58387 else
58388 glibcxx_cv_func_finite_use=no
58389 fi
58390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58391 ac_ext=c
58392 ac_cpp='$CPP $CPPFLAGS'
58393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58396
58397
58398 fi
58399
58400 fi
58401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58402 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58403
58404 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58405 for ac_func in finite
58406 do :
58407 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58408 if test "x$ac_cv_func_finite" = x""yes; then :
58409 cat >>confdefs.h <<_ACEOF
58410 #define HAVE_FINITE 1
58411 _ACEOF
58412
58413 fi
58414 done
58415
58416 else
58417
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58419 $as_echo_n "checking for _finite declaration... " >&6; }
58420 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58421 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58423 else
58424
58425
58426 ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58434 #include <math.h>
58435 #ifdef HAVE_IEEEFP_H
58436 #include <ieeefp.h>
58437 #endif
58438
58439 int
58440 main ()
58441 {
58442 _finite(0);
58443 ;
58444 return 0;
58445 }
58446 _ACEOF
58447 if ac_fn_cxx_try_compile "$LINENO"; then :
58448 glibcxx_cv_func__finite_use=yes
58449 else
58450 glibcxx_cv_func__finite_use=no
58451 fi
58452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58453 ac_ext=c
58454 ac_cpp='$CPP $CPPFLAGS'
58455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58458
58459
58460 fi
58461
58462 fi
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58464 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58465
58466 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58467 for ac_func in _finite
58468 do :
58469 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58470 if test "x$ac_cv_func__finite" = x""yes; then :
58471 cat >>confdefs.h <<_ACEOF
58472 #define HAVE__FINITE 1
58473 _ACEOF
58474
58475 fi
58476 done
58477
58478 fi
58479 fi
58480
58481
58482
58483
58484
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58486 $as_echo_n "checking for sincos declaration... " >&6; }
58487 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58488 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58489 $as_echo_n "(cached) " >&6
58490 else
58491
58492
58493 ac_ext=cpp
58494 ac_cpp='$CXXCPP $CPPFLAGS'
58495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58498
58499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58500 /* end confdefs.h. */
58501 #include <math.h>
58502 int
58503 main ()
58504 {
58505 sincos(0, 0, 0);
58506 ;
58507 return 0;
58508 }
58509 _ACEOF
58510 if ac_fn_cxx_try_compile "$LINENO"; then :
58511 glibcxx_cv_func_sincos_use=yes
58512 else
58513 glibcxx_cv_func_sincos_use=no
58514 fi
58515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58516 ac_ext=c
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58521
58522
58523 fi
58524
58525 fi
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58527 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58528
58529 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58530 for ac_func in sincos
58531 do :
58532 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58533 if test "x$ac_cv_func_sincos" = x""yes; then :
58534 cat >>confdefs.h <<_ACEOF
58535 #define HAVE_SINCOS 1
58536 _ACEOF
58537
58538 fi
58539 done
58540
58541 else
58542
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58544 $as_echo_n "checking for _sincos declaration... " >&6; }
58545 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58546 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58547 $as_echo_n "(cached) " >&6
58548 else
58549
58550
58551 ac_ext=cpp
58552 ac_cpp='$CXXCPP $CPPFLAGS'
58553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58556
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 #include <math.h>
58560 int
58561 main ()
58562 {
58563 _sincos(0, 0, 0);
58564 ;
58565 return 0;
58566 }
58567 _ACEOF
58568 if ac_fn_cxx_try_compile "$LINENO"; then :
58569 glibcxx_cv_func__sincos_use=yes
58570 else
58571 glibcxx_cv_func__sincos_use=no
58572 fi
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 ac_ext=c
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58579
58580
58581 fi
58582
58583 fi
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58585 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58586
58587 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58588 for ac_func in _sincos
58589 do :
58590 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58591 if test "x$ac_cv_func__sincos" = x""yes; then :
58592 cat >>confdefs.h <<_ACEOF
58593 #define HAVE__SINCOS 1
58594 _ACEOF
58595
58596 fi
58597 done
58598
58599 fi
58600 fi
58601
58602
58603
58604
58605
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58607 $as_echo_n "checking for fpclass declaration... " >&6; }
58608 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58609 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58610 $as_echo_n "(cached) " >&6
58611 else
58612
58613
58614 ac_ext=cpp
58615 ac_cpp='$CXXCPP $CPPFLAGS'
58616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58619
58620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58621 /* end confdefs.h. */
58622 #include <math.h>
58623 #ifdef HAVE_IEEEFP_H
58624 #include <ieeefp.h>
58625 #endif
58626
58627 int
58628 main ()
58629 {
58630 fpclass(0);
58631 ;
58632 return 0;
58633 }
58634 _ACEOF
58635 if ac_fn_cxx_try_compile "$LINENO"; then :
58636 glibcxx_cv_func_fpclass_use=yes
58637 else
58638 glibcxx_cv_func_fpclass_use=no
58639 fi
58640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58641 ac_ext=c
58642 ac_cpp='$CPP $CPPFLAGS'
58643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58646
58647
58648 fi
58649
58650 fi
58651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58652 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58653
58654 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58655 for ac_func in fpclass
58656 do :
58657 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58658 if test "x$ac_cv_func_fpclass" = x""yes; then :
58659 cat >>confdefs.h <<_ACEOF
58660 #define HAVE_FPCLASS 1
58661 _ACEOF
58662
58663 fi
58664 done
58665
58666 else
58667
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58669 $as_echo_n "checking for _fpclass declaration... " >&6; }
58670 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58671 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58672 $as_echo_n "(cached) " >&6
58673 else
58674
58675
58676 ac_ext=cpp
58677 ac_cpp='$CXXCPP $CPPFLAGS'
58678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58681
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 #include <math.h>
58685 #ifdef HAVE_IEEEFP_H
58686 #include <ieeefp.h>
58687 #endif
58688
58689 int
58690 main ()
58691 {
58692 _fpclass(0);
58693 ;
58694 return 0;
58695 }
58696 _ACEOF
58697 if ac_fn_cxx_try_compile "$LINENO"; then :
58698 glibcxx_cv_func__fpclass_use=yes
58699 else
58700 glibcxx_cv_func__fpclass_use=no
58701 fi
58702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58703 ac_ext=c
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58708
58709
58710 fi
58711
58712 fi
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58714 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58715
58716 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58717 for ac_func in _fpclass
58718 do :
58719 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58720 if test "x$ac_cv_func__fpclass" = x""yes; then :
58721 cat >>confdefs.h <<_ACEOF
58722 #define HAVE__FPCLASS 1
58723 _ACEOF
58724
58725 fi
58726 done
58727
58728 fi
58729 fi
58730
58731
58732
58733
58734
58735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58736 $as_echo_n "checking for qfpclass declaration... " >&6; }
58737 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58738 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58739 $as_echo_n "(cached) " >&6
58740 else
58741
58742
58743 ac_ext=cpp
58744 ac_cpp='$CXXCPP $CPPFLAGS'
58745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58748
58749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58750 /* end confdefs.h. */
58751 #include <math.h>
58752 #ifdef HAVE_IEEEFP_H
58753 #include <ieeefp.h>
58754 #endif
58755
58756 int
58757 main ()
58758 {
58759 qfpclass(0);
58760 ;
58761 return 0;
58762 }
58763 _ACEOF
58764 if ac_fn_cxx_try_compile "$LINENO"; then :
58765 glibcxx_cv_func_qfpclass_use=yes
58766 else
58767 glibcxx_cv_func_qfpclass_use=no
58768 fi
58769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58770 ac_ext=c
58771 ac_cpp='$CPP $CPPFLAGS'
58772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58775
58776
58777 fi
58778
58779 fi
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58781 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58782
58783 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58784 for ac_func in qfpclass
58785 do :
58786 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58787 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58788 cat >>confdefs.h <<_ACEOF
58789 #define HAVE_QFPCLASS 1
58790 _ACEOF
58791
58792 fi
58793 done
58794
58795 else
58796
58797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58798 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58799 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58800 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58801 $as_echo_n "(cached) " >&6
58802 else
58803
58804
58805 ac_ext=cpp
58806 ac_cpp='$CXXCPP $CPPFLAGS'
58807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58810
58811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58812 /* end confdefs.h. */
58813 #include <math.h>
58814 #ifdef HAVE_IEEEFP_H
58815 #include <ieeefp.h>
58816 #endif
58817
58818 int
58819 main ()
58820 {
58821 _qfpclass(0);
58822 ;
58823 return 0;
58824 }
58825 _ACEOF
58826 if ac_fn_cxx_try_compile "$LINENO"; then :
58827 glibcxx_cv_func__qfpclass_use=yes
58828 else
58829 glibcxx_cv_func__qfpclass_use=no
58830 fi
58831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58832 ac_ext=c
58833 ac_cpp='$CPP $CPPFLAGS'
58834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58837
58838
58839 fi
58840
58841 fi
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58843 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58844
58845 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58846 for ac_func in _qfpclass
58847 do :
58848 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58849 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58850 cat >>confdefs.h <<_ACEOF
58851 #define HAVE__QFPCLASS 1
58852 _ACEOF
58853
58854 fi
58855 done
58856
58857 fi
58858 fi
58859
58860
58861
58862
58863
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58865 $as_echo_n "checking for hypot declaration... " >&6; }
58866 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58867 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58868 $as_echo_n "(cached) " >&6
58869 else
58870
58871
58872 ac_ext=cpp
58873 ac_cpp='$CXXCPP $CPPFLAGS'
58874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58877
58878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58879 /* end confdefs.h. */
58880 #include <math.h>
58881 int
58882 main ()
58883 {
58884 hypot(0, 0);
58885 ;
58886 return 0;
58887 }
58888 _ACEOF
58889 if ac_fn_cxx_try_compile "$LINENO"; then :
58890 glibcxx_cv_func_hypot_use=yes
58891 else
58892 glibcxx_cv_func_hypot_use=no
58893 fi
58894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58895 ac_ext=c
58896 ac_cpp='$CPP $CPPFLAGS'
58897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58900
58901
58902 fi
58903
58904 fi
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58906 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58907
58908 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58909 for ac_func in hypot
58910 do :
58911 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58912 if test "x$ac_cv_func_hypot" = x""yes; then :
58913 cat >>confdefs.h <<_ACEOF
58914 #define HAVE_HYPOT 1
58915 _ACEOF
58916
58917 fi
58918 done
58919
58920 else
58921
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58923 $as_echo_n "checking for _hypot declaration... " >&6; }
58924 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58925 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58926 $as_echo_n "(cached) " >&6
58927 else
58928
58929
58930 ac_ext=cpp
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58935
58936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h. */
58938 #include <math.h>
58939 int
58940 main ()
58941 {
58942 _hypot(0, 0);
58943 ;
58944 return 0;
58945 }
58946 _ACEOF
58947 if ac_fn_cxx_try_compile "$LINENO"; then :
58948 glibcxx_cv_func__hypot_use=yes
58949 else
58950 glibcxx_cv_func__hypot_use=no
58951 fi
58952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58953 ac_ext=c
58954 ac_cpp='$CPP $CPPFLAGS'
58955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58958
58959
58960 fi
58961
58962 fi
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58964 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58965
58966 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58967 for ac_func in _hypot
58968 do :
58969 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58970 if test "x$ac_cv_func__hypot" = x""yes; then :
58971 cat >>confdefs.h <<_ACEOF
58972 #define HAVE__HYPOT 1
58973 _ACEOF
58974
58975 fi
58976 done
58977
58978 fi
58979 fi
58980
58981
58982
58983
58984
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58986 $as_echo_n "checking for float trig functions... " >&6; }
58987 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58988 $as_echo_n "(cached) " >&6
58989 else
58990
58991
58992 ac_ext=cpp
58993 ac_cpp='$CXXCPP $CPPFLAGS'
58994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997
58998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h. */
59000 #include <math.h>
59001 int
59002 main ()
59003 {
59004 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59005 ;
59006 return 0;
59007 }
59008 _ACEOF
59009 if ac_fn_cxx_try_compile "$LINENO"; then :
59010 glibcxx_cv_func_float_trig_use=yes
59011 else
59012 glibcxx_cv_func_float_trig_use=no
59013 fi
59014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59015 ac_ext=c
59016 ac_cpp='$CPP $CPPFLAGS'
59017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59020
59021 fi
59022
59023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59024 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59025 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59026 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59027 do :
59028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59030 eval as_val=\$$as_ac_var
59031 if test "x$as_val" = x""yes; then :
59032 cat >>confdefs.h <<_ACEOF
59033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59034 _ACEOF
59035
59036 fi
59037 done
59038
59039 else
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59041 $as_echo_n "checking for _float trig functions... " >&6; }
59042 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59043 $as_echo_n "(cached) " >&6
59044 else
59045
59046
59047 ac_ext=cpp
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59052
59053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h. */
59055 #include <math.h>
59056 int
59057 main ()
59058 {
59059 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59060 ;
59061 return 0;
59062 }
59063 _ACEOF
59064 if ac_fn_cxx_try_compile "$LINENO"; then :
59065 glibcxx_cv_func__float_trig_use=yes
59066 else
59067 glibcxx_cv_func__float_trig_use=no
59068 fi
59069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59070 ac_ext=c
59071 ac_cpp='$CPP $CPPFLAGS'
59072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59075
59076 fi
59077
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59079 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59080 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59081 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59082 do :
59083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59085 eval as_val=\$$as_ac_var
59086 if test "x$as_val" = x""yes; then :
59087 cat >>confdefs.h <<_ACEOF
59088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59089 _ACEOF
59090
59091 fi
59092 done
59093
59094 fi
59095 fi
59096
59097
59098
59099
59100
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59102 $as_echo_n "checking for float round functions... " >&6; }
59103 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59104 $as_echo_n "(cached) " >&6
59105 else
59106
59107
59108 ac_ext=cpp
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59113
59114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h. */
59116 #include <math.h>
59117 int
59118 main ()
59119 {
59120 ceilf (0); floorf (0);
59121 ;
59122 return 0;
59123 }
59124 _ACEOF
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126 glibcxx_cv_func_float_round_use=yes
59127 else
59128 glibcxx_cv_func_float_round_use=no
59129 fi
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59131 ac_ext=c
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59136
59137 fi
59138
59139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59140 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59141 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59142 for ac_func in ceilf floorf
59143 do :
59144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59146 eval as_val=\$$as_ac_var
59147 if test "x$as_val" = x""yes; then :
59148 cat >>confdefs.h <<_ACEOF
59149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59150 _ACEOF
59151
59152 fi
59153 done
59154
59155 else
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59157 $as_echo_n "checking for _float round functions... " >&6; }
59158 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59159 $as_echo_n "(cached) " >&6
59160 else
59161
59162
59163 ac_ext=cpp
59164 ac_cpp='$CXXCPP $CPPFLAGS'
59165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59168
59169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59170 /* end confdefs.h. */
59171 #include <math.h>
59172 int
59173 main ()
59174 {
59175 _ceilf (0); _floorf (0);
59176 ;
59177 return 0;
59178 }
59179 _ACEOF
59180 if ac_fn_cxx_try_compile "$LINENO"; then :
59181 glibcxx_cv_func__float_round_use=yes
59182 else
59183 glibcxx_cv_func__float_round_use=no
59184 fi
59185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59186 ac_ext=c
59187 ac_cpp='$CPP $CPPFLAGS'
59188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59191
59192 fi
59193
59194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59195 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59196 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59197 for ac_func in _ceilf _floorf
59198 do :
59199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59201 eval as_val=\$$as_ac_var
59202 if test "x$as_val" = x""yes; then :
59203 cat >>confdefs.h <<_ACEOF
59204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59205 _ACEOF
59206
59207 fi
59208 done
59209
59210 fi
59211 fi
59212
59213
59214
59215
59216
59217
59218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59219 $as_echo_n "checking for expf declaration... " >&6; }
59220 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59221 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59222 $as_echo_n "(cached) " >&6
59223 else
59224
59225
59226 ac_ext=cpp
59227 ac_cpp='$CXXCPP $CPPFLAGS'
59228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59231
59232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59233 /* end confdefs.h. */
59234 #include <math.h>
59235 #ifdef HAVE_IEEEFP_H
59236 #include <ieeefp.h>
59237 #endif
59238
59239 int
59240 main ()
59241 {
59242 expf(0);
59243 ;
59244 return 0;
59245 }
59246 _ACEOF
59247 if ac_fn_cxx_try_compile "$LINENO"; then :
59248 glibcxx_cv_func_expf_use=yes
59249 else
59250 glibcxx_cv_func_expf_use=no
59251 fi
59252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59253 ac_ext=c
59254 ac_cpp='$CPP $CPPFLAGS'
59255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59258
59259
59260 fi
59261
59262 fi
59263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59264 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59265
59266 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59267 for ac_func in expf
59268 do :
59269 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59270 if test "x$ac_cv_func_expf" = x""yes; then :
59271 cat >>confdefs.h <<_ACEOF
59272 #define HAVE_EXPF 1
59273 _ACEOF
59274
59275 fi
59276 done
59277
59278 else
59279
59280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59281 $as_echo_n "checking for _expf declaration... " >&6; }
59282 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59283 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59284 $as_echo_n "(cached) " >&6
59285 else
59286
59287
59288 ac_ext=cpp
59289 ac_cpp='$CXXCPP $CPPFLAGS'
59290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59293
59294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59295 /* end confdefs.h. */
59296 #include <math.h>
59297 #ifdef HAVE_IEEEFP_H
59298 #include <ieeefp.h>
59299 #endif
59300
59301 int
59302 main ()
59303 {
59304 _expf(0);
59305 ;
59306 return 0;
59307 }
59308 _ACEOF
59309 if ac_fn_cxx_try_compile "$LINENO"; then :
59310 glibcxx_cv_func__expf_use=yes
59311 else
59312 glibcxx_cv_func__expf_use=no
59313 fi
59314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59315 ac_ext=c
59316 ac_cpp='$CPP $CPPFLAGS'
59317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59320
59321
59322 fi
59323
59324 fi
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59326 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59327
59328 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59329 for ac_func in _expf
59330 do :
59331 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59332 if test "x$ac_cv_func__expf" = x""yes; then :
59333 cat >>confdefs.h <<_ACEOF
59334 #define HAVE__EXPF 1
59335 _ACEOF
59336
59337 fi
59338 done
59339
59340 fi
59341 fi
59342
59343
59344
59345
59346
59347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59348 $as_echo_n "checking for isnanf declaration... " >&6; }
59349 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59350 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59351 $as_echo_n "(cached) " >&6
59352 else
59353
59354
59355 ac_ext=cpp
59356 ac_cpp='$CXXCPP $CPPFLAGS'
59357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59360
59361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59362 /* end confdefs.h. */
59363 #include <math.h>
59364 #ifdef HAVE_IEEEFP_H
59365 #include <ieeefp.h>
59366 #endif
59367
59368 int
59369 main ()
59370 {
59371 isnanf(0);
59372 ;
59373 return 0;
59374 }
59375 _ACEOF
59376 if ac_fn_cxx_try_compile "$LINENO"; then :
59377 glibcxx_cv_func_isnanf_use=yes
59378 else
59379 glibcxx_cv_func_isnanf_use=no
59380 fi
59381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59382 ac_ext=c
59383 ac_cpp='$CPP $CPPFLAGS'
59384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59387
59388
59389 fi
59390
59391 fi
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59393 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59394
59395 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59396 for ac_func in isnanf
59397 do :
59398 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59399 if test "x$ac_cv_func_isnanf" = x""yes; then :
59400 cat >>confdefs.h <<_ACEOF
59401 #define HAVE_ISNANF 1
59402 _ACEOF
59403
59404 fi
59405 done
59406
59407 else
59408
59409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59410 $as_echo_n "checking for _isnanf declaration... " >&6; }
59411 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59412 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59413 $as_echo_n "(cached) " >&6
59414 else
59415
59416
59417 ac_ext=cpp
59418 ac_cpp='$CXXCPP $CPPFLAGS'
59419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59422
59423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59424 /* end confdefs.h. */
59425 #include <math.h>
59426 #ifdef HAVE_IEEEFP_H
59427 #include <ieeefp.h>
59428 #endif
59429
59430 int
59431 main ()
59432 {
59433 _isnanf(0);
59434 ;
59435 return 0;
59436 }
59437 _ACEOF
59438 if ac_fn_cxx_try_compile "$LINENO"; then :
59439 glibcxx_cv_func__isnanf_use=yes
59440 else
59441 glibcxx_cv_func__isnanf_use=no
59442 fi
59443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59444 ac_ext=c
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449
59450
59451 fi
59452
59453 fi
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59455 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59456
59457 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59458 for ac_func in _isnanf
59459 do :
59460 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59461 if test "x$ac_cv_func__isnanf" = x""yes; then :
59462 cat >>confdefs.h <<_ACEOF
59463 #define HAVE__ISNANF 1
59464 _ACEOF
59465
59466 fi
59467 done
59468
59469 fi
59470 fi
59471
59472
59473
59474
59475
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59477 $as_echo_n "checking for isinff declaration... " >&6; }
59478 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59479 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59480 $as_echo_n "(cached) " >&6
59481 else
59482
59483
59484 ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59489
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59492 #include <math.h>
59493 #ifdef HAVE_IEEEFP_H
59494 #include <ieeefp.h>
59495 #endif
59496
59497 int
59498 main ()
59499 {
59500 isinff(0);
59501 ;
59502 return 0;
59503 }
59504 _ACEOF
59505 if ac_fn_cxx_try_compile "$LINENO"; then :
59506 glibcxx_cv_func_isinff_use=yes
59507 else
59508 glibcxx_cv_func_isinff_use=no
59509 fi
59510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59511 ac_ext=c
59512 ac_cpp='$CPP $CPPFLAGS'
59513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59516
59517
59518 fi
59519
59520 fi
59521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59522 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59523
59524 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59525 for ac_func in isinff
59526 do :
59527 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59528 if test "x$ac_cv_func_isinff" = x""yes; then :
59529 cat >>confdefs.h <<_ACEOF
59530 #define HAVE_ISINFF 1
59531 _ACEOF
59532
59533 fi
59534 done
59535
59536 else
59537
59538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59539 $as_echo_n "checking for _isinff declaration... " >&6; }
59540 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59541 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59542 $as_echo_n "(cached) " >&6
59543 else
59544
59545
59546 ac_ext=cpp
59547 ac_cpp='$CXXCPP $CPPFLAGS'
59548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551
59552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59553 /* end confdefs.h. */
59554 #include <math.h>
59555 #ifdef HAVE_IEEEFP_H
59556 #include <ieeefp.h>
59557 #endif
59558
59559 int
59560 main ()
59561 {
59562 _isinff(0);
59563 ;
59564 return 0;
59565 }
59566 _ACEOF
59567 if ac_fn_cxx_try_compile "$LINENO"; then :
59568 glibcxx_cv_func__isinff_use=yes
59569 else
59570 glibcxx_cv_func__isinff_use=no
59571 fi
59572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59573 ac_ext=c
59574 ac_cpp='$CPP $CPPFLAGS'
59575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59578
59579
59580 fi
59581
59582 fi
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59584 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59585
59586 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59587 for ac_func in _isinff
59588 do :
59589 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59590 if test "x$ac_cv_func__isinff" = x""yes; then :
59591 cat >>confdefs.h <<_ACEOF
59592 #define HAVE__ISINFF 1
59593 _ACEOF
59594
59595 fi
59596 done
59597
59598 fi
59599 fi
59600
59601
59602
59603
59604
59605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59606 $as_echo_n "checking for atan2f declaration... " >&6; }
59607 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59608 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59609 $as_echo_n "(cached) " >&6
59610 else
59611
59612
59613 ac_ext=cpp
59614 ac_cpp='$CXXCPP $CPPFLAGS'
59615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59618
59619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59620 /* end confdefs.h. */
59621 #include <math.h>
59622 int
59623 main ()
59624 {
59625 atan2f(0, 0);
59626 ;
59627 return 0;
59628 }
59629 _ACEOF
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631 glibcxx_cv_func_atan2f_use=yes
59632 else
59633 glibcxx_cv_func_atan2f_use=no
59634 fi
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59636 ac_ext=c
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59641
59642
59643 fi
59644
59645 fi
59646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59647 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59648
59649 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59650 for ac_func in atan2f
59651 do :
59652 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59653 if test "x$ac_cv_func_atan2f" = x""yes; then :
59654 cat >>confdefs.h <<_ACEOF
59655 #define HAVE_ATAN2F 1
59656 _ACEOF
59657
59658 fi
59659 done
59660
59661 else
59662
59663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59664 $as_echo_n "checking for _atan2f declaration... " >&6; }
59665 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59666 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59667 $as_echo_n "(cached) " >&6
59668 else
59669
59670
59671 ac_ext=cpp
59672 ac_cpp='$CXXCPP $CPPFLAGS'
59673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59676
59677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59678 /* end confdefs.h. */
59679 #include <math.h>
59680 int
59681 main ()
59682 {
59683 _atan2f(0, 0);
59684 ;
59685 return 0;
59686 }
59687 _ACEOF
59688 if ac_fn_cxx_try_compile "$LINENO"; then :
59689 glibcxx_cv_func__atan2f_use=yes
59690 else
59691 glibcxx_cv_func__atan2f_use=no
59692 fi
59693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59694 ac_ext=c
59695 ac_cpp='$CPP $CPPFLAGS'
59696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59699
59700
59701 fi
59702
59703 fi
59704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59705 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59706
59707 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59708 for ac_func in _atan2f
59709 do :
59710 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59711 if test "x$ac_cv_func__atan2f" = x""yes; then :
59712 cat >>confdefs.h <<_ACEOF
59713 #define HAVE__ATAN2F 1
59714 _ACEOF
59715
59716 fi
59717 done
59718
59719 fi
59720 fi
59721
59722
59723
59724
59725
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59727 $as_echo_n "checking for fabsf declaration... " >&6; }
59728 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59729 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59730 $as_echo_n "(cached) " >&6
59731 else
59732
59733
59734 ac_ext=cpp
59735 ac_cpp='$CXXCPP $CPPFLAGS'
59736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59739
59740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59741 /* end confdefs.h. */
59742 #include <math.h>
59743 #ifdef HAVE_IEEEFP_H
59744 #include <ieeefp.h>
59745 #endif
59746
59747 int
59748 main ()
59749 {
59750 fabsf(0);
59751 ;
59752 return 0;
59753 }
59754 _ACEOF
59755 if ac_fn_cxx_try_compile "$LINENO"; then :
59756 glibcxx_cv_func_fabsf_use=yes
59757 else
59758 glibcxx_cv_func_fabsf_use=no
59759 fi
59760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59761 ac_ext=c
59762 ac_cpp='$CPP $CPPFLAGS'
59763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59766
59767
59768 fi
59769
59770 fi
59771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59772 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59773
59774 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59775 for ac_func in fabsf
59776 do :
59777 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59778 if test "x$ac_cv_func_fabsf" = x""yes; then :
59779 cat >>confdefs.h <<_ACEOF
59780 #define HAVE_FABSF 1
59781 _ACEOF
59782
59783 fi
59784 done
59785
59786 else
59787
59788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59789 $as_echo_n "checking for _fabsf declaration... " >&6; }
59790 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59791 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59792 $as_echo_n "(cached) " >&6
59793 else
59794
59795
59796 ac_ext=cpp
59797 ac_cpp='$CXXCPP $CPPFLAGS'
59798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59801
59802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59803 /* end confdefs.h. */
59804 #include <math.h>
59805 #ifdef HAVE_IEEEFP_H
59806 #include <ieeefp.h>
59807 #endif
59808
59809 int
59810 main ()
59811 {
59812 _fabsf(0);
59813 ;
59814 return 0;
59815 }
59816 _ACEOF
59817 if ac_fn_cxx_try_compile "$LINENO"; then :
59818 glibcxx_cv_func__fabsf_use=yes
59819 else
59820 glibcxx_cv_func__fabsf_use=no
59821 fi
59822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59823 ac_ext=c
59824 ac_cpp='$CPP $CPPFLAGS'
59825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59828
59829
59830 fi
59831
59832 fi
59833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59834 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59835
59836 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59837 for ac_func in _fabsf
59838 do :
59839 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59840 if test "x$ac_cv_func__fabsf" = x""yes; then :
59841 cat >>confdefs.h <<_ACEOF
59842 #define HAVE__FABSF 1
59843 _ACEOF
59844
59845 fi
59846 done
59847
59848 fi
59849 fi
59850
59851
59852
59853
59854
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59856 $as_echo_n "checking for fmodf declaration... " >&6; }
59857 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59858 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59859 $as_echo_n "(cached) " >&6
59860 else
59861
59862
59863 ac_ext=cpp
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59868
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59871 #include <math.h>
59872 int
59873 main ()
59874 {
59875 fmodf(0, 0);
59876 ;
59877 return 0;
59878 }
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func_fmodf_use=yes
59882 else
59883 glibcxx_cv_func_fmodf_use=no
59884 fi
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886 ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891
59892
59893 fi
59894
59895 fi
59896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59897 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59898
59899 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59900 for ac_func in fmodf
59901 do :
59902 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59903 if test "x$ac_cv_func_fmodf" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE_FMODF 1
59906 _ACEOF
59907
59908 fi
59909 done
59910
59911 else
59912
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59914 $as_echo_n "checking for _fmodf declaration... " >&6; }
59915 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59916 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59917 $as_echo_n "(cached) " >&6
59918 else
59919
59920
59921 ac_ext=cpp
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59926
59927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59928 /* end confdefs.h. */
59929 #include <math.h>
59930 int
59931 main ()
59932 {
59933 _fmodf(0, 0);
59934 ;
59935 return 0;
59936 }
59937 _ACEOF
59938 if ac_fn_cxx_try_compile "$LINENO"; then :
59939 glibcxx_cv_func__fmodf_use=yes
59940 else
59941 glibcxx_cv_func__fmodf_use=no
59942 fi
59943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59944 ac_ext=c
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59949
59950
59951 fi
59952
59953 fi
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59955 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59956
59957 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59958 for ac_func in _fmodf
59959 do :
59960 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59961 if test "x$ac_cv_func__fmodf" = x""yes; then :
59962 cat >>confdefs.h <<_ACEOF
59963 #define HAVE__FMODF 1
59964 _ACEOF
59965
59966 fi
59967 done
59968
59969 fi
59970 fi
59971
59972
59973
59974
59975
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59977 $as_echo_n "checking for frexpf declaration... " >&6; }
59978 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59979 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59980 $as_echo_n "(cached) " >&6
59981 else
59982
59983
59984 ac_ext=cpp
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989
59990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59991 /* end confdefs.h. */
59992 #include <math.h>
59993 int
59994 main ()
59995 {
59996 frexpf(0, 0);
59997 ;
59998 return 0;
59999 }
60000 _ACEOF
60001 if ac_fn_cxx_try_compile "$LINENO"; then :
60002 glibcxx_cv_func_frexpf_use=yes
60003 else
60004 glibcxx_cv_func_frexpf_use=no
60005 fi
60006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60007 ac_ext=c
60008 ac_cpp='$CPP $CPPFLAGS'
60009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60012
60013
60014 fi
60015
60016 fi
60017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60018 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60019
60020 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60021 for ac_func in frexpf
60022 do :
60023 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60024 if test "x$ac_cv_func_frexpf" = x""yes; then :
60025 cat >>confdefs.h <<_ACEOF
60026 #define HAVE_FREXPF 1
60027 _ACEOF
60028
60029 fi
60030 done
60031
60032 else
60033
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60035 $as_echo_n "checking for _frexpf declaration... " >&6; }
60036 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60037 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60038 $as_echo_n "(cached) " >&6
60039 else
60040
60041
60042 ac_ext=cpp
60043 ac_cpp='$CXXCPP $CPPFLAGS'
60044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60047
60048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60049 /* end confdefs.h. */
60050 #include <math.h>
60051 int
60052 main ()
60053 {
60054 _frexpf(0, 0);
60055 ;
60056 return 0;
60057 }
60058 _ACEOF
60059 if ac_fn_cxx_try_compile "$LINENO"; then :
60060 glibcxx_cv_func__frexpf_use=yes
60061 else
60062 glibcxx_cv_func__frexpf_use=no
60063 fi
60064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60065 ac_ext=c
60066 ac_cpp='$CPP $CPPFLAGS'
60067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070
60071
60072 fi
60073
60074 fi
60075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60076 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60077
60078 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60079 for ac_func in _frexpf
60080 do :
60081 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60082 if test "x$ac_cv_func__frexpf" = x""yes; then :
60083 cat >>confdefs.h <<_ACEOF
60084 #define HAVE__FREXPF 1
60085 _ACEOF
60086
60087 fi
60088 done
60089
60090 fi
60091 fi
60092
60093
60094
60095
60096
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60098 $as_echo_n "checking for hypotf declaration... " >&6; }
60099 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60100 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60101 $as_echo_n "(cached) " >&6
60102 else
60103
60104
60105 ac_ext=cpp
60106 ac_cpp='$CXXCPP $CPPFLAGS'
60107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60110
60111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60112 /* end confdefs.h. */
60113 #include <math.h>
60114 int
60115 main ()
60116 {
60117 hypotf(0, 0);
60118 ;
60119 return 0;
60120 }
60121 _ACEOF
60122 if ac_fn_cxx_try_compile "$LINENO"; then :
60123 glibcxx_cv_func_hypotf_use=yes
60124 else
60125 glibcxx_cv_func_hypotf_use=no
60126 fi
60127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60128 ac_ext=c
60129 ac_cpp='$CPP $CPPFLAGS'
60130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60133
60134
60135 fi
60136
60137 fi
60138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60140
60141 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60142 for ac_func in hypotf
60143 do :
60144 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60145 if test "x$ac_cv_func_hypotf" = x""yes; then :
60146 cat >>confdefs.h <<_ACEOF
60147 #define HAVE_HYPOTF 1
60148 _ACEOF
60149
60150 fi
60151 done
60152
60153 else
60154
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60156 $as_echo_n "checking for _hypotf declaration... " >&6; }
60157 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60158 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60159 $as_echo_n "(cached) " >&6
60160 else
60161
60162
60163 ac_ext=cpp
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60168
60169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h. */
60171 #include <math.h>
60172 int
60173 main ()
60174 {
60175 _hypotf(0, 0);
60176 ;
60177 return 0;
60178 }
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func__hypotf_use=yes
60182 else
60183 glibcxx_cv_func__hypotf_use=no
60184 fi
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60191
60192
60193 fi
60194
60195 fi
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60197 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60198
60199 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60200 for ac_func in _hypotf
60201 do :
60202 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60203 if test "x$ac_cv_func__hypotf" = x""yes; then :
60204 cat >>confdefs.h <<_ACEOF
60205 #define HAVE__HYPOTF 1
60206 _ACEOF
60207
60208 fi
60209 done
60210
60211 fi
60212 fi
60213
60214
60215
60216
60217
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60219 $as_echo_n "checking for ldexpf declaration... " >&6; }
60220 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60221 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60222 $as_echo_n "(cached) " >&6
60223 else
60224
60225
60226 ac_ext=cpp
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60231
60232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h. */
60234 #include <math.h>
60235 int
60236 main ()
60237 {
60238 ldexpf(0, 0);
60239 ;
60240 return 0;
60241 }
60242 _ACEOF
60243 if ac_fn_cxx_try_compile "$LINENO"; then :
60244 glibcxx_cv_func_ldexpf_use=yes
60245 else
60246 glibcxx_cv_func_ldexpf_use=no
60247 fi
60248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60249 ac_ext=c
60250 ac_cpp='$CPP $CPPFLAGS'
60251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60254
60255
60256 fi
60257
60258 fi
60259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60260 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60261
60262 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60263 for ac_func in ldexpf
60264 do :
60265 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60266 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60267 cat >>confdefs.h <<_ACEOF
60268 #define HAVE_LDEXPF 1
60269 _ACEOF
60270
60271 fi
60272 done
60273
60274 else
60275
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60277 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60278 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60279 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60280 $as_echo_n "(cached) " >&6
60281 else
60282
60283
60284 ac_ext=cpp
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60289
60290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60291 /* end confdefs.h. */
60292 #include <math.h>
60293 int
60294 main ()
60295 {
60296 _ldexpf(0, 0);
60297 ;
60298 return 0;
60299 }
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func__ldexpf_use=yes
60303 else
60304 glibcxx_cv_func__ldexpf_use=no
60305 fi
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307 ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60312
60313
60314 fi
60315
60316 fi
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60318 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60319
60320 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60321 for ac_func in _ldexpf
60322 do :
60323 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60324 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define HAVE__LDEXPF 1
60327 _ACEOF
60328
60329 fi
60330 done
60331
60332 fi
60333 fi
60334
60335
60336
60337
60338
60339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60340 $as_echo_n "checking for logf declaration... " >&6; }
60341 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60342 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60343 $as_echo_n "(cached) " >&6
60344 else
60345
60346
60347 ac_ext=cpp
60348 ac_cpp='$CXXCPP $CPPFLAGS'
60349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60352
60353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60354 /* end confdefs.h. */
60355 #include <math.h>
60356 #ifdef HAVE_IEEEFP_H
60357 #include <ieeefp.h>
60358 #endif
60359
60360 int
60361 main ()
60362 {
60363 logf(0);
60364 ;
60365 return 0;
60366 }
60367 _ACEOF
60368 if ac_fn_cxx_try_compile "$LINENO"; then :
60369 glibcxx_cv_func_logf_use=yes
60370 else
60371 glibcxx_cv_func_logf_use=no
60372 fi
60373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60374 ac_ext=c
60375 ac_cpp='$CPP $CPPFLAGS'
60376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60379
60380
60381 fi
60382
60383 fi
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60385 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60386
60387 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60388 for ac_func in logf
60389 do :
60390 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60391 if test "x$ac_cv_func_logf" = x""yes; then :
60392 cat >>confdefs.h <<_ACEOF
60393 #define HAVE_LOGF 1
60394 _ACEOF
60395
60396 fi
60397 done
60398
60399 else
60400
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60402 $as_echo_n "checking for _logf declaration... " >&6; }
60403 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60404 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60405 $as_echo_n "(cached) " >&6
60406 else
60407
60408
60409 ac_ext=cpp
60410 ac_cpp='$CXXCPP $CPPFLAGS'
60411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60414
60415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60416 /* end confdefs.h. */
60417 #include <math.h>
60418 #ifdef HAVE_IEEEFP_H
60419 #include <ieeefp.h>
60420 #endif
60421
60422 int
60423 main ()
60424 {
60425 _logf(0);
60426 ;
60427 return 0;
60428 }
60429 _ACEOF
60430 if ac_fn_cxx_try_compile "$LINENO"; then :
60431 glibcxx_cv_func__logf_use=yes
60432 else
60433 glibcxx_cv_func__logf_use=no
60434 fi
60435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60436 ac_ext=c
60437 ac_cpp='$CPP $CPPFLAGS'
60438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60441
60442
60443 fi
60444
60445 fi
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60447 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60448
60449 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60450 for ac_func in _logf
60451 do :
60452 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60453 if test "x$ac_cv_func__logf" = x""yes; then :
60454 cat >>confdefs.h <<_ACEOF
60455 #define HAVE__LOGF 1
60456 _ACEOF
60457
60458 fi
60459 done
60460
60461 fi
60462 fi
60463
60464
60465
60466
60467
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60469 $as_echo_n "checking for log10f declaration... " >&6; }
60470 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60471 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60472 $as_echo_n "(cached) " >&6
60473 else
60474
60475
60476 ac_ext=cpp
60477 ac_cpp='$CXXCPP $CPPFLAGS'
60478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60481
60482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60483 /* end confdefs.h. */
60484 #include <math.h>
60485 #ifdef HAVE_IEEEFP_H
60486 #include <ieeefp.h>
60487 #endif
60488
60489 int
60490 main ()
60491 {
60492 log10f(0);
60493 ;
60494 return 0;
60495 }
60496 _ACEOF
60497 if ac_fn_cxx_try_compile "$LINENO"; then :
60498 glibcxx_cv_func_log10f_use=yes
60499 else
60500 glibcxx_cv_func_log10f_use=no
60501 fi
60502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60503 ac_ext=c
60504 ac_cpp='$CPP $CPPFLAGS'
60505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60508
60509
60510 fi
60511
60512 fi
60513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60514 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60515
60516 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60517 for ac_func in log10f
60518 do :
60519 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60520 if test "x$ac_cv_func_log10f" = x""yes; then :
60521 cat >>confdefs.h <<_ACEOF
60522 #define HAVE_LOG10F 1
60523 _ACEOF
60524
60525 fi
60526 done
60527
60528 else
60529
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60531 $as_echo_n "checking for _log10f declaration... " >&6; }
60532 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60533 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60534 $as_echo_n "(cached) " >&6
60535 else
60536
60537
60538 ac_ext=cpp
60539 ac_cpp='$CXXCPP $CPPFLAGS'
60540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60543
60544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60545 /* end confdefs.h. */
60546 #include <math.h>
60547 #ifdef HAVE_IEEEFP_H
60548 #include <ieeefp.h>
60549 #endif
60550
60551 int
60552 main ()
60553 {
60554 _log10f(0);
60555 ;
60556 return 0;
60557 }
60558 _ACEOF
60559 if ac_fn_cxx_try_compile "$LINENO"; then :
60560 glibcxx_cv_func__log10f_use=yes
60561 else
60562 glibcxx_cv_func__log10f_use=no
60563 fi
60564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60565 ac_ext=c
60566 ac_cpp='$CPP $CPPFLAGS'
60567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60570
60571
60572 fi
60573
60574 fi
60575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60576 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60577
60578 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60579 for ac_func in _log10f
60580 do :
60581 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60582 if test "x$ac_cv_func__log10f" = x""yes; then :
60583 cat >>confdefs.h <<_ACEOF
60584 #define HAVE__LOG10F 1
60585 _ACEOF
60586
60587 fi
60588 done
60589
60590 fi
60591 fi
60592
60593
60594
60595
60596
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60598 $as_echo_n "checking for modff declaration... " >&6; }
60599 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60600 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60601 $as_echo_n "(cached) " >&6
60602 else
60603
60604
60605 ac_ext=cpp
60606 ac_cpp='$CXXCPP $CPPFLAGS'
60607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60610
60611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60612 /* end confdefs.h. */
60613 #include <math.h>
60614 int
60615 main ()
60616 {
60617 modff(0, 0);
60618 ;
60619 return 0;
60620 }
60621 _ACEOF
60622 if ac_fn_cxx_try_compile "$LINENO"; then :
60623 glibcxx_cv_func_modff_use=yes
60624 else
60625 glibcxx_cv_func_modff_use=no
60626 fi
60627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60628 ac_ext=c
60629 ac_cpp='$CPP $CPPFLAGS'
60630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60633
60634
60635 fi
60636
60637 fi
60638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60639 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60640
60641 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60642 for ac_func in modff
60643 do :
60644 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60645 if test "x$ac_cv_func_modff" = x""yes; then :
60646 cat >>confdefs.h <<_ACEOF
60647 #define HAVE_MODFF 1
60648 _ACEOF
60649
60650 fi
60651 done
60652
60653 else
60654
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60656 $as_echo_n "checking for _modff declaration... " >&6; }
60657 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60658 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60659 $as_echo_n "(cached) " >&6
60660 else
60661
60662
60663 ac_ext=cpp
60664 ac_cpp='$CXXCPP $CPPFLAGS'
60665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60668
60669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60670 /* end confdefs.h. */
60671 #include <math.h>
60672 int
60673 main ()
60674 {
60675 _modff(0, 0);
60676 ;
60677 return 0;
60678 }
60679 _ACEOF
60680 if ac_fn_cxx_try_compile "$LINENO"; then :
60681 glibcxx_cv_func__modff_use=yes
60682 else
60683 glibcxx_cv_func__modff_use=no
60684 fi
60685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60686 ac_ext=c
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60691
60692
60693 fi
60694
60695 fi
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60697 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60698
60699 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60700 for ac_func in _modff
60701 do :
60702 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60703 if test "x$ac_cv_func__modff" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define HAVE__MODFF 1
60706 _ACEOF
60707
60708 fi
60709 done
60710
60711 fi
60712 fi
60713
60714
60715
60716
60717
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60719 $as_echo_n "checking for modf declaration... " >&6; }
60720 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60721 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60722 $as_echo_n "(cached) " >&6
60723 else
60724
60725
60726 ac_ext=cpp
60727 ac_cpp='$CXXCPP $CPPFLAGS'
60728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60731
60732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60733 /* end confdefs.h. */
60734 #include <math.h>
60735 int
60736 main ()
60737 {
60738 modf(0, 0);
60739 ;
60740 return 0;
60741 }
60742 _ACEOF
60743 if ac_fn_cxx_try_compile "$LINENO"; then :
60744 glibcxx_cv_func_modf_use=yes
60745 else
60746 glibcxx_cv_func_modf_use=no
60747 fi
60748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60749 ac_ext=c
60750 ac_cpp='$CPP $CPPFLAGS'
60751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60754
60755
60756 fi
60757
60758 fi
60759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60760 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60761
60762 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60763 for ac_func in modf
60764 do :
60765 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60766 if test "x$ac_cv_func_modf" = x""yes; then :
60767 cat >>confdefs.h <<_ACEOF
60768 #define HAVE_MODF 1
60769 _ACEOF
60770
60771 fi
60772 done
60773
60774 else
60775
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60777 $as_echo_n "checking for _modf declaration... " >&6; }
60778 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60779 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60780 $as_echo_n "(cached) " >&6
60781 else
60782
60783
60784 ac_ext=cpp
60785 ac_cpp='$CXXCPP $CPPFLAGS'
60786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60789
60790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60791 /* end confdefs.h. */
60792 #include <math.h>
60793 int
60794 main ()
60795 {
60796 _modf(0, 0);
60797 ;
60798 return 0;
60799 }
60800 _ACEOF
60801 if ac_fn_cxx_try_compile "$LINENO"; then :
60802 glibcxx_cv_func__modf_use=yes
60803 else
60804 glibcxx_cv_func__modf_use=no
60805 fi
60806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60807 ac_ext=c
60808 ac_cpp='$CPP $CPPFLAGS'
60809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60812
60813
60814 fi
60815
60816 fi
60817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60818 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60819
60820 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60821 for ac_func in _modf
60822 do :
60823 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60824 if test "x$ac_cv_func__modf" = x""yes; then :
60825 cat >>confdefs.h <<_ACEOF
60826 #define HAVE__MODF 1
60827 _ACEOF
60828
60829 fi
60830 done
60831
60832 fi
60833 fi
60834
60835
60836
60837
60838
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60840 $as_echo_n "checking for powf declaration... " >&6; }
60841 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60842 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60843 $as_echo_n "(cached) " >&6
60844 else
60845
60846
60847 ac_ext=cpp
60848 ac_cpp='$CXXCPP $CPPFLAGS'
60849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60852
60853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60854 /* end confdefs.h. */
60855 #include <math.h>
60856 int
60857 main ()
60858 {
60859 powf(0, 0);
60860 ;
60861 return 0;
60862 }
60863 _ACEOF
60864 if ac_fn_cxx_try_compile "$LINENO"; then :
60865 glibcxx_cv_func_powf_use=yes
60866 else
60867 glibcxx_cv_func_powf_use=no
60868 fi
60869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60870 ac_ext=c
60871 ac_cpp='$CPP $CPPFLAGS'
60872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60875
60876
60877 fi
60878
60879 fi
60880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60881 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60882
60883 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60884 for ac_func in powf
60885 do :
60886 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60887 if test "x$ac_cv_func_powf" = x""yes; then :
60888 cat >>confdefs.h <<_ACEOF
60889 #define HAVE_POWF 1
60890 _ACEOF
60891
60892 fi
60893 done
60894
60895 else
60896
60897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60898 $as_echo_n "checking for _powf declaration... " >&6; }
60899 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60900 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60901 $as_echo_n "(cached) " >&6
60902 else
60903
60904
60905 ac_ext=cpp
60906 ac_cpp='$CXXCPP $CPPFLAGS'
60907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60910
60911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60912 /* end confdefs.h. */
60913 #include <math.h>
60914 int
60915 main ()
60916 {
60917 _powf(0, 0);
60918 ;
60919 return 0;
60920 }
60921 _ACEOF
60922 if ac_fn_cxx_try_compile "$LINENO"; then :
60923 glibcxx_cv_func__powf_use=yes
60924 else
60925 glibcxx_cv_func__powf_use=no
60926 fi
60927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60928 ac_ext=c
60929 ac_cpp='$CPP $CPPFLAGS'
60930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60933
60934
60935 fi
60936
60937 fi
60938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60939 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60940
60941 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60942 for ac_func in _powf
60943 do :
60944 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60945 if test "x$ac_cv_func__powf" = x""yes; then :
60946 cat >>confdefs.h <<_ACEOF
60947 #define HAVE__POWF 1
60948 _ACEOF
60949
60950 fi
60951 done
60952
60953 fi
60954 fi
60955
60956
60957
60958
60959
60960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60961 $as_echo_n "checking for sqrtf declaration... " >&6; }
60962 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60963 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60964 $as_echo_n "(cached) " >&6
60965 else
60966
60967
60968 ac_ext=cpp
60969 ac_cpp='$CXXCPP $CPPFLAGS'
60970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60973
60974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60975 /* end confdefs.h. */
60976 #include <math.h>
60977 #ifdef HAVE_IEEEFP_H
60978 #include <ieeefp.h>
60979 #endif
60980
60981 int
60982 main ()
60983 {
60984 sqrtf(0);
60985 ;
60986 return 0;
60987 }
60988 _ACEOF
60989 if ac_fn_cxx_try_compile "$LINENO"; then :
60990 glibcxx_cv_func_sqrtf_use=yes
60991 else
60992 glibcxx_cv_func_sqrtf_use=no
60993 fi
60994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60995 ac_ext=c
60996 ac_cpp='$CPP $CPPFLAGS'
60997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61000
61001
61002 fi
61003
61004 fi
61005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61006 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61007
61008 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61009 for ac_func in sqrtf
61010 do :
61011 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61012 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61013 cat >>confdefs.h <<_ACEOF
61014 #define HAVE_SQRTF 1
61015 _ACEOF
61016
61017 fi
61018 done
61019
61020 else
61021
61022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61023 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61024 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61025 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61026 $as_echo_n "(cached) " >&6
61027 else
61028
61029
61030 ac_ext=cpp
61031 ac_cpp='$CXXCPP $CPPFLAGS'
61032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61035
61036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61037 /* end confdefs.h. */
61038 #include <math.h>
61039 #ifdef HAVE_IEEEFP_H
61040 #include <ieeefp.h>
61041 #endif
61042
61043 int
61044 main ()
61045 {
61046 _sqrtf(0);
61047 ;
61048 return 0;
61049 }
61050 _ACEOF
61051 if ac_fn_cxx_try_compile "$LINENO"; then :
61052 glibcxx_cv_func__sqrtf_use=yes
61053 else
61054 glibcxx_cv_func__sqrtf_use=no
61055 fi
61056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61057 ac_ext=c
61058 ac_cpp='$CPP $CPPFLAGS'
61059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61062
61063
61064 fi
61065
61066 fi
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61068 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61069
61070 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61071 for ac_func in _sqrtf
61072 do :
61073 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61074 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61075 cat >>confdefs.h <<_ACEOF
61076 #define HAVE__SQRTF 1
61077 _ACEOF
61078
61079 fi
61080 done
61081
61082 fi
61083 fi
61084
61085
61086
61087
61088
61089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61090 $as_echo_n "checking for sincosf declaration... " >&6; }
61091 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61092 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61093 $as_echo_n "(cached) " >&6
61094 else
61095
61096
61097 ac_ext=cpp
61098 ac_cpp='$CXXCPP $CPPFLAGS'
61099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61102
61103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61104 /* end confdefs.h. */
61105 #include <math.h>
61106 int
61107 main ()
61108 {
61109 sincosf(0, 0, 0);
61110 ;
61111 return 0;
61112 }
61113 _ACEOF
61114 if ac_fn_cxx_try_compile "$LINENO"; then :
61115 glibcxx_cv_func_sincosf_use=yes
61116 else
61117 glibcxx_cv_func_sincosf_use=no
61118 fi
61119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61120 ac_ext=c
61121 ac_cpp='$CPP $CPPFLAGS'
61122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61125
61126
61127 fi
61128
61129 fi
61130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61131 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61132
61133 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61134 for ac_func in sincosf
61135 do :
61136 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61137 if test "x$ac_cv_func_sincosf" = x""yes; then :
61138 cat >>confdefs.h <<_ACEOF
61139 #define HAVE_SINCOSF 1
61140 _ACEOF
61141
61142 fi
61143 done
61144
61145 else
61146
61147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61148 $as_echo_n "checking for _sincosf declaration... " >&6; }
61149 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61150 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61151 $as_echo_n "(cached) " >&6
61152 else
61153
61154
61155 ac_ext=cpp
61156 ac_cpp='$CXXCPP $CPPFLAGS'
61157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61160
61161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61162 /* end confdefs.h. */
61163 #include <math.h>
61164 int
61165 main ()
61166 {
61167 _sincosf(0, 0, 0);
61168 ;
61169 return 0;
61170 }
61171 _ACEOF
61172 if ac_fn_cxx_try_compile "$LINENO"; then :
61173 glibcxx_cv_func__sincosf_use=yes
61174 else
61175 glibcxx_cv_func__sincosf_use=no
61176 fi
61177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61178 ac_ext=c
61179 ac_cpp='$CPP $CPPFLAGS'
61180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61183
61184
61185 fi
61186
61187 fi
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61189 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61190
61191 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61192 for ac_func in _sincosf
61193 do :
61194 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61195 if test "x$ac_cv_func__sincosf" = x""yes; then :
61196 cat >>confdefs.h <<_ACEOF
61197 #define HAVE__SINCOSF 1
61198 _ACEOF
61199
61200 fi
61201 done
61202
61203 fi
61204 fi
61205
61206
61207
61208
61209
61210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61211 $as_echo_n "checking for finitef declaration... " >&6; }
61212 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61213 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61214 $as_echo_n "(cached) " >&6
61215 else
61216
61217
61218 ac_ext=cpp
61219 ac_cpp='$CXXCPP $CPPFLAGS'
61220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61223
61224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61225 /* end confdefs.h. */
61226 #include <math.h>
61227 #ifdef HAVE_IEEEFP_H
61228 #include <ieeefp.h>
61229 #endif
61230
61231 int
61232 main ()
61233 {
61234 finitef(0);
61235 ;
61236 return 0;
61237 }
61238 _ACEOF
61239 if ac_fn_cxx_try_compile "$LINENO"; then :
61240 glibcxx_cv_func_finitef_use=yes
61241 else
61242 glibcxx_cv_func_finitef_use=no
61243 fi
61244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61245 ac_ext=c
61246 ac_cpp='$CPP $CPPFLAGS'
61247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61250
61251
61252 fi
61253
61254 fi
61255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61256 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61257
61258 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61259 for ac_func in finitef
61260 do :
61261 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61262 if test "x$ac_cv_func_finitef" = x""yes; then :
61263 cat >>confdefs.h <<_ACEOF
61264 #define HAVE_FINITEF 1
61265 _ACEOF
61266
61267 fi
61268 done
61269
61270 else
61271
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61273 $as_echo_n "checking for _finitef declaration... " >&6; }
61274 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61275 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61276 $as_echo_n "(cached) " >&6
61277 else
61278
61279
61280 ac_ext=cpp
61281 ac_cpp='$CXXCPP $CPPFLAGS'
61282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61285
61286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61287 /* end confdefs.h. */
61288 #include <math.h>
61289 #ifdef HAVE_IEEEFP_H
61290 #include <ieeefp.h>
61291 #endif
61292
61293 int
61294 main ()
61295 {
61296 _finitef(0);
61297 ;
61298 return 0;
61299 }
61300 _ACEOF
61301 if ac_fn_cxx_try_compile "$LINENO"; then :
61302 glibcxx_cv_func__finitef_use=yes
61303 else
61304 glibcxx_cv_func__finitef_use=no
61305 fi
61306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61307 ac_ext=c
61308 ac_cpp='$CPP $CPPFLAGS'
61309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61312
61313
61314 fi
61315
61316 fi
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61318 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61319
61320 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61321 for ac_func in _finitef
61322 do :
61323 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61324 if test "x$ac_cv_func__finitef" = x""yes; then :
61325 cat >>confdefs.h <<_ACEOF
61326 #define HAVE__FINITEF 1
61327 _ACEOF
61328
61329 fi
61330 done
61331
61332 fi
61333 fi
61334
61335
61336
61337
61338
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61340 $as_echo_n "checking for long double trig functions... " >&6; }
61341 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61342 $as_echo_n "(cached) " >&6
61343 else
61344
61345
61346 ac_ext=cpp
61347 ac_cpp='$CXXCPP $CPPFLAGS'
61348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61351
61352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61353 /* end confdefs.h. */
61354 #include <math.h>
61355 int
61356 main ()
61357 {
61358 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61359 ;
61360 return 0;
61361 }
61362 _ACEOF
61363 if ac_fn_cxx_try_compile "$LINENO"; then :
61364 glibcxx_cv_func_long_double_trig_use=yes
61365 else
61366 glibcxx_cv_func_long_double_trig_use=no
61367 fi
61368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61369 ac_ext=c
61370 ac_cpp='$CPP $CPPFLAGS'
61371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61374
61375 fi
61376
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61378 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61379 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61380 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61381 do :
61382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61384 eval as_val=\$$as_ac_var
61385 if test "x$as_val" = x""yes; then :
61386 cat >>confdefs.h <<_ACEOF
61387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61388 _ACEOF
61389
61390 fi
61391 done
61392
61393 else
61394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61395 $as_echo_n "checking for _long double trig functions... " >&6; }
61396 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61397 $as_echo_n "(cached) " >&6
61398 else
61399
61400
61401 ac_ext=cpp
61402 ac_cpp='$CXXCPP $CPPFLAGS'
61403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61406
61407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61408 /* end confdefs.h. */
61409 #include <math.h>
61410 int
61411 main ()
61412 {
61413 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61414 ;
61415 return 0;
61416 }
61417 _ACEOF
61418 if ac_fn_cxx_try_compile "$LINENO"; then :
61419 glibcxx_cv_func__long_double_trig_use=yes
61420 else
61421 glibcxx_cv_func__long_double_trig_use=no
61422 fi
61423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61424 ac_ext=c
61425 ac_cpp='$CPP $CPPFLAGS'
61426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61429
61430 fi
61431
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61433 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61434 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61435 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61436 do :
61437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61439 eval as_val=\$$as_ac_var
61440 if test "x$as_val" = x""yes; then :
61441 cat >>confdefs.h <<_ACEOF
61442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61443 _ACEOF
61444
61445 fi
61446 done
61447
61448 fi
61449 fi
61450
61451
61452
61453
61454
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61456 $as_echo_n "checking for long double round functions... " >&6; }
61457 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61459 else
61460
61461
61462 ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61467
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61470 #include <math.h>
61471 int
61472 main ()
61473 {
61474 ceill (0); floorl (0);
61475 ;
61476 return 0;
61477 }
61478 _ACEOF
61479 if ac_fn_cxx_try_compile "$LINENO"; then :
61480 glibcxx_cv_func_long_double_round_use=yes
61481 else
61482 glibcxx_cv_func_long_double_round_use=no
61483 fi
61484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61485 ac_ext=c
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61490
61491 fi
61492
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61494 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61495 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61496 for ac_func in ceill floorl
61497 do :
61498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61500 eval as_val=\$$as_ac_var
61501 if test "x$as_val" = x""yes; then :
61502 cat >>confdefs.h <<_ACEOF
61503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61504 _ACEOF
61505
61506 fi
61507 done
61508
61509 else
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61511 $as_echo_n "checking for _long double round functions... " >&6; }
61512 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61513 $as_echo_n "(cached) " >&6
61514 else
61515
61516
61517 ac_ext=cpp
61518 ac_cpp='$CXXCPP $CPPFLAGS'
61519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61522
61523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61524 /* end confdefs.h. */
61525 #include <math.h>
61526 int
61527 main ()
61528 {
61529 _ceill (0); _floorl (0);
61530 ;
61531 return 0;
61532 }
61533 _ACEOF
61534 if ac_fn_cxx_try_compile "$LINENO"; then :
61535 glibcxx_cv_func__long_double_round_use=yes
61536 else
61537 glibcxx_cv_func__long_double_round_use=no
61538 fi
61539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61540 ac_ext=c
61541 ac_cpp='$CPP $CPPFLAGS'
61542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61545
61546 fi
61547
61548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61549 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61550 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61551 for ac_func in _ceill _floorl
61552 do :
61553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61555 eval as_val=\$$as_ac_var
61556 if test "x$as_val" = x""yes; then :
61557 cat >>confdefs.h <<_ACEOF
61558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61559 _ACEOF
61560
61561 fi
61562 done
61563
61564 fi
61565 fi
61566
61567
61568
61569
61570
61571
61572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61573 $as_echo_n "checking for isnanl declaration... " >&6; }
61574 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61575 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61576 $as_echo_n "(cached) " >&6
61577 else
61578
61579
61580 ac_ext=cpp
61581 ac_cpp='$CXXCPP $CPPFLAGS'
61582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61585
61586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61587 /* end confdefs.h. */
61588 #include <math.h>
61589 #ifdef HAVE_IEEEFP_H
61590 #include <ieeefp.h>
61591 #endif
61592
61593 int
61594 main ()
61595 {
61596 isnanl(0);
61597 ;
61598 return 0;
61599 }
61600 _ACEOF
61601 if ac_fn_cxx_try_compile "$LINENO"; then :
61602 glibcxx_cv_func_isnanl_use=yes
61603 else
61604 glibcxx_cv_func_isnanl_use=no
61605 fi
61606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61607 ac_ext=c
61608 ac_cpp='$CPP $CPPFLAGS'
61609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61612
61613
61614 fi
61615
61616 fi
61617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61618 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61619
61620 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61621 for ac_func in isnanl
61622 do :
61623 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61624 if test "x$ac_cv_func_isnanl" = x""yes; then :
61625 cat >>confdefs.h <<_ACEOF
61626 #define HAVE_ISNANL 1
61627 _ACEOF
61628
61629 fi
61630 done
61631
61632 else
61633
61634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61635 $as_echo_n "checking for _isnanl declaration... " >&6; }
61636 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61637 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61638 $as_echo_n "(cached) " >&6
61639 else
61640
61641
61642 ac_ext=cpp
61643 ac_cpp='$CXXCPP $CPPFLAGS'
61644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61647
61648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61649 /* end confdefs.h. */
61650 #include <math.h>
61651 #ifdef HAVE_IEEEFP_H
61652 #include <ieeefp.h>
61653 #endif
61654
61655 int
61656 main ()
61657 {
61658 _isnanl(0);
61659 ;
61660 return 0;
61661 }
61662 _ACEOF
61663 if ac_fn_cxx_try_compile "$LINENO"; then :
61664 glibcxx_cv_func__isnanl_use=yes
61665 else
61666 glibcxx_cv_func__isnanl_use=no
61667 fi
61668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61669 ac_ext=c
61670 ac_cpp='$CPP $CPPFLAGS'
61671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61674
61675
61676 fi
61677
61678 fi
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61680 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61681
61682 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61683 for ac_func in _isnanl
61684 do :
61685 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61686 if test "x$ac_cv_func__isnanl" = x""yes; then :
61687 cat >>confdefs.h <<_ACEOF
61688 #define HAVE__ISNANL 1
61689 _ACEOF
61690
61691 fi
61692 done
61693
61694 fi
61695 fi
61696
61697
61698
61699
61700
61701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61702 $as_echo_n "checking for isinfl declaration... " >&6; }
61703 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61704 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61705 $as_echo_n "(cached) " >&6
61706 else
61707
61708
61709 ac_ext=cpp
61710 ac_cpp='$CXXCPP $CPPFLAGS'
61711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61714
61715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61716 /* end confdefs.h. */
61717 #include <math.h>
61718 #ifdef HAVE_IEEEFP_H
61719 #include <ieeefp.h>
61720 #endif
61721
61722 int
61723 main ()
61724 {
61725 isinfl(0);
61726 ;
61727 return 0;
61728 }
61729 _ACEOF
61730 if ac_fn_cxx_try_compile "$LINENO"; then :
61731 glibcxx_cv_func_isinfl_use=yes
61732 else
61733 glibcxx_cv_func_isinfl_use=no
61734 fi
61735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61736 ac_ext=c
61737 ac_cpp='$CPP $CPPFLAGS'
61738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61741
61742
61743 fi
61744
61745 fi
61746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61747 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61748
61749 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61750 for ac_func in isinfl
61751 do :
61752 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61753 if test "x$ac_cv_func_isinfl" = x""yes; then :
61754 cat >>confdefs.h <<_ACEOF
61755 #define HAVE_ISINFL 1
61756 _ACEOF
61757
61758 fi
61759 done
61760
61761 else
61762
61763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61764 $as_echo_n "checking for _isinfl declaration... " >&6; }
61765 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61766 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61767 $as_echo_n "(cached) " >&6
61768 else
61769
61770
61771 ac_ext=cpp
61772 ac_cpp='$CXXCPP $CPPFLAGS'
61773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61776
61777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61778 /* end confdefs.h. */
61779 #include <math.h>
61780 #ifdef HAVE_IEEEFP_H
61781 #include <ieeefp.h>
61782 #endif
61783
61784 int
61785 main ()
61786 {
61787 _isinfl(0);
61788 ;
61789 return 0;
61790 }
61791 _ACEOF
61792 if ac_fn_cxx_try_compile "$LINENO"; then :
61793 glibcxx_cv_func__isinfl_use=yes
61794 else
61795 glibcxx_cv_func__isinfl_use=no
61796 fi
61797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61798 ac_ext=c
61799 ac_cpp='$CPP $CPPFLAGS'
61800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803
61804
61805 fi
61806
61807 fi
61808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61809 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61810
61811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61812 for ac_func in _isinfl
61813 do :
61814 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61815 if test "x$ac_cv_func__isinfl" = x""yes; then :
61816 cat >>confdefs.h <<_ACEOF
61817 #define HAVE__ISINFL 1
61818 _ACEOF
61819
61820 fi
61821 done
61822
61823 fi
61824 fi
61825
61826
61827
61828
61829
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61831 $as_echo_n "checking for atan2l declaration... " >&6; }
61832 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61833 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61834 $as_echo_n "(cached) " >&6
61835 else
61836
61837
61838 ac_ext=cpp
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61843
61844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h. */
61846 #include <math.h>
61847 int
61848 main ()
61849 {
61850 atan2l(0, 0);
61851 ;
61852 return 0;
61853 }
61854 _ACEOF
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856 glibcxx_cv_func_atan2l_use=yes
61857 else
61858 glibcxx_cv_func_atan2l_use=no
61859 fi
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61861 ac_ext=c
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61866
61867
61868 fi
61869
61870 fi
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61872 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61873
61874 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61875 for ac_func in atan2l
61876 do :
61877 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61878 if test "x$ac_cv_func_atan2l" = x""yes; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define HAVE_ATAN2L 1
61881 _ACEOF
61882
61883 fi
61884 done
61885
61886 else
61887
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61889 $as_echo_n "checking for _atan2l declaration... " >&6; }
61890 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61891 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61892 $as_echo_n "(cached) " >&6
61893 else
61894
61895
61896 ac_ext=cpp
61897 ac_cpp='$CXXCPP $CPPFLAGS'
61898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61901
61902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61903 /* end confdefs.h. */
61904 #include <math.h>
61905 int
61906 main ()
61907 {
61908 _atan2l(0, 0);
61909 ;
61910 return 0;
61911 }
61912 _ACEOF
61913 if ac_fn_cxx_try_compile "$LINENO"; then :
61914 glibcxx_cv_func__atan2l_use=yes
61915 else
61916 glibcxx_cv_func__atan2l_use=no
61917 fi
61918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61919 ac_ext=c
61920 ac_cpp='$CPP $CPPFLAGS'
61921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61924
61925
61926 fi
61927
61928 fi
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61930 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61931
61932 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61933 for ac_func in _atan2l
61934 do :
61935 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61936 if test "x$ac_cv_func__atan2l" = x""yes; then :
61937 cat >>confdefs.h <<_ACEOF
61938 #define HAVE__ATAN2L 1
61939 _ACEOF
61940
61941 fi
61942 done
61943
61944 fi
61945 fi
61946
61947
61948
61949
61950
61951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61952 $as_echo_n "checking for expl declaration... " >&6; }
61953 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61954 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61955 $as_echo_n "(cached) " >&6
61956 else
61957
61958
61959 ac_ext=cpp
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61964
61965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61966 /* end confdefs.h. */
61967 #include <math.h>
61968 #ifdef HAVE_IEEEFP_H
61969 #include <ieeefp.h>
61970 #endif
61971
61972 int
61973 main ()
61974 {
61975 expl(0);
61976 ;
61977 return 0;
61978 }
61979 _ACEOF
61980 if ac_fn_cxx_try_compile "$LINENO"; then :
61981 glibcxx_cv_func_expl_use=yes
61982 else
61983 glibcxx_cv_func_expl_use=no
61984 fi
61985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61986 ac_ext=c
61987 ac_cpp='$CPP $CPPFLAGS'
61988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61991
61992
61993 fi
61994
61995 fi
61996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61997 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61998
61999 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62000 for ac_func in expl
62001 do :
62002 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62003 if test "x$ac_cv_func_expl" = x""yes; then :
62004 cat >>confdefs.h <<_ACEOF
62005 #define HAVE_EXPL 1
62006 _ACEOF
62007
62008 fi
62009 done
62010
62011 else
62012
62013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62014 $as_echo_n "checking for _expl declaration... " >&6; }
62015 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62016 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62017 $as_echo_n "(cached) " >&6
62018 else
62019
62020
62021 ac_ext=cpp
62022 ac_cpp='$CXXCPP $CPPFLAGS'
62023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62026
62027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62028 /* end confdefs.h. */
62029 #include <math.h>
62030 #ifdef HAVE_IEEEFP_H
62031 #include <ieeefp.h>
62032 #endif
62033
62034 int
62035 main ()
62036 {
62037 _expl(0);
62038 ;
62039 return 0;
62040 }
62041 _ACEOF
62042 if ac_fn_cxx_try_compile "$LINENO"; then :
62043 glibcxx_cv_func__expl_use=yes
62044 else
62045 glibcxx_cv_func__expl_use=no
62046 fi
62047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62048 ac_ext=c
62049 ac_cpp='$CPP $CPPFLAGS'
62050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62053
62054
62055 fi
62056
62057 fi
62058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62059 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62060
62061 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62062 for ac_func in _expl
62063 do :
62064 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62065 if test "x$ac_cv_func__expl" = x""yes; then :
62066 cat >>confdefs.h <<_ACEOF
62067 #define HAVE__EXPL 1
62068 _ACEOF
62069
62070 fi
62071 done
62072
62073 fi
62074 fi
62075
62076
62077
62078
62079
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62081 $as_echo_n "checking for fabsl declaration... " >&6; }
62082 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62083 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62084 $as_echo_n "(cached) " >&6
62085 else
62086
62087
62088 ac_ext=cpp
62089 ac_cpp='$CXXCPP $CPPFLAGS'
62090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62093
62094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62095 /* end confdefs.h. */
62096 #include <math.h>
62097 #ifdef HAVE_IEEEFP_H
62098 #include <ieeefp.h>
62099 #endif
62100
62101 int
62102 main ()
62103 {
62104 fabsl(0);
62105 ;
62106 return 0;
62107 }
62108 _ACEOF
62109 if ac_fn_cxx_try_compile "$LINENO"; then :
62110 glibcxx_cv_func_fabsl_use=yes
62111 else
62112 glibcxx_cv_func_fabsl_use=no
62113 fi
62114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62115 ac_ext=c
62116 ac_cpp='$CPP $CPPFLAGS'
62117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62120
62121
62122 fi
62123
62124 fi
62125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62127
62128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62129 for ac_func in fabsl
62130 do :
62131 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62132 if test "x$ac_cv_func_fabsl" = x""yes; then :
62133 cat >>confdefs.h <<_ACEOF
62134 #define HAVE_FABSL 1
62135 _ACEOF
62136
62137 fi
62138 done
62139
62140 else
62141
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62143 $as_echo_n "checking for _fabsl declaration... " >&6; }
62144 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62145 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62146 $as_echo_n "(cached) " >&6
62147 else
62148
62149
62150 ac_ext=cpp
62151 ac_cpp='$CXXCPP $CPPFLAGS'
62152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155
62156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62157 /* end confdefs.h. */
62158 #include <math.h>
62159 #ifdef HAVE_IEEEFP_H
62160 #include <ieeefp.h>
62161 #endif
62162
62163 int
62164 main ()
62165 {
62166 _fabsl(0);
62167 ;
62168 return 0;
62169 }
62170 _ACEOF
62171 if ac_fn_cxx_try_compile "$LINENO"; then :
62172 glibcxx_cv_func__fabsl_use=yes
62173 else
62174 glibcxx_cv_func__fabsl_use=no
62175 fi
62176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62177 ac_ext=c
62178 ac_cpp='$CPP $CPPFLAGS'
62179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62182
62183
62184 fi
62185
62186 fi
62187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62188 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62189
62190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62191 for ac_func in _fabsl
62192 do :
62193 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62194 if test "x$ac_cv_func__fabsl" = x""yes; then :
62195 cat >>confdefs.h <<_ACEOF
62196 #define HAVE__FABSL 1
62197 _ACEOF
62198
62199 fi
62200 done
62201
62202 fi
62203 fi
62204
62205
62206
62207
62208
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62210 $as_echo_n "checking for fmodl declaration... " >&6; }
62211 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62212 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62213 $as_echo_n "(cached) " >&6
62214 else
62215
62216
62217 ac_ext=cpp
62218 ac_cpp='$CXXCPP $CPPFLAGS'
62219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62222
62223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62224 /* end confdefs.h. */
62225 #include <math.h>
62226 int
62227 main ()
62228 {
62229 fmodl(0, 0);
62230 ;
62231 return 0;
62232 }
62233 _ACEOF
62234 if ac_fn_cxx_try_compile "$LINENO"; then :
62235 glibcxx_cv_func_fmodl_use=yes
62236 else
62237 glibcxx_cv_func_fmodl_use=no
62238 fi
62239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62240 ac_ext=c
62241 ac_cpp='$CPP $CPPFLAGS'
62242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62245
62246
62247 fi
62248
62249 fi
62250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62251 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62252
62253 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62254 for ac_func in fmodl
62255 do :
62256 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62257 if test "x$ac_cv_func_fmodl" = x""yes; then :
62258 cat >>confdefs.h <<_ACEOF
62259 #define HAVE_FMODL 1
62260 _ACEOF
62261
62262 fi
62263 done
62264
62265 else
62266
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62268 $as_echo_n "checking for _fmodl declaration... " >&6; }
62269 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62270 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62271 $as_echo_n "(cached) " >&6
62272 else
62273
62274
62275 ac_ext=cpp
62276 ac_cpp='$CXXCPP $CPPFLAGS'
62277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62280
62281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62282 /* end confdefs.h. */
62283 #include <math.h>
62284 int
62285 main ()
62286 {
62287 _fmodl(0, 0);
62288 ;
62289 return 0;
62290 }
62291 _ACEOF
62292 if ac_fn_cxx_try_compile "$LINENO"; then :
62293 glibcxx_cv_func__fmodl_use=yes
62294 else
62295 glibcxx_cv_func__fmodl_use=no
62296 fi
62297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62298 ac_ext=c
62299 ac_cpp='$CPP $CPPFLAGS'
62300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62303
62304
62305 fi
62306
62307 fi
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62309 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62310
62311 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62312 for ac_func in _fmodl
62313 do :
62314 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62315 if test "x$ac_cv_func__fmodl" = x""yes; then :
62316 cat >>confdefs.h <<_ACEOF
62317 #define HAVE__FMODL 1
62318 _ACEOF
62319
62320 fi
62321 done
62322
62323 fi
62324 fi
62325
62326
62327
62328
62329
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62331 $as_echo_n "checking for frexpl declaration... " >&6; }
62332 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62333 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62334 $as_echo_n "(cached) " >&6
62335 else
62336
62337
62338 ac_ext=cpp
62339 ac_cpp='$CXXCPP $CPPFLAGS'
62340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62343
62344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62345 /* end confdefs.h. */
62346 #include <math.h>
62347 int
62348 main ()
62349 {
62350 frexpl(0, 0);
62351 ;
62352 return 0;
62353 }
62354 _ACEOF
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356 glibcxx_cv_func_frexpl_use=yes
62357 else
62358 glibcxx_cv_func_frexpl_use=no
62359 fi
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62361 ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62366
62367
62368 fi
62369
62370 fi
62371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62372 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62373
62374 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62375 for ac_func in frexpl
62376 do :
62377 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62378 if test "x$ac_cv_func_frexpl" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define HAVE_FREXPL 1
62381 _ACEOF
62382
62383 fi
62384 done
62385
62386 else
62387
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62389 $as_echo_n "checking for _frexpl declaration... " >&6; }
62390 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62391 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62392 $as_echo_n "(cached) " >&6
62393 else
62394
62395
62396 ac_ext=cpp
62397 ac_cpp='$CXXCPP $CPPFLAGS'
62398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62401
62402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62403 /* end confdefs.h. */
62404 #include <math.h>
62405 int
62406 main ()
62407 {
62408 _frexpl(0, 0);
62409 ;
62410 return 0;
62411 }
62412 _ACEOF
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414 glibcxx_cv_func__frexpl_use=yes
62415 else
62416 glibcxx_cv_func__frexpl_use=no
62417 fi
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62419 ac_ext=c
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62424
62425
62426 fi
62427
62428 fi
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62430 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62431
62432 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62433 for ac_func in _frexpl
62434 do :
62435 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62436 if test "x$ac_cv_func__frexpl" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define HAVE__FREXPL 1
62439 _ACEOF
62440
62441 fi
62442 done
62443
62444 fi
62445 fi
62446
62447
62448
62449
62450
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62452 $as_echo_n "checking for hypotl declaration... " >&6; }
62453 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62454 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62455 $as_echo_n "(cached) " >&6
62456 else
62457
62458
62459 ac_ext=cpp
62460 ac_cpp='$CXXCPP $CPPFLAGS'
62461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62464
62465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62466 /* end confdefs.h. */
62467 #include <math.h>
62468 int
62469 main ()
62470 {
62471 hypotl(0, 0);
62472 ;
62473 return 0;
62474 }
62475 _ACEOF
62476 if ac_fn_cxx_try_compile "$LINENO"; then :
62477 glibcxx_cv_func_hypotl_use=yes
62478 else
62479 glibcxx_cv_func_hypotl_use=no
62480 fi
62481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62482 ac_ext=c
62483 ac_cpp='$CPP $CPPFLAGS'
62484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62487
62488
62489 fi
62490
62491 fi
62492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62493 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62494
62495 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62496 for ac_func in hypotl
62497 do :
62498 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62499 if test "x$ac_cv_func_hypotl" = x""yes; then :
62500 cat >>confdefs.h <<_ACEOF
62501 #define HAVE_HYPOTL 1
62502 _ACEOF
62503
62504 fi
62505 done
62506
62507 else
62508
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62510 $as_echo_n "checking for _hypotl declaration... " >&6; }
62511 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62512 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62513 $as_echo_n "(cached) " >&6
62514 else
62515
62516
62517 ac_ext=cpp
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62522
62523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h. */
62525 #include <math.h>
62526 int
62527 main ()
62528 {
62529 _hypotl(0, 0);
62530 ;
62531 return 0;
62532 }
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func__hypotl_use=yes
62536 else
62537 glibcxx_cv_func__hypotl_use=no
62538 fi
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540 ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62545
62546
62547 fi
62548
62549 fi
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62551 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62552
62553 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62554 for ac_func in _hypotl
62555 do :
62556 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62557 if test "x$ac_cv_func__hypotl" = x""yes; then :
62558 cat >>confdefs.h <<_ACEOF
62559 #define HAVE__HYPOTL 1
62560 _ACEOF
62561
62562 fi
62563 done
62564
62565 fi
62566 fi
62567
62568
62569
62570
62571
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62573 $as_echo_n "checking for ldexpl declaration... " >&6; }
62574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62575 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62576 $as_echo_n "(cached) " >&6
62577 else
62578
62579
62580 ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62585
62586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h. */
62588 #include <math.h>
62589 int
62590 main ()
62591 {
62592 ldexpl(0, 0);
62593 ;
62594 return 0;
62595 }
62596 _ACEOF
62597 if ac_fn_cxx_try_compile "$LINENO"; then :
62598 glibcxx_cv_func_ldexpl_use=yes
62599 else
62600 glibcxx_cv_func_ldexpl_use=no
62601 fi
62602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62603 ac_ext=c
62604 ac_cpp='$CPP $CPPFLAGS'
62605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62608
62609
62610 fi
62611
62612 fi
62613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62614 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62615
62616 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62617 for ac_func in ldexpl
62618 do :
62619 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62620 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62621 cat >>confdefs.h <<_ACEOF
62622 #define HAVE_LDEXPL 1
62623 _ACEOF
62624
62625 fi
62626 done
62627
62628 else
62629
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62631 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62632 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62633 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62634 $as_echo_n "(cached) " >&6
62635 else
62636
62637
62638 ac_ext=cpp
62639 ac_cpp='$CXXCPP $CPPFLAGS'
62640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62643
62644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62645 /* end confdefs.h. */
62646 #include <math.h>
62647 int
62648 main ()
62649 {
62650 _ldexpl(0, 0);
62651 ;
62652 return 0;
62653 }
62654 _ACEOF
62655 if ac_fn_cxx_try_compile "$LINENO"; then :
62656 glibcxx_cv_func__ldexpl_use=yes
62657 else
62658 glibcxx_cv_func__ldexpl_use=no
62659 fi
62660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62661 ac_ext=c
62662 ac_cpp='$CPP $CPPFLAGS'
62663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62666
62667
62668 fi
62669
62670 fi
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62672 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62673
62674 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62675 for ac_func in _ldexpl
62676 do :
62677 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62678 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62679 cat >>confdefs.h <<_ACEOF
62680 #define HAVE__LDEXPL 1
62681 _ACEOF
62682
62683 fi
62684 done
62685
62686 fi
62687 fi
62688
62689
62690
62691
62692
62693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62694 $as_echo_n "checking for logl declaration... " >&6; }
62695 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62696 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62697 $as_echo_n "(cached) " >&6
62698 else
62699
62700
62701 ac_ext=cpp
62702 ac_cpp='$CXXCPP $CPPFLAGS'
62703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62706
62707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62708 /* end confdefs.h. */
62709 #include <math.h>
62710 #ifdef HAVE_IEEEFP_H
62711 #include <ieeefp.h>
62712 #endif
62713
62714 int
62715 main ()
62716 {
62717 logl(0);
62718 ;
62719 return 0;
62720 }
62721 _ACEOF
62722 if ac_fn_cxx_try_compile "$LINENO"; then :
62723 glibcxx_cv_func_logl_use=yes
62724 else
62725 glibcxx_cv_func_logl_use=no
62726 fi
62727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62728 ac_ext=c
62729 ac_cpp='$CPP $CPPFLAGS'
62730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62733
62734
62735 fi
62736
62737 fi
62738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62739 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62740
62741 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62742 for ac_func in logl
62743 do :
62744 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62745 if test "x$ac_cv_func_logl" = x""yes; then :
62746 cat >>confdefs.h <<_ACEOF
62747 #define HAVE_LOGL 1
62748 _ACEOF
62749
62750 fi
62751 done
62752
62753 else
62754
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62756 $as_echo_n "checking for _logl declaration... " >&6; }
62757 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62758 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62759 $as_echo_n "(cached) " >&6
62760 else
62761
62762
62763 ac_ext=cpp
62764 ac_cpp='$CXXCPP $CPPFLAGS'
62765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62768
62769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62770 /* end confdefs.h. */
62771 #include <math.h>
62772 #ifdef HAVE_IEEEFP_H
62773 #include <ieeefp.h>
62774 #endif
62775
62776 int
62777 main ()
62778 {
62779 _logl(0);
62780 ;
62781 return 0;
62782 }
62783 _ACEOF
62784 if ac_fn_cxx_try_compile "$LINENO"; then :
62785 glibcxx_cv_func__logl_use=yes
62786 else
62787 glibcxx_cv_func__logl_use=no
62788 fi
62789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62790 ac_ext=c
62791 ac_cpp='$CPP $CPPFLAGS'
62792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62795
62796
62797 fi
62798
62799 fi
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62801 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62802
62803 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62804 for ac_func in _logl
62805 do :
62806 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62807 if test "x$ac_cv_func__logl" = x""yes; then :
62808 cat >>confdefs.h <<_ACEOF
62809 #define HAVE__LOGL 1
62810 _ACEOF
62811
62812 fi
62813 done
62814
62815 fi
62816 fi
62817
62818
62819
62820
62821
62822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62823 $as_echo_n "checking for log10l declaration... " >&6; }
62824 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62825 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62826 $as_echo_n "(cached) " >&6
62827 else
62828
62829
62830 ac_ext=cpp
62831 ac_cpp='$CXXCPP $CPPFLAGS'
62832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62835
62836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62837 /* end confdefs.h. */
62838 #include <math.h>
62839 #ifdef HAVE_IEEEFP_H
62840 #include <ieeefp.h>
62841 #endif
62842
62843 int
62844 main ()
62845 {
62846 log10l(0);
62847 ;
62848 return 0;
62849 }
62850 _ACEOF
62851 if ac_fn_cxx_try_compile "$LINENO"; then :
62852 glibcxx_cv_func_log10l_use=yes
62853 else
62854 glibcxx_cv_func_log10l_use=no
62855 fi
62856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62857 ac_ext=c
62858 ac_cpp='$CPP $CPPFLAGS'
62859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62862
62863
62864 fi
62865
62866 fi
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62868 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62869
62870 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62871 for ac_func in log10l
62872 do :
62873 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62874 if test "x$ac_cv_func_log10l" = x""yes; then :
62875 cat >>confdefs.h <<_ACEOF
62876 #define HAVE_LOG10L 1
62877 _ACEOF
62878
62879 fi
62880 done
62881
62882 else
62883
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62885 $as_echo_n "checking for _log10l declaration... " >&6; }
62886 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62887 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62889 else
62890
62891
62892 ac_ext=cpp
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62897
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62900 #include <math.h>
62901 #ifdef HAVE_IEEEFP_H
62902 #include <ieeefp.h>
62903 #endif
62904
62905 int
62906 main ()
62907 {
62908 _log10l(0);
62909 ;
62910 return 0;
62911 }
62912 _ACEOF
62913 if ac_fn_cxx_try_compile "$LINENO"; then :
62914 glibcxx_cv_func__log10l_use=yes
62915 else
62916 glibcxx_cv_func__log10l_use=no
62917 fi
62918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62919 ac_ext=c
62920 ac_cpp='$CPP $CPPFLAGS'
62921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62924
62925
62926 fi
62927
62928 fi
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62930 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62931
62932 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62933 for ac_func in _log10l
62934 do :
62935 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62936 if test "x$ac_cv_func__log10l" = x""yes; then :
62937 cat >>confdefs.h <<_ACEOF
62938 #define HAVE__LOG10L 1
62939 _ACEOF
62940
62941 fi
62942 done
62943
62944 fi
62945 fi
62946
62947
62948
62949
62950
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62952 $as_echo_n "checking for modfl declaration... " >&6; }
62953 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62954 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62955 $as_echo_n "(cached) " >&6
62956 else
62957
62958
62959 ac_ext=cpp
62960 ac_cpp='$CXXCPP $CPPFLAGS'
62961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62964
62965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62966 /* end confdefs.h. */
62967 #include <math.h>
62968 int
62969 main ()
62970 {
62971 modfl(0, 0);
62972 ;
62973 return 0;
62974 }
62975 _ACEOF
62976 if ac_fn_cxx_try_compile "$LINENO"; then :
62977 glibcxx_cv_func_modfl_use=yes
62978 else
62979 glibcxx_cv_func_modfl_use=no
62980 fi
62981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62982 ac_ext=c
62983 ac_cpp='$CPP $CPPFLAGS'
62984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62987
62988
62989 fi
62990
62991 fi
62992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62993 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62994
62995 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62996 for ac_func in modfl
62997 do :
62998 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62999 if test "x$ac_cv_func_modfl" = x""yes; then :
63000 cat >>confdefs.h <<_ACEOF
63001 #define HAVE_MODFL 1
63002 _ACEOF
63003
63004 fi
63005 done
63006
63007 else
63008
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63010 $as_echo_n "checking for _modfl declaration... " >&6; }
63011 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63012 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63013 $as_echo_n "(cached) " >&6
63014 else
63015
63016
63017 ac_ext=cpp
63018 ac_cpp='$CXXCPP $CPPFLAGS'
63019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63022
63023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63024 /* end confdefs.h. */
63025 #include <math.h>
63026 int
63027 main ()
63028 {
63029 _modfl(0, 0);
63030 ;
63031 return 0;
63032 }
63033 _ACEOF
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035 glibcxx_cv_func__modfl_use=yes
63036 else
63037 glibcxx_cv_func__modfl_use=no
63038 fi
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63040 ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63045
63046
63047 fi
63048
63049 fi
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63051 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63052
63053 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63054 for ac_func in _modfl
63055 do :
63056 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63057 if test "x$ac_cv_func__modfl" = x""yes; then :
63058 cat >>confdefs.h <<_ACEOF
63059 #define HAVE__MODFL 1
63060 _ACEOF
63061
63062 fi
63063 done
63064
63065 fi
63066 fi
63067
63068
63069
63070
63071
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63073 $as_echo_n "checking for powl declaration... " >&6; }
63074 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63075 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63076 $as_echo_n "(cached) " >&6
63077 else
63078
63079
63080 ac_ext=cpp
63081 ac_cpp='$CXXCPP $CPPFLAGS'
63082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63085
63086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63087 /* end confdefs.h. */
63088 #include <math.h>
63089 int
63090 main ()
63091 {
63092 powl(0, 0);
63093 ;
63094 return 0;
63095 }
63096 _ACEOF
63097 if ac_fn_cxx_try_compile "$LINENO"; then :
63098 glibcxx_cv_func_powl_use=yes
63099 else
63100 glibcxx_cv_func_powl_use=no
63101 fi
63102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63103 ac_ext=c
63104 ac_cpp='$CPP $CPPFLAGS'
63105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63108
63109
63110 fi
63111
63112 fi
63113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63114 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63115
63116 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63117 for ac_func in powl
63118 do :
63119 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63120 if test "x$ac_cv_func_powl" = x""yes; then :
63121 cat >>confdefs.h <<_ACEOF
63122 #define HAVE_POWL 1
63123 _ACEOF
63124
63125 fi
63126 done
63127
63128 else
63129
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63131 $as_echo_n "checking for _powl declaration... " >&6; }
63132 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63133 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63134 $as_echo_n "(cached) " >&6
63135 else
63136
63137
63138 ac_ext=cpp
63139 ac_cpp='$CXXCPP $CPPFLAGS'
63140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63143
63144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63145 /* end confdefs.h. */
63146 #include <math.h>
63147 int
63148 main ()
63149 {
63150 _powl(0, 0);
63151 ;
63152 return 0;
63153 }
63154 _ACEOF
63155 if ac_fn_cxx_try_compile "$LINENO"; then :
63156 glibcxx_cv_func__powl_use=yes
63157 else
63158 glibcxx_cv_func__powl_use=no
63159 fi
63160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63161 ac_ext=c
63162 ac_cpp='$CPP $CPPFLAGS'
63163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63166
63167
63168 fi
63169
63170 fi
63171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63172 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63173
63174 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63175 for ac_func in _powl
63176 do :
63177 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63178 if test "x$ac_cv_func__powl" = x""yes; then :
63179 cat >>confdefs.h <<_ACEOF
63180 #define HAVE__POWL 1
63181 _ACEOF
63182
63183 fi
63184 done
63185
63186 fi
63187 fi
63188
63189
63190
63191
63192
63193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63194 $as_echo_n "checking for sqrtl declaration... " >&6; }
63195 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63196 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63197 $as_echo_n "(cached) " >&6
63198 else
63199
63200
63201 ac_ext=cpp
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63206
63207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63208 /* end confdefs.h. */
63209 #include <math.h>
63210 #ifdef HAVE_IEEEFP_H
63211 #include <ieeefp.h>
63212 #endif
63213
63214 int
63215 main ()
63216 {
63217 sqrtl(0);
63218 ;
63219 return 0;
63220 }
63221 _ACEOF
63222 if ac_fn_cxx_try_compile "$LINENO"; then :
63223 glibcxx_cv_func_sqrtl_use=yes
63224 else
63225 glibcxx_cv_func_sqrtl_use=no
63226 fi
63227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63228 ac_ext=c
63229 ac_cpp='$CPP $CPPFLAGS'
63230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63233
63234
63235 fi
63236
63237 fi
63238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63239 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63240
63241 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63242 for ac_func in sqrtl
63243 do :
63244 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63245 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63246 cat >>confdefs.h <<_ACEOF
63247 #define HAVE_SQRTL 1
63248 _ACEOF
63249
63250 fi
63251 done
63252
63253 else
63254
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63256 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63257 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63258 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63259 $as_echo_n "(cached) " >&6
63260 else
63261
63262
63263 ac_ext=cpp
63264 ac_cpp='$CXXCPP $CPPFLAGS'
63265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63268
63269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63270 /* end confdefs.h. */
63271 #include <math.h>
63272 #ifdef HAVE_IEEEFP_H
63273 #include <ieeefp.h>
63274 #endif
63275
63276 int
63277 main ()
63278 {
63279 _sqrtl(0);
63280 ;
63281 return 0;
63282 }
63283 _ACEOF
63284 if ac_fn_cxx_try_compile "$LINENO"; then :
63285 glibcxx_cv_func__sqrtl_use=yes
63286 else
63287 glibcxx_cv_func__sqrtl_use=no
63288 fi
63289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63290 ac_ext=c
63291 ac_cpp='$CPP $CPPFLAGS'
63292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63295
63296
63297 fi
63298
63299 fi
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63301 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63302
63303 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63304 for ac_func in _sqrtl
63305 do :
63306 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63307 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63308 cat >>confdefs.h <<_ACEOF
63309 #define HAVE__SQRTL 1
63310 _ACEOF
63311
63312 fi
63313 done
63314
63315 fi
63316 fi
63317
63318
63319
63320
63321
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63323 $as_echo_n "checking for sincosl declaration... " >&6; }
63324 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63325 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63326 $as_echo_n "(cached) " >&6
63327 else
63328
63329
63330 ac_ext=cpp
63331 ac_cpp='$CXXCPP $CPPFLAGS'
63332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63335
63336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63337 /* end confdefs.h. */
63338 #include <math.h>
63339 int
63340 main ()
63341 {
63342 sincosl(0, 0, 0);
63343 ;
63344 return 0;
63345 }
63346 _ACEOF
63347 if ac_fn_cxx_try_compile "$LINENO"; then :
63348 glibcxx_cv_func_sincosl_use=yes
63349 else
63350 glibcxx_cv_func_sincosl_use=no
63351 fi
63352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63353 ac_ext=c
63354 ac_cpp='$CPP $CPPFLAGS'
63355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63358
63359
63360 fi
63361
63362 fi
63363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63364 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63365
63366 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63367 for ac_func in sincosl
63368 do :
63369 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63370 if test "x$ac_cv_func_sincosl" = x""yes; then :
63371 cat >>confdefs.h <<_ACEOF
63372 #define HAVE_SINCOSL 1
63373 _ACEOF
63374
63375 fi
63376 done
63377
63378 else
63379
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63381 $as_echo_n "checking for _sincosl declaration... " >&6; }
63382 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63383 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63384 $as_echo_n "(cached) " >&6
63385 else
63386
63387
63388 ac_ext=cpp
63389 ac_cpp='$CXXCPP $CPPFLAGS'
63390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63393
63394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63395 /* end confdefs.h. */
63396 #include <math.h>
63397 int
63398 main ()
63399 {
63400 _sincosl(0, 0, 0);
63401 ;
63402 return 0;
63403 }
63404 _ACEOF
63405 if ac_fn_cxx_try_compile "$LINENO"; then :
63406 glibcxx_cv_func__sincosl_use=yes
63407 else
63408 glibcxx_cv_func__sincosl_use=no
63409 fi
63410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63411 ac_ext=c
63412 ac_cpp='$CPP $CPPFLAGS'
63413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63416
63417
63418 fi
63419
63420 fi
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63422 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63423
63424 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63425 for ac_func in _sincosl
63426 do :
63427 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63428 if test "x$ac_cv_func__sincosl" = x""yes; then :
63429 cat >>confdefs.h <<_ACEOF
63430 #define HAVE__SINCOSL 1
63431 _ACEOF
63432
63433 fi
63434 done
63435
63436 fi
63437 fi
63438
63439
63440
63441
63442
63443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63444 $as_echo_n "checking for finitel declaration... " >&6; }
63445 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63446 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63447 $as_echo_n "(cached) " >&6
63448 else
63449
63450
63451 ac_ext=cpp
63452 ac_cpp='$CXXCPP $CPPFLAGS'
63453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63456
63457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63458 /* end confdefs.h. */
63459 #include <math.h>
63460 #ifdef HAVE_IEEEFP_H
63461 #include <ieeefp.h>
63462 #endif
63463
63464 int
63465 main ()
63466 {
63467 finitel(0);
63468 ;
63469 return 0;
63470 }
63471 _ACEOF
63472 if ac_fn_cxx_try_compile "$LINENO"; then :
63473 glibcxx_cv_func_finitel_use=yes
63474 else
63475 glibcxx_cv_func_finitel_use=no
63476 fi
63477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63478 ac_ext=c
63479 ac_cpp='$CPP $CPPFLAGS'
63480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63483
63484
63485 fi
63486
63487 fi
63488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63489 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63490
63491 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63492 for ac_func in finitel
63493 do :
63494 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63495 if test "x$ac_cv_func_finitel" = x""yes; then :
63496 cat >>confdefs.h <<_ACEOF
63497 #define HAVE_FINITEL 1
63498 _ACEOF
63499
63500 fi
63501 done
63502
63503 else
63504
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63506 $as_echo_n "checking for _finitel declaration... " >&6; }
63507 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63508 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63509 $as_echo_n "(cached) " >&6
63510 else
63511
63512
63513 ac_ext=cpp
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63518
63519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63520 /* end confdefs.h. */
63521 #include <math.h>
63522 #ifdef HAVE_IEEEFP_H
63523 #include <ieeefp.h>
63524 #endif
63525
63526 int
63527 main ()
63528 {
63529 _finitel(0);
63530 ;
63531 return 0;
63532 }
63533 _ACEOF
63534 if ac_fn_cxx_try_compile "$LINENO"; then :
63535 glibcxx_cv_func__finitel_use=yes
63536 else
63537 glibcxx_cv_func__finitel_use=no
63538 fi
63539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63540 ac_ext=c
63541 ac_cpp='$CPP $CPPFLAGS'
63542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63545
63546
63547 fi
63548
63549 fi
63550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63551 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63552
63553 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63554 for ac_func in _finitel
63555 do :
63556 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63557 if test "x$ac_cv_func__finitel" = x""yes; then :
63558 cat >>confdefs.h <<_ACEOF
63559 #define HAVE__FINITEL 1
63560 _ACEOF
63561
63562 fi
63563 done
63564
63565 fi
63566 fi
63567
63568
63569
63570
63571 LIBS="$ac_save_LIBS"
63572 CXXFLAGS="$ac_save_CXXFLAGS"
63573
63574
63575 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63576 ac_save_CXXFLAGS="$CXXFLAGS"
63577 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63578
63579
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63581 $as_echo_n "checking for strtold declaration... " >&6; }
63582 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63583 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63584 $as_echo_n "(cached) " >&6
63585 else
63586
63587
63588 ac_ext=cpp
63589 ac_cpp='$CXXCPP $CPPFLAGS'
63590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63593
63594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63595 /* end confdefs.h. */
63596 #include <stdlib.h>
63597 int
63598 main ()
63599 {
63600 strtold(0, 0);
63601 ;
63602 return 0;
63603 }
63604 _ACEOF
63605 if ac_fn_cxx_try_compile "$LINENO"; then :
63606 glibcxx_cv_func_strtold_use=yes
63607 else
63608 glibcxx_cv_func_strtold_use=no
63609 fi
63610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63611 ac_ext=c
63612 ac_cpp='$CPP $CPPFLAGS'
63613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63616
63617
63618 fi
63619
63620 fi
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63622 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63623 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63624 for ac_func in strtold
63625 do :
63626 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63627 if test "x$ac_cv_func_strtold" = x""yes; then :
63628 cat >>confdefs.h <<_ACEOF
63629 #define HAVE_STRTOLD 1
63630 _ACEOF
63631
63632 fi
63633 done
63634
63635 fi
63636
63637
63638
63639
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63641 $as_echo_n "checking for strtof declaration... " >&6; }
63642 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63643 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63644 $as_echo_n "(cached) " >&6
63645 else
63646
63647
63648 ac_ext=cpp
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63653
63654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63655 /* end confdefs.h. */
63656 #include <stdlib.h>
63657 int
63658 main ()
63659 {
63660 strtof(0, 0);
63661 ;
63662 return 0;
63663 }
63664 _ACEOF
63665 if ac_fn_cxx_try_compile "$LINENO"; then :
63666 glibcxx_cv_func_strtof_use=yes
63667 else
63668 glibcxx_cv_func_strtof_use=no
63669 fi
63670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63671 ac_ext=c
63672 ac_cpp='$CPP $CPPFLAGS'
63673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63676
63677
63678 fi
63679
63680 fi
63681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63682 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63683 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63684 for ac_func in strtof
63685 do :
63686 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63687 if test "x$ac_cv_func_strtof" = x""yes; then :
63688 cat >>confdefs.h <<_ACEOF
63689 #define HAVE_STRTOF 1
63690 _ACEOF
63691
63692 fi
63693 done
63694
63695 fi
63696
63697
63698
63699
63700 CXXFLAGS="$ac_save_CXXFLAGS"
63701
63702 ;;
63703 *-solaris*)
63704 case "$target" in
63705 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63706
63707 # If we're not using GNU ld, then there's no point in even trying these
63708 # tests. Check for that first. We should have already tested for gld
63709 # by now (in libtool), but require it now just to be safe...
63710 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63711 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63712
63713
63714
63715 # The name set by libtool depends on the version of libtool. Shame on us
63716 # for depending on an impl detail, but c'est la vie. Older versions used
63717 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63718 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63719 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63720 # set (hence we're using an older libtool), then set it.
63721 if test x${with_gnu_ld+set} != xset; then
63722 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63723 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63724 with_gnu_ld=no
63725 else
63726 with_gnu_ld=$ac_cv_prog_gnu_ld
63727 fi
63728 fi
63729
63730 # Start by getting the version number. I think the libtool test already
63731 # does some of this, but throws away the result.
63732 glibcxx_ld_is_gold=no
63733 if test x"$with_gnu_ld" = x"yes"; then
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63735 $as_echo_n "checking for ld version... " >&6; }
63736
63737 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63738 glibcxx_ld_is_gold=yes
63739 fi
63740 ldver=`$LD --version 2>/dev/null |
63741 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63742
63743 glibcxx_gnu_ld_version=`echo $ldver | \
63744 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63746 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63747 fi
63748
63749 # Set --gc-sections.
63750 glibcxx_have_gc_sections=no
63751 if test "$glibcxx_ld_is_gold" = "yes"; then
63752 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63753 glibcxx_have_gc_sections=yes
63754 fi
63755 else
63756 glibcxx_gcsections_min_ld=21602
63757 if test x"$with_gnu_ld" = x"yes" &&
63758 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63759 glibcxx_have_gc_sections=yes
63760 fi
63761 fi
63762 if test "$glibcxx_have_gc_sections" = "yes"; then
63763 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63764 # NB: This flag only works reliably after 2.16.1. Configure tests
63765 # for this are difficult, so hard wire a value that should work.
63766
63767 ac_test_CFLAGS="${CFLAGS+set}"
63768 ac_save_CFLAGS="$CFLAGS"
63769 CFLAGS='-Wl,--gc-sections'
63770
63771 # Check for -Wl,--gc-sections
63772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63773 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63774 if test x$gcc_no_link = xyes; then
63775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63776 fi
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 int one(void) { return 1; }
63780 int two(void) { return 2; }
63781
63782 int
63783 main ()
63784 {
63785 two();
63786 ;
63787 return 0;
63788 }
63789 _ACEOF
63790 if ac_fn_c_try_link "$LINENO"; then :
63791 ac_gcsections=yes
63792 else
63793 ac_gcsections=no
63794 fi
63795 rm -f core conftest.err conftest.$ac_objext \
63796 conftest$ac_exeext conftest.$ac_ext
63797 if test "$ac_gcsections" = "yes"; then
63798 rm -f conftest.c
63799 touch conftest.c
63800 if $CC -c conftest.c; then
63801 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63802 grep "Warning: gc-sections option ignored" > /dev/null; then
63803 ac_gcsections=no
63804 fi
63805 fi
63806 rm -f conftest.c conftest.o conftest
63807 fi
63808 if test "$ac_gcsections" = "yes"; then
63809 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63810 fi
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63812 $as_echo "$ac_gcsections" >&6; }
63813
63814 if test "$ac_test_CFLAGS" = set; then
63815 CFLAGS="$ac_save_CFLAGS"
63816 else
63817 # this is the suspicious part
63818 CFLAGS=''
63819 fi
63820 fi
63821
63822 # Set -z,relro.
63823 # Note this is only for shared objects.
63824 ac_ld_relro=no
63825 if test x"$with_gnu_ld" = x"yes"; then
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63827 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63828 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63829 if test -n "$cxx_z_relo"; then
63830 OPT_LDFLAGS="-Wl,-z,relro"
63831 ac_ld_relro=yes
63832 fi
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63834 $as_echo "$ac_ld_relro" >&6; }
63835 fi
63836
63837 # Set linker optimization flags.
63838 if test x"$with_gnu_ld" = x"yes"; then
63839 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63840 fi
63841
63842
63843
63844
63845 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63846
63847 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63848
63849 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63850
63851 # All of the dependencies for wide character support are here, so
63852 # turn it on.
63853 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63854
63855 ;;
63856 esac
63857 case "$target" in
63858 *-*-solaris2.10)
63859 # These two C99 functions are present only in Solaris >= 10
63860 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63861
63862 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63863
63864 ;;
63865 esac
63866 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63867
63868 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63869
63870 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63871
63872 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63873
63874 ;;
63875 *-tpf)
63876 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63877
63878
63879 # If we're not using GNU ld, then there's no point in even trying these
63880 # tests. Check for that first. We should have already tested for gld
63881 # by now (in libtool), but require it now just to be safe...
63882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63884
63885
63886
63887 # The name set by libtool depends on the version of libtool. Shame on us
63888 # for depending on an impl detail, but c'est la vie. Older versions used
63889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63892 # set (hence we're using an older libtool), then set it.
63893 if test x${with_gnu_ld+set} != xset; then
63894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63896 with_gnu_ld=no
63897 else
63898 with_gnu_ld=$ac_cv_prog_gnu_ld
63899 fi
63900 fi
63901
63902 # Start by getting the version number. I think the libtool test already
63903 # does some of this, but throws away the result.
63904 glibcxx_ld_is_gold=no
63905 if test x"$with_gnu_ld" = x"yes"; then
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63907 $as_echo_n "checking for ld version... " >&6; }
63908
63909 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63910 glibcxx_ld_is_gold=yes
63911 fi
63912 ldver=`$LD --version 2>/dev/null |
63913 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63914
63915 glibcxx_gnu_ld_version=`echo $ldver | \
63916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63919 fi
63920
63921 # Set --gc-sections.
63922 glibcxx_have_gc_sections=no
63923 if test "$glibcxx_ld_is_gold" = "yes"; then
63924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63925 glibcxx_have_gc_sections=yes
63926 fi
63927 else
63928 glibcxx_gcsections_min_ld=21602
63929 if test x"$with_gnu_ld" = x"yes" &&
63930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63931 glibcxx_have_gc_sections=yes
63932 fi
63933 fi
63934 if test "$glibcxx_have_gc_sections" = "yes"; then
63935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63936 # NB: This flag only works reliably after 2.16.1. Configure tests
63937 # for this are difficult, so hard wire a value that should work.
63938
63939 ac_test_CFLAGS="${CFLAGS+set}"
63940 ac_save_CFLAGS="$CFLAGS"
63941 CFLAGS='-Wl,--gc-sections'
63942
63943 # Check for -Wl,--gc-sections
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63946 if test x$gcc_no_link = xyes; then
63947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63948 fi
63949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63950 /* end confdefs.h. */
63951 int one(void) { return 1; }
63952 int two(void) { return 2; }
63953
63954 int
63955 main ()
63956 {
63957 two();
63958 ;
63959 return 0;
63960 }
63961 _ACEOF
63962 if ac_fn_c_try_link "$LINENO"; then :
63963 ac_gcsections=yes
63964 else
63965 ac_gcsections=no
63966 fi
63967 rm -f core conftest.err conftest.$ac_objext \
63968 conftest$ac_exeext conftest.$ac_ext
63969 if test "$ac_gcsections" = "yes"; then
63970 rm -f conftest.c
63971 touch conftest.c
63972 if $CC -c conftest.c; then
63973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63974 grep "Warning: gc-sections option ignored" > /dev/null; then
63975 ac_gcsections=no
63976 fi
63977 fi
63978 rm -f conftest.c conftest.o conftest
63979 fi
63980 if test "$ac_gcsections" = "yes"; then
63981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63982 fi
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63984 $as_echo "$ac_gcsections" >&6; }
63985
63986 if test "$ac_test_CFLAGS" = set; then
63987 CFLAGS="$ac_save_CFLAGS"
63988 else
63989 # this is the suspicious part
63990 CFLAGS=''
63991 fi
63992 fi
63993
63994 # Set -z,relro.
63995 # Note this is only for shared objects.
63996 ac_ld_relro=no
63997 if test x"$with_gnu_ld" = x"yes"; then
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63999 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64000 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64001 if test -n "$cxx_z_relo"; then
64002 OPT_LDFLAGS="-Wl,-z,relro"
64003 ac_ld_relro=yes
64004 fi
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64006 $as_echo "$ac_ld_relro" >&6; }
64007 fi
64008
64009 # Set linker optimization flags.
64010 if test x"$with_gnu_ld" = x"yes"; then
64011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64012 fi
64013
64014
64015
64016
64017 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64018
64019 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64020
64021 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64022
64023 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64024
64025 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64026
64027 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64028
64029 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64030
64031 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64032
64033 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64034
64035 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64036
64037 if test x"long_double_math_on_this_cpu" = x"yes"; then
64038 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64039
64040 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64041
64042 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64043
64044 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64045
64046 fi
64047 ;;
64048 *-vxworks)
64049 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64050
64051 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64052
64053 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64054
64055 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64056
64057 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64058
64059 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64060
64061 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64062
64063 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64064
64065 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64066
64067 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64068
64069 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64070
64071 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64072
64073 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64074
64075 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64076
64077 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64078
64079 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64080
64081 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64082
64083 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64084
64085 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64086
64087 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64088
64089 ;;
64090 *)
64091 as_fn_error "No support for this host/target combination." "$LINENO" 5
64092 ;;
64093 esac
64094
64095 fi
64096
64097 # At some point, we should differentiate between architectures
64098 # like x86, which have long double versions, and alpha/powerpc/etc.,
64099 # which don't. For the time being, punt.
64100 if test x"long_double_math_on_this_cpu" = x"yes"; then
64101 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64102
64103 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64104
64105 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64106
64107 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64108
64109 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64110
64111 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64112
64113 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64114
64115 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64116
64117 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64118
64119 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64120
64121 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64122
64123 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64124
64125 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64126
64127 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64128
64129 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64130
64131 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64132
64133 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64134
64135 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64136
64137 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64138
64139 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64140
64141 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64142
64143 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64144
64145 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64146
64147 fi
64148 fi
64149
64150 # Check for _Unwind_GetIPInfo.
64151
64152
64153 # Check whether --with-system-libunwind was given.
64154 if test "${with_system_libunwind+set}" = set; then :
64155 withval=$with_system_libunwind;
64156 fi
64157
64158 # If system-libunwind was not specifically set, pick a default setting.
64159 if test x$with_system_libunwind = x; then
64160 case ${target} in
64161 ia64-*-hpux*) with_system_libunwind=yes ;;
64162 *) with_system_libunwind=no ;;
64163 esac
64164 fi
64165 # Based on system-libunwind and target, do we have ipinfo?
64166 if test x$with_system_libunwind = xyes; then
64167 case ${target} in
64168 ia64-*-*) have_unwind_getipinfo=no ;;
64169 *) have_unwind_getipinfo=yes ;;
64170 esac
64171 else
64172 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64173
64174 case ${target} in
64175 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64176 *) have_unwind_getipinfo=yes ;;
64177 esac
64178
64179 fi
64180
64181 if test x$have_unwind_getipinfo = xyes; then
64182
64183 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64184
64185 fi
64186
64187
64188 # Check whether --enable-linux-futex was given.
64189 if test "${enable_linux_futex+set}" = set; then :
64190 enableval=$enable_linux_futex;
64191 case "$enableval" in
64192 yes|no|default) ;;
64193 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64194 esac
64195
64196 else
64197 enable_linux_futex=default
64198 fi
64199
64200
64201 case "$target" in
64202 *-linux*)
64203 case "$enable_linux_futex" in
64204 default)
64205 # If headers don't have gettid/futex syscalls definition, then
64206 # default to no, otherwise there will be compile time failures.
64207 # Otherwise, default to yes. If we don't detect we are
64208 # compiled/linked against NPTL and not cross-compiling, check
64209 # if programs are run by default against NPTL and if not, issue
64210 # a warning.
64211 enable_linux_futex=no
64212 if test x$gcc_no_link = xyes; then
64213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64214 fi
64215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64216 /* end confdefs.h. */
64217 #include <sys/syscall.h>
64218 int lk;
64219 int
64220 main ()
64221 {
64222 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64223 ;
64224 return 0;
64225 }
64226 _ACEOF
64227 if ac_fn_c_try_link "$LINENO"; then :
64228 save_LIBS="$LIBS"
64229 LIBS="-lpthread $LIBS"
64230 if test x$gcc_no_link = xyes; then
64231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64232 fi
64233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64234 /* end confdefs.h. */
64235 #ifndef _GNU_SOURCE
64236 #define _GNU_SOURCE 1
64237 #endif
64238 #include <pthread.h>
64239 pthread_t th; void *status;
64240 int
64241 main ()
64242 {
64243 pthread_tryjoin_np (th, &status);
64244 ;
64245 return 0;
64246 }
64247 _ACEOF
64248 if ac_fn_c_try_link "$LINENO"; then :
64249 enable_linux_futex=yes
64250 else
64251 if test x$cross_compiling = xno; then
64252 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64253 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64255 If so, please configure with --disable-linux-futex" >&5
64256 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64257 If so, please configure with --disable-linux-futex" >&2;}
64258 fi
64259 fi
64260 enable_linux_futex=yes
64261 fi
64262 rm -f core conftest.err conftest.$ac_objext \
64263 conftest$ac_exeext conftest.$ac_ext
64264 LIBS="$save_LIBS"
64265 fi
64266 rm -f core conftest.err conftest.$ac_objext \
64267 conftest$ac_exeext conftest.$ac_ext
64268 ;;
64269 yes)
64270 if test x$gcc_no_link = xyes; then
64271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64272 fi
64273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64274 /* end confdefs.h. */
64275 #include <sys/syscall.h>
64276 int lk;
64277 int
64278 main ()
64279 {
64280 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64281 ;
64282 return 0;
64283 }
64284 _ACEOF
64285 if ac_fn_c_try_link "$LINENO"; then :
64286
64287 else
64288 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64289 fi
64290 rm -f core conftest.err conftest.$ac_objext \
64291 conftest$ac_exeext conftest.$ac_ext
64292 ;;
64293 esac
64294 ;;
64295 *)
64296 enable_linux_futex=no
64297 ;;
64298 esac
64299 if test x$enable_linux_futex = xyes; then
64300
64301 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64302
64303 fi
64304
64305
64306
64307
64308 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64309
64310 acx_cv_header_stdint=stddef.h
64311 acx_cv_header_stdint_kind="(already complete)"
64312 for i in stdint.h $inttype_headers; do
64313 unset ac_cv_type_uintptr_t
64314 unset ac_cv_type_uintmax_t
64315 unset ac_cv_type_int_least32_t
64316 unset ac_cv_type_int_fast32_t
64317 unset ac_cv_type_uint64_t
64318 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64319 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64320 #include <$i>
64321 "
64322 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64323 acx_cv_header_stdint=$i
64324 else
64325 continue
64326 fi
64327
64328 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64329 #include <$i>
64330 "
64331 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64332
64333 else
64334 acx_cv_header_stdint_kind="(mostly complete)"
64335 fi
64336
64337 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64338 #include <$i>
64339 "
64340 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64341
64342 else
64343 acx_cv_header_stdint_kind="(mostly complete)"
64344 fi
64345
64346 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64347 #include <$i>
64348 "
64349 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64350
64351 else
64352 acx_cv_header_stdint_kind="(mostly complete)"
64353 fi
64354
64355 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64356 #include <$i>
64357 "
64358 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64359
64360 else
64361 acx_cv_header_stdint_kind="(lacks uint64_t)"
64362 fi
64363
64364 break
64365 done
64366 if test "$acx_cv_header_stdint" = stddef.h; then
64367 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64368 for i in stdint.h $inttype_headers; do
64369 unset ac_cv_type_uintptr_t
64370 unset ac_cv_type_uint32_t
64371 unset ac_cv_type_uint64_t
64372 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64373 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64374 #include <$i>
64375 "
64376 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64377 acx_cv_header_stdint=$i
64378 else
64379 continue
64380 fi
64381
64382 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64383 #include <$i>
64384 "
64385 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64386
64387 fi
64388
64389 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64390 #include <$i>
64391 "
64392 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64393
64394 fi
64395
64396 break
64397 done
64398 fi
64399 if test "$acx_cv_header_stdint" = stddef.h; then
64400 acx_cv_header_stdint_kind="(u_intXX_t style)"
64401 for i in sys/types.h $inttype_headers; do
64402 unset ac_cv_type_u_int32_t
64403 unset ac_cv_type_u_int64_t
64404 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64405 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64406 #include <$i>
64407 "
64408 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64409 acx_cv_header_stdint=$i
64410 else
64411 continue
64412 fi
64413
64414 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64415 #include <$i>
64416 "
64417 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64418
64419 fi
64420
64421 break
64422 done
64423 fi
64424 if test "$acx_cv_header_stdint" = stddef.h; then
64425 acx_cv_header_stdint_kind="(using manual detection)"
64426 fi
64427
64428 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64429 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64430 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64431 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64432 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64433
64434 # ----------------- Summarize what we found so far
64435
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64437 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64438
64439 case `$as_basename -- include/gstdint.h ||
64440 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64441 Xinclude/gstdint.h : 'X\(//\)$' \| \
64442 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64443 $as_echo X/include/gstdint.h |
64444 sed '/^.*\/\([^/][^/]*\)\/*$/{
64445 s//\1/
64446 q
64447 }
64448 /^X\/\(\/\/\)$/{
64449 s//\1/
64450 q
64451 }
64452 /^X\/\(\/\).*/{
64453 s//\1/
64454 q
64455 }
64456 s/.*/./; q'` in
64457 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64458 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64459 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64460 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64461 *) ;;
64462 esac
64463
64464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64465 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64466
64467 # ----------------- done included file, check C basic types --------
64468
64469 # Lacking an uintptr_t? Test size of void *
64470 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64471 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64474 # This bug is HP SR number 8606223364.
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64476 $as_echo_n "checking size of void *... " >&6; }
64477 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64478 $as_echo_n "(cached) " >&6
64479 else
64480 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64481
64482 else
64483 if test "$ac_cv_type_void_p" = yes; then
64484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64486 { as_fn_set_status 77
64487 as_fn_error "cannot compute sizeof (void *)
64488 See \`config.log' for more details." "$LINENO" 5; }; }
64489 else
64490 ac_cv_sizeof_void_p=0
64491 fi
64492 fi
64493
64494 fi
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64496 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64497
64498
64499
64500 cat >>confdefs.h <<_ACEOF
64501 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64502 _ACEOF
64503
64504 ;;
64505 esac
64506
64507 # Lacking an uint64_t? Test size of long
64508 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64509 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64512 # This bug is HP SR number 8606223364.
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64514 $as_echo_n "checking size of long... " >&6; }
64515 if test "${ac_cv_sizeof_long+set}" = set; then :
64516 $as_echo_n "(cached) " >&6
64517 else
64518 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64519
64520 else
64521 if test "$ac_cv_type_long" = yes; then
64522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64524 { as_fn_set_status 77
64525 as_fn_error "cannot compute sizeof (long)
64526 See \`config.log' for more details." "$LINENO" 5; }; }
64527 else
64528 ac_cv_sizeof_long=0
64529 fi
64530 fi
64531
64532 fi
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64534 $as_echo "$ac_cv_sizeof_long" >&6; }
64535
64536
64537
64538 cat >>confdefs.h <<_ACEOF
64539 #define SIZEOF_LONG $ac_cv_sizeof_long
64540 _ACEOF
64541
64542 ;;
64543 esac
64544
64545 if test $acx_cv_header_stdint = stddef.h; then
64546 # Lacking a good header? Test size of everything and deduce all types.
64547 # The cast to long int works around a bug in the HP C Compiler
64548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64550 # This bug is HP SR number 8606223364.
64551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64552 $as_echo_n "checking size of int... " >&6; }
64553 if test "${ac_cv_sizeof_int+set}" = set; then :
64554 $as_echo_n "(cached) " >&6
64555 else
64556 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64557
64558 else
64559 if test "$ac_cv_type_int" = yes; then
64560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64562 { as_fn_set_status 77
64563 as_fn_error "cannot compute sizeof (int)
64564 See \`config.log' for more details." "$LINENO" 5; }; }
64565 else
64566 ac_cv_sizeof_int=0
64567 fi
64568 fi
64569
64570 fi
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64572 $as_echo "$ac_cv_sizeof_int" >&6; }
64573
64574
64575
64576 cat >>confdefs.h <<_ACEOF
64577 #define SIZEOF_INT $ac_cv_sizeof_int
64578 _ACEOF
64579
64580
64581 # The cast to long int works around a bug in the HP C Compiler
64582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64584 # This bug is HP SR number 8606223364.
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64586 $as_echo_n "checking size of short... " >&6; }
64587 if test "${ac_cv_sizeof_short+set}" = set; then :
64588 $as_echo_n "(cached) " >&6
64589 else
64590 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64591
64592 else
64593 if test "$ac_cv_type_short" = yes; then
64594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64596 { as_fn_set_status 77
64597 as_fn_error "cannot compute sizeof (short)
64598 See \`config.log' for more details." "$LINENO" 5; }; }
64599 else
64600 ac_cv_sizeof_short=0
64601 fi
64602 fi
64603
64604 fi
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64606 $as_echo "$ac_cv_sizeof_short" >&6; }
64607
64608
64609
64610 cat >>confdefs.h <<_ACEOF
64611 #define SIZEOF_SHORT $ac_cv_sizeof_short
64612 _ACEOF
64613
64614
64615 # The cast to long int works around a bug in the HP C Compiler
64616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64618 # This bug is HP SR number 8606223364.
64619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64620 $as_echo_n "checking size of char... " >&6; }
64621 if test "${ac_cv_sizeof_char+set}" = set; then :
64622 $as_echo_n "(cached) " >&6
64623 else
64624 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64625
64626 else
64627 if test "$ac_cv_type_char" = yes; then
64628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64630 { as_fn_set_status 77
64631 as_fn_error "cannot compute sizeof (char)
64632 See \`config.log' for more details." "$LINENO" 5; }; }
64633 else
64634 ac_cv_sizeof_char=0
64635 fi
64636 fi
64637
64638 fi
64639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64640 $as_echo "$ac_cv_sizeof_char" >&6; }
64641
64642
64643
64644 cat >>confdefs.h <<_ACEOF
64645 #define SIZEOF_CHAR $ac_cv_sizeof_char
64646 _ACEOF
64647
64648
64649
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64651 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64652 case "$ac_cv_sizeof_char" in
64653 1) acx_cv_type_int8_t=char ;;
64654 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64655 esac
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64657 $as_echo "$acx_cv_type_int8_t" >&6; }
64658
64659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64660 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64661 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64662 2:*) acx_cv_type_int16_t=int ;;
64663 *:2) acx_cv_type_int16_t=short ;;
64664 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64665 esac
64666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64667 $as_echo "$acx_cv_type_int16_t" >&6; }
64668
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64670 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64671 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64672 4:*) acx_cv_type_int32_t=int ;;
64673 *:4) acx_cv_type_int32_t=long ;;
64674 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64675 esac
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64677 $as_echo "$acx_cv_type_int32_t" >&6; }
64678 fi
64679
64680 # These tests are here to make the output prettier
64681
64682 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64683 case "$ac_cv_sizeof_long" in
64684 8) acx_cv_type_int64_t=long ;;
64685 esac
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64687 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64689 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64690 fi
64691
64692 # Now we can use the above types
64693
64694 if test "$ac_cv_type_uintptr_t" != yes; then
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64696 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64697 case $ac_cv_sizeof_void_p in
64698 2) acx_cv_type_intptr_t=int16_t ;;
64699 4) acx_cv_type_intptr_t=int32_t ;;
64700 8) acx_cv_type_intptr_t=int64_t ;;
64701 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64702 esac
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64704 $as_echo "$acx_cv_type_intptr_t" >&6; }
64705 fi
64706
64707 # ----------------- done all checks, emit header -------------
64708 ac_config_commands="$ac_config_commands include/gstdint.h"
64709
64710
64711
64712
64713
64714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64715 $as_echo_n "checking for GNU c++filt... " >&6; }
64716 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64717 $as_echo_n "(cached) " >&6
64718 else
64719 if test -z "$CXXFILT"; then
64720 ac_path_CXXFILT_found=false
64721 # Loop through the user's path and test for each of PROGNAME-LIST
64722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64723 for as_dir in $PATH
64724 do
64725 IFS=$as_save_IFS
64726 test -z "$as_dir" && as_dir=.
64727 for ac_prog in c++filt gc++filt; do
64728 for ac_exec_ext in '' $ac_executable_extensions; do
64729 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64730 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64731 # Check for GNU $ac_path_CXXFILT
64732 case `"$ac_path_CXXFILT" --version 2>&1` in
64733 *GNU*)
64734 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64735 esac
64736
64737 $ac_path_CXXFILT_found && break 3
64738 done
64739 done
64740 done
64741 IFS=$as_save_IFS
64742 if test -z "$ac_cv_path_CXXFILT"; then
64743 :
64744 fi
64745 else
64746 ac_cv_path_CXXFILT=$CXXFILT
64747 fi
64748
64749 fi
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64751 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64752 CXXFILT=$ac_cv_path_CXXFILT
64753
64754
64755
64756 # Check whether --enable-symvers was given.
64757 if test "${enable_symvers+set}" = set; then :
64758 enableval=$enable_symvers;
64759 case "$enableval" in
64760 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64761 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64762 esac
64763
64764 else
64765 enable_symvers=yes
64766 fi
64767
64768
64769
64770 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64771 # don't know enough about $LD to do tricks...
64772
64773 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64774 # with extern "C++" in version scripts.
64775
64776
64777 # Turn a 'yes' into a suitable default.
64778 if test x$enable_symvers = xyes ; then
64779 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64780 enable_symvers=no
64781 else
64782 if test $with_gnu_ld = yes ; then
64783 case ${target_os} in
64784 hpux*)
64785 enable_symvers=no ;;
64786 *)
64787 enable_symvers=gnu ;;
64788 esac
64789 else
64790 case ${target_os} in
64791 darwin*)
64792 enable_symvers=darwin ;;
64793 # Sun symbol versioning exists since Solaris 2.5.
64794 solaris2.[5-9]* | solaris2.1[0-9]*)
64795 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64796 # version scripts, so disable symbol versioning if none can be
64797 # found.
64798 if test -z "$ac_cv_path_CXXFILT"; then
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64800 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64802 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64804 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64805 enable_symvers=no
64806 else
64807 enable_symvers=sun
64808 fi
64809 ;;
64810 *)
64811 enable_symvers=no ;;
64812 esac
64813 fi
64814 fi
64815 fi
64816
64817 # Check to see if 'darwin' or 'darwin-export' can win.
64818 if test x$enable_symvers = xdarwin-export ; then
64819 enable_symvers=darwin
64820 fi
64821
64822 # Check if 'sun' was requested on non-Solaris 2 platforms.
64823 if test x$enable_symvers = xsun ; then
64824 case ${target_os} in
64825 solaris2*)
64826 # All fine.
64827 ;;
64828 *)
64829 # Unlikely to work.
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64831 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64833 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64835 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64836 enable_symvers=no
64837 ;;
64838 esac
64839 fi
64840
64841 # Check to see if 'gnu' can win.
64842 if test $enable_symvers = gnu ||
64843 test $enable_symvers = gnu-versioned-namespace ||
64844 test $enable_symvers = sun; then
64845 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64847 $as_echo_n "checking for shared libgcc... " >&6; }
64848 ac_save_CFLAGS="$CFLAGS"
64849 CFLAGS=' -lgcc_s'
64850 if test x$gcc_no_link = xyes; then
64851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64852 fi
64853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64854 /* end confdefs.h. */
64855
64856 int
64857 main ()
64858 {
64859 return 0;
64860 ;
64861 return 0;
64862 }
64863 _ACEOF
64864 if ac_fn_c_try_link "$LINENO"; then :
64865 glibcxx_shared_libgcc=yes
64866 else
64867 glibcxx_shared_libgcc=no
64868 fi
64869 rm -f core conftest.err conftest.$ac_objext \
64870 conftest$ac_exeext conftest.$ac_ext
64871 CFLAGS="$ac_save_CFLAGS"
64872 if test $glibcxx_shared_libgcc = no; then
64873 cat > conftest.c <<EOF
64874 int main (void) { return 0; }
64875 EOF
64876 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64877 -shared -shared-libgcc -o conftest.so \
64878 conftest.c -v 2>&1 >/dev/null \
64879 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64880 rm -f conftest.c conftest.so
64881 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64882 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64883 if test x$gcc_no_link = xyes; then
64884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64885 fi
64886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64887 /* end confdefs.h. */
64888
64889 int
64890 main ()
64891 {
64892 return 0;
64893 ;
64894 return 0;
64895 }
64896 _ACEOF
64897 if ac_fn_c_try_link "$LINENO"; then :
64898 glibcxx_shared_libgcc=yes
64899 fi
64900 rm -f core conftest.err conftest.$ac_objext \
64901 conftest$ac_exeext conftest.$ac_ext
64902 CFLAGS="$ac_save_CFLAGS"
64903 fi
64904 fi
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64906 $as_echo "$glibcxx_shared_libgcc" >&6; }
64907
64908 # For GNU ld, we need at least this version. The format is described in
64909 # GLIBCXX_CHECK_LINKER_FEATURES above.
64910 glibcxx_min_gnu_ld_version=21400
64911
64912 # If no shared libgcc, can't win.
64913 if test $glibcxx_shared_libgcc != yes; then
64914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64915 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64917 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64919 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64920 enable_symvers=no
64921 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64922 : All interesting versions of Sun ld support sun style symbol versioning.
64923 elif test $with_gnu_ld != yes ; then
64924 # just fail for now
64925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64926 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64928 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64930 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64931 enable_symvers=no
64932 elif test $glibcxx_ld_is_gold = yes ; then
64933 : All versions of gold support symbol versioning.
64934 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64935 # The right tools, the right setup, but too old. Fallbacks?
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64937 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64939 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64941 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64943 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64945 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64946 enable_symvers=no
64947 fi
64948 fi
64949
64950 # For libtool versioning info, format is CURRENT:REVISION:AGE
64951 libtool_VERSION=6:17:0
64952
64953 # Everything parsed; figure out what files and settings to use.
64954 case $enable_symvers in
64955 no)
64956 SYMVER_FILE=config/abi/pre/none.ver
64957 ;;
64958 gnu)
64959 SYMVER_FILE=config/abi/pre/gnu.ver
64960
64961 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64962
64963 ;;
64964 gnu-versioned-namespace)
64965 libtool_VERSION=7:0:0
64966 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64967
64968 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64969
64970 ;;
64971 darwin)
64972 SYMVER_FILE=config/abi/pre/gnu.ver
64973
64974 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64975
64976 ;;
64977 sun)
64978 SYMVER_FILE=config/abi/pre/gnu.ver
64979
64980 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64981
64982 ;;
64983 esac
64984
64985 if test x$enable_symvers != xno ; then
64986
64987 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64988
64989 fi
64990
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64992 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64993 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64994 $as_echo_n "(cached) " >&6
64995 else
64996
64997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64998 /* end confdefs.h. */
64999 void foo (void); __asm (".symver foo, bar@SYMVER");
65000 int
65001 main ()
65002 {
65003
65004 ;
65005 return 0;
65006 }
65007 _ACEOF
65008 if ac_fn_c_try_compile "$LINENO"; then :
65009 glibcxx_cv_have_as_symver_directive=yes
65010 else
65011 glibcxx_cv_have_as_symver_directive=no
65012 fi
65013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65014 fi
65015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65016 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65017 if test $glibcxx_cv_have_as_symver_directive = yes; then
65018
65019 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65020
65021 fi
65022
65023
65024
65025
65026
65027
65028
65029
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65031 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65032
65033 if test $enable_symvers != no ; then
65034 case ${target_os} in
65035 # The Solaris 2 runtime linker doesn't support the GNU extension of
65036 # binding the same symbol to different versions
65037 solaris2*)
65038 symvers_renaming=no ;;
65039 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65040 *)
65041
65042 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65043
65044 symvers_renaming=yes ;;
65045 esac
65046 else
65047 symvers_renaming=no
65048 fi
65049
65050
65051 # Now, set up compatibility support, if any.
65052 # In addition, need this to deal with std::size_t mangling in
65053 # src/compatibility.cc. In a perfect world, could use
65054 # typeid(std::size_t).name()[0] to do direct substitution.
65055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65056 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65057 ac_save_CFLAGS="$CFLAGS"
65058 CFLAGS="-Werror"
65059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060 /* end confdefs.h. */
65061
65062 int
65063 main ()
65064 {
65065 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65066 ;
65067 return 0;
65068 }
65069 _ACEOF
65070 if ac_fn_c_try_compile "$LINENO"; then :
65071 glibcxx_size_t_is_i=yes
65072 else
65073 glibcxx_size_t_is_i=no
65074 fi
65075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65076 CFLAGS=$ac_save_CFLAGS
65077 if test "$glibcxx_size_t_is_i" = yes; then
65078
65079 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65080
65081 fi
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65083 $as_echo "$glibcxx_size_t_is_i" >&6; }
65084
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65086 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65087 ac_save_CFLAGS="$CFLAGS"
65088 CFLAGS="-Werror"
65089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65090 /* end confdefs.h. */
65091
65092 int
65093 main ()
65094 {
65095 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65096 ;
65097 return 0;
65098 }
65099 _ACEOF
65100 if ac_fn_c_try_compile "$LINENO"; then :
65101 glibcxx_ptrdiff_t_is_i=yes
65102 else
65103 glibcxx_ptrdiff_t_is_i=no
65104 fi
65105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65106 CFLAGS=$ac_save_CFLAGS
65107 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65108
65109 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65110
65111 fi
65112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65113 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65114
65115
65116
65117
65118 # Check whether --enable-libstdcxx-visibility was given.
65119 if test "${enable_libstdcxx_visibility+set}" = set; then :
65120 enableval=$enable_libstdcxx_visibility;
65121 case "$enableval" in
65122 yes|no) ;;
65123 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65124 esac
65125
65126 else
65127 enable_libstdcxx_visibility=yes
65128 fi
65129
65130
65131
65132 if test x$enable_libstdcxx_visibility = xyes ; then
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65134 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65135 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65136 $as_echo_n "(cached) " >&6
65137 else
65138
65139 save_CFLAGS="$CFLAGS"
65140 CFLAGS="$CFLAGS -Werror"
65141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65142 /* end confdefs.h. */
65143 void __attribute__((visibility("hidden"))) foo(void) { }
65144 int
65145 main ()
65146 {
65147
65148 ;
65149 return 0;
65150 }
65151 _ACEOF
65152 if ac_fn_c_try_compile "$LINENO"; then :
65153 glibcxx_cv_have_attribute_visibility=yes
65154 else
65155 glibcxx_cv_have_attribute_visibility=no
65156 fi
65157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65158 CFLAGS="$save_CFLAGS"
65159 fi
65160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65161 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65162 if test $glibcxx_cv_have_attribute_visibility = no; then
65163 enable_libstdcxx_visibility=no
65164 fi
65165 fi
65166
65167
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65169 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65170
65171
65172 ac_ldbl_compat=no
65173 case "$target" in
65174 powerpc*-*-linux* | \
65175 sparc*-*-linux* | \
65176 s390*-*-linux* | \
65177 alpha*-*-linux*)
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65180
65181 int
65182 main ()
65183 {
65184
65185 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65186 #error no need for long double compatibility
65187 #endif
65188
65189 ;
65190 return 0;
65191 }
65192 _ACEOF
65193 if ac_fn_c_try_compile "$LINENO"; then :
65194 ac_ldbl_compat=yes
65195 else
65196 ac_ldbl_compat=no
65197 fi
65198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199 if test "$ac_ldbl_compat" = yes; then
65200
65201 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65202
65203 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65204 fi
65205 esac
65206
65207
65208 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65209
65210 if $GLIBCXX_IS_NATIVE ; then
65211 # Do checks for resource limit functions.
65212
65213 setrlimit_have_headers=yes
65214 for ac_header in unistd.h sys/time.h sys/resource.h
65215 do :
65216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65218 eval as_val=\$$as_ac_Header
65219 if test "x$as_val" = x""yes; then :
65220 cat >>confdefs.h <<_ACEOF
65221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65222 _ACEOF
65223
65224 else
65225 setrlimit_have_headers=no
65226 fi
65227
65228 done
65229
65230 # If don't have the headers, then we can't run the tests now, and we
65231 # won't be seeing any of these during testsuite compilation.
65232 if test $setrlimit_have_headers = yes; then
65233 # Can't do these in a loop, else the resulting syntax is wrong.
65234
65235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65236 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65238 /* end confdefs.h. */
65239 #include <unistd.h>
65240 #include <sys/time.h>
65241 #include <sys/resource.h>
65242
65243 int
65244 main ()
65245 {
65246 int f = RLIMIT_DATA ;
65247 ;
65248 return 0;
65249 }
65250 _ACEOF
65251 if ac_fn_c_try_compile "$LINENO"; then :
65252 glibcxx_mresult=1
65253 else
65254 glibcxx_mresult=0
65255 fi
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65257
65258 cat >>confdefs.h <<_ACEOF
65259 #define HAVE_LIMIT_DATA $glibcxx_mresult
65260 _ACEOF
65261
65262 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65264 $as_echo "$res" >&6; }
65265
65266
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65268 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <unistd.h>
65272 #include <sys/time.h>
65273 #include <sys/resource.h>
65274
65275 int
65276 main ()
65277 {
65278 int f = RLIMIT_RSS ;
65279 ;
65280 return 0;
65281 }
65282 _ACEOF
65283 if ac_fn_c_try_compile "$LINENO"; then :
65284 glibcxx_mresult=1
65285 else
65286 glibcxx_mresult=0
65287 fi
65288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65289
65290 cat >>confdefs.h <<_ACEOF
65291 #define HAVE_LIMIT_RSS $glibcxx_mresult
65292 _ACEOF
65293
65294 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65296 $as_echo "$res" >&6; }
65297
65298
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65300 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65302 /* end confdefs.h. */
65303 #include <unistd.h>
65304 #include <sys/time.h>
65305 #include <sys/resource.h>
65306
65307 int
65308 main ()
65309 {
65310 int f = RLIMIT_VMEM ;
65311 ;
65312 return 0;
65313 }
65314 _ACEOF
65315 if ac_fn_c_try_compile "$LINENO"; then :
65316 glibcxx_mresult=1
65317 else
65318 glibcxx_mresult=0
65319 fi
65320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65321
65322 cat >>confdefs.h <<_ACEOF
65323 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65324 _ACEOF
65325
65326 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65328 $as_echo "$res" >&6; }
65329
65330
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65332 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65334 /* end confdefs.h. */
65335 #include <unistd.h>
65336 #include <sys/time.h>
65337 #include <sys/resource.h>
65338
65339 int
65340 main ()
65341 {
65342 int f = RLIMIT_AS ;
65343 ;
65344 return 0;
65345 }
65346 _ACEOF
65347 if ac_fn_c_try_compile "$LINENO"; then :
65348 glibcxx_mresult=1
65349 else
65350 glibcxx_mresult=0
65351 fi
65352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65353
65354 cat >>confdefs.h <<_ACEOF
65355 #define HAVE_LIMIT_AS $glibcxx_mresult
65356 _ACEOF
65357
65358 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65360 $as_echo "$res" >&6; }
65361
65362
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65364 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65366 /* end confdefs.h. */
65367 #include <unistd.h>
65368 #include <sys/time.h>
65369 #include <sys/resource.h>
65370
65371 int
65372 main ()
65373 {
65374 int f = RLIMIT_FSIZE ;
65375 ;
65376 return 0;
65377 }
65378 _ACEOF
65379 if ac_fn_c_try_compile "$LINENO"; then :
65380 glibcxx_mresult=1
65381 else
65382 glibcxx_mresult=0
65383 fi
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385
65386 cat >>confdefs.h <<_ACEOF
65387 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65388 _ACEOF
65389
65390 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65392 $as_echo "$res" >&6; }
65393
65394
65395 # Check for rlimit, setrlimit.
65396 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65397 $as_echo_n "(cached) " >&6
65398 else
65399
65400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65401 /* end confdefs.h. */
65402 #include <unistd.h>
65403 #include <sys/time.h>
65404 #include <sys/resource.h>
65405
65406 int
65407 main ()
65408 {
65409 struct rlimit r;
65410 setrlimit(0, &r);
65411 ;
65412 return 0;
65413 }
65414 _ACEOF
65415 if ac_fn_c_try_compile "$LINENO"; then :
65416 glibcxx_cv_setrlimit=yes
65417 else
65418 glibcxx_cv_setrlimit=no
65419 fi
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421
65422 fi
65423
65424 fi
65425
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65427 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65428 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65429 ac_res_limits=yes
65430
65431 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65432
65433 else
65434 ac_res_limits=no
65435 fi
65436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65437 $as_echo "$ac_res_limits" >&6; }
65438
65439
65440 # Look for setenv, so that extended locale tests can be performed.
65441
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65443 $as_echo_n "checking for setenv declaration... " >&6; }
65444 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65445 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65446 $as_echo_n "(cached) " >&6
65447 else
65448
65449
65450 ac_ext=cpp
65451 ac_cpp='$CXXCPP $CPPFLAGS'
65452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65455
65456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65457 /* end confdefs.h. */
65458 #include <stdlib.h>
65459 int
65460 main ()
65461 {
65462 setenv(0, 0, 0);
65463 ;
65464 return 0;
65465 }
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func_setenv_use=yes
65469 else
65470 glibcxx_cv_func_setenv_use=no
65471 fi
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65478
65479
65480 fi
65481
65482 fi
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65484 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65485 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65486 for ac_func in setenv
65487 do :
65488 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65489 if test "x$ac_cv_func_setenv" = x""yes; then :
65490 cat >>confdefs.h <<_ACEOF
65491 #define HAVE_SETENV 1
65492 _ACEOF
65493
65494 fi
65495 done
65496
65497 fi
65498
65499 fi
65500
65501 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65502 test $enable_symvers != no; then
65503 case "$host" in
65504 *-*-cygwin*)
65505 enable_abi_check=no ;;
65506 *)
65507 enable_abi_check=yes ;;
65508 esac
65509 else
65510 # Only build this as native, since automake does not understand
65511 # CXX_FOR_BUILD.
65512 enable_abi_check=no
65513 fi
65514
65515 # Export file names for ABI checking.
65516 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65517
65518 baseline_subdir_switch="$abi_baseline_subdir_switch"
65519
65520
65521
65522 # Define documentation rules conditionally.
65523
65524 # See if makeinfo has been installed and is modern enough
65525 # that we can use it.
65526
65527 # Extract the first word of "makeinfo", so it can be a program name with args.
65528 set dummy makeinfo; ac_word=$2
65529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65530 $as_echo_n "checking for $ac_word... " >&6; }
65531 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65532 $as_echo_n "(cached) " >&6
65533 else
65534 if test -n "$MAKEINFO"; then
65535 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65536 else
65537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65538 for as_dir in $PATH
65539 do
65540 IFS=$as_save_IFS
65541 test -z "$as_dir" && as_dir=.
65542 for ac_exec_ext in '' $ac_executable_extensions; do
65543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65544 ac_cv_prog_MAKEINFO="makeinfo"
65545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65546 break 2
65547 fi
65548 done
65549 done
65550 IFS=$as_save_IFS
65551
65552 fi
65553 fi
65554 MAKEINFO=$ac_cv_prog_MAKEINFO
65555 if test -n "$MAKEINFO"; then
65556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65557 $as_echo "$MAKEINFO" >&6; }
65558 else
65559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65560 $as_echo "no" >&6; }
65561 fi
65562
65563
65564 if test -n "$MAKEINFO"; then
65565 # Found it, now check the version.
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65567 $as_echo_n "checking for modern makeinfo... " >&6; }
65568 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65569 $as_echo_n "(cached) " >&6
65570 else
65571 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65572 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65573
65574 case $ac_prog_version in
65575 '') gcc_cv_prog_makeinfo_modern=no;;
65576 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65577 *) gcc_cv_prog_makeinfo_modern=no;;
65578 esac
65579
65580 fi
65581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65582 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65583 else
65584 gcc_cv_prog_makeinfo_modern=no
65585 fi
65586 if test $gcc_cv_prog_makeinfo_modern = no; then
65587 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65588 fi
65589
65590 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65591 BUILD_INFO_TRUE=
65592 BUILD_INFO_FALSE='#'
65593 else
65594 BUILD_INFO_TRUE='#'
65595 BUILD_INFO_FALSE=
65596 fi
65597
65598
65599 # Check for doxygen
65600 # Extract the first word of "doxygen", so it can be a program name with args.
65601 set dummy doxygen; ac_word=$2
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65603 $as_echo_n "checking for $ac_word... " >&6; }
65604 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65605 $as_echo_n "(cached) " >&6
65606 else
65607 if test -n "$DOXYGEN"; then
65608 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65609 else
65610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65611 for as_dir in $PATH
65612 do
65613 IFS=$as_save_IFS
65614 test -z "$as_dir" && as_dir=.
65615 for ac_exec_ext in '' $ac_executable_extensions; do
65616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65617 ac_cv_prog_DOXYGEN="yes"
65618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65619 break 2
65620 fi
65621 done
65622 done
65623 IFS=$as_save_IFS
65624
65625 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65626 fi
65627 fi
65628 DOXYGEN=$ac_cv_prog_DOXYGEN
65629 if test -n "$DOXYGEN"; then
65630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65631 $as_echo "$DOXYGEN" >&6; }
65632 else
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65634 $as_echo "no" >&6; }
65635 fi
65636
65637
65638 # Extract the first word of "dot", so it can be a program name with args.
65639 set dummy dot; ac_word=$2
65640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65641 $as_echo_n "checking for $ac_word... " >&6; }
65642 if test "${ac_cv_prog_DOT+set}" = set; then :
65643 $as_echo_n "(cached) " >&6
65644 else
65645 if test -n "$DOT"; then
65646 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65647 else
65648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65649 for as_dir in $PATH
65650 do
65651 IFS=$as_save_IFS
65652 test -z "$as_dir" && as_dir=.
65653 for ac_exec_ext in '' $ac_executable_extensions; do
65654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65655 ac_cv_prog_DOT="yes"
65656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65657 break 2
65658 fi
65659 done
65660 done
65661 IFS=$as_save_IFS
65662
65663 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65664 fi
65665 fi
65666 DOT=$ac_cv_prog_DOT
65667 if test -n "$DOT"; then
65668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65669 $as_echo "$DOT" >&6; }
65670 else
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65672 $as_echo "no" >&6; }
65673 fi
65674
65675
65676
65677 # Check for docbook
65678 # Extract the first word of "xsltproc", so it can be a program name with args.
65679 set dummy xsltproc; ac_word=$2
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65681 $as_echo_n "checking for $ac_word... " >&6; }
65682 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65683 $as_echo_n "(cached) " >&6
65684 else
65685 if test -n "$XSLTPROC"; then
65686 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65687 else
65688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65689 for as_dir in $PATH
65690 do
65691 IFS=$as_save_IFS
65692 test -z "$as_dir" && as_dir=.
65693 for ac_exec_ext in '' $ac_executable_extensions; do
65694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65695 ac_cv_prog_XSLTPROC="yes"
65696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65697 break 2
65698 fi
65699 done
65700 done
65701 IFS=$as_save_IFS
65702
65703 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65704 fi
65705 fi
65706 XSLTPROC=$ac_cv_prog_XSLTPROC
65707 if test -n "$XSLTPROC"; then
65708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65709 $as_echo "$XSLTPROC" >&6; }
65710 else
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65712 $as_echo "no" >&6; }
65713 fi
65714
65715
65716 # Extract the first word of "xmllint", so it can be a program name with args.
65717 set dummy xmllint; ac_word=$2
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65719 $as_echo_n "checking for $ac_word... " >&6; }
65720 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65721 $as_echo_n "(cached) " >&6
65722 else
65723 if test -n "$XMLLINT"; then
65724 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65725 else
65726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65727 for as_dir in $PATH
65728 do
65729 IFS=$as_save_IFS
65730 test -z "$as_dir" && as_dir=.
65731 for ac_exec_ext in '' $ac_executable_extensions; do
65732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65733 ac_cv_prog_XMLLINT="yes"
65734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65735 break 2
65736 fi
65737 done
65738 done
65739 IFS=$as_save_IFS
65740
65741 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65742 fi
65743 fi
65744 XMLLINT=$ac_cv_prog_XMLLINT
65745 if test -n "$XMLLINT"; then
65746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65747 $as_echo "$XMLLINT" >&6; }
65748 else
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65750 $as_echo "no" >&6; }
65751 fi
65752
65753
65754
65755
65756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65757 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65758 glibcxx_stylesheets=no
65759 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65760 glibcxx_stylesheets=yes
65761 fi
65762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65763 $as_echo "$glibcxx_stylesheets" >&6; }
65764
65765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65766 $as_echo_n "checking for local stylesheet directory... " >&6; }
65767 glibcxx_local_stylesheets=no
65768 if test x"$glibcxx_stylesheets" = x"yes"; then
65769 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65770 glibcxx_local_stylesheets=yes
65771 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65772 fi
65773 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65774 glibcxx_local_stylesheets=yes
65775 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65776 fi
65777 fi
65778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65779 $as_echo "$glibcxx_local_stylesheets" >&6; }
65780
65781 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65782
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65784 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65785 else
65786 glibcxx_stylesheets=no
65787 fi
65788
65789 # Check for epub3 dependencies.
65790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65791 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65792 glibcxx_epub_stylesheets=no
65793 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65794 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65795 glibcxx_epub_stylesheets=yes
65796 fi
65797 fi
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65799 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65800 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65801 BUILD_EPUB_TRUE=
65802 BUILD_EPUB_FALSE='#'
65803 else
65804 BUILD_EPUB_TRUE='#'
65805 BUILD_EPUB_FALSE=
65806 fi
65807
65808
65809
65810
65811 # Check for xml/html dependencies.
65812 if test $ac_cv_prog_DOXYGEN = "yes" &&
65813 test $ac_cv_prog_DOT = "yes" &&
65814 test $ac_cv_prog_XSLTPROC = "yes" &&
65815 test $ac_cv_prog_XMLLINT = "yes" &&
65816 test $glibcxx_stylesheets = "yes"; then
65817 BUILD_XML_TRUE=
65818 BUILD_XML_FALSE='#'
65819 else
65820 BUILD_XML_TRUE='#'
65821 BUILD_XML_FALSE=
65822 fi
65823
65824
65825 if test $ac_cv_prog_DOXYGEN = "yes" &&
65826 test $ac_cv_prog_DOT = "yes" &&
65827 test $ac_cv_prog_XSLTPROC = "yes" &&
65828 test $ac_cv_prog_XMLLINT = "yes" &&
65829 test $glibcxx_stylesheets = "yes"; then
65830 BUILD_HTML_TRUE=
65831 BUILD_HTML_FALSE='#'
65832 else
65833 BUILD_HTML_TRUE='#'
65834 BUILD_HTML_FALSE=
65835 fi
65836
65837
65838 # Check for man dependencies.
65839 if test $ac_cv_prog_DOXYGEN = "yes" &&
65840 test $ac_cv_prog_DOT = "yes"; then
65841 BUILD_MAN_TRUE=
65842 BUILD_MAN_FALSE='#'
65843 else
65844 BUILD_MAN_TRUE='#'
65845 BUILD_MAN_FALSE=
65846 fi
65847
65848
65849 # Check for pdf dependencies.
65850 # Extract the first word of "dblatex", so it can be a program name with args.
65851 set dummy dblatex; ac_word=$2
65852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65853 $as_echo_n "checking for $ac_word... " >&6; }
65854 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65855 $as_echo_n "(cached) " >&6
65856 else
65857 if test -n "$DBLATEX"; then
65858 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65859 else
65860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65861 for as_dir in $PATH
65862 do
65863 IFS=$as_save_IFS
65864 test -z "$as_dir" && as_dir=.
65865 for ac_exec_ext in '' $ac_executable_extensions; do
65866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65867 ac_cv_prog_DBLATEX="yes"
65868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65869 break 2
65870 fi
65871 done
65872 done
65873 IFS=$as_save_IFS
65874
65875 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65876 fi
65877 fi
65878 DBLATEX=$ac_cv_prog_DBLATEX
65879 if test -n "$DBLATEX"; then
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65881 $as_echo "$DBLATEX" >&6; }
65882 else
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65884 $as_echo "no" >&6; }
65885 fi
65886
65887
65888 # Extract the first word of "pdflatex", so it can be a program name with args.
65889 set dummy pdflatex; ac_word=$2
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65891 $as_echo_n "checking for $ac_word... " >&6; }
65892 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65893 $as_echo_n "(cached) " >&6
65894 else
65895 if test -n "$PDFLATEX"; then
65896 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65897 else
65898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65899 for as_dir in $PATH
65900 do
65901 IFS=$as_save_IFS
65902 test -z "$as_dir" && as_dir=.
65903 for ac_exec_ext in '' $ac_executable_extensions; do
65904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65905 ac_cv_prog_PDFLATEX="yes"
65906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65907 break 2
65908 fi
65909 done
65910 done
65911 IFS=$as_save_IFS
65912
65913 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65914 fi
65915 fi
65916 PDFLATEX=$ac_cv_prog_PDFLATEX
65917 if test -n "$PDFLATEX"; then
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65919 $as_echo "$PDFLATEX" >&6; }
65920 else
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65922 $as_echo "no" >&6; }
65923 fi
65924
65925
65926 if test $ac_cv_prog_DBLATEX = "yes" &&
65927 test $ac_cv_prog_PDFLATEX = "yes"; then
65928 BUILD_PDF_TRUE=
65929 BUILD_PDF_FALSE='#'
65930 else
65931 BUILD_PDF_TRUE='#'
65932 BUILD_PDF_FALSE=
65933 fi
65934
65935
65936
65937 # Propagate the target-specific source directories through the build chain.
65938 ATOMICITY_SRCDIR=config/${atomicity_dir}
65939 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65940 ATOMIC_FLAGS=${atomic_flags}
65941 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65942 OS_INC_SRCDIR=config/${os_include_dir}
65943 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65944 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65945
65946
65947
65948
65949
65950
65951
65952
65953
65954 # Determine cross-compile flags and AM_CONDITIONALs.
65955 #AC_SUBST(GLIBCXX_IS_NATIVE)
65956 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65957 if test $is_hosted = yes; then
65958 GLIBCXX_HOSTED_TRUE=
65959 GLIBCXX_HOSTED_FALSE='#'
65960 else
65961 GLIBCXX_HOSTED_TRUE='#'
65962 GLIBCXX_HOSTED_FALSE=
65963 fi
65964
65965
65966 if test $enable_libstdcxx_pch = yes; then
65967 GLIBCXX_BUILD_PCH_TRUE=
65968 GLIBCXX_BUILD_PCH_FALSE='#'
65969 else
65970 GLIBCXX_BUILD_PCH_TRUE='#'
65971 GLIBCXX_BUILD_PCH_FALSE=
65972 fi
65973
65974
65975 if test $enable_cheaders = c; then
65976 GLIBCXX_C_HEADERS_C_TRUE=
65977 GLIBCXX_C_HEADERS_C_FALSE='#'
65978 else
65979 GLIBCXX_C_HEADERS_C_TRUE='#'
65980 GLIBCXX_C_HEADERS_C_FALSE=
65981 fi
65982
65983
65984 if test $enable_cheaders = c_std; then
65985 GLIBCXX_C_HEADERS_C_STD_TRUE=
65986 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65987 else
65988 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65989 GLIBCXX_C_HEADERS_C_STD_FALSE=
65990 fi
65991
65992
65993 if test $enable_cheaders = c_global; then
65994 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65995 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65996 else
65997 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65998 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65999 fi
66000
66001
66002 if test $c_compatibility = yes; then
66003 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66004 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66005 else
66006 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66007 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66008 fi
66009
66010
66011 if test $enable_libstdcxx_debug = yes; then
66012 GLIBCXX_BUILD_DEBUG_TRUE=
66013 GLIBCXX_BUILD_DEBUG_FALSE='#'
66014 else
66015 GLIBCXX_BUILD_DEBUG_TRUE='#'
66016 GLIBCXX_BUILD_DEBUG_FALSE=
66017 fi
66018
66019
66020 if test $enable_parallel = yes; then
66021 ENABLE_PARALLEL_TRUE=
66022 ENABLE_PARALLEL_FALSE='#'
66023 else
66024 ENABLE_PARALLEL_TRUE='#'
66025 ENABLE_PARALLEL_FALSE=
66026 fi
66027
66028
66029 if test $enable_extern_template = yes; then
66030 ENABLE_EXTERN_TEMPLATE_TRUE=
66031 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66032 else
66033 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66034 ENABLE_EXTERN_TEMPLATE_FALSE=
66035 fi
66036
66037
66038 if test $enable_symvers != no; then
66039 ENABLE_SYMVERS_TRUE=
66040 ENABLE_SYMVERS_FALSE='#'
66041 else
66042 ENABLE_SYMVERS_TRUE='#'
66043 ENABLE_SYMVERS_FALSE=
66044 fi
66045
66046
66047 if test $enable_symvers = gnu; then
66048 ENABLE_SYMVERS_GNU_TRUE=
66049 ENABLE_SYMVERS_GNU_FALSE='#'
66050 else
66051 ENABLE_SYMVERS_GNU_TRUE='#'
66052 ENABLE_SYMVERS_GNU_FALSE=
66053 fi
66054
66055
66056 if test $enable_symvers = gnu-versioned-namespace; then
66057 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66058 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66059 else
66060 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66061 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66062 fi
66063
66064
66065 if test $enable_symvers = darwin; then
66066 ENABLE_SYMVERS_DARWIN_TRUE=
66067 ENABLE_SYMVERS_DARWIN_FALSE='#'
66068 else
66069 ENABLE_SYMVERS_DARWIN_TRUE='#'
66070 ENABLE_SYMVERS_DARWIN_FALSE=
66071 fi
66072
66073
66074 if test $enable_symvers = sun; then
66075 ENABLE_SYMVERS_SUN_TRUE=
66076 ENABLE_SYMVERS_SUN_FALSE='#'
66077 else
66078 ENABLE_SYMVERS_SUN_TRUE='#'
66079 ENABLE_SYMVERS_SUN_FALSE=
66080 fi
66081
66082
66083 if test $symvers_renaming = no; then
66084 ENABLE_SYMVERS_SOL2_TRUE=
66085 ENABLE_SYMVERS_SOL2_FALSE='#'
66086 else
66087 ENABLE_SYMVERS_SOL2_TRUE='#'
66088 ENABLE_SYMVERS_SOL2_FALSE=
66089 fi
66090
66091
66092 if test $enable_libstdcxx_visibility = yes; then
66093 ENABLE_VISIBILITY_TRUE=
66094 ENABLE_VISIBILITY_FALSE='#'
66095 else
66096 ENABLE_VISIBILITY_TRUE='#'
66097 ENABLE_VISIBILITY_FALSE=
66098 fi
66099
66100
66101 if test $ac_ldbl_compat = yes; then
66102 GLIBCXX_LDBL_COMPAT_TRUE=
66103 GLIBCXX_LDBL_COMPAT_FALSE='#'
66104 else
66105 GLIBCXX_LDBL_COMPAT_TRUE='#'
66106 GLIBCXX_LDBL_COMPAT_FALSE=
66107 fi
66108
66109
66110
66111
66112 cat >confcache <<\_ACEOF
66113 # This file is a shell script that caches the results of configure
66114 # tests run on this system so they can be shared between configure
66115 # scripts and configure runs, see configure's option --config-cache.
66116 # It is not useful on other systems. If it contains results you don't
66117 # want to keep, you may remove or edit it.
66118 #
66119 # config.status only pays attention to the cache file if you give it
66120 # the --recheck option to rerun configure.
66121 #
66122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66124 # following values.
66125
66126 _ACEOF
66127
66128 # The following way of writing the cache mishandles newlines in values,
66129 # but we know of no workaround that is simple, portable, and efficient.
66130 # So, we kill variables containing newlines.
66131 # Ultrix sh set writes to stderr and can't be redirected directly,
66132 # and sets the high bit in the cache file unless we assign to the vars.
66133 (
66134 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66135 eval ac_val=\$$ac_var
66136 case $ac_val in #(
66137 *${as_nl}*)
66138 case $ac_var in #(
66139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66141 esac
66142 case $ac_var in #(
66143 _ | IFS | as_nl) ;; #(
66144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66145 *) { eval $ac_var=; unset $ac_var;} ;;
66146 esac ;;
66147 esac
66148 done
66149
66150 (set) 2>&1 |
66151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66152 *${as_nl}ac_space=\ *)
66153 # `set' does not quote correctly, so add quotes: double-quote
66154 # substitution turns \\\\ into \\, and sed turns \\ into \.
66155 sed -n \
66156 "s/'/'\\\\''/g;
66157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66158 ;; #(
66159 *)
66160 # `set' quotes correctly as required by POSIX, so do not add quotes.
66161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66162 ;;
66163 esac |
66164 sort
66165 ) |
66166 sed '
66167 /^ac_cv_env_/b end
66168 t clear
66169 :clear
66170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66171 t end
66172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66173 :end' >>confcache
66174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66175 if test -w "$cache_file"; then
66176 test "x$cache_file" != "x/dev/null" &&
66177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66178 $as_echo "$as_me: updating cache $cache_file" >&6;}
66179 cat confcache >$cache_file
66180 else
66181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66183 fi
66184 fi
66185 rm -f confcache
66186
66187 if test ${multilib} = yes; then
66188 multilib_arg="--enable-multilib"
66189 else
66190 multilib_arg=
66191 fi
66192
66193 # Export all the install information.
66194
66195 glibcxx_toolexecdir=no
66196 glibcxx_toolexeclibdir=no
66197 glibcxx_prefixdir=$prefix
66198
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66200 $as_echo_n "checking for gxx-include-dir... " >&6; }
66201
66202 # Check whether --with-gxx-include-dir was given.
66203 if test "${with_gxx_include_dir+set}" = set; then :
66204 withval=$with_gxx_include_dir; case "$withval" in
66205 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66206 no) gxx_include_dir=no ;;
66207 *) gxx_include_dir=$withval ;;
66208 esac
66209 else
66210 gxx_include_dir=no
66211 fi
66212
66213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66214 $as_echo "$gxx_include_dir" >&6; }
66215
66216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66217 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66218 # Check whether --enable-version-specific-runtime-libs was given.
66219 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66220 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66221 yes) version_specific_libs=yes ;;
66222 no) version_specific_libs=no ;;
66223 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66224 esac
66225 else
66226 version_specific_libs=no
66227 fi
66228
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66230 $as_echo "$version_specific_libs" >&6; }
66231
66232 # Default case for install directory for include files.
66233 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66234 gxx_include_dir='include/c++/${gcc_version}'
66235 if test -n "$with_cross_host" &&
66236 test x"$with_cross_host" != x"no"; then
66237 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66238 else
66239 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66240 fi
66241 fi
66242
66243 # Version-specific runtime libs processing.
66244 if test $version_specific_libs = yes; then
66245 # Need the gcc compiler version to know where to install libraries
66246 # and header files if --enable-version-specific-runtime-libs option
66247 # is selected. FIXME: these variables are misnamed, there are
66248 # no executables installed in _toolexecdir or _toolexeclibdir.
66249 if test x"$gxx_include_dir" = x"no"; then
66250 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66251 fi
66252 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66253 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66254 fi
66255
66256 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66257 # Install a library built with a cross compiler in tooldir, not libdir.
66258 if test x"$glibcxx_toolexecdir" = x"no"; then
66259 if test -n "$with_cross_host" &&
66260 test x"$with_cross_host" != x"no"; then
66261 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66262 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66263 else
66264 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66265 glibcxx_toolexeclibdir='${libdir}'
66266 fi
66267 multi_os_directory=`$CXX -print-multi-os-directory`
66268 case $multi_os_directory in
66269 .) ;; # Avoid trailing /.
66270 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66271 esac
66272 fi
66273
66274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66275 $as_echo_n "checking for install location... " >&6; }
66276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66277 $as_echo "$gxx_include_dir" >&6; }
66278
66279
66280
66281
66282
66283
66284
66285 # Export all the include and flag information to Makefiles.
66286
66287 # Used for every C++ compile we perform.
66288 GLIBCXX_INCLUDES="\
66289 -I$glibcxx_builddir/include/$host_alias \
66290 -I$glibcxx_builddir/include \
66291 -I$glibcxx_srcdir/libsupc++"
66292
66293 # For Canadian crosses, pick this up too.
66294 if test $CANADIAN = yes; then
66295 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66296 fi
66297
66298 # Stuff in the actual top level. Currently only used by libsupc++ to
66299 # get unwind* headers from the libgcc dir.
66300 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66301 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66302
66303 # Now, export this to all the little Makefiles....
66304
66305
66306
66307
66308 # Optimization flags that are probably a good idea for thrill-seekers. Just
66309 # uncomment the lines below and make, everything else is ready to go...
66310 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66311 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66312
66313
66314 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66315
66316
66317
66318 if test "$enable_shared" = yes; then
66319 PIC_CXXFLAGS="-prefer-pic"
66320 else
66321 PIC_CXXFLAGS=
66322 fi
66323
66324
66325 ac_config_files="$ac_config_files Makefile"
66326
66327 ac_config_files="$ac_config_files scripts/testsuite_flags"
66328
66329 ac_config_files="$ac_config_files scripts/extract_symvers"
66330
66331
66332 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66333 # that multilib installs will end up installed in the correct place.
66334 # The testsuite needs it for multilib-aware ABI baseline files.
66335 # To work around this not being passed down from config-ml.in ->
66336 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66337 # append it here. Only modify Makefiles that have just been created.
66338 #
66339 # Also, get rid of this simulated-VPATH thing that automake does.
66340 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66341
66342
66343 ac_config_commands="$ac_config_commands generate-headers"
66344
66345
66346 cat >confcache <<\_ACEOF
66347 # This file is a shell script that caches the results of configure
66348 # tests run on this system so they can be shared between configure
66349 # scripts and configure runs, see configure's option --config-cache.
66350 # It is not useful on other systems. If it contains results you don't
66351 # want to keep, you may remove or edit it.
66352 #
66353 # config.status only pays attention to the cache file if you give it
66354 # the --recheck option to rerun configure.
66355 #
66356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66358 # following values.
66359
66360 _ACEOF
66361
66362 # The following way of writing the cache mishandles newlines in values,
66363 # but we know of no workaround that is simple, portable, and efficient.
66364 # So, we kill variables containing newlines.
66365 # Ultrix sh set writes to stderr and can't be redirected directly,
66366 # and sets the high bit in the cache file unless we assign to the vars.
66367 (
66368 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66369 eval ac_val=\$$ac_var
66370 case $ac_val in #(
66371 *${as_nl}*)
66372 case $ac_var in #(
66373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66375 esac
66376 case $ac_var in #(
66377 _ | IFS | as_nl) ;; #(
66378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66379 *) { eval $ac_var=; unset $ac_var;} ;;
66380 esac ;;
66381 esac
66382 done
66383
66384 (set) 2>&1 |
66385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66386 *${as_nl}ac_space=\ *)
66387 # `set' does not quote correctly, so add quotes: double-quote
66388 # substitution turns \\\\ into \\, and sed turns \\ into \.
66389 sed -n \
66390 "s/'/'\\\\''/g;
66391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66392 ;; #(
66393 *)
66394 # `set' quotes correctly as required by POSIX, so do not add quotes.
66395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66396 ;;
66397 esac |
66398 sort
66399 ) |
66400 sed '
66401 /^ac_cv_env_/b end
66402 t clear
66403 :clear
66404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66405 t end
66406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66407 :end' >>confcache
66408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66409 if test -w "$cache_file"; then
66410 test "x$cache_file" != "x/dev/null" &&
66411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66412 $as_echo "$as_me: updating cache $cache_file" >&6;}
66413 cat confcache >$cache_file
66414 else
66415 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66416 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66417 fi
66418 fi
66419 rm -f confcache
66420
66421 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66422 # Let make expand exec_prefix.
66423 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66424
66425 DEFS=-DHAVE_CONFIG_H
66426
66427 ac_libobjs=
66428 ac_ltlibobjs=
66429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66430 # 1. Remove the extension, and $U if already installed.
66431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66434 # will be set to the directory where LIBOBJS objects are built.
66435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66437 done
66438 LIBOBJS=$ac_libobjs
66439
66440 LTLIBOBJS=$ac_ltlibobjs
66441
66442
66443 if test -n "$EXEEXT"; then
66444 am__EXEEXT_TRUE=
66445 am__EXEEXT_FALSE='#'
66446 else
66447 am__EXEEXT_TRUE='#'
66448 am__EXEEXT_FALSE=
66449 fi
66450
66451 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66452 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66454 fi
66455 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66456 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66458 fi
66459 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66460 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66462 fi
66463 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66464 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66466 fi
66467 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66468 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66470 fi
66471 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66472 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66474 fi
66475 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66476 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66478 fi
66479 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66480 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66482 fi
66483 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66484 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66486 fi
66487 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66488 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66490 fi
66491 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66492 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66494 fi
66495 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66496 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66498 fi
66499 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66500 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66502 fi
66503 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66504 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66506 fi
66507 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66508 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66510 fi
66511 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66512 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66514 fi
66515 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66516 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66518 fi
66519 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66520 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66522 fi
66523 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66524 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66526 fi
66527 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66528 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66530 fi
66531 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66532 as_fn_error "conditional \"BUILD_XML\" was never defined.
66533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66534 fi
66535 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66536 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66538 fi
66539 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66540 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66542 fi
66543 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66544 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66546 fi
66547
66548 : ${CONFIG_STATUS=./config.status}
66549 ac_write_fail=0
66550 ac_clean_files_save=$ac_clean_files
66551 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66553 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66554 as_write_fail=0
66555 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66556 #! $SHELL
66557 # Generated by $as_me.
66558 # Run this file to recreate the current configuration.
66559 # Compiler output produced by configure, useful for debugging
66560 # configure, is in config.log if it exists.
66561
66562 debug=false
66563 ac_cs_recheck=false
66564 ac_cs_silent=false
66565
66566 SHELL=\${CONFIG_SHELL-$SHELL}
66567 export SHELL
66568 _ASEOF
66569 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66570 ## -------------------- ##
66571 ## M4sh Initialization. ##
66572 ## -------------------- ##
66573
66574 # Be more Bourne compatible
66575 DUALCASE=1; export DUALCASE # for MKS sh
66576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66577 emulate sh
66578 NULLCMD=:
66579 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66580 # is contrary to our usage. Disable this feature.
66581 alias -g '${1+"$@"}'='"$@"'
66582 setopt NO_GLOB_SUBST
66583 else
66584 case `(set -o) 2>/dev/null` in #(
66585 *posix*) :
66586 set -o posix ;; #(
66587 *) :
66588 ;;
66589 esac
66590 fi
66591
66592
66593 as_nl='
66594 '
66595 export as_nl
66596 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66597 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66599 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66600 # Prefer a ksh shell builtin over an external printf program on Solaris,
66601 # but without wasting forks for bash or zsh.
66602 if test -z "$BASH_VERSION$ZSH_VERSION" \
66603 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66604 as_echo='print -r --'
66605 as_echo_n='print -rn --'
66606 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66607 as_echo='printf %s\n'
66608 as_echo_n='printf %s'
66609 else
66610 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66611 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66612 as_echo_n='/usr/ucb/echo -n'
66613 else
66614 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66615 as_echo_n_body='eval
66616 arg=$1;
66617 case $arg in #(
66618 *"$as_nl"*)
66619 expr "X$arg" : "X\\(.*\\)$as_nl";
66620 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66621 esac;
66622 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66623 '
66624 export as_echo_n_body
66625 as_echo_n='sh -c $as_echo_n_body as_echo'
66626 fi
66627 export as_echo_body
66628 as_echo='sh -c $as_echo_body as_echo'
66629 fi
66630
66631 # The user is always right.
66632 if test "${PATH_SEPARATOR+set}" != set; then
66633 PATH_SEPARATOR=:
66634 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66635 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66636 PATH_SEPARATOR=';'
66637 }
66638 fi
66639
66640
66641 # IFS
66642 # We need space, tab and new line, in precisely that order. Quoting is
66643 # there to prevent editors from complaining about space-tab.
66644 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66645 # splitting by setting IFS to empty value.)
66646 IFS=" "" $as_nl"
66647
66648 # Find who we are. Look in the path if we contain no directory separator.
66649 case $0 in #((
66650 *[\\/]* ) as_myself=$0 ;;
66651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66652 for as_dir in $PATH
66653 do
66654 IFS=$as_save_IFS
66655 test -z "$as_dir" && as_dir=.
66656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66657 done
66658 IFS=$as_save_IFS
66659
66660 ;;
66661 esac
66662 # We did not find ourselves, most probably we were run as `sh COMMAND'
66663 # in which case we are not to be found in the path.
66664 if test "x$as_myself" = x; then
66665 as_myself=$0
66666 fi
66667 if test ! -f "$as_myself"; then
66668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66669 exit 1
66670 fi
66671
66672 # Unset variables that we do not need and which cause bugs (e.g. in
66673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66674 # suppresses any "Segmentation fault" message there. '((' could
66675 # trigger a bug in pdksh 5.2.14.
66676 for as_var in BASH_ENV ENV MAIL MAILPATH
66677 do eval test x\${$as_var+set} = xset \
66678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66679 done
66680 PS1='$ '
66681 PS2='> '
66682 PS4='+ '
66683
66684 # NLS nuisances.
66685 LC_ALL=C
66686 export LC_ALL
66687 LANGUAGE=C
66688 export LANGUAGE
66689
66690 # CDPATH.
66691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66692
66693
66694 # as_fn_error ERROR [LINENO LOG_FD]
66695 # ---------------------------------
66696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66698 # script with status $?, using 1 if that was 0.
66699 as_fn_error ()
66700 {
66701 as_status=$?; test $as_status -eq 0 && as_status=1
66702 if test "$3"; then
66703 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66705 fi
66706 $as_echo "$as_me: error: $1" >&2
66707 as_fn_exit $as_status
66708 } # as_fn_error
66709
66710
66711 # as_fn_set_status STATUS
66712 # -----------------------
66713 # Set $? to STATUS, without forking.
66714 as_fn_set_status ()
66715 {
66716 return $1
66717 } # as_fn_set_status
66718
66719 # as_fn_exit STATUS
66720 # -----------------
66721 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66722 as_fn_exit ()
66723 {
66724 set +e
66725 as_fn_set_status $1
66726 exit $1
66727 } # as_fn_exit
66728
66729 # as_fn_unset VAR
66730 # ---------------
66731 # Portably unset VAR.
66732 as_fn_unset ()
66733 {
66734 { eval $1=; unset $1;}
66735 }
66736 as_unset=as_fn_unset
66737 # as_fn_append VAR VALUE
66738 # ----------------------
66739 # Append the text in VALUE to the end of the definition contained in VAR. Take
66740 # advantage of any shell optimizations that allow amortized linear growth over
66741 # repeated appends, instead of the typical quadratic growth present in naive
66742 # implementations.
66743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66744 eval 'as_fn_append ()
66745 {
66746 eval $1+=\$2
66747 }'
66748 else
66749 as_fn_append ()
66750 {
66751 eval $1=\$$1\$2
66752 }
66753 fi # as_fn_append
66754
66755 # as_fn_arith ARG...
66756 # ------------------
66757 # Perform arithmetic evaluation on the ARGs, and store the result in the
66758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66759 # must be portable across $(()) and expr.
66760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66761 eval 'as_fn_arith ()
66762 {
66763 as_val=$(( $* ))
66764 }'
66765 else
66766 as_fn_arith ()
66767 {
66768 as_val=`expr "$@" || test $? -eq 1`
66769 }
66770 fi # as_fn_arith
66771
66772
66773 if expr a : '\(a\)' >/dev/null 2>&1 &&
66774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66775 as_expr=expr
66776 else
66777 as_expr=false
66778 fi
66779
66780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66781 as_basename=basename
66782 else
66783 as_basename=false
66784 fi
66785
66786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66787 as_dirname=dirname
66788 else
66789 as_dirname=false
66790 fi
66791
66792 as_me=`$as_basename -- "$0" ||
66793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66794 X"$0" : 'X\(//\)$' \| \
66795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66796 $as_echo X/"$0" |
66797 sed '/^.*\/\([^/][^/]*\)\/*$/{
66798 s//\1/
66799 q
66800 }
66801 /^X\/\(\/\/\)$/{
66802 s//\1/
66803 q
66804 }
66805 /^X\/\(\/\).*/{
66806 s//\1/
66807 q
66808 }
66809 s/.*/./; q'`
66810
66811 # Avoid depending upon Character Ranges.
66812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66815 as_cr_digits='0123456789'
66816 as_cr_alnum=$as_cr_Letters$as_cr_digits
66817
66818 ECHO_C= ECHO_N= ECHO_T=
66819 case `echo -n x` in #(((((
66820 -n*)
66821 case `echo 'xy\c'` in
66822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66823 xy) ECHO_C='\c';;
66824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66825 ECHO_T=' ';;
66826 esac;;
66827 *)
66828 ECHO_N='-n';;
66829 esac
66830
66831 rm -f conf$$ conf$$.exe conf$$.file
66832 if test -d conf$$.dir; then
66833 rm -f conf$$.dir/conf$$.file
66834 else
66835 rm -f conf$$.dir
66836 mkdir conf$$.dir 2>/dev/null
66837 fi
66838 if (echo >conf$$.file) 2>/dev/null; then
66839 if ln -s conf$$.file conf$$ 2>/dev/null; then
66840 as_ln_s='ln -s'
66841 # ... but there are two gotchas:
66842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66844 # In both cases, we have to default to `cp -p'.
66845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66846 as_ln_s='cp -p'
66847 elif ln conf$$.file conf$$ 2>/dev/null; then
66848 as_ln_s=ln
66849 else
66850 as_ln_s='cp -p'
66851 fi
66852 else
66853 as_ln_s='cp -p'
66854 fi
66855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66856 rmdir conf$$.dir 2>/dev/null
66857
66858
66859 # as_fn_mkdir_p
66860 # -------------
66861 # Create "$as_dir" as a directory, including parents if necessary.
66862 as_fn_mkdir_p ()
66863 {
66864
66865 case $as_dir in #(
66866 -*) as_dir=./$as_dir;;
66867 esac
66868 test -d "$as_dir" || eval $as_mkdir_p || {
66869 as_dirs=
66870 while :; do
66871 case $as_dir in #(
66872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66873 *) as_qdir=$as_dir;;
66874 esac
66875 as_dirs="'$as_qdir' $as_dirs"
66876 as_dir=`$as_dirname -- "$as_dir" ||
66877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66878 X"$as_dir" : 'X\(//\)[^/]' \| \
66879 X"$as_dir" : 'X\(//\)$' \| \
66880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66881 $as_echo X"$as_dir" |
66882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66883 s//\1/
66884 q
66885 }
66886 /^X\(\/\/\)[^/].*/{
66887 s//\1/
66888 q
66889 }
66890 /^X\(\/\/\)$/{
66891 s//\1/
66892 q
66893 }
66894 /^X\(\/\).*/{
66895 s//\1/
66896 q
66897 }
66898 s/.*/./; q'`
66899 test -d "$as_dir" && break
66900 done
66901 test -z "$as_dirs" || eval "mkdir $as_dirs"
66902 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66903
66904
66905 } # as_fn_mkdir_p
66906 if mkdir -p . 2>/dev/null; then
66907 as_mkdir_p='mkdir -p "$as_dir"'
66908 else
66909 test -d ./-p && rmdir ./-p
66910 as_mkdir_p=false
66911 fi
66912
66913 if test -x / >/dev/null 2>&1; then
66914 as_test_x='test -x'
66915 else
66916 if ls -dL / >/dev/null 2>&1; then
66917 as_ls_L_option=L
66918 else
66919 as_ls_L_option=
66920 fi
66921 as_test_x='
66922 eval sh -c '\''
66923 if test -d "$1"; then
66924 test -d "$1/.";
66925 else
66926 case $1 in #(
66927 -*)set "./$1";;
66928 esac;
66929 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66930 ???[sx]*):;;*)false;;esac;fi
66931 '\'' sh
66932 '
66933 fi
66934 as_executable_p=$as_test_x
66935
66936 # Sed expression to map a string onto a valid CPP name.
66937 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66938
66939 # Sed expression to map a string onto a valid variable name.
66940 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66941
66942
66943 exec 6>&1
66944 ## ----------------------------------- ##
66945 ## Main body of $CONFIG_STATUS script. ##
66946 ## ----------------------------------- ##
66947 _ASEOF
66948 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66949
66950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66951 # Save the log message, to keep $0 and so on meaningful, and to
66952 # report actual input values of CONFIG_FILES etc. instead of their
66953 # values after options handling.
66954 ac_log="
66955 This file was extended by package-unused $as_me version-unused, which was
66956 generated by GNU Autoconf 2.64. Invocation command line was
66957
66958 CONFIG_FILES = $CONFIG_FILES
66959 CONFIG_HEADERS = $CONFIG_HEADERS
66960 CONFIG_LINKS = $CONFIG_LINKS
66961 CONFIG_COMMANDS = $CONFIG_COMMANDS
66962 $ $0 $@
66963
66964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66965 "
66966
66967 _ACEOF
66968
66969 case $ac_config_files in *"
66970 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66971 esac
66972
66973 case $ac_config_headers in *"
66974 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66975 esac
66976
66977
66978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66979 # Files that config.status was made for.
66980 config_files="$ac_config_files"
66981 config_headers="$ac_config_headers"
66982 config_commands="$ac_config_commands"
66983
66984 _ACEOF
66985
66986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66987 ac_cs_usage="\
66988 \`$as_me' instantiates files and other configuration actions
66989 from templates according to the current configuration. Unless the files
66990 and actions are specified as TAGs, all are instantiated by default.
66991
66992 Usage: $0 [OPTION]... [TAG]...
66993
66994 -h, --help print this help, then exit
66995 -V, --version print version number and configuration settings, then exit
66996 -q, --quiet, --silent
66997 do not print progress messages
66998 -d, --debug don't remove temporary files
66999 --recheck update $as_me by reconfiguring in the same conditions
67000 --file=FILE[:TEMPLATE]
67001 instantiate the configuration file FILE
67002 --header=FILE[:TEMPLATE]
67003 instantiate the configuration header FILE
67004
67005 Configuration files:
67006 $config_files
67007
67008 Configuration headers:
67009 $config_headers
67010
67011 Configuration commands:
67012 $config_commands
67013
67014 Report bugs to the package provider."
67015
67016 _ACEOF
67017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67018 ac_cs_version="\\
67019 package-unused config.status version-unused
67020 configured by $0, generated by GNU Autoconf 2.64,
67021 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67022
67023 Copyright (C) 2009 Free Software Foundation, Inc.
67024 This config.status script is free software; the Free Software Foundation
67025 gives unlimited permission to copy, distribute and modify it."
67026
67027 ac_pwd='$ac_pwd'
67028 srcdir='$srcdir'
67029 INSTALL='$INSTALL'
67030 MKDIR_P='$MKDIR_P'
67031 AWK='$AWK'
67032 test -n "\$AWK" || AWK=awk
67033 _ACEOF
67034
67035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67036 # The default lists apply if the user does not specify any file.
67037 ac_need_defaults=:
67038 while test $# != 0
67039 do
67040 case $1 in
67041 --*=*)
67042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67044 ac_shift=:
67045 ;;
67046 *)
67047 ac_option=$1
67048 ac_optarg=$2
67049 ac_shift=shift
67050 ;;
67051 esac
67052
67053 case $ac_option in
67054 # Handling of the options.
67055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67056 ac_cs_recheck=: ;;
67057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67058 $as_echo "$ac_cs_version"; exit ;;
67059 --debug | --debu | --deb | --de | --d | -d )
67060 debug=: ;;
67061 --file | --fil | --fi | --f )
67062 $ac_shift
67063 case $ac_optarg in
67064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67065 esac
67066 as_fn_append CONFIG_FILES " '$ac_optarg'"
67067 ac_need_defaults=false;;
67068 --header | --heade | --head | --hea )
67069 $ac_shift
67070 case $ac_optarg in
67071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67072 esac
67073 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67074 ac_need_defaults=false;;
67075 --he | --h)
67076 # Conflict between --help and --header
67077 as_fn_error "ambiguous option: \`$1'
67078 Try \`$0 --help' for more information.";;
67079 --help | --hel | -h )
67080 $as_echo "$ac_cs_usage"; exit ;;
67081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67082 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67083 ac_cs_silent=: ;;
67084
67085 # This is an error.
67086 -*) as_fn_error "unrecognized option: \`$1'
67087 Try \`$0 --help' for more information." ;;
67088
67089 *) as_fn_append ac_config_targets " $1"
67090 ac_need_defaults=false ;;
67091
67092 esac
67093 shift
67094 done
67095
67096 ac_configure_extra_args=
67097
67098 if $ac_cs_silent; then
67099 exec 6>/dev/null
67100 ac_configure_extra_args="$ac_configure_extra_args --silent"
67101 fi
67102
67103 _ACEOF
67104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67105 if \$ac_cs_recheck; then
67106 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67107 shift
67108 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67109 CONFIG_SHELL='$SHELL'
67110 export CONFIG_SHELL
67111 exec "\$@"
67112 fi
67113
67114 _ACEOF
67115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67116 exec 5>>config.log
67117 {
67118 echo
67119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67120 ## Running $as_me. ##
67121 _ASBOX
67122 $as_echo "$ac_log"
67123 } >&5
67124
67125 _ACEOF
67126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67127 #
67128 # INIT-COMMANDS
67129 #
67130
67131 srcdir="$srcdir"
67132 host="$host"
67133 target="$target"
67134 with_multisubdir="$with_multisubdir"
67135 with_multisrctop="$with_multisrctop"
67136 with_target_subdir="$with_target_subdir"
67137 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67138 multi_basedir="$multi_basedir"
67139 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67140 CC="$CC"
67141 CXX="$CXX"
67142 GFORTRAN="$GFORTRAN"
67143 GCJ="$GCJ"
67144
67145
67146 # The HP-UX ksh and POSIX shell print the target directory to stdout
67147 # if CDPATH is set.
67148 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67149
67150 sed_quote_subst='$sed_quote_subst'
67151 double_quote_subst='$double_quote_subst'
67152 delay_variable_subst='$delay_variable_subst'
67153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67159 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67160 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67161 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67162 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67163 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67164 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67165 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67166 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67167 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67168 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67169 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67170 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67171 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67172 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67173 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67174 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67175 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67176 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67177 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67178 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67179 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67180 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67181 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67182 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67183 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67184 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67185 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67186 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67187 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67188 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67189 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67190 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67191 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67192 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67193 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67194 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67195 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67196 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67197 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67198 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67199 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67200 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67201 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"`'
67202 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67203 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67204 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67206 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67207 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67208 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67209 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67211 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67212 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67213 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67214 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67215 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67216 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67217 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67218 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67219 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67220 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67221 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67222 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67223 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67224 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67225 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67226 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67227 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67228 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67229 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67230 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67231 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67232 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67233 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67234 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67235 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67236 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67237 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67238 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67239 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67240 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67241 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67242 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67243 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67244 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67245 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67246 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67247 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67248 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67249 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67250 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67251 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67252 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67253 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67254 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67255 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67256 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67257 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67258 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67259 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67260 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67261 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67262 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67263 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67264 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67265 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67266 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67267 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67268 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67269 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67270 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67271 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67272 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67273 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67274 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67275 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67276 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67277 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67278 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67279 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67280 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67281 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67282 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67283 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67284 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67285 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67286 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67287 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67288 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67289 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67290 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67291 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67292 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67293 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67294 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67295 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67296 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67297 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67298 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67299 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67300 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67301 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67302 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67303 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67304 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67305 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67306 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67307 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67308 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67309 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67310 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67311 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67312 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67313 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67314 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67315 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67316 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67317 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67318 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67319 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67320 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67321 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67322 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67323 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67324 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67325 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67326 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67327 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67328
67329 LTCC='$LTCC'
67330 LTCFLAGS='$LTCFLAGS'
67331 compiler='$compiler_DEFAULT'
67332
67333 # A function that is used when there is no print builtin or printf.
67334 func_fallback_echo ()
67335 {
67336 eval 'cat <<_LTECHO_EOF
67337 \$1
67338 _LTECHO_EOF'
67339 }
67340
67341 # Quote evaled strings.
67342 for var in SHELL \
67343 ECHO \
67344 SED \
67345 GREP \
67346 EGREP \
67347 FGREP \
67348 LD \
67349 NM \
67350 LN_S \
67351 lt_SP2NL \
67352 lt_NL2SP \
67353 reload_flag \
67354 OBJDUMP \
67355 deplibs_check_method \
67356 file_magic_cmd \
67357 AR \
67358 AR_FLAGS \
67359 STRIP \
67360 RANLIB \
67361 CC \
67362 CFLAGS \
67363 compiler \
67364 lt_cv_sys_global_symbol_pipe \
67365 lt_cv_sys_global_symbol_to_cdecl \
67366 lt_cv_sys_global_symbol_to_c_name_address \
67367 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67368 lt_prog_compiler_no_builtin_flag \
67369 lt_prog_compiler_wl \
67370 lt_prog_compiler_pic \
67371 lt_prog_compiler_static \
67372 lt_cv_prog_compiler_c_o \
67373 need_locks \
67374 DSYMUTIL \
67375 NMEDIT \
67376 LIPO \
67377 OTOOL \
67378 OTOOL64 \
67379 shrext_cmds \
67380 export_dynamic_flag_spec \
67381 whole_archive_flag_spec \
67382 compiler_needs_object \
67383 with_gnu_ld \
67384 allow_undefined_flag \
67385 no_undefined_flag \
67386 hardcode_libdir_flag_spec \
67387 hardcode_libdir_flag_spec_ld \
67388 hardcode_libdir_separator \
67389 fix_srcfile_path \
67390 exclude_expsyms \
67391 include_expsyms \
67392 file_list_spec \
67393 variables_saved_for_relink \
67394 libname_spec \
67395 library_names_spec \
67396 soname_spec \
67397 install_override_mode \
67398 finish_eval \
67399 old_striplib \
67400 striplib \
67401 compiler_lib_search_dirs \
67402 predep_objects \
67403 postdep_objects \
67404 predeps \
67405 postdeps \
67406 compiler_lib_search_path \
67407 LD_CXX \
67408 reload_flag_CXX \
67409 compiler_CXX \
67410 lt_prog_compiler_no_builtin_flag_CXX \
67411 lt_prog_compiler_wl_CXX \
67412 lt_prog_compiler_pic_CXX \
67413 lt_prog_compiler_static_CXX \
67414 lt_cv_prog_compiler_c_o_CXX \
67415 export_dynamic_flag_spec_CXX \
67416 whole_archive_flag_spec_CXX \
67417 compiler_needs_object_CXX \
67418 with_gnu_ld_CXX \
67419 allow_undefined_flag_CXX \
67420 no_undefined_flag_CXX \
67421 hardcode_libdir_flag_spec_CXX \
67422 hardcode_libdir_flag_spec_ld_CXX \
67423 hardcode_libdir_separator_CXX \
67424 fix_srcfile_path_CXX \
67425 exclude_expsyms_CXX \
67426 include_expsyms_CXX \
67427 file_list_spec_CXX \
67428 compiler_lib_search_dirs_CXX \
67429 predep_objects_CXX \
67430 postdep_objects_CXX \
67431 predeps_CXX \
67432 postdeps_CXX \
67433 compiler_lib_search_path_CXX; do
67434 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67435 *[\\\\\\\`\\"\\\$]*)
67436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67437 ;;
67438 *)
67439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67440 ;;
67441 esac
67442 done
67443
67444 # Double-quote double-evaled strings.
67445 for var in reload_cmds \
67446 old_postinstall_cmds \
67447 old_postuninstall_cmds \
67448 old_archive_cmds \
67449 extract_expsyms_cmds \
67450 old_archive_from_new_cmds \
67451 old_archive_from_expsyms_cmds \
67452 archive_cmds \
67453 archive_expsym_cmds \
67454 module_cmds \
67455 module_expsym_cmds \
67456 export_symbols_cmds \
67457 prelink_cmds \
67458 postinstall_cmds \
67459 postuninstall_cmds \
67460 finish_cmds \
67461 sys_lib_search_path_spec \
67462 sys_lib_dlsearch_path_spec \
67463 reload_cmds_CXX \
67464 old_archive_cmds_CXX \
67465 old_archive_from_new_cmds_CXX \
67466 old_archive_from_expsyms_cmds_CXX \
67467 archive_cmds_CXX \
67468 archive_expsym_cmds_CXX \
67469 module_cmds_CXX \
67470 module_expsym_cmds_CXX \
67471 export_symbols_cmds_CXX \
67472 prelink_cmds_CXX; do
67473 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67474 *[\\\\\\\`\\"\\\$]*)
67475 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67476 ;;
67477 *)
67478 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67479 ;;
67480 esac
67481 done
67482
67483 ac_aux_dir='$ac_aux_dir'
67484 xsi_shell='$xsi_shell'
67485 lt_shell_append='$lt_shell_append'
67486
67487 # See if we are running on zsh, and set the options which allow our
67488 # commands through without removal of \ escapes INIT.
67489 if test -n "\${ZSH_VERSION+set}" ; then
67490 setopt NO_GLOB_SUBST
67491 fi
67492
67493
67494 PACKAGE='$PACKAGE'
67495 VERSION='$VERSION'
67496 TIMESTAMP='$TIMESTAMP'
67497 RM='$RM'
67498 ofile='$ofile'
67499
67500
67501
67502
67503
67504
67505 GCC="$GCC"
67506 CC="$CC"
67507 acx_cv_header_stdint="$acx_cv_header_stdint"
67508 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67509 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67510 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67511 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67512 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67513 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67514 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67515 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67516 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67517 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67518 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67519 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67520 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67521
67522
67523 _ACEOF
67524
67525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67526
67527 # Handling of arguments.
67528 for ac_config_target in $ac_config_targets
67529 do
67530 case $ac_config_target in
67531 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67532 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67533 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67534 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67535 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67536 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67537 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67538 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67539 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67540 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67541 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67542 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67543 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67544 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67545 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67546 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67547 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67548
67549 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67550 esac
67551 done
67552
67553
67554 # If the user did not use the arguments to specify the items to instantiate,
67555 # then the envvar interface is used. Set only those that are not.
67556 # We use the long form for the default assignment because of an extremely
67557 # bizarre bug on SunOS 4.1.3.
67558 if $ac_need_defaults; then
67559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67560 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67562 fi
67563
67564 # Have a temporary directory for convenience. Make it in the build tree
67565 # simply because there is no reason against having it here, and in addition,
67566 # creating and moving files from /tmp can sometimes cause problems.
67567 # Hook for its removal unless debugging.
67568 # Note that there is a small window in which the directory will not be cleaned:
67569 # after its creation but before its name has been assigned to `$tmp'.
67570 $debug ||
67571 {
67572 tmp=
67573 trap 'exit_status=$?
67574 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67575 ' 0
67576 trap 'as_fn_exit 1' 1 2 13 15
67577 }
67578 # Create a (secure) tmp directory for tmp files.
67579
67580 {
67581 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67582 test -n "$tmp" && test -d "$tmp"
67583 } ||
67584 {
67585 tmp=./conf$$-$RANDOM
67586 (umask 077 && mkdir "$tmp")
67587 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67588
67589 # Set up the scripts for CONFIG_FILES section.
67590 # No need to generate them if there are no CONFIG_FILES.
67591 # This happens for instance with `./config.status config.h'.
67592 if test -n "$CONFIG_FILES"; then
67593
67594
67595 ac_cr=`echo X | tr X '\015'`
67596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67597 # But we know of no other shell where ac_cr would be empty at this
67598 # point, so we can use a bashism as a fallback.
67599 if test "x$ac_cr" = x; then
67600 eval ac_cr=\$\'\\r\'
67601 fi
67602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67604 ac_cs_awk_cr='\r'
67605 else
67606 ac_cs_awk_cr=$ac_cr
67607 fi
67608
67609 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67610 _ACEOF
67611
67612
67613 {
67614 echo "cat >conf$$subs.awk <<_ACEOF" &&
67615 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67616 echo "_ACEOF"
67617 } >conf$$subs.sh ||
67618 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67620 ac_delim='%!_!# '
67621 for ac_last_try in false false false false false :; do
67622 . ./conf$$subs.sh ||
67623 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67624
67625 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67626 if test $ac_delim_n = $ac_delim_num; then
67627 break
67628 elif $ac_last_try; then
67629 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67630 else
67631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67632 fi
67633 done
67634 rm -f conf$$subs.sh
67635
67636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67637 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67638 _ACEOF
67639 sed -n '
67640 h
67641 s/^/S["/; s/!.*/"]=/
67642 p
67643 g
67644 s/^[^!]*!//
67645 :repl
67646 t repl
67647 s/'"$ac_delim"'$//
67648 t delim
67649 :nl
67650 h
67651 s/\(.\{148\}\).*/\1/
67652 t more1
67653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67654 p
67655 n
67656 b repl
67657 :more1
67658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67659 p
67660 g
67661 s/.\{148\}//
67662 t nl
67663 :delim
67664 h
67665 s/\(.\{148\}\).*/\1/
67666 t more2
67667 s/["\\]/\\&/g; s/^/"/; s/$/"/
67668 p
67669 b
67670 :more2
67671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67672 p
67673 g
67674 s/.\{148\}//
67675 t delim
67676 ' <conf$$subs.awk | sed '
67677 /^[^""]/{
67678 N
67679 s/\n//
67680 }
67681 ' >>$CONFIG_STATUS || ac_write_fail=1
67682 rm -f conf$$subs.awk
67683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67684 _ACAWK
67685 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67686 for (key in S) S_is_set[key] = 1
67687 FS = "\a"
67688
67689 }
67690 {
67691 line = $ 0
67692 nfields = split(line, field, "@")
67693 substed = 0
67694 len = length(field[1])
67695 for (i = 2; i < nfields; i++) {
67696 key = field[i]
67697 keylen = length(key)
67698 if (S_is_set[key]) {
67699 value = S[key]
67700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67701 len += length(value) + length(field[++i])
67702 substed = 1
67703 } else
67704 len += 1 + keylen
67705 }
67706
67707 print line
67708 }
67709
67710 _ACAWK
67711 _ACEOF
67712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67713 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67714 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67715 else
67716 cat
67717 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67718 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67719 _ACEOF
67720
67721 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67722 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67723 # trailing colons and then remove the whole line if VPATH becomes empty
67724 # (actually we leave an empty line to preserve line numbers).
67725 if test "x$srcdir" = x.; then
67726 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67727 s/:*\$(srcdir):*/:/
67728 s/:*\${srcdir}:*/:/
67729 s/:*@srcdir@:*/:/
67730 s/^\([^=]*=[ ]*\):*/\1/
67731 s/:*$//
67732 s/^[^=]*=[ ]*$//
67733 }'
67734 fi
67735
67736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67737 fi # test -n "$CONFIG_FILES"
67738
67739 # Set up the scripts for CONFIG_HEADERS section.
67740 # No need to generate them if there are no CONFIG_HEADERS.
67741 # This happens for instance with `./config.status Makefile'.
67742 if test -n "$CONFIG_HEADERS"; then
67743 cat >"$tmp/defines.awk" <<\_ACAWK ||
67744 BEGIN {
67745 _ACEOF
67746
67747 # Transform confdefs.h into an awk script `defines.awk', embedded as
67748 # here-document in config.status, that substitutes the proper values into
67749 # config.h.in to produce config.h.
67750
67751 # Create a delimiter string that does not exist in confdefs.h, to ease
67752 # handling of long lines.
67753 ac_delim='%!_!# '
67754 for ac_last_try in false false :; do
67755 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67756 if test -z "$ac_t"; then
67757 break
67758 elif $ac_last_try; then
67759 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67760 else
67761 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67762 fi
67763 done
67764
67765 # For the awk script, D is an array of macro values keyed by name,
67766 # likewise P contains macro parameters if any. Preserve backslash
67767 # newline sequences.
67768
67769 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67770 sed -n '
67771 s/.\{148\}/&'"$ac_delim"'/g
67772 t rset
67773 :rset
67774 s/^[ ]*#[ ]*define[ ][ ]*/ /
67775 t def
67776 d
67777 :def
67778 s/\\$//
67779 t bsnl
67780 s/["\\]/\\&/g
67781 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67782 D["\1"]=" \3"/p
67783 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67784 d
67785 :bsnl
67786 s/["\\]/\\&/g
67787 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67788 D["\1"]=" \3\\\\\\n"\\/p
67789 t cont
67790 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67791 t cont
67792 d
67793 :cont
67794 n
67795 s/.\{148\}/&'"$ac_delim"'/g
67796 t clear
67797 :clear
67798 s/\\$//
67799 t bsnlc
67800 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67801 d
67802 :bsnlc
67803 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67804 b cont
67805 ' <confdefs.h | sed '
67806 s/'"$ac_delim"'/"\\\
67807 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67808
67809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67810 for (key in D) D_is_set[key] = 1
67811 FS = "\a"
67812 }
67813 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67814 line = \$ 0
67815 split(line, arg, " ")
67816 if (arg[1] == "#") {
67817 defundef = arg[2]
67818 mac1 = arg[3]
67819 } else {
67820 defundef = substr(arg[1], 2)
67821 mac1 = arg[2]
67822 }
67823 split(mac1, mac2, "(") #)
67824 macro = mac2[1]
67825 prefix = substr(line, 1, index(line, defundef) - 1)
67826 if (D_is_set[macro]) {
67827 # Preserve the white space surrounding the "#".
67828 print prefix "define", macro P[macro] D[macro]
67829 next
67830 } else {
67831 # Replace #undef with comments. This is necessary, for example,
67832 # in the case of _POSIX_SOURCE, which is predefined and required
67833 # on some systems where configure will not decide to define it.
67834 if (defundef == "undef") {
67835 print "/*", prefix defundef, macro, "*/"
67836 next
67837 }
67838 }
67839 }
67840 { print }
67841 _ACAWK
67842 _ACEOF
67843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67844 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67845 fi # test -n "$CONFIG_HEADERS"
67846
67847
67848 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67849 shift
67850 for ac_tag
67851 do
67852 case $ac_tag in
67853 :[FHLC]) ac_mode=$ac_tag; continue;;
67854 esac
67855 case $ac_mode$ac_tag in
67856 :[FHL]*:*);;
67857 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67858 :[FH]-) ac_tag=-:-;;
67859 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67860 esac
67861 ac_save_IFS=$IFS
67862 IFS=:
67863 set x $ac_tag
67864 IFS=$ac_save_IFS
67865 shift
67866 ac_file=$1
67867 shift
67868
67869 case $ac_mode in
67870 :L) ac_source=$1;;
67871 :[FH])
67872 ac_file_inputs=
67873 for ac_f
67874 do
67875 case $ac_f in
67876 -) ac_f="$tmp/stdin";;
67877 *) # Look for the file first in the build tree, then in the source tree
67878 # (if the path is not absolute). The absolute path cannot be DOS-style,
67879 # because $ac_f cannot contain `:'.
67880 test -f "$ac_f" ||
67881 case $ac_f in
67882 [\\/$]*) false;;
67883 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67884 esac ||
67885 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67886 esac
67887 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67888 as_fn_append ac_file_inputs " '$ac_f'"
67889 done
67890
67891 # Let's still pretend it is `configure' which instantiates (i.e., don't
67892 # use $as_me), people would be surprised to read:
67893 # /* config.h. Generated by config.status. */
67894 configure_input='Generated from '`
67895 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67896 `' by configure.'
67897 if test x"$ac_file" != x-; then
67898 configure_input="$ac_file. $configure_input"
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67900 $as_echo "$as_me: creating $ac_file" >&6;}
67901 fi
67902 # Neutralize special characters interpreted by sed in replacement strings.
67903 case $configure_input in #(
67904 *\&* | *\|* | *\\* )
67905 ac_sed_conf_input=`$as_echo "$configure_input" |
67906 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67907 *) ac_sed_conf_input=$configure_input;;
67908 esac
67909
67910 case $ac_tag in
67911 *:-:* | *:-) cat >"$tmp/stdin" \
67912 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67913 esac
67914 ;;
67915 esac
67916
67917 ac_dir=`$as_dirname -- "$ac_file" ||
67918 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67919 X"$ac_file" : 'X\(//\)[^/]' \| \
67920 X"$ac_file" : 'X\(//\)$' \| \
67921 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67922 $as_echo X"$ac_file" |
67923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67924 s//\1/
67925 q
67926 }
67927 /^X\(\/\/\)[^/].*/{
67928 s//\1/
67929 q
67930 }
67931 /^X\(\/\/\)$/{
67932 s//\1/
67933 q
67934 }
67935 /^X\(\/\).*/{
67936 s//\1/
67937 q
67938 }
67939 s/.*/./; q'`
67940 as_dir="$ac_dir"; as_fn_mkdir_p
67941 ac_builddir=.
67942
67943 case "$ac_dir" in
67944 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67945 *)
67946 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67947 # A ".." for each directory in $ac_dir_suffix.
67948 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67949 case $ac_top_builddir_sub in
67950 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67951 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67952 esac ;;
67953 esac
67954 ac_abs_top_builddir=$ac_pwd
67955 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67956 # for backward compatibility:
67957 ac_top_builddir=$ac_top_build_prefix
67958
67959 case $srcdir in
67960 .) # We are building in place.
67961 ac_srcdir=.
67962 ac_top_srcdir=$ac_top_builddir_sub
67963 ac_abs_top_srcdir=$ac_pwd ;;
67964 [\\/]* | ?:[\\/]* ) # Absolute name.
67965 ac_srcdir=$srcdir$ac_dir_suffix;
67966 ac_top_srcdir=$srcdir
67967 ac_abs_top_srcdir=$srcdir ;;
67968 *) # Relative name.
67969 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67970 ac_top_srcdir=$ac_top_build_prefix$srcdir
67971 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67972 esac
67973 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67974
67975
67976 case $ac_mode in
67977 :F)
67978 #
67979 # CONFIG_FILE
67980 #
67981
67982 case $INSTALL in
67983 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67984 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67985 esac
67986 ac_MKDIR_P=$MKDIR_P
67987 case $MKDIR_P in
67988 [\\/$]* | ?:[\\/]* ) ;;
67989 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67990 esac
67991 _ACEOF
67992
67993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67994 # If the template does not know about datarootdir, expand it.
67995 # FIXME: This hack should be removed a few years after 2.60.
67996 ac_datarootdir_hack=; ac_datarootdir_seen=
67997 ac_sed_dataroot='
67998 /datarootdir/ {
67999 p
68000 q
68001 }
68002 /@datadir@/p
68003 /@docdir@/p
68004 /@infodir@/p
68005 /@localedir@/p
68006 /@mandir@/p'
68007 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68008 *datarootdir*) ac_datarootdir_seen=yes;;
68009 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68011 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68012 _ACEOF
68013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68014 ac_datarootdir_hack='
68015 s&@datadir@&$datadir&g
68016 s&@docdir@&$docdir&g
68017 s&@infodir@&$infodir&g
68018 s&@localedir@&$localedir&g
68019 s&@mandir@&$mandir&g
68020 s&\\\${datarootdir}&$datarootdir&g' ;;
68021 esac
68022 _ACEOF
68023
68024 # Neutralize VPATH when `$srcdir' = `.'.
68025 # Shell code in configure.ac might set extrasub.
68026 # FIXME: do we really want to maintain this feature?
68027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68028 ac_sed_extra="$ac_vpsub
68029 $extrasub
68030 _ACEOF
68031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68032 :t
68033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68034 s|@configure_input@|$ac_sed_conf_input|;t t
68035 s&@top_builddir@&$ac_top_builddir_sub&;t t
68036 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68037 s&@srcdir@&$ac_srcdir&;t t
68038 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68039 s&@top_srcdir@&$ac_top_srcdir&;t t
68040 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68041 s&@builddir@&$ac_builddir&;t t
68042 s&@abs_builddir@&$ac_abs_builddir&;t t
68043 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68044 s&@INSTALL@&$ac_INSTALL&;t t
68045 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68046 $ac_datarootdir_hack
68047 "
68048 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68049 || as_fn_error "could not create $ac_file" "$LINENO" 5
68050
68051 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68052 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68053 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68055 which seems to be undefined. Please make sure it is defined." >&5
68056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68057 which seems to be undefined. Please make sure it is defined." >&2;}
68058
68059 rm -f "$tmp/stdin"
68060 case $ac_file in
68061 -) cat "$tmp/out" && rm -f "$tmp/out";;
68062 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68063 esac \
68064 || as_fn_error "could not create $ac_file" "$LINENO" 5
68065 ;;
68066 :H)
68067 #
68068 # CONFIG_HEADER
68069 #
68070 if test x"$ac_file" != x-; then
68071 {
68072 $as_echo "/* $configure_input */" \
68073 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68074 } >"$tmp/config.h" \
68075 || as_fn_error "could not create $ac_file" "$LINENO" 5
68076 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68079 else
68080 rm -f "$ac_file"
68081 mv "$tmp/config.h" "$ac_file" \
68082 || as_fn_error "could not create $ac_file" "$LINENO" 5
68083 fi
68084 else
68085 $as_echo "/* $configure_input */" \
68086 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68087 || as_fn_error "could not create -" "$LINENO" 5
68088 fi
68089 # Compute "$ac_file"'s index in $config_headers.
68090 _am_arg="$ac_file"
68091 _am_stamp_count=1
68092 for _am_header in $config_headers :; do
68093 case $_am_header in
68094 $_am_arg | $_am_arg:* )
68095 break ;;
68096 * )
68097 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68098 esac
68099 done
68100 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68101 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68102 X"$_am_arg" : 'X\(//\)[^/]' \| \
68103 X"$_am_arg" : 'X\(//\)$' \| \
68104 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68105 $as_echo X"$_am_arg" |
68106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68107 s//\1/
68108 q
68109 }
68110 /^X\(\/\/\)[^/].*/{
68111 s//\1/
68112 q
68113 }
68114 /^X\(\/\/\)$/{
68115 s//\1/
68116 q
68117 }
68118 /^X\(\/\).*/{
68119 s//\1/
68120 q
68121 }
68122 s/.*/./; q'`/stamp-h$_am_stamp_count
68123 ;;
68124
68125 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68126 $as_echo "$as_me: executing $ac_file commands" >&6;}
68127 ;;
68128 esac
68129
68130
68131 case $ac_file$ac_mode in
68132 "default-1":C)
68133 # Only add multilib support code if we just rebuilt the top-level
68134 # Makefile.
68135 case " $CONFIG_FILES " in
68136 *" Makefile "*)
68137 ac_file=Makefile . ${multi_basedir}/config-ml.in
68138 ;;
68139 esac ;;
68140 "libtool":C)
68141
68142 # See if we are running on zsh, and set the options which allow our
68143 # commands through without removal of \ escapes.
68144 if test -n "${ZSH_VERSION+set}" ; then
68145 setopt NO_GLOB_SUBST
68146 fi
68147
68148 cfgfile="${ofile}T"
68149 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68150 $RM "$cfgfile"
68151
68152 cat <<_LT_EOF >> "$cfgfile"
68153 #! $SHELL
68154
68155 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68156 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68157 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68158 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68159 #
68160 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68161 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68162 # Written by Gordon Matzigkeit, 1996
68163 #
68164 # This file is part of GNU Libtool.
68165 #
68166 # GNU Libtool is free software; you can redistribute it and/or
68167 # modify it under the terms of the GNU General Public License as
68168 # published by the Free Software Foundation; either version 2 of
68169 # the License, or (at your option) any later version.
68170 #
68171 # As a special exception to the GNU General Public License,
68172 # if you distribute this file as part of a program or library that
68173 # is built using GNU Libtool, you may include this file under the
68174 # same distribution terms that you use for the rest of that program.
68175 #
68176 # GNU Libtool is distributed in the hope that it will be useful,
68177 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68179 # GNU General Public License for more details.
68180 #
68181 # You should have received a copy of the GNU General Public License
68182 # along with GNU Libtool; see the file COPYING. If not, a copy
68183 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68184 # obtained by writing to the Free Software Foundation, Inc.,
68185 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68186
68187
68188 # The names of the tagged configurations supported by this script.
68189 available_tags="CXX "
68190
68191 # ### BEGIN LIBTOOL CONFIG
68192
68193 # Which release of libtool.m4 was used?
68194 macro_version=$macro_version
68195 macro_revision=$macro_revision
68196
68197 # Whether or not to build shared libraries.
68198 build_libtool_libs=$enable_shared
68199
68200 # Whether or not to build static libraries.
68201 build_old_libs=$enable_static
68202
68203 # What type of objects to build.
68204 pic_mode=$pic_mode
68205
68206 # Whether or not to optimize for fast installation.
68207 fast_install=$enable_fast_install
68208
68209 # Shell to use when invoking shell scripts.
68210 SHELL=$lt_SHELL
68211
68212 # An echo program that protects backslashes.
68213 ECHO=$lt_ECHO
68214
68215 # The host system.
68216 host_alias=$host_alias
68217 host=$host
68218 host_os=$host_os
68219
68220 # The build system.
68221 build_alias=$build_alias
68222 build=$build
68223 build_os=$build_os
68224
68225 # A sed program that does not truncate output.
68226 SED=$lt_SED
68227
68228 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68229 Xsed="\$SED -e 1s/^X//"
68230
68231 # A grep program that handles long lines.
68232 GREP=$lt_GREP
68233
68234 # An ERE matcher.
68235 EGREP=$lt_EGREP
68236
68237 # A literal string matcher.
68238 FGREP=$lt_FGREP
68239
68240 # A BSD- or MS-compatible name lister.
68241 NM=$lt_NM
68242
68243 # Whether we need soft or hard links.
68244 LN_S=$lt_LN_S
68245
68246 # What is the maximum length of a command?
68247 max_cmd_len=$max_cmd_len
68248
68249 # Object file suffix (normally "o").
68250 objext=$ac_objext
68251
68252 # Executable file suffix (normally "").
68253 exeext=$exeext
68254
68255 # whether the shell understands "unset".
68256 lt_unset=$lt_unset
68257
68258 # turn spaces into newlines.
68259 SP2NL=$lt_lt_SP2NL
68260
68261 # turn newlines into spaces.
68262 NL2SP=$lt_lt_NL2SP
68263
68264 # An object symbol dumper.
68265 OBJDUMP=$lt_OBJDUMP
68266
68267 # Method to check whether dependent libraries are shared objects.
68268 deplibs_check_method=$lt_deplibs_check_method
68269
68270 # Command to use when deplibs_check_method == "file_magic".
68271 file_magic_cmd=$lt_file_magic_cmd
68272
68273 # The archiver.
68274 AR=$lt_AR
68275 AR_FLAGS=$lt_AR_FLAGS
68276
68277 # A symbol stripping program.
68278 STRIP=$lt_STRIP
68279
68280 # Commands used to install an old-style archive.
68281 RANLIB=$lt_RANLIB
68282 old_postinstall_cmds=$lt_old_postinstall_cmds
68283 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68284
68285 # Whether to use a lock for old archive extraction.
68286 lock_old_archive_extraction=$lock_old_archive_extraction
68287
68288 # A C compiler.
68289 LTCC=$lt_CC
68290
68291 # LTCC compiler flags.
68292 LTCFLAGS=$lt_CFLAGS
68293
68294 # Take the output of nm and produce a listing of raw symbols and C names.
68295 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68296
68297 # Transform the output of nm in a proper C declaration.
68298 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68299
68300 # Transform the output of nm in a C name address pair.
68301 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68302
68303 # Transform the output of nm in a C name address pair when lib prefix is needed.
68304 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68305
68306 # The name of the directory that contains temporary libtool files.
68307 objdir=$objdir
68308
68309 # Used to examine libraries when file_magic_cmd begins with "file".
68310 MAGIC_CMD=$MAGIC_CMD
68311
68312 # Must we lock files when doing compilation?
68313 need_locks=$lt_need_locks
68314
68315 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68316 DSYMUTIL=$lt_DSYMUTIL
68317
68318 # Tool to change global to local symbols on Mac OS X.
68319 NMEDIT=$lt_NMEDIT
68320
68321 # Tool to manipulate fat objects and archives on Mac OS X.
68322 LIPO=$lt_LIPO
68323
68324 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68325 OTOOL=$lt_OTOOL
68326
68327 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68328 OTOOL64=$lt_OTOOL64
68329
68330 # Old archive suffix (normally "a").
68331 libext=$libext
68332
68333 # Shared library suffix (normally ".so").
68334 shrext_cmds=$lt_shrext_cmds
68335
68336 # The commands to extract the exported symbol list from a shared archive.
68337 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68338
68339 # Variables whose values should be saved in libtool wrapper scripts and
68340 # restored at link time.
68341 variables_saved_for_relink=$lt_variables_saved_for_relink
68342
68343 # Do we need the "lib" prefix for modules?
68344 need_lib_prefix=$need_lib_prefix
68345
68346 # Do we need a version for libraries?
68347 need_version=$need_version
68348
68349 # Library versioning type.
68350 version_type=$version_type
68351
68352 # Shared library runtime path variable.
68353 runpath_var=$runpath_var
68354
68355 # Shared library path variable.
68356 shlibpath_var=$shlibpath_var
68357
68358 # Is shlibpath searched before the hard-coded library search path?
68359 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68360
68361 # Format of library name prefix.
68362 libname_spec=$lt_libname_spec
68363
68364 # List of archive names. First name is the real one, the rest are links.
68365 # The last name is the one that the linker finds with -lNAME
68366 library_names_spec=$lt_library_names_spec
68367
68368 # The coded name of the library, if different from the real name.
68369 soname_spec=$lt_soname_spec
68370
68371 # Permission mode override for installation of shared libraries.
68372 install_override_mode=$lt_install_override_mode
68373
68374 # Command to use after installation of a shared archive.
68375 postinstall_cmds=$lt_postinstall_cmds
68376
68377 # Command to use after uninstallation of a shared archive.
68378 postuninstall_cmds=$lt_postuninstall_cmds
68379
68380 # Commands used to finish a libtool library installation in a directory.
68381 finish_cmds=$lt_finish_cmds
68382
68383 # As "finish_cmds", except a single script fragment to be evaled but
68384 # not shown.
68385 finish_eval=$lt_finish_eval
68386
68387 # Whether we should hardcode library paths into libraries.
68388 hardcode_into_libs=$hardcode_into_libs
68389
68390 # Compile-time system search path for libraries.
68391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68392
68393 # Run-time system search path for libraries.
68394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68395
68396 # Whether dlopen is supported.
68397 dlopen_support=$enable_dlopen
68398
68399 # Whether dlopen of programs is supported.
68400 dlopen_self=$enable_dlopen_self
68401
68402 # Whether dlopen of statically linked programs is supported.
68403 dlopen_self_static=$enable_dlopen_self_static
68404
68405 # Commands to strip libraries.
68406 old_striplib=$lt_old_striplib
68407 striplib=$lt_striplib
68408
68409
68410 # The linker used to build libraries.
68411 LD=$lt_LD
68412
68413 # How to create reloadable object files.
68414 reload_flag=$lt_reload_flag
68415 reload_cmds=$lt_reload_cmds
68416
68417 # Commands used to build an old-style archive.
68418 old_archive_cmds=$lt_old_archive_cmds
68419
68420 # A language specific compiler.
68421 CC=$lt_compiler
68422
68423 # Is the compiler the GNU compiler?
68424 with_gcc=$GCC
68425
68426 # Compiler flag to turn off builtin functions.
68427 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68428
68429 # How to pass a linker flag through the compiler.
68430 wl=$lt_lt_prog_compiler_wl
68431
68432 # Additional compiler flags for building library objects.
68433 pic_flag=$lt_lt_prog_compiler_pic
68434
68435 # Compiler flag to prevent dynamic linking.
68436 link_static_flag=$lt_lt_prog_compiler_static
68437
68438 # Does compiler simultaneously support -c and -o options?
68439 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68440
68441 # Whether or not to add -lc for building shared libraries.
68442 build_libtool_need_lc=$archive_cmds_need_lc
68443
68444 # Whether or not to disallow shared libs when runtime libs are static.
68445 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68446
68447 # Compiler flag to allow reflexive dlopens.
68448 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68449
68450 # Compiler flag to generate shared objects directly from archives.
68451 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68452
68453 # Whether the compiler copes with passing no objects directly.
68454 compiler_needs_object=$lt_compiler_needs_object
68455
68456 # Create an old-style archive from a shared archive.
68457 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68458
68459 # Create a temporary old-style archive to link instead of a shared archive.
68460 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68461
68462 # Commands used to build a shared archive.
68463 archive_cmds=$lt_archive_cmds
68464 archive_expsym_cmds=$lt_archive_expsym_cmds
68465
68466 # Commands used to build a loadable module if different from building
68467 # a shared archive.
68468 module_cmds=$lt_module_cmds
68469 module_expsym_cmds=$lt_module_expsym_cmds
68470
68471 # Whether we are building with GNU ld or not.
68472 with_gnu_ld=$lt_with_gnu_ld
68473
68474 # Flag that allows shared libraries with undefined symbols to be built.
68475 allow_undefined_flag=$lt_allow_undefined_flag
68476
68477 # Flag that enforces no undefined symbols.
68478 no_undefined_flag=$lt_no_undefined_flag
68479
68480 # Flag to hardcode \$libdir into a binary during linking.
68481 # This must work even if \$libdir does not exist
68482 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68483
68484 # If ld is used when linking, flag to hardcode \$libdir into a binary
68485 # during linking. This must work even if \$libdir does not exist.
68486 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68487
68488 # Whether we need a single "-rpath" flag with a separated argument.
68489 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68490
68491 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68492 # DIR into the resulting binary.
68493 hardcode_direct=$hardcode_direct
68494
68495 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68496 # DIR into the resulting binary and the resulting library dependency is
68497 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68498 # library is relocated.
68499 hardcode_direct_absolute=$hardcode_direct_absolute
68500
68501 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68502 # into the resulting binary.
68503 hardcode_minus_L=$hardcode_minus_L
68504
68505 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68506 # into the resulting binary.
68507 hardcode_shlibpath_var=$hardcode_shlibpath_var
68508
68509 # Set to "yes" if building a shared library automatically hardcodes DIR
68510 # into the library and all subsequent libraries and executables linked
68511 # against it.
68512 hardcode_automatic=$hardcode_automatic
68513
68514 # Set to yes if linker adds runtime paths of dependent libraries
68515 # to runtime path list.
68516 inherit_rpath=$inherit_rpath
68517
68518 # Whether libtool must link a program against all its dependency libraries.
68519 link_all_deplibs=$link_all_deplibs
68520
68521 # Fix the shell variable \$srcfile for the compiler.
68522 fix_srcfile_path=$lt_fix_srcfile_path
68523
68524 # Set to "yes" if exported symbols are required.
68525 always_export_symbols=$always_export_symbols
68526
68527 # The commands to list exported symbols.
68528 export_symbols_cmds=$lt_export_symbols_cmds
68529
68530 # Symbols that should not be listed in the preloaded symbols.
68531 exclude_expsyms=$lt_exclude_expsyms
68532
68533 # Symbols that must always be exported.
68534 include_expsyms=$lt_include_expsyms
68535
68536 # Commands necessary for linking programs (against libraries) with templates.
68537 prelink_cmds=$lt_prelink_cmds
68538
68539 # Specify filename containing input files.
68540 file_list_spec=$lt_file_list_spec
68541
68542 # How to hardcode a shared library path into an executable.
68543 hardcode_action=$hardcode_action
68544
68545 # The directories searched by this compiler when creating a shared library.
68546 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68547
68548 # Dependencies to place before and after the objects being linked to
68549 # create a shared library.
68550 predep_objects=$lt_predep_objects
68551 postdep_objects=$lt_postdep_objects
68552 predeps=$lt_predeps
68553 postdeps=$lt_postdeps
68554
68555 # The library search path used internally by the compiler when linking
68556 # a shared library.
68557 compiler_lib_search_path=$lt_compiler_lib_search_path
68558
68559 # ### END LIBTOOL CONFIG
68560
68561 _LT_EOF
68562
68563 case $host_os in
68564 aix3*)
68565 cat <<\_LT_EOF >> "$cfgfile"
68566 # AIX sometimes has problems with the GCC collect2 program. For some
68567 # reason, if we set the COLLECT_NAMES environment variable, the problems
68568 # vanish in a puff of smoke.
68569 if test "X${COLLECT_NAMES+set}" != Xset; then
68570 COLLECT_NAMES=
68571 export COLLECT_NAMES
68572 fi
68573 _LT_EOF
68574 ;;
68575 esac
68576
68577
68578 ltmain="$ac_aux_dir/ltmain.sh"
68579
68580
68581 # We use sed instead of cat because bash on DJGPP gets confused if
68582 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68583 # text mode, it properly converts lines to CR/LF. This bash problem
68584 # is reportedly fixed, but why not run on old versions too?
68585 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68586 || (rm -f "$cfgfile"; exit 1)
68587
68588 case $xsi_shell in
68589 yes)
68590 cat << \_LT_EOF >> "$cfgfile"
68591
68592 # func_dirname file append nondir_replacement
68593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68594 # otherwise set result to NONDIR_REPLACEMENT.
68595 func_dirname ()
68596 {
68597 case ${1} in
68598 */*) func_dirname_result="${1%/*}${2}" ;;
68599 * ) func_dirname_result="${3}" ;;
68600 esac
68601 }
68602
68603 # func_basename file
68604 func_basename ()
68605 {
68606 func_basename_result="${1##*/}"
68607 }
68608
68609 # func_dirname_and_basename file append nondir_replacement
68610 # perform func_basename and func_dirname in a single function
68611 # call:
68612 # dirname: Compute the dirname of FILE. If nonempty,
68613 # add APPEND to the result, otherwise set result
68614 # to NONDIR_REPLACEMENT.
68615 # value returned in "$func_dirname_result"
68616 # basename: Compute filename of FILE.
68617 # value retuned in "$func_basename_result"
68618 # Implementation must be kept synchronized with func_dirname
68619 # and func_basename. For efficiency, we do not delegate to
68620 # those functions but instead duplicate the functionality here.
68621 func_dirname_and_basename ()
68622 {
68623 case ${1} in
68624 */*) func_dirname_result="${1%/*}${2}" ;;
68625 * ) func_dirname_result="${3}" ;;
68626 esac
68627 func_basename_result="${1##*/}"
68628 }
68629
68630 # func_stripname prefix suffix name
68631 # strip PREFIX and SUFFIX off of NAME.
68632 # PREFIX and SUFFIX must not contain globbing or regex special
68633 # characters, hashes, percent signs, but SUFFIX may contain a leading
68634 # dot (in which case that matches only a dot).
68635 func_stripname ()
68636 {
68637 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68638 # positional parameters, so assign one to ordinary parameter first.
68639 func_stripname_result=${3}
68640 func_stripname_result=${func_stripname_result#"${1}"}
68641 func_stripname_result=${func_stripname_result%"${2}"}
68642 }
68643
68644 # func_opt_split
68645 func_opt_split ()
68646 {
68647 func_opt_split_opt=${1%%=*}
68648 func_opt_split_arg=${1#*=}
68649 }
68650
68651 # func_lo2o object
68652 func_lo2o ()
68653 {
68654 case ${1} in
68655 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68656 *) func_lo2o_result=${1} ;;
68657 esac
68658 }
68659
68660 # func_xform libobj-or-source
68661 func_xform ()
68662 {
68663 func_xform_result=${1%.*}.lo
68664 }
68665
68666 # func_arith arithmetic-term...
68667 func_arith ()
68668 {
68669 func_arith_result=$(( $* ))
68670 }
68671
68672 # func_len string
68673 # STRING may not start with a hyphen.
68674 func_len ()
68675 {
68676 func_len_result=${#1}
68677 }
68678
68679 _LT_EOF
68680 ;;
68681 *) # Bourne compatible functions.
68682 cat << \_LT_EOF >> "$cfgfile"
68683
68684 # func_dirname file append nondir_replacement
68685 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68686 # otherwise set result to NONDIR_REPLACEMENT.
68687 func_dirname ()
68688 {
68689 # Extract subdirectory from the argument.
68690 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68691 if test "X$func_dirname_result" = "X${1}"; then
68692 func_dirname_result="${3}"
68693 else
68694 func_dirname_result="$func_dirname_result${2}"
68695 fi
68696 }
68697
68698 # func_basename file
68699 func_basename ()
68700 {
68701 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68702 }
68703
68704
68705 # func_stripname prefix suffix name
68706 # strip PREFIX and SUFFIX off of NAME.
68707 # PREFIX and SUFFIX must not contain globbing or regex special
68708 # characters, hashes, percent signs, but SUFFIX may contain a leading
68709 # dot (in which case that matches only a dot).
68710 # func_strip_suffix prefix name
68711 func_stripname ()
68712 {
68713 case ${2} in
68714 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68715 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68716 esac
68717 }
68718
68719 # sed scripts:
68720 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68721 my_sed_long_arg='1s/^-[^=]*=//'
68722
68723 # func_opt_split
68724 func_opt_split ()
68725 {
68726 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68727 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68728 }
68729
68730 # func_lo2o object
68731 func_lo2o ()
68732 {
68733 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68734 }
68735
68736 # func_xform libobj-or-source
68737 func_xform ()
68738 {
68739 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68740 }
68741
68742 # func_arith arithmetic-term...
68743 func_arith ()
68744 {
68745 func_arith_result=`expr "$@"`
68746 }
68747
68748 # func_len string
68749 # STRING may not start with a hyphen.
68750 func_len ()
68751 {
68752 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68753 }
68754
68755 _LT_EOF
68756 esac
68757
68758 case $lt_shell_append in
68759 yes)
68760 cat << \_LT_EOF >> "$cfgfile"
68761
68762 # func_append var value
68763 # Append VALUE to the end of shell variable VAR.
68764 func_append ()
68765 {
68766 eval "$1+=\$2"
68767 }
68768 _LT_EOF
68769 ;;
68770 *)
68771 cat << \_LT_EOF >> "$cfgfile"
68772
68773 # func_append var value
68774 # Append VALUE to the end of shell variable VAR.
68775 func_append ()
68776 {
68777 eval "$1=\$$1\$2"
68778 }
68779
68780 _LT_EOF
68781 ;;
68782 esac
68783
68784
68785 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68786 || (rm -f "$cfgfile"; exit 1)
68787
68788 mv -f "$cfgfile" "$ofile" ||
68789 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68790 chmod +x "$ofile"
68791
68792
68793 cat <<_LT_EOF >> "$ofile"
68794
68795 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68796
68797 # The linker used to build libraries.
68798 LD=$lt_LD_CXX
68799
68800 # How to create reloadable object files.
68801 reload_flag=$lt_reload_flag_CXX
68802 reload_cmds=$lt_reload_cmds_CXX
68803
68804 # Commands used to build an old-style archive.
68805 old_archive_cmds=$lt_old_archive_cmds_CXX
68806
68807 # A language specific compiler.
68808 CC=$lt_compiler_CXX
68809
68810 # Is the compiler the GNU compiler?
68811 with_gcc=$GCC_CXX
68812
68813 # Compiler flag to turn off builtin functions.
68814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68815
68816 # How to pass a linker flag through the compiler.
68817 wl=$lt_lt_prog_compiler_wl_CXX
68818
68819 # Additional compiler flags for building library objects.
68820 pic_flag=$lt_lt_prog_compiler_pic_CXX
68821
68822 # Compiler flag to prevent dynamic linking.
68823 link_static_flag=$lt_lt_prog_compiler_static_CXX
68824
68825 # Does compiler simultaneously support -c and -o options?
68826 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68827
68828 # Whether or not to add -lc for building shared libraries.
68829 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68830
68831 # Whether or not to disallow shared libs when runtime libs are static.
68832 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68833
68834 # Compiler flag to allow reflexive dlopens.
68835 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68836
68837 # Compiler flag to generate shared objects directly from archives.
68838 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68839
68840 # Whether the compiler copes with passing no objects directly.
68841 compiler_needs_object=$lt_compiler_needs_object_CXX
68842
68843 # Create an old-style archive from a shared archive.
68844 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68845
68846 # Create a temporary old-style archive to link instead of a shared archive.
68847 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68848
68849 # Commands used to build a shared archive.
68850 archive_cmds=$lt_archive_cmds_CXX
68851 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68852
68853 # Commands used to build a loadable module if different from building
68854 # a shared archive.
68855 module_cmds=$lt_module_cmds_CXX
68856 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68857
68858 # Whether we are building with GNU ld or not.
68859 with_gnu_ld=$lt_with_gnu_ld_CXX
68860
68861 # Flag that allows shared libraries with undefined symbols to be built.
68862 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68863
68864 # Flag that enforces no undefined symbols.
68865 no_undefined_flag=$lt_no_undefined_flag_CXX
68866
68867 # Flag to hardcode \$libdir into a binary during linking.
68868 # This must work even if \$libdir does not exist
68869 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68870
68871 # If ld is used when linking, flag to hardcode \$libdir into a binary
68872 # during linking. This must work even if \$libdir does not exist.
68873 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68874
68875 # Whether we need a single "-rpath" flag with a separated argument.
68876 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68877
68878 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68879 # DIR into the resulting binary.
68880 hardcode_direct=$hardcode_direct_CXX
68881
68882 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68883 # DIR into the resulting binary and the resulting library dependency is
68884 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68885 # library is relocated.
68886 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68887
68888 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68889 # into the resulting binary.
68890 hardcode_minus_L=$hardcode_minus_L_CXX
68891
68892 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68893 # into the resulting binary.
68894 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68895
68896 # Set to "yes" if building a shared library automatically hardcodes DIR
68897 # into the library and all subsequent libraries and executables linked
68898 # against it.
68899 hardcode_automatic=$hardcode_automatic_CXX
68900
68901 # Set to yes if linker adds runtime paths of dependent libraries
68902 # to runtime path list.
68903 inherit_rpath=$inherit_rpath_CXX
68904
68905 # Whether libtool must link a program against all its dependency libraries.
68906 link_all_deplibs=$link_all_deplibs_CXX
68907
68908 # Fix the shell variable \$srcfile for the compiler.
68909 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68910
68911 # Set to "yes" if exported symbols are required.
68912 always_export_symbols=$always_export_symbols_CXX
68913
68914 # The commands to list exported symbols.
68915 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68916
68917 # Symbols that should not be listed in the preloaded symbols.
68918 exclude_expsyms=$lt_exclude_expsyms_CXX
68919
68920 # Symbols that must always be exported.
68921 include_expsyms=$lt_include_expsyms_CXX
68922
68923 # Commands necessary for linking programs (against libraries) with templates.
68924 prelink_cmds=$lt_prelink_cmds_CXX
68925
68926 # Specify filename containing input files.
68927 file_list_spec=$lt_file_list_spec_CXX
68928
68929 # How to hardcode a shared library path into an executable.
68930 hardcode_action=$hardcode_action_CXX
68931
68932 # The directories searched by this compiler when creating a shared library.
68933 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68934
68935 # Dependencies to place before and after the objects being linked to
68936 # create a shared library.
68937 predep_objects=$lt_predep_objects_CXX
68938 postdep_objects=$lt_postdep_objects_CXX
68939 predeps=$lt_predeps_CXX
68940 postdeps=$lt_postdeps_CXX
68941
68942 # The library search path used internally by the compiler when linking
68943 # a shared library.
68944 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68945
68946 # ### END LIBTOOL TAG CONFIG: CXX
68947 _LT_EOF
68948
68949 ;;
68950 "include/gstdint.h":C)
68951 if test "$GCC" = yes; then
68952 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68953 else
68954 echo "/* generated for $CC */" > tmp-stdint.h
68955 fi
68956
68957 sed 's/^ *//' >> tmp-stdint.h <<EOF
68958
68959 #ifndef GCC_GENERATED_STDINT_H
68960 #define GCC_GENERATED_STDINT_H 1
68961
68962 #include <sys/types.h>
68963 EOF
68964
68965 if test "$acx_cv_header_stdint" != stdint.h; then
68966 echo "#include <stddef.h>" >> tmp-stdint.h
68967 fi
68968 if test "$acx_cv_header_stdint" != stddef.h; then
68969 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68970 fi
68971
68972 sed 's/^ *//' >> tmp-stdint.h <<EOF
68973 /* glibc uses these symbols as guards to prevent redefinitions. */
68974 #ifdef __int8_t_defined
68975 #define _INT8_T
68976 #define _INT16_T
68977 #define _INT32_T
68978 #endif
68979 #ifdef __uint32_t_defined
68980 #define _UINT32_T
68981 #endif
68982
68983 EOF
68984
68985 # ----------------- done header, emit basic int types -------------
68986 if test "$acx_cv_header_stdint" = stddef.h; then
68987 sed 's/^ *//' >> tmp-stdint.h <<EOF
68988
68989 #ifndef _UINT8_T
68990 #define _UINT8_T
68991 #ifndef __uint8_t_defined
68992 #define __uint8_t_defined
68993 #ifndef uint8_t
68994 typedef unsigned $acx_cv_type_int8_t uint8_t;
68995 #endif
68996 #endif
68997 #endif
68998
68999 #ifndef _UINT16_T
69000 #define _UINT16_T
69001 #ifndef __uint16_t_defined
69002 #define __uint16_t_defined
69003 #ifndef uint16_t
69004 typedef unsigned $acx_cv_type_int16_t uint16_t;
69005 #endif
69006 #endif
69007 #endif
69008
69009 #ifndef _UINT32_T
69010 #define _UINT32_T
69011 #ifndef __uint32_t_defined
69012 #define __uint32_t_defined
69013 #ifndef uint32_t
69014 typedef unsigned $acx_cv_type_int32_t uint32_t;
69015 #endif
69016 #endif
69017 #endif
69018
69019 #ifndef _INT8_T
69020 #define _INT8_T
69021 #ifndef __int8_t_defined
69022 #define __int8_t_defined
69023 #ifndef int8_t
69024 typedef $acx_cv_type_int8_t int8_t;
69025 #endif
69026 #endif
69027 #endif
69028
69029 #ifndef _INT16_T
69030 #define _INT16_T
69031 #ifndef __int16_t_defined
69032 #define __int16_t_defined
69033 #ifndef int16_t
69034 typedef $acx_cv_type_int16_t int16_t;
69035 #endif
69036 #endif
69037 #endif
69038
69039 #ifndef _INT32_T
69040 #define _INT32_T
69041 #ifndef __int32_t_defined
69042 #define __int32_t_defined
69043 #ifndef int32_t
69044 typedef $acx_cv_type_int32_t int32_t;
69045 #endif
69046 #endif
69047 #endif
69048 EOF
69049 elif test "$ac_cv_type_u_int32_t" = yes; then
69050 sed 's/^ *//' >> tmp-stdint.h <<EOF
69051
69052 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69053 #ifndef _INT8_T
69054 #define _INT8_T
69055 #endif
69056 #ifndef _INT16_T
69057 #define _INT16_T
69058 #endif
69059 #ifndef _INT32_T
69060 #define _INT32_T
69061 #endif
69062
69063 #ifndef _UINT8_T
69064 #define _UINT8_T
69065 #ifndef __uint8_t_defined
69066 #define __uint8_t_defined
69067 #ifndef uint8_t
69068 typedef u_int8_t uint8_t;
69069 #endif
69070 #endif
69071 #endif
69072
69073 #ifndef _UINT16_T
69074 #define _UINT16_T
69075 #ifndef __uint16_t_defined
69076 #define __uint16_t_defined
69077 #ifndef uint16_t
69078 typedef u_int16_t uint16_t;
69079 #endif
69080 #endif
69081 #endif
69082
69083 #ifndef _UINT32_T
69084 #define _UINT32_T
69085 #ifndef __uint32_t_defined
69086 #define __uint32_t_defined
69087 #ifndef uint32_t
69088 typedef u_int32_t uint32_t;
69089 #endif
69090 #endif
69091 #endif
69092 EOF
69093 else
69094 sed 's/^ *//' >> tmp-stdint.h <<EOF
69095
69096 /* Some systems have guard macros to prevent redefinitions, define them. */
69097 #ifndef _INT8_T
69098 #define _INT8_T
69099 #endif
69100 #ifndef _INT16_T
69101 #define _INT16_T
69102 #endif
69103 #ifndef _INT32_T
69104 #define _INT32_T
69105 #endif
69106 #ifndef _UINT8_T
69107 #define _UINT8_T
69108 #endif
69109 #ifndef _UINT16_T
69110 #define _UINT16_T
69111 #endif
69112 #ifndef _UINT32_T
69113 #define _UINT32_T
69114 #endif
69115 EOF
69116 fi
69117
69118 # ------------- done basic int types, emit int64_t types ------------
69119 if test "$ac_cv_type_uint64_t" = yes; then
69120 sed 's/^ *//' >> tmp-stdint.h <<EOF
69121
69122 /* system headers have good uint64_t and int64_t */
69123 #ifndef _INT64_T
69124 #define _INT64_T
69125 #endif
69126 #ifndef _UINT64_T
69127 #define _UINT64_T
69128 #endif
69129 EOF
69130 elif test "$ac_cv_type_u_int64_t" = yes; then
69131 sed 's/^ *//' >> tmp-stdint.h <<EOF
69132
69133 /* system headers have an u_int64_t (and int64_t) */
69134 #ifndef _INT64_T
69135 #define _INT64_T
69136 #endif
69137 #ifndef _UINT64_T
69138 #define _UINT64_T
69139 #ifndef __uint64_t_defined
69140 #define __uint64_t_defined
69141 #ifndef uint64_t
69142 typedef u_int64_t uint64_t;
69143 #endif
69144 #endif
69145 #endif
69146 EOF
69147 elif test -n "$acx_cv_type_int64_t"; then
69148 sed 's/^ *//' >> tmp-stdint.h <<EOF
69149
69150 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69151 #ifndef _INT64_T
69152 #define _INT64_T
69153 #ifndef int64_t
69154 typedef $acx_cv_type_int64_t int64_t;
69155 #endif
69156 #endif
69157 #ifndef _UINT64_T
69158 #define _UINT64_T
69159 #ifndef __uint64_t_defined
69160 #define __uint64_t_defined
69161 #ifndef uint64_t
69162 typedef unsigned $acx_cv_type_int64_t uint64_t;
69163 #endif
69164 #endif
69165 #endif
69166 EOF
69167 else
69168 sed 's/^ *//' >> tmp-stdint.h <<EOF
69169
69170 /* some common heuristics for int64_t, using compiler-specific tests */
69171 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69172 #ifndef _INT64_T
69173 #define _INT64_T
69174 #ifndef __int64_t_defined
69175 #ifndef int64_t
69176 typedef long long int64_t;
69177 #endif
69178 #endif
69179 #endif
69180 #ifndef _UINT64_T
69181 #define _UINT64_T
69182 #ifndef uint64_t
69183 typedef unsigned long long uint64_t;
69184 #endif
69185 #endif
69186
69187 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69188 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69189 does not implement __extension__. But that compiler doesn't define
69190 __GNUC_MINOR__. */
69191 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69192 # define __extension__
69193 # endif
69194
69195 # ifndef _INT64_T
69196 # define _INT64_T
69197 # ifndef int64_t
69198 __extension__ typedef long long int64_t;
69199 # endif
69200 # endif
69201 # ifndef _UINT64_T
69202 # define _UINT64_T
69203 # ifndef uint64_t
69204 __extension__ typedef unsigned long long uint64_t;
69205 # endif
69206 # endif
69207
69208 #elif !defined __STRICT_ANSI__
69209 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69210
69211 # ifndef _INT64_T
69212 # define _INT64_T
69213 # ifndef int64_t
69214 typedef __int64 int64_t;
69215 # endif
69216 # endif
69217 # ifndef _UINT64_T
69218 # define _UINT64_T
69219 # ifndef uint64_t
69220 typedef unsigned __int64 uint64_t;
69221 # endif
69222 # endif
69223 # endif /* compiler */
69224
69225 #endif /* ANSI version */
69226 EOF
69227 fi
69228
69229 # ------------- done int64_t types, emit intptr types ------------
69230 if test "$ac_cv_type_uintptr_t" != yes; then
69231 sed 's/^ *//' >> tmp-stdint.h <<EOF
69232
69233 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69234 #ifndef __uintptr_t_defined
69235 #ifndef uintptr_t
69236 typedef u$acx_cv_type_intptr_t uintptr_t;
69237 #endif
69238 #endif
69239 #ifndef __intptr_t_defined
69240 #ifndef intptr_t
69241 typedef $acx_cv_type_intptr_t intptr_t;
69242 #endif
69243 #endif
69244 EOF
69245 fi
69246
69247 # ------------- done intptr types, emit int_least types ------------
69248 if test "$ac_cv_type_int_least32_t" != yes; then
69249 sed 's/^ *//' >> tmp-stdint.h <<EOF
69250
69251 /* Define int_least types */
69252 typedef int8_t int_least8_t;
69253 typedef int16_t int_least16_t;
69254 typedef int32_t int_least32_t;
69255 #ifdef _INT64_T
69256 typedef int64_t int_least64_t;
69257 #endif
69258
69259 typedef uint8_t uint_least8_t;
69260 typedef uint16_t uint_least16_t;
69261 typedef uint32_t uint_least32_t;
69262 #ifdef _UINT64_T
69263 typedef uint64_t uint_least64_t;
69264 #endif
69265 EOF
69266 fi
69267
69268 # ------------- done intptr types, emit int_fast types ------------
69269 if test "$ac_cv_type_int_fast32_t" != yes; then
69270 sed 's/^ *//' >> tmp-stdint.h <<EOF
69271
69272 /* Define int_fast types. short is often slow */
69273 typedef int8_t int_fast8_t;
69274 typedef int int_fast16_t;
69275 typedef int32_t int_fast32_t;
69276 #ifdef _INT64_T
69277 typedef int64_t int_fast64_t;
69278 #endif
69279
69280 typedef uint8_t uint_fast8_t;
69281 typedef unsigned int uint_fast16_t;
69282 typedef uint32_t uint_fast32_t;
69283 #ifdef _UINT64_T
69284 typedef uint64_t uint_fast64_t;
69285 #endif
69286 EOF
69287 fi
69288
69289 if test "$ac_cv_type_uintmax_t" != yes; then
69290 sed 's/^ *//' >> tmp-stdint.h <<EOF
69291
69292 /* Define intmax based on what we found */
69293 #ifndef intmax_t
69294 #ifdef _INT64_T
69295 typedef int64_t intmax_t;
69296 #else
69297 typedef long intmax_t;
69298 #endif
69299 #endif
69300 #ifndef uintmax_t
69301 #ifdef _UINT64_T
69302 typedef uint64_t uintmax_t;
69303 #else
69304 typedef unsigned long uintmax_t;
69305 #endif
69306 #endif
69307 EOF
69308 fi
69309
69310 sed 's/^ *//' >> tmp-stdint.h <<EOF
69311
69312 #endif /* GCC_GENERATED_STDINT_H */
69313 EOF
69314
69315 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69316 rm -f tmp-stdint.h
69317 else
69318 mv -f tmp-stdint.h include/gstdint.h
69319 fi
69320
69321 ;;
69322 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69323 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69324 "include/Makefile":F) cat > vpsed$$ << \_EOF
69325 s!`test -f '$<' || echo '$(srcdir)/'`!!
69326 _EOF
69327 sed -f vpsed$$ $ac_file > tmp$$
69328 mv tmp$$ $ac_file
69329 rm vpsed$$
69330 echo 'MULTISUBDIR =' >> $ac_file
69331 ml_norecursion=yes
69332 . ${multi_basedir}/config-ml.in
69333 { ml_norecursion=; unset ml_norecursion;}
69334 ;;
69335 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69336 s!`test -f '$<' || echo '$(srcdir)/'`!!
69337 _EOF
69338 sed -f vpsed$$ $ac_file > tmp$$
69339 mv tmp$$ $ac_file
69340 rm vpsed$$
69341 echo 'MULTISUBDIR =' >> $ac_file
69342 ml_norecursion=yes
69343 . ${multi_basedir}/config-ml.in
69344 { ml_norecursion=; unset ml_norecursion;}
69345 ;;
69346 "python/Makefile":F) cat > vpsed$$ << \_EOF
69347 s!`test -f '$<' || echo '$(srcdir)/'`!!
69348 _EOF
69349 sed -f vpsed$$ $ac_file > tmp$$
69350 mv tmp$$ $ac_file
69351 rm vpsed$$
69352 echo 'MULTISUBDIR =' >> $ac_file
69353 ml_norecursion=yes
69354 . ${multi_basedir}/config-ml.in
69355 { ml_norecursion=; unset ml_norecursion;}
69356 ;;
69357 "src/Makefile":F) cat > vpsed$$ << \_EOF
69358 s!`test -f '$<' || echo '$(srcdir)/'`!!
69359 _EOF
69360 sed -f vpsed$$ $ac_file > tmp$$
69361 mv tmp$$ $ac_file
69362 rm vpsed$$
69363 echo 'MULTISUBDIR =' >> $ac_file
69364 ml_norecursion=yes
69365 . ${multi_basedir}/config-ml.in
69366 { ml_norecursion=; unset ml_norecursion;}
69367 ;;
69368 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69369 s!`test -f '$<' || echo '$(srcdir)/'`!!
69370 _EOF
69371 sed -f vpsed$$ $ac_file > tmp$$
69372 mv tmp$$ $ac_file
69373 rm vpsed$$
69374 echo 'MULTISUBDIR =' >> $ac_file
69375 ml_norecursion=yes
69376 . ${multi_basedir}/config-ml.in
69377 { ml_norecursion=; unset ml_norecursion;}
69378 ;;
69379 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69380 s!`test -f '$<' || echo '$(srcdir)/'`!!
69381 _EOF
69382 sed -f vpsed$$ $ac_file > tmp$$
69383 mv tmp$$ $ac_file
69384 rm vpsed$$
69385 echo 'MULTISUBDIR =' >> $ac_file
69386 ml_norecursion=yes
69387 . ${multi_basedir}/config-ml.in
69388 { ml_norecursion=; unset ml_norecursion;}
69389 ;;
69390 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69391 s!`test -f '$<' || echo '$(srcdir)/'`!!
69392 _EOF
69393 sed -f vpsed$$ $ac_file > tmp$$
69394 mv tmp$$ $ac_file
69395 rm vpsed$$
69396 echo 'MULTISUBDIR =' >> $ac_file
69397 ml_norecursion=yes
69398 . ${multi_basedir}/config-ml.in
69399 { ml_norecursion=; unset ml_norecursion;}
69400 ;;
69401 "po/Makefile":F) cat > vpsed$$ << \_EOF
69402 s!`test -f '$<' || echo '$(srcdir)/'`!!
69403 _EOF
69404 sed -f vpsed$$ $ac_file > tmp$$
69405 mv tmp$$ $ac_file
69406 rm vpsed$$
69407 echo 'MULTISUBDIR =' >> $ac_file
69408 ml_norecursion=yes
69409 . ${multi_basedir}/config-ml.in
69410 { ml_norecursion=; unset ml_norecursion;}
69411 ;;
69412 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69413 s!`test -f '$<' || echo '$(srcdir)/'`!!
69414 _EOF
69415 sed -f vpsed$$ $ac_file > tmp$$
69416 mv tmp$$ $ac_file
69417 rm vpsed$$
69418 echo 'MULTISUBDIR =' >> $ac_file
69419 ml_norecursion=yes
69420 . ${multi_basedir}/config-ml.in
69421 { ml_norecursion=; unset ml_norecursion;}
69422 ;;
69423 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69424
69425 esac
69426 done # for ac_tag
69427
69428
69429 as_fn_exit 0
69430 _ACEOF
69431 ac_clean_files=$ac_clean_files_save
69432
69433 test $ac_write_fail = 0 ||
69434 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69435
69436
69437 # configure is writing to config.log, and then calls config.status.
69438 # config.status does its own redirection, appending to config.log.
69439 # Unfortunately, on DOS this fails, as config.log is still kept open
69440 # by configure, so config.status won't be able to write to it; its
69441 # output is simply discarded. So we exec the FD to /dev/null,
69442 # effectively closing config.log, so it can be properly (re)opened and
69443 # appended to by config.status. When coming back to configure, we
69444 # need to make the FD available again.
69445 if test "$no_create" != yes; then
69446 ac_cs_success=:
69447 ac_config_status_args=
69448 test "$silent" = yes &&
69449 ac_config_status_args="$ac_config_status_args --quiet"
69450 exec 5>/dev/null
69451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69452 exec 5>>config.log
69453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69454 # would make configure fail if this is the last instruction.
69455 $ac_cs_success || as_fn_exit $?
69456 fi
69457 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69459 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69460 fi
69461