target.def (pragma_parse): Use DEFHOOK.
[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/ios.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 LIBSUPCXX_PICFLAGS
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 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
632 ENABLE_SYMVERS_FALSE
633 ENABLE_SYMVERS_TRUE
634 port_specific_symbol_files
635 SYMVER_FILE
636 LTLIBICONV
637 LIBICONV
638 OPT_LDFLAGS
639 SECTION_LDFLAGS
640 GLIBCXX_LIBS
641 EXTRA_CXX_FLAGS
642 ENABLE_PARALLEL_FALSE
643 ENABLE_PARALLEL_TRUE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
646 DEBUG_FLAGS
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
657 C_INCLUDE_DIR
658 ALLOCATOR_NAME
659 ALLOCATOR_H
660 CLOCALE_INTERNAL_H
661 CLOCALE_CC
662 CTIME_CC
663 CTIME_H
664 CNUMERIC_CC
665 CMONEY_CC
666 CMESSAGES_CC
667 CCTYPE_CC
668 CCOLLATE_CC
669 CCODECVT_CC
670 CMESSAGES_H
671 CLOCALE_H
672 USE_NLS
673 glibcxx_localedir
674 glibcxx_POFILES
675 glibcxx_MOFILES
676 check_msgfmt
677 BASIC_FILE_CC
678 BASIC_FILE_H
679 CSTDIO_H
680 SECTION_FLAGS
681 WERROR
682 glibcxx_thread_h
683 glibcxx_PCHFLAGS
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
686 GLIBCXX_HOSTED_FALSE
687 GLIBCXX_HOSTED_TRUE
688 enable_static
689 enable_shared
690 CXXCPP
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 OBJDUMP
697 NM
698 ac_ct_DUMPBIN
699 DUMPBIN
700 LD
701 FGREP
702 SED
703 LIBTOOL
704 EGREP
705 GREP
706 CPP
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
710 RANLIB
711 AR
712 AS
713 LN_S
714 toplevel_srcdir
715 glibcxx_srcdir
716 glibcxx_builddir
717 ac_ct_CXX
718 CXXFLAGS
719 CXX
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 multi_basedir
763 libtool_VERSION
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_multilib
806 with_target_subdir
807 with_cross_host
808 with_newlib
809 enable_maintainer_mode
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 enable_libtool_lock
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
818 enable_libstdcxx_pch
819 enable_cstdio
820 enable_clocale
821 enable_nls
822 enable_libstdcxx_allocator
823 enable_cheaders
824 enable_long_long
825 enable_wchar_t
826 enable_c99
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
830 enable_cxx_flags
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
833 enable_tls
834 enable_rpath
835 with_libiconv_prefix
836 with_system_libunwind
837 enable_linux_futex
838 enable_symvers
839 enable_visibility
840 with_gxx_include_dir
841 enable_version_specific_runtime_libs
842 '
843 ac_precious_vars='build_alias
844 host_alias
845 target_alias
846 CC
847 CFLAGS
848 LDFLAGS
849 LIBS
850 CPPFLAGS
851 CXX
852 CXXFLAGS
853 CCC
854 CPP
855 CXXCPP'
856
857
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/null
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
879
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\$ac_option
913 ac_prev=
914 continue
915 fi
916
917 case $ac_option in
918 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919 *) ac_optarg=yes ;;
920 esac
921
922 # Accept the important Cygnus configure options, so we can diagnose typos.
923
924 case $ac_dashdash$ac_option in
925 --)
926 ac_dashdash=yes ;;
927
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
929 ac_prev=bindir ;;
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931 bindir=$ac_optarg ;;
932
933 -build | --build | --buil | --bui | --bu)
934 ac_prev=build_alias ;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias=$ac_optarg ;;
937
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev=cache_file ;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file=$ac_optarg ;;
944
945 --config-cache | -C)
946 cache_file=config.cache ;;
947
948 -datadir | --datadir | --datadi | --datad)
949 ac_prev=datadir ;;
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir=$ac_optarg ;;
952
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev=datarootdir ;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir=$ac_optarg ;;
959
960 -disable-* | --disable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
968 *"
969 "enable_$ac_useropt"
970 "*) ;;
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
973 esac
974 eval enable_$ac_useropt=no ;;
975
976 -docdir | --docdir | --docdi | --doc | --do)
977 ac_prev=docdir ;;
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 docdir=$ac_optarg ;;
980
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982 ac_prev=dvidir ;;
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 dvidir=$ac_optarg ;;
985
986 -enable-* | --enable-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error "invalid feature name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
994 *"
995 "enable_$ac_useropt"
996 "*) ;;
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
999 esac
1000 eval enable_$ac_useropt=\$ac_optarg ;;
1001
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev=exec_prefix ;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix=$ac_optarg ;;
1010
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1013 with_gas=yes ;;
1014
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help=long ;;
1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018 ac_init_help=recursive ;;
1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020 ac_init_help=short ;;
1021
1022 -host | --host | --hos | --ho)
1023 ac_prev=host_alias ;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias=$ac_optarg ;;
1026
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 ac_prev=htmldir ;;
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 | --ht=*)
1031 htmldir=$ac_optarg ;;
1032
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev=includedir ;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir=$ac_optarg ;;
1039
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 ac_prev=infodir ;;
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir=$ac_optarg ;;
1044
1045 -libdir | --libdir | --libdi | --libd)
1046 ac_prev=libdir ;;
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir=$ac_optarg ;;
1049
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev=libexecdir ;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir=$ac_optarg ;;
1056
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev=localedir ;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir=$ac_optarg ;;
1061
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev=localstatedir ;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir=$ac_optarg ;;
1068
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 ac_prev=mandir ;;
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir=$ac_optarg ;;
1073
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1076 with_fp=no ;;
1077
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1080 no_create=yes ;;
1081
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084 no_recursion=yes ;;
1085
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev=oldincludedir ;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir=$ac_optarg ;;
1094
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 ac_prev=prefix ;;
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix=$ac_optarg ;;
1099
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev=program_prefix ;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix=$ac_optarg ;;
1106
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev=program_suffix ;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix=$ac_optarg ;;
1113
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev=program_transform_name ;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name=$ac_optarg ;;
1130
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 ac_prev=pdfdir ;;
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir=$ac_optarg ;;
1135
1136 -psdir | --psdir | --psdi | --psd | --ps)
1137 ac_prev=psdir ;;
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139 psdir=$ac_optarg ;;
1140
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1143 silent=yes ;;
1144
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 ac_prev=sbindir ;;
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 | --sbi=* | --sb=*)
1149 sbindir=$ac_optarg ;;
1150
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1154 | --sha | --sh)
1155 ac_prev=sharedstatedir ;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 | --sha=* | --sh=*)
1160 sharedstatedir=$ac_optarg ;;
1161
1162 -site | --site | --sit)
1163 ac_prev=site ;;
1164 -site=* | --site=* | --sit=*)
1165 site=$ac_optarg ;;
1166
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 ac_prev=srcdir ;;
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir=$ac_optarg ;;
1171
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev=sysconfdir ;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir=$ac_optarg ;;
1178
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev=target_alias ;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias=$ac_optarg ;;
1183
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 verbose=yes ;;
1186
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version=: ;;
1189
1190 -with-* | --with-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1198 *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1203 esac
1204 eval with_$ac_useropt=\$ac_optarg ;;
1205
1206 -without-* | --without-*)
1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1214 *"
1215 "with_$ac_useropt"
1216 "*) ;;
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1219 esac
1220 eval with_$ac_useropt=no ;;
1221
1222 --x)
1223 # Obsolete; use --with-x.
1224 with_x=yes ;;
1225
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev=x_includes ;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes=$ac_optarg ;;
1232
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev=x_libraries ;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries=$ac_optarg ;;
1239
1240 -*) as_fn_error "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information."
1242 ;;
1243
1244 *=*)
1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1250 esac
1251 eval $ac_envvar=\$ac_optarg
1252 export $ac_envvar ;;
1253
1254 *)
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260 ;;
1261
1262 esac
1263 done
1264
1265 if test -n "$ac_prev"; then
1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error "missing argument to $ac_option"
1268 fi
1269
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1272 no) ;;
1273 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275 esac
1276 fi
1277
1278 # Check all directory arguments for consistency.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1283 do
1284 eval ac_val=\$$ac_var
1285 # Remove trailing slashes.
1286 case $ac_val in
1287 */ )
1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\$ac_val;;
1290 esac
1291 # Be sure to have absolute directory names.
1292 case $ac_val in
1293 [\\/$]* | ?:[\\/]* ) continue;;
1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295 esac
1296 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1298
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1305
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308 if test "x$build_alias" = x; then
1309 cross_compiling=maybe
1310 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311 If a cross compiler is detected then cross compile mode will be used." >&2
1312 elif test "x$build_alias" != "x$host_alias"; then
1313 cross_compiling=yes
1314 fi
1315 fi
1316
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
1320 test "$silent" = yes && exec 6>/dev/null
1321
1322
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error "pwd does not report name of working directory"
1329
1330
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 s//\1/
1343 q
1344 }
1345 /^X\(\/\/\)[^/].*/{
1346 s//\1/
1347 q
1348 }
1349 /^X\(\/\/\)$/{
1350 s//\1/
1351 q
1352 }
1353 /^X\(\/\).*/{
1354 s//\1/
1355 q
1356 }
1357 s/.*/./; q'`
1358 srcdir=$ac_confdir
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 srcdir=..
1361 fi
1362 else
1363 ac_srcdir_defaulted=no
1364 fi
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1368 fi
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1372 pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 srcdir=.
1376 fi
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_${ac_var}_value=\$${ac_var}
1386 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1389
1390 #
1391 # Report the --help message.
1392 #
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1396 cat <<_ACEOF
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1398
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1400
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1403
1404 Defaults for the options are specified in brackets.
1405
1406 Configuration:
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 [PREFIX]
1422
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1427
1428 For better control, use the options below.
1429
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1450 _ACEOF
1451
1452 cat <<\_ACEOF
1453
1454 Program names:
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1458
1459 System types:
1460 --build=BUILD configure for building on BUILD [guessed]
1461 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1462 --target=TARGET configure for building compilers for TARGET [HOST]
1463 _ACEOF
1464 fi
1465
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive ) echo "Configuration of package-unused version-unused:";;
1469 esac
1470 cat <<\_ACEOF
1471
1472 Optional Features:
1473 --disable-option-checking ignore unrecognized --enable/--with options
1474 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1475 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1476 --enable-multilib build many library versions (default)
1477 --enable-maintainer-mode enable make rules and dependencies not useful
1478 (and sometimes confusing) to the casual installer
1479 --enable-shared[=PKGS] build shared libraries [default=yes]
1480 --enable-static[=PKGS] build static libraries [default=yes]
1481 --enable-fast-install[=PKGS]
1482 optimize for fast installation [default=yes]
1483 --disable-libtool-lock avoid locking (might break parallel builds)
1484 --disable-hosted-libstdcxx
1485 only build freestanding C++ runtime support
1486 --enable-sjlj-exceptions
1487 force use of builtin_setjmp for exceptions
1488 [default=auto]
1489 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1490 [default=$is_hosted]
1491 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1492 --enable-clocale[=MODEL]
1493 use MODEL for target locale package [default=auto]
1494 --enable-nls use Native Language Support (default)
1495 --enable-libstdcxx-allocator=KIND
1496 use KIND for target std::allocator base
1497 [default=auto]
1498 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1499 --enable-long-long enable template specializations for 'long long'
1500 [default=yes]
1501 --enable-wchar_t enable template specializations for 'wchar_t'
1502 [default=yes]
1503 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1504 --enable-concept-checks use Boost-derived template checks [default=no]
1505 --enable-libstdcxx-debug-flags=FLAGS
1506 pass compiler FLAGS when building debug library
1507 [default="-g3 -O0"]
1508 --enable-libstdcxx-debug
1509 build extra debug library [default=no]
1510 --enable-cxx-flags=FLAGS
1511 pass compiler FLAGS when building library [default=]
1512 --enable-fully-dynamic-string
1513 do not put empty strings in per-process static
1514 memory [default=no]
1515 --enable-libstdcxx-time=KIND
1516 use KIND for check type [default=no]
1517 --enable-tls Use thread-local storage [default=yes]
1518 --disable-rpath do not hardcode runtime library paths
1519 --enable-linux-futex use the Linux futex system call [default=default]
1520 --enable-symvers=STYLE enables symbol versioning of the shared library
1521 [default=yes]
1522 --enable-visibility enables visibility safe usage [default=yes]
1523 --enable-version-specific-runtime-libs
1524 Specify that runtime libraries should be installed
1525 in a compiler-specific directory
1526
1527 Optional Packages:
1528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1530 --with-target-subdir=SUBDIR
1531 configuring in a subdirectory
1532 --with-cross-host=HOST configuring with a cross compiler
1533 --with-newlib assume newlib as a system C library
1534 --with-pic try to use only PIC/non-PIC objects [default=use
1535 both]
1536 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1537 --with-gnu-ld assume the C compiler uses GNU ld default=no
1538 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1539 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1540 --with-system-libunwind use installed libunwind
1541 --with-gxx-include-dir=DIR
1542 installation directory for include files
1543
1544 Some influential environment variables:
1545 CC C compiler command
1546 CFLAGS C compiler flags
1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1548 nonstandard directory <lib dir>
1549 LIBS libraries to pass to the linker, e.g. -l<library>
1550 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1551 you have headers in a nonstandard directory <include dir>
1552 CXX C++ compiler command
1553 CXXFLAGS C++ compiler flags
1554 CPP C preprocessor
1555 CXXCPP C++ preprocessor
1556
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1559
1560 Report bugs to the package provider.
1561 _ACEOF
1562 ac_status=$?
1563 fi
1564
1565 if test "$ac_init_help" = "recursive"; then
1566 # If there are subdirs, report their specific --help.
1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568 test -d "$ac_dir" ||
1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570 continue
1571 ac_builddir=.
1572
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *)
1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582 esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1588
1589 case $srcdir in
1590 .) # We are building in place.
1591 ac_srcdir=.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1598 *) # Relative name.
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1608 echo &&
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1611 echo &&
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1613 else
1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 fi || ac_status=$?
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1617 done
1618 fi
1619
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622 cat <<\_ACEOF
1623 package-unused configure version-unused
1624 generated by GNU Autoconf 2.64
1625
1626 Copyright (C) 2009 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630 exit
1631 fi
1632
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1636
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1641 {
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 rm -f conftest.$ac_objext
1644 if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_compile") 2>conftest.err
1652 ac_status=$?
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1657 fi
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && {
1660 test -z "$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 } && test -s conftest.$ac_objext; then :
1663 ac_retval=0
1664 else
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668 ac_retval=1
1669 fi
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 return $ac_retval
1672
1673 } # ac_fn_c_try_compile
1674
1675 # ac_fn_cxx_try_compile LINENO
1676 # ----------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_cxx_try_compile ()
1679 {
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1690 ac_status=$?
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1695 fi
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_cxx_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1701 ac_retval=0
1702 else
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706 ac_retval=1
1707 fi
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 return $ac_retval
1710
1711 } # ac_fn_cxx_try_compile
1712
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_cpp ()
1717 {
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } >/dev/null && {
1735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 }; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_c_try_cpp
1749
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_link ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest$ac_exeext
1778 }; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784 ac_retval=1
1785 fi
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792 return $ac_retval
1793
1794 } # ac_fn_c_try_link
1795
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1807 else
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 $4
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 eval "$3=yes"
1815 else
1816 eval "$3=no"
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 fi
1820 eval ac_res=\$$3
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824
1825 } # ac_fn_c_check_header_compile
1826
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1831 ac_fn_c_try_run ()
1832 {
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>&5
1842 ac_status=$?
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845 { { case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_try") 2>&5
1852 ac_status=$?
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; }; }; then :
1855 ac_retval=0
1856 else
1857 $as_echo "$as_me: program exited with status $ac_status" >&5
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861 ac_retval=$ac_status
1862 fi
1863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865 return $ac_retval
1866
1867 } # ac_fn_c_try_run
1868
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1873 {
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 if test x$gcc_no_link = xyes; then
1881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 fi
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1887 #define $2 innocuous_$2
1888
1889 /* System header to define __stub macros and hopefully few prototypes,
1890 which can conflict with char $2 (); below.
1891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892 <limits.h> exists even on freestanding compilers. */
1893
1894 #ifdef __STDC__
1895 # include <limits.h>
1896 #else
1897 # include <assert.h>
1898 #endif
1899
1900 #undef $2
1901
1902 /* Override any GCC internal prototype to avoid an error.
1903 Use char because int might match the return type of a GCC
1904 builtin and then its argument prototype would still apply. */
1905 #ifdef __cplusplus
1906 extern "C"
1907 #endif
1908 char $2 ();
1909 /* The GNU C library defines this for functions which it implements
1910 to always fail with ENOSYS. Some functions are actually named
1911 something starting with __ and the normal name is an alias. */
1912 #if defined __stub_$2 || defined __stub___$2
1913 choke me
1914 #endif
1915
1916 int
1917 main ()
1918 {
1919 return $2 ();
1920 ;
1921 return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_link "$LINENO"; then :
1925 eval "$3=yes"
1926 else
1927 eval "$3=no"
1928 fi
1929 rm -f core conftest.err conftest.$ac_objext \
1930 conftest$ac_exeext conftest.$ac_ext
1931 fi
1932 eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
1937 } # ac_fn_c_check_func
1938
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp ()
1943 {
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 if { { ac_try="$ac_cpp conftest.$ac_ext"
1946 case "(($ac_try" in
1947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1953 ac_status=$?
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1958 fi
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } >/dev/null && {
1961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962 test ! -s conftest.err
1963 }; then :
1964 ac_retval=0
1965 else
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969 ac_retval=1
1970 fi
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 return $ac_retval
1973
1974 } # ac_fn_cxx_try_cpp
1975
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1996 fi
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest$ac_exeext
2004 }; then :
2005 ac_retval=0
2006 else
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010 ac_retval=1
2011 fi
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018 return $ac_retval
2019
2020 } # ac_fn_cxx_try_link
2021
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_c_check_header_mongrel ()
2028 {
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2035 fi
2036 eval ac_res=\$$3
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 $4
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2050 else
2051 ac_header_compiler=no
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2056
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2066 else
2067 ac_header_preproc=no
2068 fi
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2072
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2075 yes:no: )
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080 ;;
2081 no:yes:* )
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 ;;
2093 esac
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 $as_echo_n "(cached) " >&6
2098 else
2099 eval "$3=\$ac_header_compiler"
2100 fi
2101 eval ac_res=\$$3
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 fi
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
2107 } # ac_fn_c_check_header_mongrel
2108
2109 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # ---------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2113 # accordingly.
2114 ac_fn_cxx_check_header_mongrel ()
2115 {
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121 $as_echo_n "(cached) " >&6
2122 fi
2123 eval ac_res=\$$3
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 else
2127 # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2132 $4
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_cxx_try_compile "$LINENO"; then :
2136 ac_header_compiler=yes
2137 else
2138 ac_header_compiler=no
2139 fi
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2143
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2149 #include <$2>
2150 _ACEOF
2151 if ac_fn_cxx_try_cpp "$LINENO"; then :
2152 ac_header_preproc=yes
2153 else
2154 ac_header_preproc=no
2155 fi
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2159
2160 # So? What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2162 yes:no: )
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 ;;
2168 no:yes:* )
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179 ;;
2180 esac
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2185 else
2186 eval "$3=\$ac_header_compiler"
2187 fi
2188 eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 fi
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2193
2194 } # ac_fn_cxx_check_header_mongrel
2195
2196 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2197 # -------------------------------------------
2198 # Tests whether TYPE exists after having included INCLUDES, setting cache
2199 # variable VAR accordingly.
2200 ac_fn_c_check_type ()
2201 {
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 eval "$3=no"
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2211 $4
2212 int
2213 main ()
2214 {
2215 if (sizeof ($2))
2216 return 0;
2217 ;
2218 return 0;
2219 }
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 $4
2225 int
2226 main ()
2227 {
2228 if (sizeof (($2)))
2229 return 0;
2230 ;
2231 return 0;
2232 }
2233 _ACEOF
2234 if ac_fn_c_try_compile "$LINENO"; then :
2235
2236 else
2237 eval "$3=yes"
2238 fi
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 eval ac_res=\$$3
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_c_check_type
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2296 fi
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327 ;
2328 return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2338 fi
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2392 {
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2397 }
2398 else
2399 {
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2404 }
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422 fi
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427 cat >config.log <<_ACEOF
2428 This file contains any messages produced by compilers while
2429 running configure, to aid debugging if configure makes a mistake.
2430
2431 It was created by package-unused $as_me version-unused, which was
2432 generated by GNU Autoconf 2.64. Invocation command line was
2433
2434 $ $0 $@
2435
2436 _ACEOF
2437 exec 5>>config.log
2438 {
2439 cat <<_ASUNAME
2440 ## --------- ##
2441 ## Platform. ##
2442 ## --------- ##
2443
2444 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2449
2450 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2452
2453 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2454 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2455 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2457 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2458 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2459 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2460
2461 _ASUNAME
2462
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2465 do
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 $as_echo "PATH: $as_dir"
2469 done
2470 IFS=$as_save_IFS
2471
2472 } >&5
2473
2474 cat >&5 <<_ACEOF
2475
2476
2477 ## ----------- ##
2478 ## Core tests. ##
2479 ## ----------- ##
2480
2481 _ACEOF
2482
2483
2484 # Keep a trace of the command line.
2485 # Strip out --no-create and --no-recursion so they do not pile up.
2486 # Strip out --silent because we don't want to record it for future runs.
2487 # Also quote any args containing shell meta-characters.
2488 # Make two passes to allow for proper duplicate-argument suppression.
2489 ac_configure_args=
2490 ac_configure_args0=
2491 ac_configure_args1=
2492 ac_must_keep_next=false
2493 for ac_pass in 1 2
2494 do
2495 for ac_arg
2496 do
2497 case $ac_arg in
2498 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500 | -silent | --silent | --silen | --sile | --sil)
2501 continue ;;
2502 *\'*)
2503 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2504 esac
2505 case $ac_pass in
2506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2507 2)
2508 as_fn_append ac_configure_args1 " '$ac_arg'"
2509 if test $ac_must_keep_next = true; then
2510 ac_must_keep_next=false # Got value, back to normal.
2511 else
2512 case $ac_arg in
2513 *=* | --config-cache | -C | -disable-* | --disable-* \
2514 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516 | -with-* | --with-* | -without-* | --without-* | --x)
2517 case "$ac_configure_args0 " in
2518 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2519 esac
2520 ;;
2521 -* ) ac_must_keep_next=true ;;
2522 esac
2523 fi
2524 as_fn_append ac_configure_args " '$ac_arg'"
2525 ;;
2526 esac
2527 done
2528 done
2529 { ac_configure_args0=; unset ac_configure_args0;}
2530 { ac_configure_args1=; unset ac_configure_args1;}
2531
2532 # When interrupted or exit'd, cleanup temporary files, and complete
2533 # config.log. We remove comments because anyway the quotes in there
2534 # would cause problems or look ugly.
2535 # WARNING: Use '\'' to represent an apostrophe within the trap.
2536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537 trap 'exit_status=$?
2538 # Save into config.log some information that might help in debugging.
2539 {
2540 echo
2541
2542 cat <<\_ASBOX
2543 ## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##
2546 _ASBOX
2547 echo
2548 # The following way of writing the cache mishandles newlines in values,
2549 (
2550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2551 eval ac_val=\$$ac_var
2552 case $ac_val in #(
2553 *${as_nl}*)
2554 case $ac_var in #(
2555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2557 esac
2558 case $ac_var in #(
2559 _ | IFS | as_nl) ;; #(
2560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2561 *) { eval $ac_var=; unset $ac_var;} ;;
2562 esac ;;
2563 esac
2564 done
2565 (set) 2>&1 |
2566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2567 *${as_nl}ac_space=\ *)
2568 sed -n \
2569 "s/'\''/'\''\\\\'\'''\''/g;
2570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2571 ;; #(
2572 *)
2573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2574 ;;
2575 esac |
2576 sort
2577 )
2578 echo
2579
2580 cat <<\_ASBOX
2581 ## ----------------- ##
2582 ## Output variables. ##
2583 ## ----------------- ##
2584 _ASBOX
2585 echo
2586 for ac_var in $ac_subst_vars
2587 do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in
2590 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2591 esac
2592 $as_echo "$ac_var='\''$ac_val'\''"
2593 done | sort
2594 echo
2595
2596 if test -n "$ac_subst_files"; then
2597 cat <<\_ASBOX
2598 ## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##
2601 _ASBOX
2602 echo
2603 for ac_var in $ac_subst_files
2604 do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in
2607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2608 esac
2609 $as_echo "$ac_var='\''$ac_val'\''"
2610 done | sort
2611 echo
2612 fi
2613
2614 if test -s confdefs.h; then
2615 cat <<\_ASBOX
2616 ## ----------- ##
2617 ## confdefs.h. ##
2618 ## ----------- ##
2619 _ASBOX
2620 echo
2621 cat confdefs.h
2622 echo
2623 fi
2624 test "$ac_signal" != 0 &&
2625 $as_echo "$as_me: caught signal $ac_signal"
2626 $as_echo "$as_me: exit $exit_status"
2627 } >&5
2628 rm -f core *.core core.conftest.* &&
2629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2630 exit $exit_status
2631 ' 0
2632 for ac_signal in 1 2 13 15; do
2633 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2634 done
2635 ac_signal=0
2636
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2639
2640 $as_echo "/* confdefs.h */" > confdefs.h
2641
2642 # Predefined preprocessor variables.
2643
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2646 _ACEOF
2647
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2650 _ACEOF
2651
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2654 _ACEOF
2655
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2658 _ACEOF
2659
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2662 _ACEOF
2663
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2666 _ACEOF
2667
2668
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2671 ac_site_file1=NONE
2672 ac_site_file2=NONE
2673 if test -n "$CONFIG_SITE"; then
2674 ac_site_file1=$CONFIG_SITE
2675 elif test "x$prefix" != xNONE; then
2676 ac_site_file1=$prefix/share/config.site
2677 ac_site_file2=$prefix/etc/config.site
2678 else
2679 ac_site_file1=$ac_default_prefix/share/config.site
2680 ac_site_file2=$ac_default_prefix/etc/config.site
2681 fi
2682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2683 do
2684 test "x$ac_site_file" = xNONE && continue
2685 if test -r "$ac_site_file"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2688 sed 's/^/| /' "$ac_site_file" >&5
2689 . "$ac_site_file"
2690 fi
2691 done
2692
2693 if test -r "$cache_file"; then
2694 # Some versions of bash will fail to source /dev/null (special
2695 # files actually), so we avoid doing that.
2696 if test -f "$cache_file"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2698 $as_echo "$as_me: loading cache $cache_file" >&6;}
2699 case $cache_file in
2700 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2701 *) . "./$cache_file";;
2702 esac
2703 fi
2704 else
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2706 $as_echo "$as_me: creating cache $cache_file" >&6;}
2707 >$cache_file
2708 fi
2709
2710 # Check that the precious variables saved in the cache have kept the same
2711 # value.
2712 ac_cache_corrupted=false
2713 for ac_var in $ac_precious_vars; do
2714 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2715 eval ac_new_set=\$ac_env_${ac_var}_set
2716 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2717 eval ac_new_val=\$ac_env_${ac_var}_value
2718 case $ac_old_set,$ac_new_set in
2719 set,)
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2721 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2722 ac_cache_corrupted=: ;;
2723 ,set)
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2725 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2726 ac_cache_corrupted=: ;;
2727 ,);;
2728 *)
2729 if test "x$ac_old_val" != "x$ac_new_val"; then
2730 # differences in whitespace do not lead to failure.
2731 ac_old_val_w=`echo x $ac_old_val`
2732 ac_new_val_w=`echo x $ac_new_val`
2733 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2735 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2736 ac_cache_corrupted=:
2737 else
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2739 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2740 eval $ac_var=\$ac_old_val
2741 fi
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2743 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2745 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2746 fi;;
2747 esac
2748 # Pass precious variables to config.status.
2749 if test "$ac_new_set" = set; then
2750 case $ac_new_val in
2751 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2752 *) ac_arg=$ac_var=$ac_new_val ;;
2753 esac
2754 case " $ac_configure_args " in
2755 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2756 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2757 esac
2758 fi
2759 done
2760 if $ac_cache_corrupted; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2764 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2765 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2766 fi
2767 ## -------------------- ##
2768 ## Main body of script. ##
2769 ## -------------------- ##
2770
2771 ac_ext=c
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776
2777
2778
2779
2780
2781
2782 ac_config_headers="$ac_config_headers config.h"
2783
2784
2785 # This works around the fact that libtool configuration may change LD
2786 # for this particular configuration, but some shells, instead of
2787 # keeping the changes in LD private, export them just because LD is
2788 # exported. Only used at the end of this file.
2789 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2790
2791 # For libtool versioning info, format is CURRENT:REVISION:AGE
2792 libtool_VERSION=6:15:0
2793
2794
2795 # Find the rest of the source tree framework.
2796 # Default to --enable-multilib
2797 # Check whether --enable-multilib was given.
2798 if test "${enable_multilib+set}" = set; then :
2799 enableval=$enable_multilib; case "$enableval" in
2800 yes) multilib=yes ;;
2801 no) multilib=no ;;
2802 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2803 esac
2804 else
2805 multilib=yes
2806 fi
2807
2808
2809 # We may get other options which we leave undocumented:
2810 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2811 # See config-ml.in if you want the gory details.
2812
2813 if test "$srcdir" = "."; then
2814 if test "$with_target_subdir" != "."; then
2815 multi_basedir="$srcdir/$with_multisrctop../.."
2816 else
2817 multi_basedir="$srcdir/$with_multisrctop.."
2818 fi
2819 else
2820 multi_basedir="$srcdir/.."
2821 fi
2822
2823
2824 # Even if the default multilib is not a cross compilation,
2825 # it may be that some of the other multilibs are.
2826 if test $cross_compiling = no && test $multilib = yes \
2827 && test "x${with_multisubdir}" != x ; then
2828 cross_compiling=maybe
2829 fi
2830
2831 ac_config_commands="$ac_config_commands default-1"
2832
2833
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2835 #
2836 # You will slowly go insane if you do not grok the following fact: when
2837 # building v3 as part of the compiler, the top-level /target/ becomes the
2838 # library's /host/. configure then causes --target to default to --host,
2839 # exactly like any other package using autoconf. Therefore, 'target' and
2840 # 'host' will always be the same. This makes sense both for native and
2841 # cross compilers, just think about it for a little while. :-)
2842 #
2843 # Also, if v3 is being configured as part of a cross compiler, the top-level
2844 # configure script will pass the "real" host as $with_cross_host.
2845 #
2846 # Do not delete or change the following two lines. For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2848 ac_aux_dir=
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850 for ac_t in install-sh install.sh shtool; do
2851 if test -f "$ac_dir/$ac_t"; then
2852 ac_aux_dir=$ac_dir
2853 ac_install_sh="$ac_aux_dir/$ac_t -c"
2854 break 2
2855 fi
2856 done
2857 done
2858 if test -z "$ac_aux_dir"; then
2859 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2860 fi
2861
2862 # These three variables are undocumented and unsupported,
2863 # and are intended to be withdrawn in a future Autoconf release.
2864 # They can cause serious problems if a builder's source tree is in a directory
2865 # whose full name contains unusual characters.
2866 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2867 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2868 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2869
2870
2871 # Make sure we can run config.sub.
2872 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2874
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876 $as_echo_n "checking build system type... " >&6; }
2877 if test "${ac_cv_build+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2879 else
2880 ac_build_alias=$build_alias
2881 test "x$ac_build_alias" = x &&
2882 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883 test "x$ac_build_alias" = x &&
2884 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2887
2888 fi
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890 $as_echo "$ac_cv_build" >&6; }
2891 case $ac_cv_build in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2894 esac
2895 build=$ac_cv_build
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_build
2898 shift
2899 build_cpu=$1
2900 build_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 build_os=$*
2905 IFS=$ac_save_IFS
2906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2907
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910 $as_echo_n "checking host system type... " >&6; }
2911 if test "${ac_cv_host+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 if test "x$host_alias" = x; then
2915 ac_cv_host=$ac_cv_build
2916 else
2917 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2919 fi
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923 $as_echo "$ac_cv_host" >&6; }
2924 case $ac_cv_host in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2927 esac
2928 host=$ac_cv_host
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_host
2931 shift
2932 host_cpu=$1
2933 host_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 host_os=$*
2938 IFS=$ac_save_IFS
2939 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2943 $as_echo_n "checking target system type... " >&6; }
2944 if test "${ac_cv_target+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$target_alias" = x; then
2948 ac_cv_target=$ac_cv_host
2949 else
2950 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2956 $as_echo "$ac_cv_target" >&6; }
2957 case $ac_cv_target in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2960 esac
2961 target=$ac_cv_target
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_target
2964 shift
2965 target_cpu=$1
2966 target_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 target_os=$*
2971 IFS=$ac_save_IFS
2972 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 # The aliases save the names the user supplied, while $host etc.
2976 # will get canonicalized.
2977 test -n "$target_alias" &&
2978 test "$program_prefix$program_suffix$program_transform_name" = \
2979 NONENONEs,x,x, &&
2980 program_prefix=${target_alias}-
2981
2982 target_alias=${target_alias-$host_alias}
2983
2984 # Handy for debugging:
2985 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2986
2987 if test "$build" != "$host"; then
2988 # We are being configured with some form of cross compiler.
2989 GLIBCXX_IS_NATIVE=false
2990 case "$host","$target" in
2991 # Darwin crosses can use the host system's libraries and headers,
2992 # because of the fat library support. Of course, it must be the
2993 # same version of Darwin on both sides. Allow the user to
2994 # just say --target=foo-darwin without a version number to mean
2995 # "the version on this system".
2996 *-*-darwin*,*-*-darwin*)
2997 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2998 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2999 if test $hostos = $targetos -o $targetos = darwin ; then
3000 GLIBCXX_IS_NATIVE=true
3001 fi
3002 ;;
3003
3004 *)
3005
3006 ;;
3007 esac
3008 else
3009 GLIBCXX_IS_NATIVE=true
3010 fi
3011
3012 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3013 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3014 # 1.x: minimum required version
3015 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3016 # of other PACKAGE_* variables will, however, and there's nothing
3017 # we can do about that; they come from AC_INIT).
3018 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3019 # file in the top srcdir, etc, etc), so stop complaining.
3020 # no-dependencies: turns off auto dependency generation (just for now)
3021 # no-dist: we don't want 'dist' and related rules.
3022 # -Wall: turns on all automake warnings...
3023 # -Wno-portability: ...except this one, since GNU make is now required.
3024 am__api_version='1.11'
3025
3026 # Find a good install program. We prefer a C program (faster),
3027 # so one script is as good as another. But avoid the broken or
3028 # incompatible versions:
3029 # SysV /etc/install, /usr/sbin/install
3030 # SunOS /usr/etc/install
3031 # IRIX /sbin/install
3032 # AIX /bin/install
3033 # AmigaOS /C/install, which installs bootblocks on floppy discs
3034 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3035 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3036 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3037 # OS/2's system install, which has a completely different semantic
3038 # ./install, which can be erroneously created by make from ./install.sh.
3039 # Reject install programs that cannot install multiple files.
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3041 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3042 if test -z "$INSTALL"; then
3043 if test "${ac_cv_path_install+set}" = set; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 # Account for people who put trailing slashes in PATH elements.
3052 case $as_dir/ in #((
3053 ./ | .// | /[cC]/* | \
3054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3055 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3056 /usr/ucb/* ) ;;
3057 *)
3058 # OSF1 and SCO ODT 3.0 have their own names for install.
3059 # Don't use installbsd from OSF since it installs stuff as root
3060 # by default.
3061 for ac_prog in ginstall scoinst install; do
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3064 if test $ac_prog = install &&
3065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3066 # AIX install. It has an incompatible calling convention.
3067 :
3068 elif test $ac_prog = install &&
3069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3070 # program-specific install script used by HP pwplus--don't use.
3071 :
3072 else
3073 rm -rf conftest.one conftest.two conftest.dir
3074 echo one > conftest.one
3075 echo two > conftest.two
3076 mkdir conftest.dir
3077 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3078 test -s conftest.one && test -s conftest.two &&
3079 test -s conftest.dir/conftest.one &&
3080 test -s conftest.dir/conftest.two
3081 then
3082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3083 break 3
3084 fi
3085 fi
3086 fi
3087 done
3088 done
3089 ;;
3090 esac
3091
3092 done
3093 IFS=$as_save_IFS
3094
3095 rm -rf conftest.one conftest.two conftest.dir
3096
3097 fi
3098 if test "${ac_cv_path_install+set}" = set; then
3099 INSTALL=$ac_cv_path_install
3100 else
3101 # As a last resort, use the slow shell script. Don't cache a
3102 # value for INSTALL within a source directory, because that will
3103 # break other packages using the cache if that directory is
3104 # removed, or if the value is a relative name.
3105 INSTALL=$ac_install_sh
3106 fi
3107 fi
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3109 $as_echo "$INSTALL" >&6; }
3110
3111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3112 # It thinks the first close brace ends the variable substitution.
3113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3114
3115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3116
3117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3118
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3120 $as_echo_n "checking whether build environment is sane... " >&6; }
3121 # Just in case
3122 sleep 1
3123 echo timestamp > conftest.file
3124 # Reject unsafe characters in $srcdir or the absolute working directory
3125 # name. Accept space and tab only in the latter.
3126 am_lf='
3127 '
3128 case `pwd` in
3129 *[\\\"\#\$\&\'\`$am_lf]*)
3130 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3131 esac
3132 case $srcdir in
3133 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3134 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3135 esac
3136
3137 # Do `set' in a subshell so we don't clobber the current shell's
3138 # arguments. Must try -L first in case configure is actually a
3139 # symlink; some systems play weird games with the mod time of symlinks
3140 # (eg FreeBSD returns the mod time of the symlink's containing
3141 # directory).
3142 if (
3143 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3144 if test "$*" = "X"; then
3145 # -L didn't work.
3146 set X `ls -t "$srcdir/configure" conftest.file`
3147 fi
3148 rm -f conftest.file
3149 if test "$*" != "X $srcdir/configure conftest.file" \
3150 && test "$*" != "X conftest.file $srcdir/configure"; then
3151
3152 # If neither matched, then we have a broken ls. This can happen
3153 # if, for instance, CONFIG_SHELL is bash and it inherits a
3154 # broken ls alias from the environment. This has actually
3155 # happened. Such a system could not be considered "sane".
3156 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3157 alias in your environment" "$LINENO" 5
3158 fi
3159
3160 test "$2" = conftest.file
3161 )
3162 then
3163 # Ok.
3164 :
3165 else
3166 as_fn_error "newly created file is older than distributed files!
3167 Check your system clock" "$LINENO" 5
3168 fi
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3171 test "$program_prefix" != NONE &&
3172 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3180
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3183
3184 if test x"${MISSING+set}" != xset; then
3185 case $am_aux_dir in
3186 *\ * | *\ *)
3187 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3188 *)
3189 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3190 esac
3191 fi
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --run true"; then
3194 am_missing_run="$MISSING --run "
3195 else
3196 am_missing_run=
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3199 fi
3200
3201 if test x"${install_sh}" != xset; then
3202 case $am_aux_dir in
3203 *\ * | *\ *)
3204 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3205 *)
3206 install_sh="\${SHELL} $am_aux_dir/install-sh"
3207 esac
3208 fi
3209
3210 # Installed binaries are usually stripped using `strip' when the user
3211 # run `make install-strip'. However `strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the `STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215 if test -n "$ac_tool_prefix"; then
3216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if test "${ac_cv_prog_STRIP+set}" = set; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3223 if test -n "$STRIP"; then
3224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229 IFS=$as_save_IFS
3230 test -z "$as_dir" && as_dir=.
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 break 2
3236 fi
3237 done
3238 done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3247 else
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if test -z "$ac_cv_prog_STRIP"; then
3255 ac_ct_STRIP=$STRIP
3256 # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -n "$ac_ct_STRIP"; then
3264 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3268 do
3269 IFS=$as_save_IFS
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_ac_ct_STRIP="strip"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 break 2
3276 fi
3277 done
3278 done
3279 IFS=$as_save_IFS
3280
3281 fi
3282 fi
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3287 else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 fi
3291
3292 if test "x$ac_ct_STRIP" = x; then
3293 STRIP=":"
3294 else
3295 case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301 STRIP=$ac_ct_STRIP
3302 fi
3303 else
3304 STRIP="$ac_cv_prog_STRIP"
3305 fi
3306
3307 fi
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3309
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313 if test "${ac_cv_path_mkdir+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_prog in mkdir gmkdir; do
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325 'mkdir (GNU coreutils) '* | \
3326 'mkdir (coreutils) '* | \
3327 'mkdir (fileutils) '4.1*)
3328 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3329 break 3;;
3330 esac
3331 done
3332 done
3333 done
3334 IFS=$as_save_IFS
3335
3336 fi
3337
3338 if test "${ac_cv_path_mkdir+set}" = set; then
3339 MKDIR_P="$ac_cv_path_mkdir -p"
3340 else
3341 # As a last resort, use the slow shell script. Don't cache a
3342 # value for MKDIR_P within a source directory, because that will
3343 # break other packages using the cache if that directory is
3344 # removed, or if the value is a relative name.
3345 test -d ./--version && rmdir ./--version
3346 MKDIR_P="$ac_install_sh -d"
3347 fi
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3351
3352 mkdir_p="$MKDIR_P"
3353 case $mkdir_p in
3354 [\\/$]* | ?:[\\/]*) ;;
3355 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3356 esac
3357
3358 for ac_prog in gawk mawk nawk awk
3359 do
3360 # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy $ac_prog; ac_word=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_AWK+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3366 else
3367 if test -n "$AWK"; then
3368 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3369 else
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH
3372 do
3373 IFS=$as_save_IFS
3374 test -z "$as_dir" && as_dir=.
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_AWK="$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 break 2
3380 fi
3381 done
3382 done
3383 IFS=$as_save_IFS
3384
3385 fi
3386 fi
3387 AWK=$ac_cv_prog_AWK
3388 if test -n "$AWK"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3390 $as_echo "$AWK" >&6; }
3391 else
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3394 fi
3395
3396
3397 test -n "$AWK" && break
3398 done
3399
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3401 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3402 set x ${MAKE-make}
3403 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3404 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3405 $as_echo_n "(cached) " >&6
3406 else
3407 cat >conftest.make <<\_ACEOF
3408 SHELL = /bin/sh
3409 all:
3410 @echo '@@@%%%=$(MAKE)=@@@%%%'
3411 _ACEOF
3412 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3413 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3414 *@@@%%%=?*=@@@%%%*)
3415 eval ac_cv_prog_make_${ac_make}_set=yes;;
3416 *)
3417 eval ac_cv_prog_make_${ac_make}_set=no;;
3418 esac
3419 rm -f conftest.make
3420 fi
3421 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3424 SET_MAKE=
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 SET_MAKE="MAKE=${MAKE-make}"
3429 fi
3430
3431 rm -rf .tst 2>/dev/null
3432 mkdir .tst 2>/dev/null
3433 if test -d .tst; then
3434 am__leading_dot=.
3435 else
3436 am__leading_dot=_
3437 fi
3438 rmdir .tst 2>/dev/null
3439
3440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3442 # is not polluted with repeated "-I."
3443 am__isrc=' -I$(srcdir)'
3444 # test to see if srcdir already configured
3445 if test -f $srcdir/config.status; then
3446 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3447 fi
3448 fi
3449
3450 # test whether we have cygpath
3451 if test -z "$CYGPATH_W"; then
3452 if (cygpath --version) >/dev/null 2>/dev/null; then
3453 CYGPATH_W='cygpath -w'
3454 else
3455 CYGPATH_W=echo
3456 fi
3457 fi
3458
3459
3460 # Define the identity of the package.
3461 PACKAGE='libstdc++'
3462 VERSION='version-unused'
3463
3464
3465 # Some tools Automake needs.
3466
3467 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3468
3469
3470 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3471
3472
3473 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3474
3475
3476 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3477
3478
3479 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3480
3481 # We need awk for the "check" target. The system "awk" is bad on
3482 # some platforms.
3483 # Always define AMTAR for backward compatibility.
3484
3485 AMTAR=${AMTAR-"${am_missing_run}tar"}
3486
3487 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3488
3489
3490
3491
3492
3493
3494
3495
3496 # -fno-builtin must be present here so that a non-conflicting form of
3497 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3498
3499 save_CXXFLAGS="$CXXFLAGS"
3500 CXXFLAGS="$CXXFLAGS -fno-builtin"
3501 ac_ext=c
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 if test -n "$ac_tool_prefix"; then
3507 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3508 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3513 else
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3516 else
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 for as_dir in $PATH
3519 do
3520 IFS=$as_save_IFS
3521 test -z "$as_dir" && as_dir=.
3522 for ac_exec_ext in '' $ac_executable_extensions; do
3523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3524 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 break 2
3527 fi
3528 done
3529 done
3530 IFS=$as_save_IFS
3531
3532 fi
3533 fi
3534 CC=$ac_cv_prog_CC
3535 if test -n "$CC"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3537 $as_echo "$CC" >&6; }
3538 else
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3541 fi
3542
3543
3544 fi
3545 if test -z "$ac_cv_prog_CC"; then
3546 ac_ct_CC=$CC
3547 # Extract the first word of "gcc", so it can be a program name with args.
3548 set dummy gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 if test -n "$ac_ct_CC"; then
3555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3559 do
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_ac_ct_CC="gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3567 fi
3568 done
3569 done
3570 IFS=$as_save_IFS
3571
3572 fi
3573 fi
3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3575 if test -n "$ac_ct_CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3577 $as_echo "$ac_ct_CC" >&6; }
3578 else
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3581 fi
3582
3583 if test "x$ac_ct_CC" = x; then
3584 CC=""
3585 else
3586 case $cross_compiling:$ac_tool_warned in
3587 yes:)
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3590 ac_tool_warned=yes ;;
3591 esac
3592 CC=$ac_ct_CC
3593 fi
3594 else
3595 CC="$ac_cv_prog_CC"
3596 fi
3597
3598 if test -z "$CC"; then
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$CC"; then
3608 ac_cv_prog_CC="$CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3612 do
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_CC="${ac_tool_prefix}cc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3620 fi
3621 done
3622 done
3623 IFS=$as_save_IFS
3624
3625 fi
3626 fi
3627 CC=$ac_cv_prog_CC
3628 if test -n "$CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 $as_echo "$CC" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3634 fi
3635
3636
3637 fi
3638 fi
3639 if test -z "$CC"; then
3640 # Extract the first word of "cc", so it can be a program name with args.
3641 set dummy cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3646 else
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC="$CC" # Let the user override the test.
3649 else
3650 ac_prog_rejected=no
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3653 do
3654 IFS=$as_save_IFS
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3659 ac_prog_rejected=yes
3660 continue
3661 fi
3662 ac_cv_prog_CC="cc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3665 fi
3666 done
3667 done
3668 IFS=$as_save_IFS
3669
3670 if test $ac_prog_rejected = yes; then
3671 # We found a bogon in the path, so make sure we never use it.
3672 set dummy $ac_cv_prog_CC
3673 shift
3674 if test $# != 0; then
3675 # We chose a different compiler from the bogus one.
3676 # However, it has the same basename, so the bogon will be chosen
3677 # first if we set CC to just the basename; use the full file name.
3678 shift
3679 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3680 fi
3681 fi
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694 fi
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in cl.exe
3698 do
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CC+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3705 else
3706 if test -n "$CC"; then
3707 ac_cv_prog_CC="$CC" # Let the user override the test.
3708 else
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 for as_dir in $PATH
3711 do
3712 IFS=$as_save_IFS
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 break 2
3719 fi
3720 done
3721 done
3722 IFS=$as_save_IFS
3723
3724 fi
3725 fi
3726 CC=$ac_cv_prog_CC
3727 if test -n "$CC"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3729 $as_echo "$CC" >&6; }
3730 else
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3733 fi
3734
3735
3736 test -n "$CC" && break
3737 done
3738 fi
3739 if test -z "$CC"; then
3740 ac_ct_CC=$CC
3741 for ac_prog in cl.exe
3742 do
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$ac_ct_CC"; then
3751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3755 do
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CC="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3763 fi
3764 done
3765 done
3766 IFS=$as_save_IFS
3767
3768 fi
3769 fi
3770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3771 if test -n "$ac_ct_CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3773 $as_echo "$ac_ct_CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3777 fi
3778
3779
3780 test -n "$ac_ct_CC" && break
3781 done
3782
3783 if test "x$ac_ct_CC" = x; then
3784 CC=""
3785 else
3786 case $cross_compiling:$ac_tool_warned in
3787 yes:)
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3791 esac
3792 CC=$ac_ct_CC
3793 fi
3794 fi
3795
3796 fi
3797
3798
3799 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error "no acceptable C compiler found in \$PATH
3802 See \`config.log' for more details." "$LINENO" 5; }
3803
3804 # Provide some information about the compiler.
3805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3806 set X $ac_compile
3807 ac_compiler=$2
3808 for ac_option in --version -v -V -qversion; do
3809 { { ac_try="$ac_compiler $ac_option >&5"
3810 case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3813 esac
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3817 ac_status=$?
3818 if test -s conftest.err; then
3819 sed '10a\
3820 ... rest of stderr output deleted ...
3821 10q' conftest.err >conftest.er1
3822 cat conftest.er1 >&5
3823 rm -f conftest.er1 conftest.err
3824 fi
3825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3826 test $ac_status = 0; }
3827 done
3828
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3831
3832 int
3833 main ()
3834 {
3835
3836 ;
3837 return 0;
3838 }
3839 _ACEOF
3840 # FIXME: Cleanup?
3841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3842 (eval $ac_link) 2>&5
3843 ac_status=$?
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; then :
3846 gcc_no_link=no
3847 else
3848 gcc_no_link=yes
3849 fi
3850 if test x$gcc_no_link = xyes; then
3851 # Setting cross_compile will disable run tests; it will
3852 # also disable AC_CHECK_FILE but that's generally
3853 # correct if we can't link.
3854 cross_compiling=yes
3855 EXEEXT=
3856 else
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859
3860 int
3861 main ()
3862 {
3863
3864 ;
3865 return 0;
3866 }
3867 _ACEOF
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3872 # of exeext.
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3874 $as_echo_n "checking for C compiler default output file name... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3876
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3879
3880 ac_rmfiles=
3881 for ac_file in $ac_files
3882 do
3883 case $ac_file in
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886 esac
3887 done
3888 rm -f $ac_rmfiles
3889
3890 if { { ac_try="$ac_link_default"
3891 case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_link_default") 2>&5
3898 ac_status=$?
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3905 # Autoconf.
3906 for ac_file in $ac_files ''
3907 do
3908 test -f "$ac_file" || continue
3909 case $ac_file in
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3911 ;;
3912 [ab].out )
3913 # We found the default executable, but exeext='' is most
3914 # certainly right.
3915 break;;
3916 *.* )
3917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3918 then :; else
3919 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920 fi
3921 # We set ac_cv_exeext here because the later test for it is not
3922 # safe: cross compilers may not add the suffix if given an `-o'
3923 # argument, so we may need to know it at that point already.
3924 # Even if this section looks crufty: it has the advantage of
3925 # actually working.
3926 break;;
3927 * )
3928 break;;
3929 esac
3930 done
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3932
3933 else
3934 ac_file=''
3935 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3937 $as_echo "$ac_file" >&6; }
3938 if test -z "$ac_file"; then :
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3941
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 { as_fn_set_status 77
3945 as_fn_error "C compiler cannot create executables
3946 See \`config.log' for more details." "$LINENO" 5; }; }
3947 fi
3948 ac_exeext=$ac_cv_exeext
3949
3950 # Check that the compiler produces executables we can run. If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3953 $as_echo_n "checking whether the C compiler works... " >&6; }
3954 # If not cross compiling, check that we can run a simple program.
3955 if test "$cross_compiling" != yes; then
3956 if { ac_try='./$ac_file'
3957 { { case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3960 esac
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_try") 2>&5
3964 ac_status=$?
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; }; then
3967 cross_compiling=no
3968 else
3969 if test "$cross_compiling" = maybe; then
3970 cross_compiling=yes
3971 else
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 as_fn_error "cannot run C compiled programs.
3975 If you meant to cross compile, use \`--host'.
3976 See \`config.log' for more details." "$LINENO" 5; }
3977 fi
3978 fi
3979 fi
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3981 $as_echo "yes" >&6; }
3982
3983 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3984 ac_clean_files=$ac_clean_files_save
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3988 $as_echo_n "checking whether we are cross compiling... " >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3990 $as_echo "$cross_compiling" >&6; }
3991
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3993 $as_echo_n "checking for suffix of executables... " >&6; }
3994 if { { ac_try="$ac_link"
3995 case "(($ac_try" in
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link") 2>&5
4002 ac_status=$?
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; then :
4005 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4006 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4007 # work properly (i.e., refer to `conftest.exe'), while it won't with
4008 # `rm'.
4009 for ac_file in conftest.exe conftest conftest.*; do
4010 test -f "$ac_file" || continue
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 break;;
4015 * ) break;;
4016 esac
4017 done
4018 else
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error "cannot compute suffix of executables: cannot compile and link
4022 See \`config.log' for more details." "$LINENO" 5; }
4023 fi
4024 rm -f conftest$ac_cv_exeext
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4026 $as_echo "$ac_cv_exeext" >&6; }
4027
4028 rm -f conftest.$ac_ext
4029 EXEEXT=$ac_cv_exeext
4030 ac_exeext=$EXEEXT
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if test "${ac_cv_objext+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039
4040 int
4041 main ()
4042 {
4043
4044 ;
4045 return 0;
4046 }
4047 _ACEOF
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try="$ac_compile"
4050 case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compile") 2>&5
4057 ac_status=$?
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4060 for ac_file in conftest.o conftest.obj conftest.*; do
4061 test -f "$ac_file" || continue;
4062 case $ac_file in
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4065 break;;
4066 esac
4067 done
4068 else
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4071
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "cannot compute suffix of object files: cannot compile
4075 See \`config.log' for more details." "$LINENO" 5; }
4076 fi
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4078 fi
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4082 ac_objext=$OBJEXT
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090
4091 int
4092 main ()
4093 {
4094 #ifndef __GNUC__
4095 choke me
4096 #endif
4097
4098 ;
4099 return 0;
4100 }
4101 _ACEOF
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 ac_compiler_gnu=yes
4104 else
4105 ac_compiler_gnu=no
4106 fi
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4109
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4114 GCC=yes
4115 else
4116 GCC=
4117 fi
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if test "${ac_cv_prog_cc_g+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 ac_save_c_werror_flag=$ac_c_werror_flag
4126 ac_c_werror_flag=yes
4127 ac_cv_prog_cc_g=no
4128 CFLAGS="-g"
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4131
4132 int
4133 main ()
4134 {
4135
4136 ;
4137 return 0;
4138 }
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 ac_cv_prog_cc_g=yes
4142 else
4143 CFLAGS=""
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4146
4147 int
4148 main ()
4149 {
4150
4151 ;
4152 return 0;
4153 }
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156
4157 else
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4159 CFLAGS="-g"
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4162
4163 int
4164 main ()
4165 {
4166
4167 ;
4168 return 0;
4169 }
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_prog_cc_g=yes
4173 fi
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 fi
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 fi
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_c_werror_flag=$ac_save_c_werror_flag
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184 CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186 if test "$GCC" = yes; then
4187 CFLAGS="-g -O2"
4188 else
4189 CFLAGS="-g"
4190 fi
4191 else
4192 if test "$GCC" = yes; then
4193 CFLAGS="-O2"
4194 else
4195 CFLAGS=
4196 fi
4197 fi
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 ac_cv_prog_cc_c89=no
4204 ac_save_CC=$CC
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdarg.h>
4208 #include <stdio.h>
4209 #include <sys/types.h>
4210 #include <sys/stat.h>
4211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4212 struct buf { int x; };
4213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4214 static char *e (p, i)
4215 char **p;
4216 int i;
4217 {
4218 return p[i];
4219 }
4220 static char *f (char * (*g) (char **, int), char **p, ...)
4221 {
4222 char *s;
4223 va_list v;
4224 va_start (v,p);
4225 s = g (p, va_arg (v,int));
4226 va_end (v);
4227 return s;
4228 }
4229
4230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4231 function prototypes and stuff, but not '\xHH' hex character constants.
4232 These don't provoke an error unfortunately, instead are silently treated
4233 as 'x'. The following induces an error, until -std is added to get
4234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4235 array size at least. It's necessary to write '\x00'==0 to get something
4236 that's true only with -std. */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4238
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240 inside strings and character constants. */
4241 #define FOO(x) 'x'
4242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4243
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4248 int argc;
4249 char **argv;
4250 int
4251 main ()
4252 {
4253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4254 ;
4255 return 0;
4256 }
4257 _ACEOF
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4260 do
4261 CC="$ac_save_CC $ac_arg"
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_c89=$ac_arg
4264 fi
4265 rm -f core conftest.err conftest.$ac_objext
4266 test "x$ac_cv_prog_cc_c89" != "xno" && break
4267 done
4268 rm -f conftest.$ac_ext
4269 CC=$ac_save_CC
4270
4271 fi
4272 # AC_CACHE_VAL
4273 case "x$ac_cv_prog_cc_c89" in
4274 x)
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4276 $as_echo "none needed" >&6; } ;;
4277 xno)
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4279 $as_echo "unsupported" >&6; } ;;
4280 *)
4281 CC="$CC $ac_cv_prog_cc_c89"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4283 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4284 esac
4285 if test "x$ac_cv_prog_cc_c89" != xno; then :
4286
4287 fi
4288
4289 ac_ext=c
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294
4295 ac_ext=cpp
4296 ac_cpp='$CXXCPP $CPPFLAGS'
4297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300 if test -z "$CXX"; then
4301 if test -n "$CCC"; then
4302 CXX=$CCC
4303 else
4304 if test -n "$ac_tool_prefix"; then
4305 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4306 do
4307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_CXX+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 if test -n "$CXX"; then
4315 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4316 else
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH
4319 do
4320 IFS=$as_save_IFS
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 break 2
4327 fi
4328 done
4329 done
4330 IFS=$as_save_IFS
4331
4332 fi
4333 fi
4334 CXX=$ac_cv_prog_CXX
4335 if test -n "$CXX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4337 $as_echo "$CXX" >&6; }
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 fi
4342
4343
4344 test -n "$CXX" && break
4345 done
4346 fi
4347 if test -z "$CXX"; then
4348 ac_ct_CXX=$CXX
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 do
4351 # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 if test -n "$ac_ct_CXX"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4360 else
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 for as_dir in $PATH
4363 do
4364 IFS=$as_save_IFS
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368 ac_cv_prog_ac_ct_CXX="$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 break 2
4371 fi
4372 done
4373 done
4374 IFS=$as_save_IFS
4375
4376 fi
4377 fi
4378 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4379 if test -n "$ac_ct_CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4381 $as_echo "$ac_ct_CXX" >&6; }
4382 else
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4385 fi
4386
4387
4388 test -n "$ac_ct_CXX" && break
4389 done
4390
4391 if test "x$ac_ct_CXX" = x; then
4392 CXX="g++"
4393 else
4394 case $cross_compiling:$ac_tool_warned in
4395 yes:)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4399 esac
4400 CXX=$ac_ct_CXX
4401 fi
4402 fi
4403
4404 fi
4405 fi
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4408 set X $ac_compile
4409 ac_compiler=$2
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4419 ac_status=$?
4420 if test -s conftest.err; then
4421 sed '10a\
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err >conftest.er1
4424 cat conftest.er1 >&5
4425 rm -f conftest.er1 conftest.err
4426 fi
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4429 done
4430
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4438
4439 int
4440 main ()
4441 {
4442 #ifndef __GNUC__
4443 choke me
4444 #endif
4445
4446 ;
4447 return 0;
4448 }
4449 _ACEOF
4450 if ac_fn_cxx_try_compile "$LINENO"; then :
4451 ac_compiler_gnu=yes
4452 else
4453 ac_compiler_gnu=no
4454 fi
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4457
4458 fi
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4460 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4462 GXX=yes
4463 else
4464 GXX=
4465 fi
4466 ac_test_CXXFLAGS=${CXXFLAGS+set}
4467 ac_save_CXXFLAGS=$CXXFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4469 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4470 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4474 ac_cxx_werror_flag=yes
4475 ac_cv_prog_cxx_g=no
4476 CXXFLAGS="-g"
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4479
4480 int
4481 main ()
4482 {
4483
4484 ;
4485 return 0;
4486 }
4487 _ACEOF
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489 ac_cv_prog_cxx_g=yes
4490 else
4491 CXXFLAGS=""
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494
4495 int
4496 main ()
4497 {
4498
4499 ;
4500 return 0;
4501 }
4502 _ACEOF
4503 if ac_fn_cxx_try_compile "$LINENO"; then :
4504
4505 else
4506 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4507 CXXFLAGS="-g"
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510
4511 int
4512 main ()
4513 {
4514
4515 ;
4516 return 0;
4517 }
4518 _ACEOF
4519 if ac_fn_cxx_try_compile "$LINENO"; then :
4520 ac_cv_prog_cxx_g=yes
4521 fi
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 fi
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 fi
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4530 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4531 if test "$ac_test_CXXFLAGS" = set; then
4532 CXXFLAGS=$ac_save_CXXFLAGS
4533 elif test $ac_cv_prog_cxx_g = yes; then
4534 if test "$GXX" = yes; then
4535 CXXFLAGS="-g -O2"
4536 else
4537 CXXFLAGS="-g"
4538 fi
4539 else
4540 if test "$GXX" = yes; then
4541 CXXFLAGS="-O2"
4542 else
4543 CXXFLAGS=
4544 fi
4545 fi
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551
4552 CXXFLAGS="$save_CXXFLAGS"
4553
4554 # Runs configure.host, and assorted other critical bits. Sets
4555 # up critical shell variables.
4556
4557 ac_ext=c
4558 ac_cpp='$CPP $CPPFLAGS'
4559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4563 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4564 # On Suns, sometimes $CPP names a directory.
4565 if test -n "$CPP" && test -d "$CPP"; then
4566 CPP=
4567 fi
4568 if test -z "$CPP"; then
4569 if test "${ac_cv_prog_CPP+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 # Double quotes because CPP needs to be expanded
4573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4574 do
4575 ac_preproc_ok=false
4576 for ac_c_preproc_warn_flag in '' yes
4577 do
4578 # Use a header file that comes with gcc, so configuring glibc
4579 # with a fresh cross-compiler works.
4580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 # <limits.h> exists even on freestanding compilers.
4582 # On the NeXT, cc -E runs the code through the compiler's parser,
4583 # not just through cpp. "Syntax error" is here to catch this case.
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4586 #ifdef __STDC__
4587 # include <limits.h>
4588 #else
4589 # include <assert.h>
4590 #endif
4591 Syntax error
4592 _ACEOF
4593 if ac_fn_c_try_cpp "$LINENO"; then :
4594
4595 else
4596 # Broken: fails on valid input.
4597 continue
4598 fi
4599 rm -f conftest.err conftest.$ac_ext
4600
4601 # OK, works on sane cases. Now check whether nonexistent headers
4602 # can be detected and how.
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #include <ac_nonexistent.h>
4606 _ACEOF
4607 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: success on invalid input.
4609 continue
4610 else
4611 # Passes both tests.
4612 ac_preproc_ok=:
4613 break
4614 fi
4615 rm -f conftest.err conftest.$ac_ext
4616
4617 done
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.err conftest.$ac_ext
4620 if $ac_preproc_ok; then :
4621 break
4622 fi
4623
4624 done
4625 ac_cv_prog_CPP=$CPP
4626
4627 fi
4628 CPP=$ac_cv_prog_CPP
4629 else
4630 ac_cv_prog_CPP=$CPP
4631 fi
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4633 $as_echo "$CPP" >&6; }
4634 ac_preproc_ok=false
4635 for ac_c_preproc_warn_flag in '' yes
4636 do
4637 # Use a header file that comes with gcc, so configuring glibc
4638 # with a fresh cross-compiler works.
4639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640 # <limits.h> exists even on freestanding compilers.
4641 # On the NeXT, cc -E runs the code through the compiler's parser,
4642 # not just through cpp. "Syntax error" is here to catch this case.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645 #ifdef __STDC__
4646 # include <limits.h>
4647 #else
4648 # include <assert.h>
4649 #endif
4650 Syntax error
4651 _ACEOF
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4653
4654 else
4655 # Broken: fails on valid input.
4656 continue
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660 # OK, works on sane cases. Now check whether nonexistent headers
4661 # can be detected and how.
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4664 #include <ac_nonexistent.h>
4665 _ACEOF
4666 if ac_fn_c_try_cpp "$LINENO"; then :
4667 # Broken: success on invalid input.
4668 continue
4669 else
4670 # Passes both tests.
4671 ac_preproc_ok=:
4672 break
4673 fi
4674 rm -f conftest.err conftest.$ac_ext
4675
4676 done
4677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4678 rm -f conftest.err conftest.$ac_ext
4679 if $ac_preproc_ok; then :
4680
4681 else
4682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4685 See \`config.log' for more details." "$LINENO" 5; }
4686 fi
4687
4688 ac_ext=c
4689 ac_cpp='$CPP $CPPFLAGS'
4690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4693
4694
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4697 if test "${ac_cv_path_GREP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -z "$GREP"; then
4701 ac_path_GREP_found=false
4702 # Loop through the user's path and test for each of PROGNAME-LIST
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4705 do
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_prog in grep ggrep; do
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4711 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4712 # Check for GNU ac_path_GREP and select it if it is found.
4713 # Check for GNU $ac_path_GREP
4714 case `"$ac_path_GREP" --version 2>&1` in
4715 *GNU*)
4716 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4717 *)
4718 ac_count=0
4719 $as_echo_n 0123456789 >"conftest.in"
4720 while :
4721 do
4722 cat "conftest.in" "conftest.in" >"conftest.tmp"
4723 mv "conftest.tmp" "conftest.in"
4724 cp "conftest.in" "conftest.nl"
4725 $as_echo 'GREP' >> "conftest.nl"
4726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4727 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4728 as_fn_arith $ac_count + 1 && ac_count=$as_val
4729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4730 # Best one so far, save it but keep looking for a better one
4731 ac_cv_path_GREP="$ac_path_GREP"
4732 ac_path_GREP_max=$ac_count
4733 fi
4734 # 10*(2^10) chars as input seems more than enough
4735 test $ac_count -gt 10 && break
4736 done
4737 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 esac
4739
4740 $ac_path_GREP_found && break 3
4741 done
4742 done
4743 done
4744 IFS=$as_save_IFS
4745 if test -z "$ac_cv_path_GREP"; then
4746 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747 fi
4748 else
4749 ac_cv_path_GREP=$GREP
4750 fi
4751
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4754 $as_echo "$ac_cv_path_GREP" >&6; }
4755 GREP="$ac_cv_path_GREP"
4756
4757
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4759 $as_echo_n "checking for egrep... " >&6; }
4760 if test "${ac_cv_path_EGREP+set}" = set; then :
4761 $as_echo_n "(cached) " >&6
4762 else
4763 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4764 then ac_cv_path_EGREP="$GREP -E"
4765 else
4766 if test -z "$EGREP"; then
4767 ac_path_EGREP_found=false
4768 # Loop through the user's path and test for each of PROGNAME-LIST
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771 do
4772 IFS=$as_save_IFS
4773 test -z "$as_dir" && as_dir=.
4774 for ac_prog in egrep; do
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4777 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4778 # Check for GNU ac_path_EGREP and select it if it is found.
4779 # Check for GNU $ac_path_EGREP
4780 case `"$ac_path_EGREP" --version 2>&1` in
4781 *GNU*)
4782 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4783 *)
4784 ac_count=0
4785 $as_echo_n 0123456789 >"conftest.in"
4786 while :
4787 do
4788 cat "conftest.in" "conftest.in" >"conftest.tmp"
4789 mv "conftest.tmp" "conftest.in"
4790 cp "conftest.in" "conftest.nl"
4791 $as_echo 'EGREP' >> "conftest.nl"
4792 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794 as_fn_arith $ac_count + 1 && ac_count=$as_val
4795 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4796 # Best one so far, save it but keep looking for a better one
4797 ac_cv_path_EGREP="$ac_path_EGREP"
4798 ac_path_EGREP_max=$ac_count
4799 fi
4800 # 10*(2^10) chars as input seems more than enough
4801 test $ac_count -gt 10 && break
4802 done
4803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 esac
4805
4806 $ac_path_EGREP_found && break 3
4807 done
4808 done
4809 done
4810 IFS=$as_save_IFS
4811 if test -z "$ac_cv_path_EGREP"; then
4812 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813 fi
4814 else
4815 ac_cv_path_EGREP=$EGREP
4816 fi
4817
4818 fi
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4821 $as_echo "$ac_cv_path_EGREP" >&6; }
4822 EGREP="$ac_cv_path_EGREP"
4823
4824
4825
4826 # Keep these sync'd with the list in Makefile.am. The first provides an
4827 # expandable list at autoconf time; the second provides an expandable list
4828 # (i.e., shell variable) at configure time.
4829
4830 SUBDIRS='include libsupc++ python src doc po testsuite'
4831
4832 # These need to be absolute paths, yet at the same time need to
4833 # canonicalize only relative paths, because then amd will not unmount
4834 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4835 glibcxx_builddir=`${PWDCMD-pwd}`
4836 case $srcdir in
4837 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4838 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4839 esac
4840 toplevel_srcdir=${glibcxx_srcdir}/..
4841
4842
4843
4844
4845 # We use these options to decide which functions to include. They are
4846 # set from the top level.
4847
4848 # Check whether --with-target-subdir was given.
4849 if test "${with_target_subdir+set}" = set; then :
4850 withval=$with_target_subdir;
4851 fi
4852
4853
4854
4855 # Check whether --with-cross-host was given.
4856 if test "${with_cross_host+set}" = set; then :
4857 withval=$with_cross_host;
4858 fi
4859
4860
4861
4862 # Check whether --with-newlib was given.
4863 if test "${with_newlib+set}" = set; then :
4864 withval=$with_newlib;
4865 fi
4866
4867
4868 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4869 # available). Uncomment the next line to force a particular method.
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4872 LN_S=$as_ln_s
4873 if test "$LN_S" = "ln -s"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 else
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4879 fi
4880
4881 #LN_S='cp -p'
4882
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4885 set dummy ${ac_tool_prefix}as; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_AS+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if test -n "$AS"; then
4892 ac_cv_prog_AS="$AS" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901 ac_cv_prog_AS="${ac_tool_prefix}as"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 break 2
4904 fi
4905 done
4906 done
4907 IFS=$as_save_IFS
4908
4909 fi
4910 fi
4911 AS=$ac_cv_prog_AS
4912 if test -n "$AS"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4914 $as_echo "$AS" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 fi
4919
4920
4921 fi
4922 if test -z "$ac_cv_prog_AS"; then
4923 ac_ct_AS=$AS
4924 # Extract the first word of "as", so it can be a program name with args.
4925 set dummy as; ac_word=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_ac_ct_AS="as"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4944 fi
4945 done
4946 done
4947 IFS=$as_save_IFS
4948
4949 fi
4950 fi
4951 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4952 if test -n "$ac_ct_AS"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4954 $as_echo "$ac_ct_AS" >&6; }
4955 else
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4958 fi
4959
4960 if test "x$ac_ct_AS" = x; then
4961 AS=""
4962 else
4963 case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969 AS=$ac_ct_AS
4970 fi
4971 else
4972 AS="$ac_cv_prog_AS"
4973 fi
4974
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}ar; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_AR+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$AR"; then
4984 ac_cv_prog_AR="$AR" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_AR="${ac_tool_prefix}ar"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 AR=$ac_cv_prog_AR
5004 if test -n "$AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5006 $as_echo "$AR" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012
5013 fi
5014 if test -z "$ac_cv_prog_AR"; then
5015 ac_ct_AR=$AR
5016 # Extract the first word of "ar", so it can be a program name with args.
5017 set dummy ar; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$ac_ct_AR"; then
5024 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5028 do
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_AR="ar"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5036 fi
5037 done
5038 done
5039 IFS=$as_save_IFS
5040
5041 fi
5042 fi
5043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5044 if test -n "$ac_ct_AR"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5046 $as_echo "$ac_ct_AR" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 fi
5051
5052 if test "x$ac_ct_AR" = x; then
5053 AR=""
5054 else
5055 case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061 AR=$ac_ct_AR
5062 fi
5063 else
5064 AR="$ac_cv_prog_AR"
5065 fi
5066
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$RANLIB"; then
5076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5088 fi
5089 done
5090 done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 RANLIB=$ac_cv_prog_RANLIB
5096 if test -n "$RANLIB"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5098 $as_echo "$RANLIB" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104
5105 fi
5106 if test -z "$ac_cv_prog_RANLIB"; then
5107 ac_ct_RANLIB=$RANLIB
5108 # Extract the first word of "ranlib", so it can be a program name with args.
5109 set dummy ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$ac_ct_RANLIB"; then
5116 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5120 do
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 ac_cv_prog_ac_ct_RANLIB="ranlib"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5128 fi
5129 done
5130 done
5131 IFS=$as_save_IFS
5132
5133 fi
5134 fi
5135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5136 if test -n "$ac_ct_RANLIB"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5138 $as_echo "$ac_ct_RANLIB" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5142 fi
5143
5144 if test "x$ac_ct_RANLIB" = x; then
5145 RANLIB="ranlib-not-found-in-path-error"
5146 else
5147 case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153 RANLIB=$ac_ct_RANLIB
5154 fi
5155 else
5156 RANLIB="$ac_cv_prog_RANLIB"
5157 fi
5158
5159
5160
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5162 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5163 # Check whether --enable-maintainer-mode was given.
5164 if test "${enable_maintainer_mode+set}" = set; then :
5165 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5166 else
5167 USE_MAINTAINER_MODE=no
5168 fi
5169
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5171 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5172 if test $USE_MAINTAINER_MODE = yes; then
5173 MAINTAINER_MODE_TRUE=
5174 MAINTAINER_MODE_FALSE='#'
5175 else
5176 MAINTAINER_MODE_TRUE='#'
5177 MAINTAINER_MODE_FALSE=
5178 fi
5179
5180 MAINT=$MAINTAINER_MODE_TRUE
5181
5182
5183
5184 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5185 # which are themselves conditionally expanded.
5186 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5187 ## other macros from doing the same. This should be automated.) -pme
5188
5189 # Check for C library flavor since Linux platforms use different configuration
5190 # directories depending on the C library in use.
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5193
5194 #include <stdio.h>
5195 #if __UCLIBC__
5196 _using_uclibc
5197 #endif
5198
5199 _ACEOF
5200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5202 uclibc=yes
5203 else
5204 uclibc=no
5205 fi
5206 rm -f conftest*
5207
5208
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5211
5212 #include <stdio.h>
5213 #if __BIONIC__
5214 _using_bionic
5215 #endif
5216
5217 _ACEOF
5218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5219 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5220 bionic=yes
5221 else
5222 bionic=no
5223 fi
5224 rm -f conftest*
5225
5226
5227 # Find platform-specific directories containing configuration info.
5228 # Also possibly modify flags used elsewhere, as needed by the platform.
5229
5230 . $glibcxx_srcdir/configure.host
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5232 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5234 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5235
5236
5237
5238 if test "x${with_newlib}" != "xyes"; then
5239 enable_dlopen=yes
5240
5241
5242
5243 fi
5244 case `pwd` in
5245 *\ * | *\ *)
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5248 esac
5249
5250
5251
5252 macro_version='2.2.7a'
5253 macro_revision='1.3134'
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267 ltmain="$ac_aux_dir/ltmain.sh"
5268
5269 # Backslashify metacharacters that are still active within
5270 # double-quoted strings.
5271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5272
5273 # Same as above, but do not quote variable references.
5274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5275
5276 # Sed substitution to delay expansion of an escaped shell variable in a
5277 # double_quote_subst'ed string.
5278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5279
5280 # Sed substitution to delay expansion of an escaped single quote.
5281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5282
5283 # Sed substitution to avoid accidental globbing in evaled expressions
5284 no_glob_subst='s/\*/\\\*/g'
5285
5286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5289
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5291 $as_echo_n "checking how to print strings... " >&6; }
5292 # Test print first, because it will be a builtin if present.
5293 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5294 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5295 ECHO='print -r --'
5296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5297 ECHO='printf %s\n'
5298 else
5299 # Use this function as a fallback that always works.
5300 func_fallback_echo ()
5301 {
5302 eval 'cat <<_LTECHO_EOF
5303 $1
5304 _LTECHO_EOF'
5305 }
5306 ECHO='func_fallback_echo'
5307 fi
5308
5309 # func_echo_all arg...
5310 # Invoke $ECHO with all args, space-separated.
5311 func_echo_all ()
5312 {
5313 $ECHO ""
5314 }
5315
5316 case "$ECHO" in
5317 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5318 $as_echo "printf" >&6; } ;;
5319 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5320 $as_echo "print -r" >&6; } ;;
5321 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5322 $as_echo "cat" >&6; } ;;
5323 esac
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5340 if test "${ac_cv_path_SED+set}" = set; then :
5341 $as_echo_n "(cached) " >&6
5342 else
5343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5344 for ac_i in 1 2 3 4 5 6 7; do
5345 ac_script="$ac_script$as_nl$ac_script"
5346 done
5347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5348 { ac_script=; unset ac_script;}
5349 if test -z "$SED"; then
5350 ac_path_SED_found=false
5351 # Loop through the user's path and test for each of PROGNAME-LIST
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH
5354 do
5355 IFS=$as_save_IFS
5356 test -z "$as_dir" && as_dir=.
5357 for ac_prog in sed gsed; do
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5361 # Check for GNU ac_path_SED and select it if it is found.
5362 # Check for GNU $ac_path_SED
5363 case `"$ac_path_SED" --version 2>&1` in
5364 *GNU*)
5365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5366 *)
5367 ac_count=0
5368 $as_echo_n 0123456789 >"conftest.in"
5369 while :
5370 do
5371 cat "conftest.in" "conftest.in" >"conftest.tmp"
5372 mv "conftest.tmp" "conftest.in"
5373 cp "conftest.in" "conftest.nl"
5374 $as_echo '' >> "conftest.nl"
5375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5377 as_fn_arith $ac_count + 1 && ac_count=$as_val
5378 if test $ac_count -gt ${ac_path_SED_max-0}; then
5379 # Best one so far, save it but keep looking for a better one
5380 ac_cv_path_SED="$ac_path_SED"
5381 ac_path_SED_max=$ac_count
5382 fi
5383 # 10*(2^10) chars as input seems more than enough
5384 test $ac_count -gt 10 && break
5385 done
5386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5387 esac
5388
5389 $ac_path_SED_found && break 3
5390 done
5391 done
5392 done
5393 IFS=$as_save_IFS
5394 if test -z "$ac_cv_path_SED"; then
5395 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5396 fi
5397 else
5398 ac_cv_path_SED=$SED
5399 fi
5400
5401 fi
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5403 $as_echo "$ac_cv_path_SED" >&6; }
5404 SED="$ac_cv_path_SED"
5405 rm -f conftest.sed
5406
5407 test -z "$SED" && SED=sed
5408 Xsed="$SED -e 1s/^X//"
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5421 $as_echo_n "checking for fgrep... " >&6; }
5422 if test "${ac_cv_path_FGREP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5426 then ac_cv_path_FGREP="$GREP -F"
5427 else
5428 if test -z "$FGREP"; then
5429 ac_path_FGREP_found=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5433 do
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_prog in fgrep; do
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5440 # Check for GNU ac_path_FGREP and select it if it is found.
5441 # Check for GNU $ac_path_FGREP
5442 case `"$ac_path_FGREP" --version 2>&1` in
5443 *GNU*)
5444 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5445 *)
5446 ac_count=0
5447 $as_echo_n 0123456789 >"conftest.in"
5448 while :
5449 do
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'FGREP' >> "conftest.nl"
5454 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456 as_fn_arith $ac_count + 1 && ac_count=$as_val
5457 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_FGREP="$ac_path_FGREP"
5460 ac_path_FGREP_max=$ac_count
5461 fi
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5464 done
5465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5466 esac
5467
5468 $ac_path_FGREP_found && break 3
5469 done
5470 done
5471 done
5472 IFS=$as_save_IFS
5473 if test -z "$ac_cv_path_FGREP"; then
5474 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5475 fi
5476 else
5477 ac_cv_path_FGREP=$FGREP
5478 fi
5479
5480 fi
5481 fi
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5483 $as_echo "$ac_cv_path_FGREP" >&6; }
5484 FGREP="$ac_cv_path_FGREP"
5485
5486
5487 test -z "$GREP" && GREP=grep
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507 # Check whether --with-gnu-ld was given.
5508 if test "${with_gnu_ld+set}" = set; then :
5509 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5510 else
5511 with_gnu_ld=no
5512 fi
5513
5514 ac_prog=ld
5515 if test "$GCC" = yes; then
5516 # Check if gcc -print-prog-name=ld gives a path.
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5518 $as_echo_n "checking for ld used by $CC... " >&6; }
5519 case $host in
5520 *-*-mingw*)
5521 # gcc leaves a trailing carriage return which upsets mingw
5522 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5523 *)
5524 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5525 esac
5526 case $ac_prog in
5527 # Accept absolute paths.
5528 [\\/]* | ?:[\\/]*)
5529 re_direlt='/[^/][^/]*/\.\./'
5530 # Canonicalize the pathname of ld
5531 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5532 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5533 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5534 done
5535 test -z "$LD" && LD="$ac_prog"
5536 ;;
5537 "")
5538 # If it fails, then pretend we aren't using GCC.
5539 ac_prog=ld
5540 ;;
5541 *)
5542 # If it is relative, then search for the first ld in PATH.
5543 with_gnu_ld=unknown
5544 ;;
5545 esac
5546 elif test "$with_gnu_ld" = yes; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5548 $as_echo_n "checking for GNU ld... " >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5551 $as_echo_n "checking for non-GNU ld... " >&6; }
5552 fi
5553 if test "${lt_cv_path_LD+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -z "$LD"; then
5557 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5558 for ac_dir in $PATH; do
5559 IFS="$lt_save_ifs"
5560 test -z "$ac_dir" && ac_dir=.
5561 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5562 lt_cv_path_LD="$ac_dir/$ac_prog"
5563 # Check to see if the program is GNU ld. I'd rather use --version,
5564 # but apparently some variants of GNU ld only accept -v.
5565 # Break only if it was the GNU/non-GNU ld that we prefer.
5566 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5567 *GNU* | *'with BFD'*)
5568 test "$with_gnu_ld" != no && break
5569 ;;
5570 *)
5571 test "$with_gnu_ld" != yes && break
5572 ;;
5573 esac
5574 fi
5575 done
5576 IFS="$lt_save_ifs"
5577 else
5578 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5579 fi
5580 fi
5581
5582 LD="$lt_cv_path_LD"
5583 if test -n "$LD"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5585 $as_echo "$LD" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5589 fi
5590 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5593 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5597 case `$LD -v 2>&1 </dev/null` in
5598 *GNU* | *'with BFD'*)
5599 lt_cv_prog_gnu_ld=yes
5600 ;;
5601 *)
5602 lt_cv_prog_gnu_ld=no
5603 ;;
5604 esac
5605 fi
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5608 with_gnu_ld=$lt_cv_prog_gnu_ld
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5619 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5620 if test "${lt_cv_path_NM+set}" = set; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if test -n "$NM"; then
5624 # Let the user override the test.
5625 lt_cv_path_NM="$NM"
5626 else
5627 lt_nm_to_check="${ac_tool_prefix}nm"
5628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5629 lt_nm_to_check="$lt_nm_to_check nm"
5630 fi
5631 for lt_tmp_nm in $lt_nm_to_check; do
5632 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5633 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5634 IFS="$lt_save_ifs"
5635 test -z "$ac_dir" && ac_dir=.
5636 tmp_nm="$ac_dir/$lt_tmp_nm"
5637 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5638 # Check to see if the nm accepts a BSD-compat flag.
5639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5640 # nm: unknown option "B" ignored
5641 # Tru64's nm complains that /dev/null is an invalid object file
5642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5643 */dev/null* | *'Invalid file or object type'*)
5644 lt_cv_path_NM="$tmp_nm -B"
5645 break
5646 ;;
5647 *)
5648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5649 */dev/null*)
5650 lt_cv_path_NM="$tmp_nm -p"
5651 break
5652 ;;
5653 *)
5654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5655 continue # so that we can try to find one that supports BSD flags
5656 ;;
5657 esac
5658 ;;
5659 esac
5660 fi
5661 done
5662 IFS="$lt_save_ifs"
5663 done
5664 : ${lt_cv_path_NM=no}
5665 fi
5666 fi
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5668 $as_echo "$lt_cv_path_NM" >&6; }
5669 if test "$lt_cv_path_NM" != "no"; then
5670 NM="$lt_cv_path_NM"
5671 else
5672 # Didn't find any BSD compatible name lister, look for dumpbin.
5673 if test -n "$DUMPBIN"; then :
5674 # Let the user override the test.
5675 else
5676 if test -n "$ac_tool_prefix"; then
5677 for ac_prog in dumpbin "link -dump"
5678 do
5679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -n "$DUMPBIN"; then
5687 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5691 do
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5699 fi
5700 done
5701 done
5702 IFS=$as_save_IFS
5703
5704 fi
5705 fi
5706 DUMPBIN=$ac_cv_prog_DUMPBIN
5707 if test -n "$DUMPBIN"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5709 $as_echo "$DUMPBIN" >&6; }
5710 else
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5713 fi
5714
5715
5716 test -n "$DUMPBIN" && break
5717 done
5718 fi
5719 if test -z "$DUMPBIN"; then
5720 ac_ct_DUMPBIN=$DUMPBIN
5721 for ac_prog in dumpbin "link -dump"
5722 do
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy $ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 if test -n "$ac_ct_DUMPBIN"; then
5731 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5735 do
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 break 2
5743 fi
5744 done
5745 done
5746 IFS=$as_save_IFS
5747
5748 fi
5749 fi
5750 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5751 if test -n "$ac_ct_DUMPBIN"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5753 $as_echo "$ac_ct_DUMPBIN" >&6; }
5754 else
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5757 fi
5758
5759
5760 test -n "$ac_ct_DUMPBIN" && break
5761 done
5762
5763 if test "x$ac_ct_DUMPBIN" = x; then
5764 DUMPBIN=":"
5765 else
5766 case $cross_compiling:$ac_tool_warned in
5767 yes:)
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5771 esac
5772 DUMPBIN=$ac_ct_DUMPBIN
5773 fi
5774 fi
5775
5776 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5777 *COFF*)
5778 DUMPBIN="$DUMPBIN -symbols"
5779 ;;
5780 *)
5781 DUMPBIN=:
5782 ;;
5783 esac
5784 fi
5785
5786 if test "$DUMPBIN" != ":"; then
5787 NM="$DUMPBIN"
5788 fi
5789 fi
5790 test -z "$NM" && NM=nm
5791
5792
5793
5794
5795
5796
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5798 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5799 if test "${lt_cv_nm_interface+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 lt_cv_nm_interface="BSD nm"
5803 echo "int some_variable = 0;" > conftest.$ac_ext
5804 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5805 (eval "$ac_compile" 2>conftest.err)
5806 cat conftest.err >&5
5807 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5808 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5809 cat conftest.err >&5
5810 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5811 cat conftest.out >&5
5812 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5813 lt_cv_nm_interface="MS dumpbin"
5814 fi
5815 rm -f conftest*
5816 fi
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5818 $as_echo "$lt_cv_nm_interface" >&6; }
5819
5820 # find the maximum length of command line arguments
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5822 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5823 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 i=0
5827 teststring="ABCD"
5828
5829 case $build_os in
5830 msdosdjgpp*)
5831 # On DJGPP, this test can blow up pretty badly due to problems in libc
5832 # (any single argument exceeding 2000 bytes causes a buffer overrun
5833 # during glob expansion). Even if it were fixed, the result of this
5834 # check would be larger than it should be.
5835 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5836 ;;
5837
5838 gnu*)
5839 # Under GNU Hurd, this test is not required because there is
5840 # no limit to the length of command line arguments.
5841 # Libtool will interpret -1 as no limit whatsoever
5842 lt_cv_sys_max_cmd_len=-1;
5843 ;;
5844
5845 cygwin* | mingw* | cegcc*)
5846 # On Win9x/ME, this test blows up -- it succeeds, but takes
5847 # about 5 minutes as the teststring grows exponentially.
5848 # Worse, since 9x/ME are not pre-emptively multitasking,
5849 # you end up with a "frozen" computer, even though with patience
5850 # the test eventually succeeds (with a max line length of 256k).
5851 # Instead, let's just punt: use the minimum linelength reported by
5852 # all of the supported platforms: 8192 (on NT/2K/XP).
5853 lt_cv_sys_max_cmd_len=8192;
5854 ;;
5855
5856 mint*)
5857 # On MiNT this can take a long time and run out of memory.
5858 lt_cv_sys_max_cmd_len=8192;
5859 ;;
5860
5861 amigaos*)
5862 # On AmigaOS with pdksh, this test takes hours, literally.
5863 # So we just punt and use a minimum line length of 8192.
5864 lt_cv_sys_max_cmd_len=8192;
5865 ;;
5866
5867 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5868 # This has been around since 386BSD, at least. Likely further.
5869 if test -x /sbin/sysctl; then
5870 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5871 elif test -x /usr/sbin/sysctl; then
5872 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5873 else
5874 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5875 fi
5876 # And add a safety zone
5877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5878 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5879 ;;
5880
5881 interix*)
5882 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5883 lt_cv_sys_max_cmd_len=196608
5884 ;;
5885
5886 osf*)
5887 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5888 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5889 # nice to cause kernel panics so lets avoid the loop below.
5890 # First set a reasonable default.
5891 lt_cv_sys_max_cmd_len=16384
5892 #
5893 if test -x /sbin/sysconfig; then
5894 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5895 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5896 esac
5897 fi
5898 ;;
5899 sco3.2v5*)
5900 lt_cv_sys_max_cmd_len=102400
5901 ;;
5902 sysv5* | sco5v6* | sysv4.2uw2*)
5903 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5904 if test -n "$kargmax"; then
5905 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5906 else
5907 lt_cv_sys_max_cmd_len=32768
5908 fi
5909 ;;
5910 *)
5911 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5912 if test -n "$lt_cv_sys_max_cmd_len"; then
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915 else
5916 # Make teststring a little bigger before we do anything with it.
5917 # a 1K string should be a reasonable start.
5918 for i in 1 2 3 4 5 6 7 8 ; do
5919 teststring=$teststring$teststring
5920 done
5921 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5922 # If test is not a shell built-in, we'll probably end up computing a
5923 # maximum length that is only half of the actual maximum length, but
5924 # we can't tell.
5925 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5926 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5927 test $i != 17 # 1/2 MB should be enough
5928 do
5929 i=`expr $i + 1`
5930 teststring=$teststring$teststring
5931 done
5932 # Only check the string length outside the loop.
5933 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5934 teststring=
5935 # Add a significant safety factor because C++ compilers can tack on
5936 # massive amounts of additional arguments before passing them to the
5937 # linker. It appears as though 1/2 is a usable value.
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5939 fi
5940 ;;
5941 esac
5942
5943 fi
5944
5945 if test -n $lt_cv_sys_max_cmd_len ; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5948 else
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5950 $as_echo "none" >&6; }
5951 fi
5952 max_cmd_len=$lt_cv_sys_max_cmd_len
5953
5954
5955
5956
5957
5958
5959 : ${CP="cp -f"}
5960 : ${MV="mv -f"}
5961 : ${RM="rm -f"}
5962
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5964 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5965 # Try some XSI features
5966 xsi_shell=no
5967 ( _lt_dummy="a/b/c"
5968 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5969 = c,a/b,, \
5970 && eval 'test $(( 1 + 1 )) -eq 2 \
5971 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5972 && xsi_shell=yes
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5974 $as_echo "$xsi_shell" >&6; }
5975
5976
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5978 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5979 lt_shell_append=no
5980 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5981 >/dev/null 2>&1 \
5982 && lt_shell_append=yes
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5984 $as_echo "$lt_shell_append" >&6; }
5985
5986
5987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5988 lt_unset=unset
5989 else
5990 lt_unset=false
5991 fi
5992
5993
5994
5995
5996
5997 # test EBCDIC or ASCII
5998 case `echo X|tr X '\101'` in
5999 A) # ASCII based system
6000 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6001 lt_SP2NL='tr \040 \012'
6002 lt_NL2SP='tr \015\012 \040\040'
6003 ;;
6004 *) # EBCDIC based system
6005 lt_SP2NL='tr \100 \n'
6006 lt_NL2SP='tr \r\n \100\100'
6007 ;;
6008 esac
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6019 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6020 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 lt_cv_ld_reload_flag='-r'
6024 fi
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6026 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6027 reload_flag=$lt_cv_ld_reload_flag
6028 case $reload_flag in
6029 "" | " "*) ;;
6030 *) reload_flag=" $reload_flag" ;;
6031 esac
6032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6033 case $host_os in
6034 darwin*)
6035 if test "$GCC" = yes; then
6036 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6037 else
6038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6039 fi
6040 ;;
6041 esac
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$OBJDUMP"; then
6060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6064 do
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6072 fi
6073 done
6074 done
6075 IFS=$as_save_IFS
6076
6077 fi
6078 fi
6079 OBJDUMP=$ac_cv_prog_OBJDUMP
6080 if test -n "$OBJDUMP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6082 $as_echo "$OBJDUMP" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6086 fi
6087
6088
6089 fi
6090 if test -z "$ac_cv_prog_OBJDUMP"; then
6091 ac_ct_OBJDUMP=$OBJDUMP
6092 # Extract the first word of "objdump", so it can be a program name with args.
6093 set dummy objdump; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ac_ct_OBJDUMP"; then
6100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6112 fi
6113 done
6114 done
6115 IFS=$as_save_IFS
6116
6117 fi
6118 fi
6119 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6120 if test -n "$ac_ct_OBJDUMP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6122 $as_echo "$ac_ct_OBJDUMP" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6126 fi
6127
6128 if test "x$ac_ct_OBJDUMP" = x; then
6129 OBJDUMP="false"
6130 else
6131 case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 OBJDUMP=$ac_ct_OBJDUMP
6138 fi
6139 else
6140 OBJDUMP="$ac_cv_prog_OBJDUMP"
6141 fi
6142
6143 test -z "$OBJDUMP" && OBJDUMP=objdump
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6154 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6155 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 lt_cv_file_magic_cmd='$MAGIC_CMD'
6159 lt_cv_file_magic_test_file=
6160 lt_cv_deplibs_check_method='unknown'
6161 # Need to set the preceding variable on all platforms that support
6162 # interlibrary dependencies.
6163 # 'none' -- dependencies not supported.
6164 # `unknown' -- same as none, but documents that we really don't know.
6165 # 'pass_all' -- all dependencies passed with no checks.
6166 # 'test_compile' -- check by making test program.
6167 # 'file_magic [[regex]]' -- check by looking for files in library path
6168 # which responds to the $file_magic_cmd with a given extended regex.
6169 # If you have `file' or equivalent on your system and you're not sure
6170 # whether `pass_all' will *always* work, you probably want this one.
6171
6172 case $host_os in
6173 aix[4-9]*)
6174 lt_cv_deplibs_check_method=pass_all
6175 ;;
6176
6177 beos*)
6178 lt_cv_deplibs_check_method=pass_all
6179 ;;
6180
6181 bsdi[45]*)
6182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6183 lt_cv_file_magic_cmd='/usr/bin/file -L'
6184 lt_cv_file_magic_test_file=/shlib/libc.so
6185 ;;
6186
6187 cygwin*)
6188 # func_win32_libid is a shell function defined in ltmain.sh
6189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6190 lt_cv_file_magic_cmd='func_win32_libid'
6191 ;;
6192
6193 mingw* | pw32*)
6194 # Base MSYS/MinGW do not provide the 'file' command needed by
6195 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6196 # unless we find 'file', for example because we are cross-compiling.
6197 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6198 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6199 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6200 lt_cv_file_magic_cmd='func_win32_libid'
6201 else
6202 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6203 lt_cv_file_magic_cmd='$OBJDUMP -f'
6204 fi
6205 ;;
6206
6207 cegcc*)
6208 # use the weaker test based on 'objdump'. See mingw*.
6209 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6210 lt_cv_file_magic_cmd='$OBJDUMP -f'
6211 ;;
6212
6213 darwin* | rhapsody*)
6214 lt_cv_deplibs_check_method=pass_all
6215 ;;
6216
6217 freebsd* | dragonfly*)
6218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6219 case $host_cpu in
6220 i*86 )
6221 # Not sure whether the presence of OpenBSD here was a mistake.
6222 # Let's accept both of them until this is cleared up.
6223 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6224 lt_cv_file_magic_cmd=/usr/bin/file
6225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6226 ;;
6227 esac
6228 else
6229 lt_cv_deplibs_check_method=pass_all
6230 fi
6231 ;;
6232
6233 gnu*)
6234 lt_cv_deplibs_check_method=pass_all
6235 ;;
6236
6237 haiku*)
6238 lt_cv_deplibs_check_method=pass_all
6239 ;;
6240
6241 hpux10.20* | hpux11*)
6242 lt_cv_file_magic_cmd=/usr/bin/file
6243 case $host_cpu in
6244 ia64*)
6245 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6246 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6247 ;;
6248 hppa*64*)
6249 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]'
6250 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6251 ;;
6252 *)
6253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6254 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6255 ;;
6256 esac
6257 ;;
6258
6259 interix[3-9]*)
6260 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6262 ;;
6263
6264 irix5* | irix6* | nonstopux*)
6265 case $LD in
6266 *-32|*"-32 ") libmagic=32-bit;;
6267 *-n32|*"-n32 ") libmagic=N32;;
6268 *-64|*"-64 ") libmagic=64-bit;;
6269 *) libmagic=never-match;;
6270 esac
6271 lt_cv_deplibs_check_method=pass_all
6272 ;;
6273
6274 # This must be Linux ELF.
6275 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6276 lt_cv_deplibs_check_method=pass_all
6277 ;;
6278
6279 netbsd*)
6280 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6282 else
6283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6284 fi
6285 ;;
6286
6287 newos6*)
6288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6291 ;;
6292
6293 *nto* | *qnx*)
6294 lt_cv_deplibs_check_method=pass_all
6295 ;;
6296
6297 openbsd*)
6298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6300 else
6301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6302 fi
6303 ;;
6304
6305 osf3* | osf4* | osf5*)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308
6309 rdos*)
6310 lt_cv_deplibs_check_method=pass_all
6311 ;;
6312
6313 solaris*)
6314 lt_cv_deplibs_check_method=pass_all
6315 ;;
6316
6317 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6318 lt_cv_deplibs_check_method=pass_all
6319 ;;
6320
6321 sysv4 | sysv4.3*)
6322 case $host_vendor in
6323 motorola)
6324 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]'
6325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6326 ;;
6327 ncr)
6328 lt_cv_deplibs_check_method=pass_all
6329 ;;
6330 sequent)
6331 lt_cv_file_magic_cmd='/bin/file'
6332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6333 ;;
6334 sni)
6335 lt_cv_file_magic_cmd='/bin/file'
6336 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6337 lt_cv_file_magic_test_file=/lib/libc.so
6338 ;;
6339 siemens)
6340 lt_cv_deplibs_check_method=pass_all
6341 ;;
6342 pc)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345 esac
6346 ;;
6347
6348 tpf*)
6349 lt_cv_deplibs_check_method=pass_all
6350 ;;
6351 esac
6352
6353 fi
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6355 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6356 file_magic_cmd=$lt_cv_file_magic_cmd
6357 deplibs_check_method=$lt_cv_deplibs_check_method
6358 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}ar; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if test "${ac_cv_prog_AR+set}" = set; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -n "$AR"; then
6380 ac_cv_prog_AR="$AR" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_AR="${ac_tool_prefix}ar"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6392 fi
6393 done
6394 done
6395 IFS=$as_save_IFS
6396
6397 fi
6398 fi
6399 AR=$ac_cv_prog_AR
6400 if test -n "$AR"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6402 $as_echo "$AR" >&6; }
6403 else
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6406 fi
6407
6408
6409 fi
6410 if test -z "$ac_cv_prog_AR"; then
6411 ac_ct_AR=$AR
6412 # Extract the first word of "ar", so it can be a program name with args.
6413 set dummy ar; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6417 $as_echo_n "(cached) " >&6
6418 else
6419 if test -n "$ac_ct_AR"; then
6420 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6424 do
6425 IFS=$as_save_IFS
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_AR="ar"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 break 2
6432 fi
6433 done
6434 done
6435 IFS=$as_save_IFS
6436
6437 fi
6438 fi
6439 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6440 if test -n "$ac_ct_AR"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6442 $as_echo "$ac_ct_AR" >&6; }
6443 else
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6446 fi
6447
6448 if test "x$ac_ct_AR" = x; then
6449 AR="false"
6450 else
6451 case $cross_compiling:$ac_tool_warned in
6452 yes:)
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6456 esac
6457 AR=$ac_ct_AR
6458 fi
6459 else
6460 AR="$ac_cv_prog_AR"
6461 fi
6462
6463 test -z "$AR" && AR=ar
6464 test -z "$AR_FLAGS" && AR_FLAGS=cru
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476 if test -n "$ac_tool_prefix"; then
6477 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6478 set dummy ${ac_tool_prefix}strip; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_STRIP+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$STRIP"; then
6485 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6489 do
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6497 fi
6498 done
6499 done
6500 IFS=$as_save_IFS
6501
6502 fi
6503 fi
6504 STRIP=$ac_cv_prog_STRIP
6505 if test -n "$STRIP"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6507 $as_echo "$STRIP" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6511 fi
6512
6513
6514 fi
6515 if test -z "$ac_cv_prog_STRIP"; then
6516 ac_ct_STRIP=$STRIP
6517 # Extract the first word of "strip", so it can be a program name with args.
6518 set dummy strip; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 $as_echo_n "checking for $ac_word... " >&6; }
6521 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6523 else
6524 if test -n "$ac_ct_STRIP"; then
6525 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6526 else
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6529 do
6530 IFS=$as_save_IFS
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6534 ac_cv_prog_ac_ct_STRIP="strip"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536 break 2
6537 fi
6538 done
6539 done
6540 IFS=$as_save_IFS
6541
6542 fi
6543 fi
6544 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6545 if test -n "$ac_ct_STRIP"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6547 $as_echo "$ac_ct_STRIP" >&6; }
6548 else
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6551 fi
6552
6553 if test "x$ac_ct_STRIP" = x; then
6554 STRIP=":"
6555 else
6556 case $cross_compiling:$ac_tool_warned in
6557 yes:)
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6560 ac_tool_warned=yes ;;
6561 esac
6562 STRIP=$ac_ct_STRIP
6563 fi
6564 else
6565 STRIP="$ac_cv_prog_STRIP"
6566 fi
6567
6568 test -z "$STRIP" && STRIP=:
6569
6570
6571
6572
6573
6574
6575 if test -n "$ac_tool_prefix"; then
6576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$RANLIB"; then
6584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6588 do
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6596 fi
6597 done
6598 done
6599 IFS=$as_save_IFS
6600
6601 fi
6602 fi
6603 RANLIB=$ac_cv_prog_RANLIB
6604 if test -n "$RANLIB"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6606 $as_echo "$RANLIB" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6610 fi
6611
6612
6613 fi
6614 if test -z "$ac_cv_prog_RANLIB"; then
6615 ac_ct_RANLIB=$RANLIB
6616 # Extract the first word of "ranlib", so it can be a program name with args.
6617 set dummy ranlib; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$ac_ct_RANLIB"; then
6624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6628 do
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_ac_ct_RANLIB="ranlib"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6636 fi
6637 done
6638 done
6639 IFS=$as_save_IFS
6640
6641 fi
6642 fi
6643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6644 if test -n "$ac_ct_RANLIB"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6646 $as_echo "$ac_ct_RANLIB" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6650 fi
6651
6652 if test "x$ac_ct_RANLIB" = x; then
6653 RANLIB=":"
6654 else
6655 case $cross_compiling:$ac_tool_warned in
6656 yes:)
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6659 ac_tool_warned=yes ;;
6660 esac
6661 RANLIB=$ac_ct_RANLIB
6662 fi
6663 else
6664 RANLIB="$ac_cv_prog_RANLIB"
6665 fi
6666
6667 test -z "$RANLIB" && RANLIB=:
6668
6669
6670
6671
6672
6673
6674 # Determine commands to create old-style static archives.
6675 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6676 old_postinstall_cmds='chmod 644 $oldlib'
6677 old_postuninstall_cmds=
6678
6679 if test -n "$RANLIB"; then
6680 case $host_os in
6681 openbsd*)
6682 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6683 ;;
6684 *)
6685 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6686 ;;
6687 esac
6688 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6689 fi
6690
6691 case $host_os in
6692 darwin*)
6693 lock_old_archive_extraction=yes ;;
6694 *)
6695 lock_old_archive_extraction=no ;;
6696 esac
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736 # If no C compiler was specified, use CC.
6737 LTCC=${LTCC-"$CC"}
6738
6739 # If no C compiler flags were specified, use CFLAGS.
6740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6741
6742 # Allow CC to be a program name with arguments.
6743 compiler=$CC
6744
6745
6746 # Check for command to grab the raw symbol name followed by C symbol from nm.
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6748 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6749 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752
6753 # These are sane defaults that work on at least a few old systems.
6754 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6755
6756 # Character class describing NM global symbol codes.
6757 symcode='[BCDEGRST]'
6758
6759 # Regexp to match symbols that can be accessed directly from C.
6760 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6761
6762 # Define system-specific variables.
6763 case $host_os in
6764 aix*)
6765 symcode='[BCDT]'
6766 ;;
6767 cygwin* | mingw* | pw32* | cegcc*)
6768 symcode='[ABCDGISTW]'
6769 ;;
6770 hpux*)
6771 if test "$host_cpu" = ia64; then
6772 symcode='[ABCDEGRST]'
6773 fi
6774 ;;
6775 irix* | nonstopux*)
6776 symcode='[BCDEGRST]'
6777 ;;
6778 osf*)
6779 symcode='[BCDEGQRST]'
6780 ;;
6781 solaris*)
6782 symcode='[BDRT]'
6783 ;;
6784 sco3.2v5*)
6785 symcode='[DT]'
6786 ;;
6787 sysv4.2uw2*)
6788 symcode='[DT]'
6789 ;;
6790 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6791 symcode='[ABDT]'
6792 ;;
6793 sysv4)
6794 symcode='[DFNSTU]'
6795 ;;
6796 esac
6797
6798 # If we're using GNU nm, then use its standard symbol codes.
6799 case `$NM -V 2>&1` in
6800 *GNU* | *'with BFD'*)
6801 symcode='[ABCDGIRSTW]' ;;
6802 esac
6803
6804 # Transform an extracted symbol line into a proper C declaration.
6805 # Some systems (esp. on ia64) link data and code symbols differently,
6806 # so use this general approach.
6807 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6808
6809 # Transform an extracted symbol line into symbol name and symbol address
6810 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6811 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'"
6812
6813 # Handle CRLF in mingw tool chain
6814 opt_cr=
6815 case $build_os in
6816 mingw*)
6817 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6818 ;;
6819 esac
6820
6821 # Try without a prefix underscore, then with it.
6822 for ac_symprfx in "" "_"; do
6823
6824 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6825 symxfrm="\\1 $ac_symprfx\\2 \\2"
6826
6827 # Write the raw and C identifiers.
6828 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6829 # Fake it for dumpbin and say T for any non-static function
6830 # and D for any global variable.
6831 # Also find C++ and __fastcall symbols from MSVC++,
6832 # which start with @ or ?.
6833 lt_cv_sys_global_symbol_pipe="$AWK '"\
6834 " {last_section=section; section=\$ 3};"\
6835 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6836 " \$ 0!~/External *\|/{next};"\
6837 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6838 " {if(hide[section]) next};"\
6839 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6840 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6841 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6842 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6843 " ' prfx=^$ac_symprfx"
6844 else
6845 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6846 fi
6847
6848 # Check to see that the pipe works correctly.
6849 pipe_works=no
6850
6851 rm -f conftest*
6852 cat > conftest.$ac_ext <<_LT_EOF
6853 #ifdef __cplusplus
6854 extern "C" {
6855 #endif
6856 char nm_test_var;
6857 void nm_test_func(void);
6858 void nm_test_func(void){}
6859 #ifdef __cplusplus
6860 }
6861 #endif
6862 int main(){nm_test_var='a';nm_test_func();return(0);}
6863 _LT_EOF
6864
6865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6866 (eval $ac_compile) 2>&5
6867 ac_status=$?
6868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6869 test $ac_status = 0; }; then
6870 # Now try to grab the symbols.
6871 nlist=conftest.nm
6872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6873 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6874 ac_status=$?
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6876 test $ac_status = 0; } && test -s "$nlist"; then
6877 # Try sorting and uniquifying the output.
6878 if sort "$nlist" | uniq > "$nlist"T; then
6879 mv -f "$nlist"T "$nlist"
6880 else
6881 rm -f "$nlist"T
6882 fi
6883
6884 # Make sure that we snagged all the symbols we need.
6885 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6886 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6887 cat <<_LT_EOF > conftest.$ac_ext
6888 #ifdef __cplusplus
6889 extern "C" {
6890 #endif
6891
6892 _LT_EOF
6893 # Now generate the symbol file.
6894 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6895
6896 cat <<_LT_EOF >> conftest.$ac_ext
6897
6898 /* The mapping between symbol names and symbols. */
6899 const struct {
6900 const char *name;
6901 void *address;
6902 }
6903 lt__PROGRAM__LTX_preloaded_symbols[] =
6904 {
6905 { "@PROGRAM@", (void *) 0 },
6906 _LT_EOF
6907 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6908 cat <<\_LT_EOF >> conftest.$ac_ext
6909 {0, (void *) 0}
6910 };
6911
6912 /* This works around a problem in FreeBSD linker */
6913 #ifdef FREEBSD_WORKAROUND
6914 static const void *lt_preloaded_setup() {
6915 return lt__PROGRAM__LTX_preloaded_symbols;
6916 }
6917 #endif
6918
6919 #ifdef __cplusplus
6920 }
6921 #endif
6922 _LT_EOF
6923 # Now try linking the two files.
6924 mv conftest.$ac_objext conftstm.$ac_objext
6925 lt_save_LIBS="$LIBS"
6926 lt_save_CFLAGS="$CFLAGS"
6927 LIBS="conftstm.$ac_objext"
6928 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6930 (eval $ac_link) 2>&5
6931 ac_status=$?
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6933 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6934 pipe_works=yes
6935 fi
6936 LIBS="$lt_save_LIBS"
6937 CFLAGS="$lt_save_CFLAGS"
6938 else
6939 echo "cannot find nm_test_func in $nlist" >&5
6940 fi
6941 else
6942 echo "cannot find nm_test_var in $nlist" >&5
6943 fi
6944 else
6945 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6946 fi
6947 else
6948 echo "$progname: failed program was:" >&5
6949 cat conftest.$ac_ext >&5
6950 fi
6951 rm -rf conftest* conftst*
6952
6953 # Do not use the global_symbol_pipe unless it works.
6954 if test "$pipe_works" = yes; then
6955 break
6956 else
6957 lt_cv_sys_global_symbol_pipe=
6958 fi
6959 done
6960
6961 fi
6962
6963 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6964 lt_cv_sys_global_symbol_to_cdecl=
6965 fi
6966 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6968 $as_echo "failed" >&6; }
6969 else
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6971 $as_echo "ok" >&6; }
6972 fi
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995 # Check whether --enable-libtool-lock was given.
6996 if test "${enable_libtool_lock+set}" = set; then :
6997 enableval=$enable_libtool_lock;
6998 fi
6999
7000 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7001
7002 # Some flags need to be propagated to the compiler or linker for good
7003 # libtool support.
7004 case $host in
7005 ia64-*-hpux*)
7006 # Find out which ABI we are using.
7007 echo 'int i;' > conftest.$ac_ext
7008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7009 (eval $ac_compile) 2>&5
7010 ac_status=$?
7011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012 test $ac_status = 0; }; then
7013 case `/usr/bin/file conftest.$ac_objext` in
7014 *ELF-32*)
7015 HPUX_IA64_MODE="32"
7016 ;;
7017 *ELF-64*)
7018 HPUX_IA64_MODE="64"
7019 ;;
7020 esac
7021 fi
7022 rm -rf conftest*
7023 ;;
7024 *-*-irix6*)
7025 # Find out which ABI we are using.
7026 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7028 (eval $ac_compile) 2>&5
7029 ac_status=$?
7030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7031 test $ac_status = 0; }; then
7032 if test "$lt_cv_prog_gnu_ld" = yes; then
7033 case `/usr/bin/file conftest.$ac_objext` in
7034 *32-bit*)
7035 LD="${LD-ld} -melf32bsmip"
7036 ;;
7037 *N32*)
7038 LD="${LD-ld} -melf32bmipn32"
7039 ;;
7040 *64-bit*)
7041 LD="${LD-ld} -melf64bmip"
7042 ;;
7043 esac
7044 else
7045 case `/usr/bin/file conftest.$ac_objext` in
7046 *32-bit*)
7047 LD="${LD-ld} -32"
7048 ;;
7049 *N32*)
7050 LD="${LD-ld} -n32"
7051 ;;
7052 *64-bit*)
7053 LD="${LD-ld} -64"
7054 ;;
7055 esac
7056 fi
7057 fi
7058 rm -rf conftest*
7059 ;;
7060
7061 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7062 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7063 # Find out which ABI we are using.
7064 echo 'int i;' > conftest.$ac_ext
7065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7066 (eval $ac_compile) 2>&5
7067 ac_status=$?
7068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069 test $ac_status = 0; }; then
7070 case `/usr/bin/file conftest.o` in
7071 *32-bit*)
7072 case $host in
7073 x86_64-*kfreebsd*-gnu)
7074 LD="${LD-ld} -m elf_i386_fbsd"
7075 ;;
7076 x86_64-*linux*)
7077 LD="${LD-ld} -m elf_i386"
7078 ;;
7079 ppc64-*linux*|powerpc64-*linux*)
7080 LD="${LD-ld} -m elf32ppclinux"
7081 ;;
7082 s390x-*linux*)
7083 LD="${LD-ld} -m elf_s390"
7084 ;;
7085 sparc64-*linux*)
7086 LD="${LD-ld} -m elf32_sparc"
7087 ;;
7088 esac
7089 ;;
7090 *64-bit*)
7091 case $host in
7092 x86_64-*kfreebsd*-gnu)
7093 LD="${LD-ld} -m elf_x86_64_fbsd"
7094 ;;
7095 x86_64-*linux*)
7096 LD="${LD-ld} -m elf_x86_64"
7097 ;;
7098 ppc*-*linux*|powerpc*-*linux*)
7099 LD="${LD-ld} -m elf64ppc"
7100 ;;
7101 s390*-*linux*|s390*-*tpf*)
7102 LD="${LD-ld} -m elf64_s390"
7103 ;;
7104 sparc*-*linux*)
7105 LD="${LD-ld} -m elf64_sparc"
7106 ;;
7107 esac
7108 ;;
7109 esac
7110 fi
7111 rm -rf conftest*
7112 ;;
7113
7114 *-*-sco3.2v5*)
7115 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7116 SAVE_CFLAGS="$CFLAGS"
7117 CFLAGS="$CFLAGS -belf"
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7119 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7120 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 ac_ext=c
7124 ac_cpp='$CPP $CPPFLAGS'
7125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128
7129 if test x$gcc_no_link = xyes; then
7130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7131 fi
7132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7134
7135 int
7136 main ()
7137 {
7138
7139 ;
7140 return 0;
7141 }
7142 _ACEOF
7143 if ac_fn_c_try_link "$LINENO"; then :
7144 lt_cv_cc_needs_belf=yes
7145 else
7146 lt_cv_cc_needs_belf=no
7147 fi
7148 rm -f core conftest.err conftest.$ac_objext \
7149 conftest$ac_exeext conftest.$ac_ext
7150 ac_ext=c
7151 ac_cpp='$CPP $CPPFLAGS'
7152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7155
7156 fi
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7158 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7159 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7160 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7161 CFLAGS="$SAVE_CFLAGS"
7162 fi
7163 ;;
7164 sparc*-*solaris*)
7165 # Find out which ABI we are using.
7166 echo 'int i;' > conftest.$ac_ext
7167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7168 (eval $ac_compile) 2>&5
7169 ac_status=$?
7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171 test $ac_status = 0; }; then
7172 case `/usr/bin/file conftest.o` in
7173 *64-bit*)
7174 case $lt_cv_prog_gnu_ld in
7175 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7176 *)
7177 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7178 LD="${LD-ld} -64"
7179 fi
7180 ;;
7181 esac
7182 ;;
7183 esac
7184 fi
7185 rm -rf conftest*
7186 ;;
7187 esac
7188
7189 need_locks="$enable_libtool_lock"
7190
7191
7192 case $host_os in
7193 rhapsody* | darwin*)
7194 if test -n "$ac_tool_prefix"; then
7195 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7196 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7200 $as_echo_n "(cached) " >&6
7201 else
7202 if test -n "$DSYMUTIL"; then
7203 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7204 else
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 for as_dir in $PATH
7207 do
7208 IFS=$as_save_IFS
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 break 2
7215 fi
7216 done
7217 done
7218 IFS=$as_save_IFS
7219
7220 fi
7221 fi
7222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7223 if test -n "$DSYMUTIL"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7225 $as_echo "$DSYMUTIL" >&6; }
7226 else
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7229 fi
7230
7231
7232 fi
7233 if test -z "$ac_cv_prog_DSYMUTIL"; then
7234 ac_ct_DSYMUTIL=$DSYMUTIL
7235 # Extract the first word of "dsymutil", so it can be a program name with args.
7236 set dummy dsymutil; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7240 $as_echo_n "(cached) " >&6
7241 else
7242 if test -n "$ac_ct_DSYMUTIL"; then
7243 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7244 else
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH
7247 do
7248 IFS=$as_save_IFS
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7254 break 2
7255 fi
7256 done
7257 done
7258 IFS=$as_save_IFS
7259
7260 fi
7261 fi
7262 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7263 if test -n "$ac_ct_DSYMUTIL"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7265 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7266 else
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7269 fi
7270
7271 if test "x$ac_ct_DSYMUTIL" = x; then
7272 DSYMUTIL=":"
7273 else
7274 case $cross_compiling:$ac_tool_warned in
7275 yes:)
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7278 ac_tool_warned=yes ;;
7279 esac
7280 DSYMUTIL=$ac_ct_DSYMUTIL
7281 fi
7282 else
7283 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7284 fi
7285
7286 if test -n "$ac_tool_prefix"; then
7287 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7293 else
7294 if test -n "$NMEDIT"; then
7295 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7299 do
7300 IFS=$as_save_IFS
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 break 2
7307 fi
7308 done
7309 done
7310 IFS=$as_save_IFS
7311
7312 fi
7313 fi
7314 NMEDIT=$ac_cv_prog_NMEDIT
7315 if test -n "$NMEDIT"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7317 $as_echo "$NMEDIT" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7321 fi
7322
7323
7324 fi
7325 if test -z "$ac_cv_prog_NMEDIT"; then
7326 ac_ct_NMEDIT=$NMEDIT
7327 # Extract the first word of "nmedit", so it can be a program name with args.
7328 set dummy nmedit; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7332 $as_echo_n "(cached) " >&6
7333 else
7334 if test -n "$ac_ct_NMEDIT"; then
7335 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7339 do
7340 IFS=$as_save_IFS
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346 break 2
7347 fi
7348 done
7349 done
7350 IFS=$as_save_IFS
7351
7352 fi
7353 fi
7354 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7355 if test -n "$ac_ct_NMEDIT"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7357 $as_echo "$ac_ct_NMEDIT" >&6; }
7358 else
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363 if test "x$ac_ct_NMEDIT" = x; then
7364 NMEDIT=":"
7365 else
7366 case $cross_compiling:$ac_tool_warned in
7367 yes:)
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7370 ac_tool_warned=yes ;;
7371 esac
7372 NMEDIT=$ac_ct_NMEDIT
7373 fi
7374 else
7375 NMEDIT="$ac_cv_prog_NMEDIT"
7376 fi
7377
7378 if test -n "$ac_tool_prefix"; then
7379 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7380 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_LIPO+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$LIPO"; then
7387 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7391 do
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7399 fi
7400 done
7401 done
7402 IFS=$as_save_IFS
7403
7404 fi
7405 fi
7406 LIPO=$ac_cv_prog_LIPO
7407 if test -n "$LIPO"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7409 $as_echo "$LIPO" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7413 fi
7414
7415
7416 fi
7417 if test -z "$ac_cv_prog_LIPO"; then
7418 ac_ct_LIPO=$LIPO
7419 # Extract the first word of "lipo", so it can be a program name with args.
7420 set dummy lipo; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7424 $as_echo_n "(cached) " >&6
7425 else
7426 if test -n "$ac_ct_LIPO"; then
7427 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7431 do
7432 IFS=$as_save_IFS
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_ac_ct_LIPO="lipo"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 break 2
7439 fi
7440 done
7441 done
7442 IFS=$as_save_IFS
7443
7444 fi
7445 fi
7446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7447 if test -n "$ac_ct_LIPO"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7449 $as_echo "$ac_ct_LIPO" >&6; }
7450 else
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7453 fi
7454
7455 if test "x$ac_ct_LIPO" = x; then
7456 LIPO=":"
7457 else
7458 case $cross_compiling:$ac_tool_warned in
7459 yes:)
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7462 ac_tool_warned=yes ;;
7463 esac
7464 LIPO=$ac_ct_LIPO
7465 fi
7466 else
7467 LIPO="$ac_cv_prog_LIPO"
7468 fi
7469
7470 if test -n "$ac_tool_prefix"; then
7471 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7472 set dummy ${ac_tool_prefix}otool; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$OTOOL"; then
7479 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7483 do
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7491 fi
7492 done
7493 done
7494 IFS=$as_save_IFS
7495
7496 fi
7497 fi
7498 OTOOL=$ac_cv_prog_OTOOL
7499 if test -n "$OTOOL"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7501 $as_echo "$OTOOL" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7505 fi
7506
7507
7508 fi
7509 if test -z "$ac_cv_prog_OTOOL"; then
7510 ac_ct_OTOOL=$OTOOL
7511 # Extract the first word of "otool", so it can be a program name with args.
7512 set dummy otool; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7516 $as_echo_n "(cached) " >&6
7517 else
7518 if test -n "$ac_ct_OTOOL"; then
7519 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7523 do
7524 IFS=$as_save_IFS
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_ac_ct_OTOOL="otool"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530 break 2
7531 fi
7532 done
7533 done
7534 IFS=$as_save_IFS
7535
7536 fi
7537 fi
7538 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7539 if test -n "$ac_ct_OTOOL"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7541 $as_echo "$ac_ct_OTOOL" >&6; }
7542 else
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7545 fi
7546
7547 if test "x$ac_ct_OTOOL" = x; then
7548 OTOOL=":"
7549 else
7550 case $cross_compiling:$ac_tool_warned in
7551 yes:)
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7554 ac_tool_warned=yes ;;
7555 esac
7556 OTOOL=$ac_ct_OTOOL
7557 fi
7558 else
7559 OTOOL="$ac_cv_prog_OTOOL"
7560 fi
7561
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7564 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$OTOOL64"; then
7571 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7575 do
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7583 fi
7584 done
7585 done
7586 IFS=$as_save_IFS
7587
7588 fi
7589 fi
7590 OTOOL64=$ac_cv_prog_OTOOL64
7591 if test -n "$OTOOL64"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7593 $as_echo "$OTOOL64" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7597 fi
7598
7599
7600 fi
7601 if test -z "$ac_cv_prog_OTOOL64"; then
7602 ac_ct_OTOOL64=$OTOOL64
7603 # Extract the first word of "otool64", so it can be a program name with args.
7604 set dummy otool64; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 if test -n "$ac_ct_OTOOL64"; then
7611 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7615 do
7616 IFS=$as_save_IFS
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_ac_ct_OTOOL64="otool64"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 break 2
7623 fi
7624 done
7625 done
7626 IFS=$as_save_IFS
7627
7628 fi
7629 fi
7630 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7631 if test -n "$ac_ct_OTOOL64"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7633 $as_echo "$ac_ct_OTOOL64" >&6; }
7634 else
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7637 fi
7638
7639 if test "x$ac_ct_OTOOL64" = x; then
7640 OTOOL64=":"
7641 else
7642 case $cross_compiling:$ac_tool_warned in
7643 yes:)
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646 ac_tool_warned=yes ;;
7647 esac
7648 OTOOL64=$ac_ct_OTOOL64
7649 fi
7650 else
7651 OTOOL64="$ac_cv_prog_OTOOL64"
7652 fi
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7681 $as_echo_n "checking for -single_module linker flag... " >&6; }
7682 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7683 $as_echo_n "(cached) " >&6
7684 else
7685 lt_cv_apple_cc_single_mod=no
7686 if test -z "${LT_MULTI_MODULE}"; then
7687 # By default we will add the -single_module flag. You can override
7688 # by either setting the environment variable LT_MULTI_MODULE
7689 # non-empty at configure time, or by adding -multi_module to the
7690 # link flags.
7691 rm -rf libconftest.dylib*
7692 echo "int foo(void){return 1;}" > conftest.c
7693 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7694 -dynamiclib -Wl,-single_module conftest.c" >&5
7695 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7696 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7697 _lt_result=$?
7698 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7699 lt_cv_apple_cc_single_mod=yes
7700 else
7701 cat conftest.err >&5
7702 fi
7703 rm -rf libconftest.dylib*
7704 rm -f conftest.*
7705 fi
7706 fi
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7708 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7710 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7711 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7713 else
7714 lt_cv_ld_exported_symbols_list=no
7715 save_LDFLAGS=$LDFLAGS
7716 echo "_main" > conftest.sym
7717 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7718 if test x$gcc_no_link = xyes; then
7719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7720 fi
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723
7724 int
7725 main ()
7726 {
7727
7728 ;
7729 return 0;
7730 }
7731 _ACEOF
7732 if ac_fn_c_try_link "$LINENO"; then :
7733 lt_cv_ld_exported_symbols_list=yes
7734 else
7735 lt_cv_ld_exported_symbols_list=no
7736 fi
7737 rm -f core conftest.err conftest.$ac_objext \
7738 conftest$ac_exeext conftest.$ac_ext
7739 LDFLAGS="$save_LDFLAGS"
7740
7741 fi
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7743 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7745 $as_echo_n "checking for -force_load linker flag... " >&6; }
7746 if test "${lt_cv_ld_force_load+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7748 else
7749 lt_cv_ld_force_load=no
7750 cat > conftest.c << _LT_EOF
7751 int forced_loaded() { return 2;}
7752 _LT_EOF
7753 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7754 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7755 echo "$AR cru libconftest.a conftest.o" >&5
7756 $AR cru libconftest.a conftest.o 2>&5
7757 cat > conftest.c << _LT_EOF
7758 int main() { return 0;}
7759 _LT_EOF
7760 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7761 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7762 _lt_result=$?
7763 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7764 lt_cv_ld_force_load=yes
7765 else
7766 cat conftest.err >&5
7767 fi
7768 rm -f conftest.err libconftest.a conftest conftest.c
7769 rm -rf conftest.dSYM
7770
7771 fi
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7773 $as_echo "$lt_cv_ld_force_load" >&6; }
7774 case $host_os in
7775 rhapsody* | darwin1.[012])
7776 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7777 darwin1.*)
7778 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7779 darwin*) # darwin 5.x on
7780 # if running on 10.5 or later, the deployment target defaults
7781 # to the OS version, if on x86, and 10.4, the deployment
7782 # target defaults to 10.4. Don't you love it?
7783 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7784 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7785 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7786 10.[012]*)
7787 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7788 10.*)
7789 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7790 esac
7791 ;;
7792 esac
7793 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7794 _lt_dar_single_mod='$single_module'
7795 fi
7796 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7797 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7798 else
7799 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7800 fi
7801 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7802 _lt_dsymutil='~$DSYMUTIL $lib || :'
7803 else
7804 _lt_dsymutil=
7805 fi
7806 ;;
7807 esac
7808
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7810 $as_echo_n "checking for ANSI C header files... " >&6; }
7811 if test "${ac_cv_header_stdc+set}" = set; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h. */
7816 #include <stdlib.h>
7817 #include <stdarg.h>
7818 #include <string.h>
7819 #include <float.h>
7820
7821 int
7822 main ()
7823 {
7824
7825 ;
7826 return 0;
7827 }
7828 _ACEOF
7829 if ac_fn_c_try_compile "$LINENO"; then :
7830 ac_cv_header_stdc=yes
7831 else
7832 ac_cv_header_stdc=no
7833 fi
7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7835
7836 if test $ac_cv_header_stdc = yes; then
7837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7840 #include <string.h>
7841
7842 _ACEOF
7843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7844 $EGREP "memchr" >/dev/null 2>&1; then :
7845
7846 else
7847 ac_cv_header_stdc=no
7848 fi
7849 rm -f conftest*
7850
7851 fi
7852
7853 if test $ac_cv_header_stdc = yes; then
7854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7856 /* end confdefs.h. */
7857 #include <stdlib.h>
7858
7859 _ACEOF
7860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7861 $EGREP "free" >/dev/null 2>&1; then :
7862
7863 else
7864 ac_cv_header_stdc=no
7865 fi
7866 rm -f conftest*
7867
7868 fi
7869
7870 if test $ac_cv_header_stdc = yes; then
7871 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7872 if test "$cross_compiling" = yes; then :
7873 :
7874 else
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877 #include <ctype.h>
7878 #include <stdlib.h>
7879 #if ((' ' & 0x0FF) == 0x020)
7880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7882 #else
7883 # define ISLOWER(c) \
7884 (('a' <= (c) && (c) <= 'i') \
7885 || ('j' <= (c) && (c) <= 'r') \
7886 || ('s' <= (c) && (c) <= 'z'))
7887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7888 #endif
7889
7890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7891 int
7892 main ()
7893 {
7894 int i;
7895 for (i = 0; i < 256; i++)
7896 if (XOR (islower (i), ISLOWER (i))
7897 || toupper (i) != TOUPPER (i))
7898 return 2;
7899 return 0;
7900 }
7901 _ACEOF
7902 if ac_fn_c_try_run "$LINENO"; then :
7903
7904 else
7905 ac_cv_header_stdc=no
7906 fi
7907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7908 conftest.$ac_objext conftest.beam conftest.$ac_ext
7909 fi
7910
7911 fi
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7914 $as_echo "$ac_cv_header_stdc" >&6; }
7915 if test $ac_cv_header_stdc = yes; then
7916
7917 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7918
7919 fi
7920
7921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7923 inttypes.h stdint.h unistd.h
7924 do :
7925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7927 "
7928 eval as_val=\$$as_ac_Header
7929 if test "x$as_val" = x""yes; then :
7930 cat >>confdefs.h <<_ACEOF
7931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7932 _ACEOF
7933
7934 fi
7935
7936 done
7937
7938
7939 for ac_header in dlfcn.h
7940 do :
7941 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7942 "
7943 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7944 cat >>confdefs.h <<_ACEOF
7945 #define HAVE_DLFCN_H 1
7946 _ACEOF
7947
7948 fi
7949
7950 done
7951
7952
7953
7954
7955
7956
7957 # Set options
7958
7959
7960
7961
7962 enable_win32_dll=no
7963
7964
7965 # Check whether --enable-shared was given.
7966 if test "${enable_shared+set}" = set; then :
7967 enableval=$enable_shared; p=${PACKAGE-default}
7968 case $enableval in
7969 yes) enable_shared=yes ;;
7970 no) enable_shared=no ;;
7971 *)
7972 enable_shared=no
7973 # Look at the argument we got. We use all the common list separators.
7974 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7975 for pkg in $enableval; do
7976 IFS="$lt_save_ifs"
7977 if test "X$pkg" = "X$p"; then
7978 enable_shared=yes
7979 fi
7980 done
7981 IFS="$lt_save_ifs"
7982 ;;
7983 esac
7984 else
7985 enable_shared=yes
7986 fi
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996 # Check whether --enable-static was given.
7997 if test "${enable_static+set}" = set; then :
7998 enableval=$enable_static; p=${PACKAGE-default}
7999 case $enableval in
8000 yes) enable_static=yes ;;
8001 no) enable_static=no ;;
8002 *)
8003 enable_static=no
8004 # Look at the argument we got. We use all the common list separators.
8005 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8006 for pkg in $enableval; do
8007 IFS="$lt_save_ifs"
8008 if test "X$pkg" = "X$p"; then
8009 enable_static=yes
8010 fi
8011 done
8012 IFS="$lt_save_ifs"
8013 ;;
8014 esac
8015 else
8016 enable_static=yes
8017 fi
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028 # Check whether --with-pic was given.
8029 if test "${with_pic+set}" = set; then :
8030 withval=$with_pic; pic_mode="$withval"
8031 else
8032 pic_mode=default
8033 fi
8034
8035
8036 test -z "$pic_mode" && pic_mode=default
8037
8038
8039
8040
8041
8042
8043
8044 # Check whether --enable-fast-install was given.
8045 if test "${enable_fast_install+set}" = set; then :
8046 enableval=$enable_fast_install; p=${PACKAGE-default}
8047 case $enableval in
8048 yes) enable_fast_install=yes ;;
8049 no) enable_fast_install=no ;;
8050 *)
8051 enable_fast_install=no
8052 # Look at the argument we got. We use all the common list separators.
8053 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8054 for pkg in $enableval; do
8055 IFS="$lt_save_ifs"
8056 if test "X$pkg" = "X$p"; then
8057 enable_fast_install=yes
8058 fi
8059 done
8060 IFS="$lt_save_ifs"
8061 ;;
8062 esac
8063 else
8064 enable_fast_install=yes
8065 fi
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077 # This can be used to rebuild libtool when needed
8078 LIBTOOL_DEPS="$ltmain"
8079
8080 # Always use our own libtool.
8081 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108 test -z "$LN_S" && LN_S="ln -s"
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123 if test -n "${ZSH_VERSION+set}" ; then
8124 setopt NO_GLOB_SUBST
8125 fi
8126
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8128 $as_echo_n "checking for objdir... " >&6; }
8129 if test "${lt_cv_objdir+set}" = set; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 rm -f .libs 2>/dev/null
8133 mkdir .libs 2>/dev/null
8134 if test -d .libs; then
8135 lt_cv_objdir=.libs
8136 else
8137 # MS-DOS does not allow filenames that begin with a dot.
8138 lt_cv_objdir=_libs
8139 fi
8140 rmdir .libs 2>/dev/null
8141 fi
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8143 $as_echo "$lt_cv_objdir" >&6; }
8144 objdir=$lt_cv_objdir
8145
8146
8147
8148
8149
8150 cat >>confdefs.h <<_ACEOF
8151 #define LT_OBJDIR "$lt_cv_objdir/"
8152 _ACEOF
8153
8154
8155
8156
8157 case $host_os in
8158 aix3*)
8159 # AIX sometimes has problems with the GCC collect2 program. For some
8160 # reason, if we set the COLLECT_NAMES environment variable, the problems
8161 # vanish in a puff of smoke.
8162 if test "X${COLLECT_NAMES+set}" != Xset; then
8163 COLLECT_NAMES=
8164 export COLLECT_NAMES
8165 fi
8166 ;;
8167 esac
8168
8169 # Global variables:
8170 ofile=libtool
8171 can_build_shared=yes
8172
8173 # All known linkers require a `.a' archive for static linking (except MSVC,
8174 # which needs '.lib').
8175 libext=a
8176
8177 with_gnu_ld="$lt_cv_prog_gnu_ld"
8178
8179 old_CC="$CC"
8180 old_CFLAGS="$CFLAGS"
8181
8182 # Set sane defaults for various variables
8183 test -z "$CC" && CC=cc
8184 test -z "$LTCC" && LTCC=$CC
8185 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8186 test -z "$LD" && LD=ld
8187 test -z "$ac_objext" && ac_objext=o
8188
8189 for cc_temp in $compiler""; do
8190 case $cc_temp in
8191 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8192 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8193 \-*) ;;
8194 *) break;;
8195 esac
8196 done
8197 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8198
8199
8200 # Only perform the check for file, if the check method requires it
8201 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8202 case $deplibs_check_method in
8203 file_magic*)
8204 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8206 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8207 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 case $MAGIC_CMD in
8211 [\\/*] | ?:[\\/]*)
8212 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8213 ;;
8214 *)
8215 lt_save_MAGIC_CMD="$MAGIC_CMD"
8216 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8217 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8218 for ac_dir in $ac_dummy; do
8219 IFS="$lt_save_ifs"
8220 test -z "$ac_dir" && ac_dir=.
8221 if test -f $ac_dir/${ac_tool_prefix}file; then
8222 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8223 if test -n "$file_magic_test_file"; then
8224 case $deplibs_check_method in
8225 "file_magic "*)
8226 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8228 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8229 $EGREP "$file_magic_regex" > /dev/null; then
8230 :
8231 else
8232 cat <<_LT_EOF 1>&2
8233
8234 *** Warning: the command libtool uses to detect shared libraries,
8235 *** $file_magic_cmd, produces output that libtool cannot recognize.
8236 *** The result is that libtool may fail to recognize shared libraries
8237 *** as such. This will affect the creation of libtool libraries that
8238 *** depend on shared libraries, but programs linked with such libtool
8239 *** libraries will work regardless of this problem. Nevertheless, you
8240 *** may want to report the problem to your system manager and/or to
8241 *** bug-libtool@gnu.org
8242
8243 _LT_EOF
8244 fi ;;
8245 esac
8246 fi
8247 break
8248 fi
8249 done
8250 IFS="$lt_save_ifs"
8251 MAGIC_CMD="$lt_save_MAGIC_CMD"
8252 ;;
8253 esac
8254 fi
8255
8256 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8257 if test -n "$MAGIC_CMD"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8259 $as_echo "$MAGIC_CMD" >&6; }
8260 else
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8263 fi
8264
8265
8266
8267
8268
8269 if test -z "$lt_cv_path_MAGIC_CMD"; then
8270 if test -n "$ac_tool_prefix"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8272 $as_echo_n "checking for file... " >&6; }
8273 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 case $MAGIC_CMD in
8277 [\\/*] | ?:[\\/]*)
8278 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8279 ;;
8280 *)
8281 lt_save_MAGIC_CMD="$MAGIC_CMD"
8282 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8283 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8284 for ac_dir in $ac_dummy; do
8285 IFS="$lt_save_ifs"
8286 test -z "$ac_dir" && ac_dir=.
8287 if test -f $ac_dir/file; then
8288 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8289 if test -n "$file_magic_test_file"; then
8290 case $deplibs_check_method in
8291 "file_magic "*)
8292 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8295 $EGREP "$file_magic_regex" > /dev/null; then
8296 :
8297 else
8298 cat <<_LT_EOF 1>&2
8299
8300 *** Warning: the command libtool uses to detect shared libraries,
8301 *** $file_magic_cmd, produces output that libtool cannot recognize.
8302 *** The result is that libtool may fail to recognize shared libraries
8303 *** as such. This will affect the creation of libtool libraries that
8304 *** depend on shared libraries, but programs linked with such libtool
8305 *** libraries will work regardless of this problem. Nevertheless, you
8306 *** may want to report the problem to your system manager and/or to
8307 *** bug-libtool@gnu.org
8308
8309 _LT_EOF
8310 fi ;;
8311 esac
8312 fi
8313 break
8314 fi
8315 done
8316 IFS="$lt_save_ifs"
8317 MAGIC_CMD="$lt_save_MAGIC_CMD"
8318 ;;
8319 esac
8320 fi
8321
8322 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8323 if test -n "$MAGIC_CMD"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8325 $as_echo "$MAGIC_CMD" >&6; }
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8329 fi
8330
8331
8332 else
8333 MAGIC_CMD=:
8334 fi
8335 fi
8336
8337 fi
8338 ;;
8339 esac
8340
8341 # Use C for the default configuration in the libtool script
8342
8343 lt_save_CC="$CC"
8344 ac_ext=c
8345 ac_cpp='$CPP $CPPFLAGS'
8346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8349
8350
8351 # Source file extension for C test sources.
8352 ac_ext=c
8353
8354 # Object file extension for compiled C test sources.
8355 objext=o
8356 objext=$objext
8357
8358 # Code to be used in simple compile tests
8359 lt_simple_compile_test_code="int some_variable = 0;"
8360
8361 # Code to be used in simple link tests
8362 lt_simple_link_test_code='int main(){return(0);}'
8363
8364
8365
8366
8367
8368
8369
8370 # If no C compiler was specified, use CC.
8371 LTCC=${LTCC-"$CC"}
8372
8373 # If no C compiler flags were specified, use CFLAGS.
8374 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8375
8376 # Allow CC to be a program name with arguments.
8377 compiler=$CC
8378
8379 # Save the default compiler, since it gets overwritten when the other
8380 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8381 compiler_DEFAULT=$CC
8382
8383 # save warnings/boilerplate of simple test code
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8386 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_compiler_boilerplate=`cat conftest.err`
8388 $RM conftest*
8389
8390 ac_outfile=conftest.$ac_objext
8391 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8392 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8393 _lt_linker_boilerplate=`cat conftest.err`
8394 $RM -r conftest*
8395
8396
8397 ## CAVEAT EMPTOR:
8398 ## There is no encapsulation within the following macros, do not change
8399 ## the running order or otherwise move them around unless you know exactly
8400 ## what you are doing...
8401 if test -n "$compiler"; then
8402
8403 lt_prog_compiler_no_builtin_flag=
8404
8405 if test "$GCC" = yes; then
8406 case $cc_basename in
8407 nvcc*)
8408 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8409 *)
8410 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8411 esac
8412
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8414 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8415 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 lt_cv_prog_compiler_rtti_exceptions=no
8419 ac_outfile=conftest.$ac_objext
8420 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8421 lt_compiler_flag="-fno-rtti -fno-exceptions"
8422 # Insert the option either (1) after the last *FLAGS variable, or
8423 # (2) before a word containing "conftest.", or (3) at the end.
8424 # Note that $ac_compile itself does not contain backslashes and begins
8425 # with a dollar sign (not a hyphen), so the echo should work correctly.
8426 # The option is referenced via a variable to avoid confusing sed.
8427 lt_compile=`echo "$ac_compile" | $SED \
8428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8430 -e 's:$: $lt_compiler_flag:'`
8431 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8432 (eval "$lt_compile" 2>conftest.err)
8433 ac_status=$?
8434 cat conftest.err >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 if (exit $ac_status) && test -s "$ac_outfile"; then
8437 # The compiler can only warn and ignore the option if not recognized
8438 # So say no if there are warnings other than the usual output.
8439 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8440 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8441 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8442 lt_cv_prog_compiler_rtti_exceptions=yes
8443 fi
8444 fi
8445 $RM conftest*
8446
8447 fi
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8449 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8450
8451 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8452 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8453 else
8454 :
8455 fi
8456
8457 fi
8458
8459
8460
8461
8462
8463
8464 lt_prog_compiler_wl=
8465 lt_prog_compiler_pic=
8466 lt_prog_compiler_static=
8467
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8469 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8470
8471 if test "$GCC" = yes; then
8472 lt_prog_compiler_wl='-Wl,'
8473 lt_prog_compiler_static='-static'
8474
8475 case $host_os in
8476 aix*)
8477 # All AIX code is PIC.
8478 if test "$host_cpu" = ia64; then
8479 # AIX 5 now supports IA64 processor
8480 lt_prog_compiler_static='-Bstatic'
8481 fi
8482 ;;
8483
8484 amigaos*)
8485 case $host_cpu in
8486 powerpc)
8487 # see comment about AmigaOS4 .so support
8488 lt_prog_compiler_pic='-fPIC'
8489 ;;
8490 m68k)
8491 # FIXME: we need at least 68020 code to build shared libraries, but
8492 # adding the `-m68020' flag to GCC prevents building anything better,
8493 # like `-m68040'.
8494 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8495 ;;
8496 esac
8497 ;;
8498
8499 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8500 # PIC is the default for these OSes.
8501 ;;
8502
8503 mingw* | cygwin* | pw32* | os2* | cegcc*)
8504 # This hack is so that the source file can tell whether it is being
8505 # built for inclusion in a dll (and should export symbols for example).
8506 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8507 # (--disable-auto-import) libraries
8508 lt_prog_compiler_pic='-DDLL_EXPORT'
8509 ;;
8510
8511 darwin* | rhapsody*)
8512 # PIC is the default on this platform
8513 # Common symbols not allowed in MH_DYLIB files
8514 lt_prog_compiler_pic='-fno-common'
8515 ;;
8516
8517 haiku*)
8518 # PIC is the default for Haiku.
8519 # The "-static" flag exists, but is broken.
8520 lt_prog_compiler_static=
8521 ;;
8522
8523 hpux*)
8524 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8525 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8526 # sets the default TLS model and affects inlining.
8527 case $host_cpu in
8528 hppa*64*)
8529 # +Z the default
8530 ;;
8531 *)
8532 lt_prog_compiler_pic='-fPIC'
8533 ;;
8534 esac
8535 ;;
8536
8537 interix[3-9]*)
8538 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8539 # Instead, we relocate shared libraries at runtime.
8540 ;;
8541
8542 msdosdjgpp*)
8543 # Just because we use GCC doesn't mean we suddenly get shared libraries
8544 # on systems that don't support them.
8545 lt_prog_compiler_can_build_shared=no
8546 enable_shared=no
8547 ;;
8548
8549 *nto* | *qnx*)
8550 # QNX uses GNU C++, but need to define -shared option too, otherwise
8551 # it will coredump.
8552 lt_prog_compiler_pic='-fPIC -shared'
8553 ;;
8554
8555 sysv4*MP*)
8556 if test -d /usr/nec; then
8557 lt_prog_compiler_pic=-Kconform_pic
8558 fi
8559 ;;
8560
8561 *)
8562 lt_prog_compiler_pic='-fPIC'
8563 ;;
8564 esac
8565
8566 case $cc_basename in
8567 nvcc*) # Cuda Compiler Driver 2.2
8568 lt_prog_compiler_wl='-Xlinker '
8569 lt_prog_compiler_pic='-Xcompiler -fPIC'
8570 ;;
8571 esac
8572 else
8573 # PORTME Check for flag to pass linker flags through the system compiler.
8574 case $host_os in
8575 aix*)
8576 lt_prog_compiler_wl='-Wl,'
8577 if test "$host_cpu" = ia64; then
8578 # AIX 5 now supports IA64 processor
8579 lt_prog_compiler_static='-Bstatic'
8580 else
8581 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8582 fi
8583 ;;
8584
8585 mingw* | cygwin* | pw32* | os2* | cegcc*)
8586 # This hack is so that the source file can tell whether it is being
8587 # built for inclusion in a dll (and should export symbols for example).
8588 lt_prog_compiler_pic='-DDLL_EXPORT'
8589 ;;
8590
8591 hpux9* | hpux10* | hpux11*)
8592 lt_prog_compiler_wl='-Wl,'
8593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8594 # not for PA HP-UX.
8595 case $host_cpu in
8596 hppa*64*|ia64*)
8597 # +Z the default
8598 ;;
8599 *)
8600 lt_prog_compiler_pic='+Z'
8601 ;;
8602 esac
8603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8604 lt_prog_compiler_static='${wl}-a ${wl}archive'
8605 ;;
8606
8607 irix5* | irix6* | nonstopux*)
8608 lt_prog_compiler_wl='-Wl,'
8609 # PIC (with -KPIC) is the default.
8610 lt_prog_compiler_static='-non_shared'
8611 ;;
8612
8613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8614 case $cc_basename in
8615 # old Intel for x86_64 which still supported -KPIC.
8616 ecc*)
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-KPIC'
8619 lt_prog_compiler_static='-static'
8620 ;;
8621 # icc used to be incompatible with GCC.
8622 # ICC 10 doesn't accept -KPIC any more.
8623 icc* | ifort*)
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-fPIC'
8626 lt_prog_compiler_static='-static'
8627 ;;
8628 # Lahey Fortran 8.1.
8629 lf95*)
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='--shared'
8632 lt_prog_compiler_static='--static'
8633 ;;
8634 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8635 # Portland Group compilers (*not* the Pentium gcc compiler,
8636 # which looks to be a dead project)
8637 lt_prog_compiler_wl='-Wl,'
8638 lt_prog_compiler_pic='-fpic'
8639 lt_prog_compiler_static='-Bstatic'
8640 ;;
8641 ccc*)
8642 lt_prog_compiler_wl='-Wl,'
8643 # All Alpha code is PIC.
8644 lt_prog_compiler_static='-non_shared'
8645 ;;
8646 xl* | bgxl* | bgf* | mpixl*)
8647 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_pic='-qpic'
8650 lt_prog_compiler_static='-qstaticlink'
8651 ;;
8652 *)
8653 case `$CC -V 2>&1 | sed 5q` in
8654 *Sun\ F* | *Sun*Fortran*)
8655 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl=''
8659 ;;
8660 *Sun\ C*)
8661 # Sun C 5.9
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-Bstatic'
8664 lt_prog_compiler_wl='-Wl,'
8665 ;;
8666 esac
8667 ;;
8668 esac
8669 ;;
8670
8671 newsos6)
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8674 ;;
8675
8676 *nto* | *qnx*)
8677 # QNX uses GNU C++, but need to define -shared option too, otherwise
8678 # it will coredump.
8679 lt_prog_compiler_pic='-fPIC -shared'
8680 ;;
8681
8682 osf3* | osf4* | osf5*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All OSF/1 code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8686 ;;
8687
8688 rdos*)
8689 lt_prog_compiler_static='-non_shared'
8690 ;;
8691
8692 solaris*)
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 case $cc_basename in
8696 f77* | f90* | f95*)
8697 lt_prog_compiler_wl='-Qoption ld ';;
8698 *)
8699 lt_prog_compiler_wl='-Wl,';;
8700 esac
8701 ;;
8702
8703 sunos4*)
8704 lt_prog_compiler_wl='-Qoption ld '
8705 lt_prog_compiler_pic='-PIC'
8706 lt_prog_compiler_static='-Bstatic'
8707 ;;
8708
8709 sysv4 | sysv4.2uw2* | sysv4.3*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8713 ;;
8714
8715 sysv4*MP*)
8716 if test -d /usr/nec ;then
8717 lt_prog_compiler_pic='-Kconform_pic'
8718 lt_prog_compiler_static='-Bstatic'
8719 fi
8720 ;;
8721
8722 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 ;;
8727
8728 unicos*)
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_can_build_shared=no
8731 ;;
8732
8733 uts4*)
8734 lt_prog_compiler_pic='-pic'
8735 lt_prog_compiler_static='-Bstatic'
8736 ;;
8737
8738 *)
8739 lt_prog_compiler_can_build_shared=no
8740 ;;
8741 esac
8742 fi
8743
8744 case $host_os in
8745 # For platforms which do not support PIC, -DPIC is meaningless:
8746 *djgpp*)
8747 lt_prog_compiler_pic=
8748 ;;
8749 *)
8750 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8751 ;;
8752 esac
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8754 $as_echo "$lt_prog_compiler_pic" >&6; }
8755
8756
8757
8758
8759
8760
8761 #
8762 # Check to make sure the PIC flag actually works.
8763 #
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8785 ac_status=$?
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8795 fi
8796 fi
8797 $RM conftest*
8798
8799 fi
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802
8803 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804 case $lt_prog_compiler_pic in
8805 "" | " "*) ;;
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8807 esac
8808 else
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8811 fi
8812
8813 fi
8814
8815
8816
8817
8818
8819
8820 #
8821 # Check to make sure the static flag actually works.
8822 #
8823 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8826 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 lt_cv_prog_compiler_static_works=no
8830 save_LDFLAGS="$LDFLAGS"
8831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8834 # The linker can only warn and ignore the option if not recognized
8835 # So say no if there are warnings
8836 if test -s conftest.err; then
8837 # Append any errors to the config.log.
8838 cat conftest.err 1>&5
8839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8841 if diff conftest.exp conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_static_works=yes
8843 fi
8844 else
8845 lt_cv_prog_compiler_static_works=yes
8846 fi
8847 fi
8848 $RM -r conftest*
8849 LDFLAGS="$save_LDFLAGS"
8850
8851 fi
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8854
8855 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8856 :
8857 else
8858 lt_prog_compiler_static=
8859 fi
8860
8861
8862
8863
8864
8865
8866
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8869 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 lt_cv_prog_compiler_c_o=no
8873 $RM -r conftest 2>/dev/null
8874 mkdir conftest
8875 cd conftest
8876 mkdir out
8877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8878
8879 lt_compiler_flag="-o out/conftest2.$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out/conftest.err)
8890 ac_status=$?
8891 cat out/conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8894 then
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_c_o=yes
8901 fi
8902 fi
8903 chmod u+w . 2>&5
8904 $RM conftest*
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908 $RM out/* && rmdir out
8909 cd ..
8910 $RM -r conftest
8911 $RM conftest*
8912
8913 fi
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916
8917
8918
8919
8920
8921
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8924 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8929 mkdir conftest
8930 cd conftest
8931 mkdir out
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8933
8934 lt_compiler_flag="-o out/conftest2.$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8945 ac_status=$?
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8949 then
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8956 fi
8957 fi
8958 chmod u+w . 2>&5
8959 $RM conftest*
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8964 cd ..
8965 $RM -r conftest
8966 $RM conftest*
8967
8968 fi
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8971
8972
8973
8974
8975 hard_links="nottested"
8976 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8977 # do not overwrite the value of need_locks provided by the user
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8979 $as_echo_n "checking if we can lock with hard links... " >&6; }
8980 hard_links=yes
8981 $RM conftest*
8982 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8983 touch conftest.a
8984 ln conftest.a conftest.b 2>&5 || hard_links=no
8985 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8987 $as_echo "$hard_links" >&6; }
8988 if test "$hard_links" = no; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8990 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8991 need_locks=warn
8992 fi
8993 else
8994 need_locks=no
8995 fi
8996
8997
8998
8999
9000
9001
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9003 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9004
9005 runpath_var=
9006 allow_undefined_flag=
9007 always_export_symbols=no
9008 archive_cmds=
9009 archive_expsym_cmds=
9010 compiler_needs_object=no
9011 enable_shared_with_static_runtimes=no
9012 export_dynamic_flag_spec=
9013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9014 hardcode_automatic=no
9015 hardcode_direct=no
9016 hardcode_direct_absolute=no
9017 hardcode_libdir_flag_spec=
9018 hardcode_libdir_flag_spec_ld=
9019 hardcode_libdir_separator=
9020 hardcode_minus_L=no
9021 hardcode_shlibpath_var=unsupported
9022 inherit_rpath=no
9023 link_all_deplibs=unknown
9024 module_cmds=
9025 module_expsym_cmds=
9026 old_archive_from_new_cmds=
9027 old_archive_from_expsyms_cmds=
9028 thread_safe_flag_spec=
9029 whole_archive_flag_spec=
9030 # include_expsyms should be a list of space-separated symbols to be *always*
9031 # included in the symbol list
9032 include_expsyms=
9033 # exclude_expsyms can be an extended regexp of symbols to exclude
9034 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9035 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9036 # as well as any symbol that contains `d'.
9037 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9038 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9039 # platforms (ab)use it in PIC code, but their linkers get confused if
9040 # the symbol is explicitly referenced. Since portable code cannot
9041 # rely on this symbol name, it's probably fine to never include it in
9042 # preloaded symbol tables.
9043 # Exclude shared library initialization/finalization symbols.
9044 extract_expsyms_cmds=
9045
9046 case $host_os in
9047 cygwin* | mingw* | pw32* | cegcc*)
9048 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9049 # When not using gcc, we currently assume that we are using
9050 # Microsoft Visual C++.
9051 if test "$GCC" != yes; then
9052 with_gnu_ld=no
9053 fi
9054 ;;
9055 interix*)
9056 # we just hope/assume this is gcc and not c89 (= MSVC++)
9057 with_gnu_ld=yes
9058 ;;
9059 openbsd*)
9060 with_gnu_ld=no
9061 ;;
9062 esac
9063
9064 ld_shlibs=yes
9065
9066 # On some targets, GNU ld is compatible enough with the native linker
9067 # that we're better off using the native interface for both.
9068 lt_use_gnu_ld_interface=no
9069 if test "$with_gnu_ld" = yes; then
9070 case $host_os in
9071 aix*)
9072 # The AIX port of GNU ld has always aspired to compatibility
9073 # with the native linker. However, as the warning in the GNU ld
9074 # block says, versions before 2.19.5* couldn't really create working
9075 # shared libraries, regardless of the interface used.
9076 case `$LD -v 2>&1` in
9077 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9078 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9079 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9080 *)
9081 lt_use_gnu_ld_interface=yes
9082 ;;
9083 esac
9084 ;;
9085 *)
9086 lt_use_gnu_ld_interface=yes
9087 ;;
9088 esac
9089 fi
9090
9091 if test "$lt_use_gnu_ld_interface" = yes; then
9092 # If archive_cmds runs LD, not CC, wlarc should be empty
9093 wlarc='${wl}'
9094
9095 # Set some defaults for GNU ld with shared library support. These
9096 # are reset later if shared libraries are not supported. Putting them
9097 # here allows them to be overridden if necessary.
9098 runpath_var=LD_RUN_PATH
9099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9100 export_dynamic_flag_spec='${wl}--export-dynamic'
9101 # ancient GNU ld didn't support --whole-archive et. al.
9102 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9103 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9104 else
9105 whole_archive_flag_spec=
9106 fi
9107 supports_anon_versioning=no
9108 case `$LD -v 2>&1` in
9109 *GNU\ gold*) supports_anon_versioning=yes ;;
9110 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9111 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9112 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9113 *\ 2.11.*) ;; # other 2.11 versions
9114 *) supports_anon_versioning=yes ;;
9115 esac
9116
9117 # See if GNU ld supports shared libraries.
9118 case $host_os in
9119 aix[3-9]*)
9120 # On AIX/PPC, the GNU linker is very broken
9121 if test "$host_cpu" != ia64; then
9122 ld_shlibs=no
9123 cat <<_LT_EOF 1>&2
9124
9125 *** Warning: the GNU linker, at least up to release 2.19, is reported
9126 *** to be unable to reliably create shared libraries on AIX.
9127 *** Therefore, libtool is disabling shared libraries support. If you
9128 *** really care for shared libraries, you may want to install binutils
9129 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9130 *** You will then need to restart the configuration process.
9131
9132 _LT_EOF
9133 fi
9134 ;;
9135
9136 amigaos*)
9137 case $host_cpu in
9138 powerpc)
9139 # see comment about AmigaOS4 .so support
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds=''
9142 ;;
9143 m68k)
9144 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)'
9145 hardcode_libdir_flag_spec='-L$libdir'
9146 hardcode_minus_L=yes
9147 ;;
9148 esac
9149 ;;
9150
9151 beos*)
9152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153 allow_undefined_flag=unsupported
9154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9155 # support --undefined. This deserves some investigation. FIXME
9156 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157 else
9158 ld_shlibs=no
9159 fi
9160 ;;
9161
9162 cygwin* | mingw* | pw32* | cegcc*)
9163 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9164 # as there is no search path for DLLs.
9165 hardcode_libdir_flag_spec='-L$libdir'
9166 export_dynamic_flag_spec='${wl}--export-all-symbols'
9167 allow_undefined_flag=unsupported
9168 always_export_symbols=no
9169 enable_shared_with_static_runtimes=yes
9170 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9171
9172 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9174 # If the export-symbols file already is a .def file (1st line
9175 # is EXPORTS), use it as is; otherwise, prepend...
9176 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177 cp $export_symbols $output_objdir/$soname.def;
9178 else
9179 echo EXPORTS > $output_objdir/$soname.def;
9180 cat $export_symbols >> $output_objdir/$soname.def;
9181 fi~
9182 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9183 else
9184 ld_shlibs=no
9185 fi
9186 ;;
9187
9188 haiku*)
9189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 link_all_deplibs=yes
9191 ;;
9192
9193 interix[3-9]*)
9194 hardcode_direct=no
9195 hardcode_shlibpath_var=no
9196 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9197 export_dynamic_flag_spec='${wl}-E'
9198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9199 # Instead, shared libraries are loaded at an image base (0x10000000 by
9200 # default) and relocated if they conflict, which is a slow very memory
9201 # consuming and fragmenting process. To avoid this, we pick a random,
9202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9204 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9205 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'
9206 ;;
9207
9208 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9209 tmp_diet=no
9210 if test "$host_os" = linux-dietlibc; then
9211 case $cc_basename in
9212 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9213 esac
9214 fi
9215 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9216 && test "$tmp_diet" = no
9217 then
9218 tmp_addflag=
9219 tmp_sharedflag='-shared'
9220 case $cc_basename,$host_cpu in
9221 pgcc*) # Portland Group C compiler
9222 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'
9223 tmp_addflag=' $pic_flag'
9224 ;;
9225 pgf77* | pgf90* | pgf95* | pgfortran*)
9226 # Portland Group f77 and f90 compilers
9227 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'
9228 tmp_addflag=' $pic_flag -Mnomain' ;;
9229 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9230 tmp_addflag=' -i_dynamic' ;;
9231 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9232 tmp_addflag=' -i_dynamic -nofor_main' ;;
9233 ifc* | ifort*) # Intel Fortran compiler
9234 tmp_addflag=' -nofor_main' ;;
9235 lf95*) # Lahey Fortran 8.1
9236 whole_archive_flag_spec=
9237 tmp_sharedflag='--shared' ;;
9238 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9239 tmp_sharedflag='-qmkshrobj'
9240 tmp_addflag= ;;
9241 nvcc*) # Cuda Compiler Driver 2.2
9242 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'
9243 compiler_needs_object=yes
9244 ;;
9245 esac
9246 case `$CC -V 2>&1 | sed 5q` in
9247 *Sun\ C*) # Sun C 5.9
9248 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'
9249 compiler_needs_object=yes
9250 tmp_sharedflag='-G' ;;
9251 *Sun\ F*) # Sun Fortran 8.3
9252 tmp_sharedflag='-G' ;;
9253 esac
9254 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255
9256 if test "x$supports_anon_versioning" = xyes; then
9257 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9259 echo "local: *; };" >> $output_objdir/$libname.ver~
9260 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9261 fi
9262
9263 case $cc_basename in
9264 xlf* | bgf* | bgxlf* | mpixlf*)
9265 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9266 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9267 hardcode_libdir_flag_spec=
9268 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9269 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9270 if test "x$supports_anon_versioning" = xyes; then
9271 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9272 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9273 echo "local: *; };" >> $output_objdir/$libname.ver~
9274 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9275 fi
9276 ;;
9277 esac
9278 else
9279 ld_shlibs=no
9280 fi
9281 ;;
9282
9283 netbsd*)
9284 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9285 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9286 wlarc=
9287 else
9288 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9290 fi
9291 ;;
9292
9293 solaris*)
9294 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9295 ld_shlibs=no
9296 cat <<_LT_EOF 1>&2
9297
9298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9299 *** create shared libraries on Solaris systems. Therefore, libtool
9300 *** is disabling shared libraries support. We urge you to upgrade GNU
9301 *** binutils to release 2.9.1 or newer. Another option is to modify
9302 *** your PATH or compiler configuration so that the native linker is
9303 *** used, and then restart.
9304
9305 _LT_EOF
9306 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9309 else
9310 ld_shlibs=no
9311 fi
9312 ;;
9313
9314 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9315 case `$LD -v 2>&1` in
9316 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9317 ld_shlibs=no
9318 cat <<_LT_EOF 1>&2
9319
9320 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9321 *** reliably create shared libraries on SCO systems. Therefore, libtool
9322 *** is disabling shared libraries support. We urge you to upgrade GNU
9323 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9326
9327 _LT_EOF
9328 ;;
9329 *)
9330 # For security reasons, it is highly recommended that you always
9331 # use absolute paths for naming shared libraries, and exclude the
9332 # DT_RUNPATH tag from executables and libraries. But doing so
9333 # requires that you compile everything twice, which is a pain.
9334 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9335 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9336 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338 else
9339 ld_shlibs=no
9340 fi
9341 ;;
9342 esac
9343 ;;
9344
9345 sunos4*)
9346 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9347 wlarc=
9348 hardcode_direct=yes
9349 hardcode_shlibpath_var=no
9350 ;;
9351
9352 *)
9353 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9354 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9356 else
9357 ld_shlibs=no
9358 fi
9359 ;;
9360 esac
9361
9362 if test "$ld_shlibs" = no; then
9363 runpath_var=
9364 hardcode_libdir_flag_spec=
9365 export_dynamic_flag_spec=
9366 whole_archive_flag_spec=
9367 fi
9368 else
9369 # PORTME fill in a description of your system's linker (not GNU ld)
9370 case $host_os in
9371 aix3*)
9372 allow_undefined_flag=unsupported
9373 always_export_symbols=yes
9374 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'
9375 # Note: this linker hardcodes the directories in LIBPATH if there
9376 # are no directories specified by -L.
9377 hardcode_minus_L=yes
9378 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9379 # Neither direct hardcoding nor static linking is supported with a
9380 # broken collect2.
9381 hardcode_direct=unsupported
9382 fi
9383 ;;
9384
9385 aix[4-9]*)
9386 if test "$host_cpu" = ia64; then
9387 # On IA64, the linker does run time linking by default, so we don't
9388 # have to do anything special.
9389 aix_use_runtimelinking=no
9390 exp_sym_flag='-Bexport'
9391 no_entry_flag=""
9392 else
9393 # If we're using GNU nm, then we don't want the "-C" option.
9394 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9395 # Also, AIX nm treats weak defined symbols like other global
9396 # defined symbols, whereas GNU nm marks them as "W".
9397 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9398 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'
9399 else
9400 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'
9401 fi
9402 aix_use_runtimelinking=no
9403
9404 # Test if we are trying to use run time linking or normal
9405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9406 # need to do runtime linking.
9407 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9408 for ld_flag in $LDFLAGS; do
9409 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9410 aix_use_runtimelinking=yes
9411 break
9412 fi
9413 done
9414 ;;
9415 esac
9416
9417 exp_sym_flag='-bexport'
9418 no_entry_flag='-bnoentry'
9419 fi
9420
9421 # When large executables or shared objects are built, AIX ld can
9422 # have problems creating the table of contents. If linking a library
9423 # or program results in "error TOC overflow" add -mminimal-toc to
9424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9426
9427 archive_cmds=''
9428 hardcode_direct=yes
9429 hardcode_direct_absolute=yes
9430 hardcode_libdir_separator=':'
9431 link_all_deplibs=yes
9432 file_list_spec='${wl}-f,'
9433
9434 if test "$GCC" = yes; then
9435 case $host_os in aix4.[012]|aix4.[012].*)
9436 # We only want to do this on AIX 4.2 and lower, the check
9437 # below for broken collect2 doesn't work under 4.3+
9438 collect2name=`${CC} -print-prog-name=collect2`
9439 if test -f "$collect2name" &&
9440 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9441 then
9442 # We have reworked collect2
9443 :
9444 else
9445 # We have old collect2
9446 hardcode_direct=unsupported
9447 # It fails to find uninstalled libraries when the uninstalled
9448 # path is not listed in the libpath. Setting hardcode_minus_L
9449 # to unsupported forces relinking
9450 hardcode_minus_L=yes
9451 hardcode_libdir_flag_spec='-L$libdir'
9452 hardcode_libdir_separator=
9453 fi
9454 ;;
9455 esac
9456 shared_flag='-shared'
9457 if test "$aix_use_runtimelinking" = yes; then
9458 shared_flag="$shared_flag "'${wl}-G'
9459 fi
9460 else
9461 # not using gcc
9462 if test "$host_cpu" = ia64; then
9463 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9464 # chokes on -Wl,-G. The following line is correct:
9465 shared_flag='-G'
9466 else
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag='${wl}-G'
9469 else
9470 shared_flag='${wl}-bM:SRE'
9471 fi
9472 fi
9473 fi
9474
9475 export_dynamic_flag_spec='${wl}-bexpall'
9476 # It seems that -bexpall does not export symbols beginning with
9477 # underscore (_), so it is better to generate a list of symbols to export.
9478 always_export_symbols=yes
9479 if test "$aix_use_runtimelinking" = yes; then
9480 # Warning - without using the other runtime loading flags (-brtl),
9481 # -berok will link without error, but may produce a broken library.
9482 allow_undefined_flag='-berok'
9483 # Determine the default libpath from the value encoded in an
9484 # empty executable.
9485 if test x$gcc_no_link = xyes; then
9486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9487 fi
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9490
9491 int
9492 main ()
9493 {
9494
9495 ;
9496 return 0;
9497 }
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500
9501 lt_aix_libpath_sed='
9502 /Import File Strings/,/^$/ {
9503 /^0/ {
9504 s/^0 *\(.*\)$/\1/
9505 p
9506 }
9507 }'
9508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9509 # Check for a 64-bit object if we didn't find anything.
9510 if test -z "$aix_libpath"; then
9511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512 fi
9513 fi
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9517
9518 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9519 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"
9520 else
9521 if test "$host_cpu" = ia64; then
9522 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9523 allow_undefined_flag="-z nodefs"
9524 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"
9525 else
9526 # Determine the default libpath from the value encoded in an
9527 # empty executable.
9528 if test x$gcc_no_link = xyes; then
9529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9530 fi
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533
9534 int
9535 main ()
9536 {
9537
9538 ;
9539 return 0;
9540 }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543
9544 lt_aix_libpath_sed='
9545 /Import File Strings/,/^$/ {
9546 /^0/ {
9547 s/^0 *\(.*\)$/\1/
9548 p
9549 }
9550 }'
9551 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9552 # Check for a 64-bit object if we didn't find anything.
9553 if test -z "$aix_libpath"; then
9554 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9555 fi
9556 fi
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9560
9561 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9562 # Warning - without using the other run time loading flags,
9563 # -berok will link without error, but may produce a broken library.
9564 no_undefined_flag=' ${wl}-bernotok'
9565 allow_undefined_flag=' ${wl}-berok'
9566 if test "$with_gnu_ld" = yes; then
9567 # We only use this code for GNU lds that support --whole-archive.
9568 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9569 else
9570 # Exported symbols can be pulled into shared objects from archives
9571 whole_archive_flag_spec='$convenience'
9572 fi
9573 archive_cmds_need_lc=yes
9574 # This is similar to how AIX traditionally builds its shared libraries.
9575 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'
9576 fi
9577 fi
9578 ;;
9579
9580 amigaos*)
9581 case $host_cpu in
9582 powerpc)
9583 # see comment about AmigaOS4 .so support
9584 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9585 archive_expsym_cmds=''
9586 ;;
9587 m68k)
9588 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)'
9589 hardcode_libdir_flag_spec='-L$libdir'
9590 hardcode_minus_L=yes
9591 ;;
9592 esac
9593 ;;
9594
9595 bsdi[45]*)
9596 export_dynamic_flag_spec=-rdynamic
9597 ;;
9598
9599 cygwin* | mingw* | pw32* | cegcc*)
9600 # When not using gcc, we currently assume that we are using
9601 # Microsoft Visual C++.
9602 # hardcode_libdir_flag_spec is actually meaningless, as there is
9603 # no search path for DLLs.
9604 hardcode_libdir_flag_spec=' '
9605 allow_undefined_flag=unsupported
9606 # Tell ltmain to make .lib files, not .a files.
9607 libext=lib
9608 # Tell ltmain to make .dll files, not .so files.
9609 shrext_cmds=".dll"
9610 # FIXME: Setting linknames here is a bad hack.
9611 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9612 # The linker will automatically build a .lib file if we build a DLL.
9613 old_archive_from_new_cmds='true'
9614 # FIXME: Should let the user specify the lib program.
9615 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9616 fix_srcfile_path='`cygpath -w "$srcfile"`'
9617 enable_shared_with_static_runtimes=yes
9618 ;;
9619
9620 darwin* | rhapsody*)
9621
9622
9623 archive_cmds_need_lc=no
9624 hardcode_direct=no
9625 hardcode_automatic=yes
9626 hardcode_shlibpath_var=unsupported
9627 if test "$lt_cv_ld_force_load" = "yes"; then
9628 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\"`'
9629 else
9630 whole_archive_flag_spec=''
9631 fi
9632 link_all_deplibs=yes
9633 allow_undefined_flag="$_lt_dar_allow_undefined"
9634 case $cc_basename in
9635 ifort*) _lt_dar_can_shared=yes ;;
9636 *) _lt_dar_can_shared=$GCC ;;
9637 esac
9638 if test "$_lt_dar_can_shared" = "yes"; then
9639 output_verbose_link_cmd=func_echo_all
9640 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9641 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9642 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}"
9643 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}"
9644
9645 else
9646 ld_shlibs=no
9647 fi
9648
9649 ;;
9650
9651 dgux*)
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_libdir_flag_spec='-L$libdir'
9654 hardcode_shlibpath_var=no
9655 ;;
9656
9657 freebsd1*)
9658 ld_shlibs=no
9659 ;;
9660
9661 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9662 # support. Future versions do this automatically, but an explicit c++rt0.o
9663 # does not break anything, and helps significantly (at the cost of a little
9664 # extra space).
9665 freebsd2.2*)
9666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9667 hardcode_libdir_flag_spec='-R$libdir'
9668 hardcode_direct=yes
9669 hardcode_shlibpath_var=no
9670 ;;
9671
9672 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9673 freebsd2*)
9674 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_direct=yes
9676 hardcode_minus_L=yes
9677 hardcode_shlibpath_var=no
9678 ;;
9679
9680 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9681 freebsd* | dragonfly*)
9682 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9683 hardcode_libdir_flag_spec='-R$libdir'
9684 hardcode_direct=yes
9685 hardcode_shlibpath_var=no
9686 ;;
9687
9688 hpux9*)
9689 if test "$GCC" = yes; then
9690 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'
9691 else
9692 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'
9693 fi
9694 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695 hardcode_libdir_separator=:
9696 hardcode_direct=yes
9697
9698 # hardcode_minus_L: Not really in the search PATH,
9699 # but as the default location of the library.
9700 hardcode_minus_L=yes
9701 export_dynamic_flag_spec='${wl}-E'
9702 ;;
9703
9704 hpux10*)
9705 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9707 else
9708 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9709 fi
9710 if test "$with_gnu_ld" = no; then
9711 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9712 hardcode_libdir_flag_spec_ld='+b $libdir'
9713 hardcode_libdir_separator=:
9714 hardcode_direct=yes
9715 hardcode_direct_absolute=yes
9716 export_dynamic_flag_spec='${wl}-E'
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9720 fi
9721 ;;
9722
9723 hpux11*)
9724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9725 case $host_cpu in
9726 hppa*64*)
9727 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 ;;
9729 ia64*)
9730 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9731 ;;
9732 *)
9733 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734 ;;
9735 esac
9736 else
9737 case $host_cpu in
9738 hppa*64*)
9739 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 ;;
9741 ia64*)
9742 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9743 ;;
9744 *)
9745
9746 # Older versions of the 11.00 compiler do not understand -b yet
9747 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9749 $as_echo_n "checking if $CC understands -b... " >&6; }
9750 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 lt_cv_prog_compiler__b=no
9754 save_LDFLAGS="$LDFLAGS"
9755 LDFLAGS="$LDFLAGS -b"
9756 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758 # The linker can only warn and ignore the option if not recognized
9759 # So say no if there are warnings
9760 if test -s conftest.err; then
9761 # Append any errors to the config.log.
9762 cat conftest.err 1>&5
9763 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765 if diff conftest.exp conftest.er2 >/dev/null; then
9766 lt_cv_prog_compiler__b=yes
9767 fi
9768 else
9769 lt_cv_prog_compiler__b=yes
9770 fi
9771 fi
9772 $RM -r conftest*
9773 LDFLAGS="$save_LDFLAGS"
9774
9775 fi
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9778
9779 if test x"$lt_cv_prog_compiler__b" = xyes; then
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9781 else
9782 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9783 fi
9784
9785 ;;
9786 esac
9787 fi
9788 if test "$with_gnu_ld" = no; then
9789 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790 hardcode_libdir_separator=:
9791
9792 case $host_cpu in
9793 hppa*64*|ia64*)
9794 hardcode_direct=no
9795 hardcode_shlibpath_var=no
9796 ;;
9797 *)
9798 hardcode_direct=yes
9799 hardcode_direct_absolute=yes
9800 export_dynamic_flag_spec='${wl}-E'
9801
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L=yes
9805 ;;
9806 esac
9807 fi
9808 ;;
9809
9810 irix5* | irix6* | nonstopux*)
9811 if test "$GCC" = yes; then
9812 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'
9813 # Try to use the -exported_symbol ld option, if it does not
9814 # work, assume that -exports_file does not work either and
9815 # implicitly export all symbols.
9816 save_LDFLAGS="$LDFLAGS"
9817 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9818 if test x$gcc_no_link = xyes; then
9819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9820 fi
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9823 int foo(void) {}
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 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'
9827
9828 fi
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LDFLAGS="$save_LDFLAGS"
9832 else
9833 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'
9834 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'
9835 fi
9836 archive_cmds_need_lc='no'
9837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9838 hardcode_libdir_separator=:
9839 inherit_rpath=yes
9840 link_all_deplibs=yes
9841 ;;
9842
9843 netbsd*)
9844 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9845 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9846 else
9847 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9848 fi
9849 hardcode_libdir_flag_spec='-R$libdir'
9850 hardcode_direct=yes
9851 hardcode_shlibpath_var=no
9852 ;;
9853
9854 newsos6)
9855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856 hardcode_direct=yes
9857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9858 hardcode_libdir_separator=:
9859 hardcode_shlibpath_var=no
9860 ;;
9861
9862 *nto* | *qnx*)
9863 ;;
9864
9865 openbsd*)
9866 if test -f /usr/libexec/ld.so; then
9867 hardcode_direct=yes
9868 hardcode_shlibpath_var=no
9869 hardcode_direct_absolute=yes
9870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9871 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9872 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9874 export_dynamic_flag_spec='${wl}-E'
9875 else
9876 case $host_os in
9877 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9879 hardcode_libdir_flag_spec='-R$libdir'
9880 ;;
9881 *)
9882 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884 ;;
9885 esac
9886 fi
9887 else
9888 ld_shlibs=no
9889 fi
9890 ;;
9891
9892 os2*)
9893 hardcode_libdir_flag_spec='-L$libdir'
9894 hardcode_minus_L=yes
9895 allow_undefined_flag=unsupported
9896 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'
9897 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9898 ;;
9899
9900 osf3*)
9901 if test "$GCC" = yes; then
9902 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9903 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'
9904 else
9905 allow_undefined_flag=' -expect_unresolved \*'
9906 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'
9907 fi
9908 archive_cmds_need_lc='no'
9909 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9910 hardcode_libdir_separator=:
9911 ;;
9912
9913 osf4* | osf5*) # as osf3* with the addition of -msym flag
9914 if test "$GCC" = yes; then
9915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9916 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'
9917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9918 else
9919 allow_undefined_flag=' -expect_unresolved \*'
9920 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'
9921 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~
9922 $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'
9923
9924 # Both c and cxx compiler support -rpath directly
9925 hardcode_libdir_flag_spec='-rpath $libdir'
9926 fi
9927 archive_cmds_need_lc='no'
9928 hardcode_libdir_separator=:
9929 ;;
9930
9931 solaris*)
9932 no_undefined_flag=' -z defs'
9933 if test "$GCC" = yes; then
9934 wlarc='${wl}'
9935 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9937 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9938 else
9939 case `$CC -V 2>&1` in
9940 *"Compilers 5.0"*)
9941 wlarc=''
9942 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9945 ;;
9946 *)
9947 wlarc='${wl}'
9948 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9950 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9951 ;;
9952 esac
9953 fi
9954 hardcode_libdir_flag_spec='-R$libdir'
9955 hardcode_shlibpath_var=no
9956 case $host_os in
9957 solaris2.[0-5] | solaris2.[0-5].*) ;;
9958 *)
9959 # The compiler driver will combine and reorder linker options,
9960 # but understands `-z linker_flag'. GCC discards it without `$wl',
9961 # but is careful enough not to reorder.
9962 # Supported since Solaris 2.6 (maybe 2.5.1?)
9963 if test "$GCC" = yes; then
9964 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9965 else
9966 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9967 fi
9968 ;;
9969 esac
9970 link_all_deplibs=yes
9971 ;;
9972
9973 sunos4*)
9974 if test "x$host_vendor" = xsequent; then
9975 # Use $CC to link under sequent, because it throws in some extra .o
9976 # files that make .init and .fini sections work.
9977 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9978 else
9979 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9980 fi
9981 hardcode_libdir_flag_spec='-L$libdir'
9982 hardcode_direct=yes
9983 hardcode_minus_L=yes
9984 hardcode_shlibpath_var=no
9985 ;;
9986
9987 sysv4)
9988 case $host_vendor in
9989 sni)
9990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 hardcode_direct=yes # is this really true???
9992 ;;
9993 siemens)
9994 ## LD is ld it makes a PLAMLIB
9995 ## CC just makes a GrossModule.
9996 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9997 reload_cmds='$CC -r -o $output$reload_objs'
9998 hardcode_direct=no
9999 ;;
10000 motorola)
10001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10002 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10003 ;;
10004 esac
10005 runpath_var='LD_RUN_PATH'
10006 hardcode_shlibpath_var=no
10007 ;;
10008
10009 sysv4.3*)
10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_shlibpath_var=no
10012 export_dynamic_flag_spec='-Bexport'
10013 ;;
10014
10015 sysv4*MP*)
10016 if test -d /usr/nec; then
10017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 hardcode_shlibpath_var=no
10019 runpath_var=LD_RUN_PATH
10020 hardcode_runpath_var=yes
10021 ld_shlibs=yes
10022 fi
10023 ;;
10024
10025 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10026 no_undefined_flag='${wl}-z,text'
10027 archive_cmds_need_lc=no
10028 hardcode_shlibpath_var=no
10029 runpath_var='LD_RUN_PATH'
10030
10031 if test "$GCC" = yes; then
10032 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10033 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 else
10035 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10037 fi
10038 ;;
10039
10040 sysv5* | sco3.2v5* | sco5v6*)
10041 # Note: We can NOT use -z defs as we might desire, because we do not
10042 # link with -lc, and that would cause any symbols used from libc to
10043 # always be unresolved, which means just about no library would
10044 # ever link correctly. If we're not using GNU ld we use -z text
10045 # though, which does catch some bad symbols but isn't as heavy-handed
10046 # as -z defs.
10047 no_undefined_flag='${wl}-z,text'
10048 allow_undefined_flag='${wl}-z,nodefs'
10049 archive_cmds_need_lc=no
10050 hardcode_shlibpath_var=no
10051 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10052 hardcode_libdir_separator=':'
10053 link_all_deplibs=yes
10054 export_dynamic_flag_spec='${wl}-Bexport'
10055 runpath_var='LD_RUN_PATH'
10056
10057 if test "$GCC" = yes; then
10058 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10059 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 else
10061 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 fi
10064 ;;
10065
10066 uts4*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_libdir_flag_spec='-L$libdir'
10069 hardcode_shlibpath_var=no
10070 ;;
10071
10072 *)
10073 ld_shlibs=no
10074 ;;
10075 esac
10076
10077 if test x$host_vendor = xsni; then
10078 case $host in
10079 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10080 export_dynamic_flag_spec='${wl}-Blargedynsym'
10081 ;;
10082 esac
10083 fi
10084 fi
10085
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10087 $as_echo "$ld_shlibs" >&6; }
10088 test "$ld_shlibs" = no && can_build_shared=no
10089
10090 with_gnu_ld=$with_gnu_ld
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106 #
10107 # Do we need to explicitly link libc?
10108 #
10109 case "x$archive_cmds_need_lc" in
10110 x|xyes)
10111 # Assume -lc should be added
10112 archive_cmds_need_lc=yes
10113
10114 if test "$enable_shared" = yes && test "$GCC" = yes; then
10115 case $archive_cmds in
10116 *'~'*)
10117 # FIXME: we may have to deal with multi-command sequences.
10118 ;;
10119 '$CC '*)
10120 # Test whether the compiler implicitly links with -lc since on some
10121 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10122 # to ld, don't add -lc before -lgcc.
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10125 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 $RM conftest*
10129 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10130
10131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10132 (eval $ac_compile) 2>&5
10133 ac_status=$?
10134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10135 test $ac_status = 0; } 2>conftest.err; then
10136 soname=conftest
10137 lib=conftest
10138 libobjs=conftest.$ac_objext
10139 deplibs=
10140 wl=$lt_prog_compiler_wl
10141 pic_flag=$lt_prog_compiler_pic
10142 compiler_flags=-v
10143 linker_flags=-v
10144 verstring=
10145 output_objdir=.
10146 libname=conftest
10147 lt_save_allow_undefined_flag=$allow_undefined_flag
10148 allow_undefined_flag=
10149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10150 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10151 ac_status=$?
10152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10153 test $ac_status = 0; }
10154 then
10155 lt_cv_archive_cmds_need_lc=no
10156 else
10157 lt_cv_archive_cmds_need_lc=yes
10158 fi
10159 allow_undefined_flag=$lt_save_allow_undefined_flag
10160 else
10161 cat conftest.err 1>&5
10162 fi
10163 $RM conftest*
10164
10165 fi
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10167 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10168 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10169 ;;
10170 esac
10171 fi
10172 ;;
10173 esac
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10332 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10333
10334 if test "$GCC" = yes; then
10335 case $host_os in
10336 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10337 *) lt_awk_arg="/^libraries:/" ;;
10338 esac
10339 case $host_os in
10340 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10341 *) lt_sed_strip_eq="s,=/,/,g" ;;
10342 esac
10343 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10344 case $lt_search_path_spec in
10345 *\;*)
10346 # if the path contains ";" then we assume it to be the separator
10347 # otherwise default to the standard path separator (i.e. ":") - it is
10348 # assumed that no part of a normal pathname contains ";" but that should
10349 # okay in the real world where ";" in dirpaths is itself problematic.
10350 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10351 ;;
10352 *)
10353 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10354 ;;
10355 esac
10356 # Ok, now we have the path, separated by spaces, we can step through it
10357 # and add multilib dir if necessary.
10358 lt_tmp_lt_search_path_spec=
10359 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10360 for lt_sys_path in $lt_search_path_spec; do
10361 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10362 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10363 else
10364 test -d "$lt_sys_path" && \
10365 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10366 fi
10367 done
10368 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10369 BEGIN {RS=" "; FS="/|\n";} {
10370 lt_foo="";
10371 lt_count=0;
10372 for (lt_i = NF; lt_i > 0; lt_i--) {
10373 if ($lt_i != "" && $lt_i != ".") {
10374 if ($lt_i == "..") {
10375 lt_count++;
10376 } else {
10377 if (lt_count == 0) {
10378 lt_foo="/" $lt_i lt_foo;
10379 } else {
10380 lt_count--;
10381 }
10382 }
10383 }
10384 }
10385 if (lt_foo != "") { lt_freq[lt_foo]++; }
10386 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10387 }'`
10388 # AWK program above erroneously prepends '/' to C:/dos/paths
10389 # for these hosts.
10390 case $host_os in
10391 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10392 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10393 esac
10394 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10395 else
10396 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10397 fi
10398 library_names_spec=
10399 libname_spec='lib$name'
10400 soname_spec=
10401 shrext_cmds=".so"
10402 postinstall_cmds=
10403 postuninstall_cmds=
10404 finish_cmds=
10405 finish_eval=
10406 shlibpath_var=
10407 shlibpath_overrides_runpath=unknown
10408 version_type=none
10409 dynamic_linker="$host_os ld.so"
10410 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10411 need_lib_prefix=unknown
10412 hardcode_into_libs=no
10413
10414 # when you set need_version to no, make sure it does not cause -set_version
10415 # flags to be left without arguments
10416 need_version=unknown
10417
10418 case $host_os in
10419 aix3*)
10420 version_type=linux
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10422 shlibpath_var=LIBPATH
10423
10424 # AIX 3 has no versioning support, so we append a major version to the name.
10425 soname_spec='${libname}${release}${shared_ext}$major'
10426 ;;
10427
10428 aix[4-9]*)
10429 version_type=linux
10430 need_lib_prefix=no
10431 need_version=no
10432 hardcode_into_libs=yes
10433 if test "$host_cpu" = ia64; then
10434 # AIX 5 supports IA64
10435 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10436 shlibpath_var=LD_LIBRARY_PATH
10437 else
10438 # With GCC up to 2.95.x, collect2 would create an import file
10439 # for dependence libraries. The import file would start with
10440 # the line `#! .'. This would cause the generated library to
10441 # depend on `.', always an invalid library. This was fixed in
10442 # development snapshots of GCC prior to 3.0.
10443 case $host_os in
10444 aix4 | aix4.[01] | aix4.[01].*)
10445 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10446 echo ' yes '
10447 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10448 :
10449 else
10450 can_build_shared=no
10451 fi
10452 ;;
10453 esac
10454 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10455 # soname into executable. Probably we can add versioning support to
10456 # collect2, so additional links can be useful in future.
10457 if test "$aix_use_runtimelinking" = yes; then
10458 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10459 # instead of lib<name>.a to let people know that these are not
10460 # typical AIX shared libraries.
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462 else
10463 # We preserve .a as extension for shared libraries through AIX4.2
10464 # and later when we are not doing run time linking.
10465 library_names_spec='${libname}${release}.a $libname.a'
10466 soname_spec='${libname}${release}${shared_ext}$major'
10467 fi
10468 shlibpath_var=LIBPATH
10469 fi
10470 ;;
10471
10472 amigaos*)
10473 case $host_cpu in
10474 powerpc)
10475 # Since July 2007 AmigaOS4 officially supports .so libraries.
10476 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478 ;;
10479 m68k)
10480 library_names_spec='$libname.ixlibrary $libname.a'
10481 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10482 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'
10483 ;;
10484 esac
10485 ;;
10486
10487 beos*)
10488 library_names_spec='${libname}${shared_ext}'
10489 dynamic_linker="$host_os ld.so"
10490 shlibpath_var=LIBRARY_PATH
10491 ;;
10492
10493 bsdi[45]*)
10494 version_type=linux
10495 need_version=no
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10501 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10502 # the default ld.so.conf also contains /usr/contrib/lib and
10503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10504 # libtool to hard-code these into programs
10505 ;;
10506
10507 cygwin* | mingw* | pw32* | cegcc*)
10508 version_type=windows
10509 shrext_cmds=".dll"
10510 need_version=no
10511 need_lib_prefix=no
10512
10513 case $GCC,$host_os in
10514 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10515 library_names_spec='$libname.dll.a'
10516 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10517 postinstall_cmds='base_file=`basename \${file}`~
10518 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10519 dldir=$destdir/`dirname \$dlpath`~
10520 test -d \$dldir || mkdir -p \$dldir~
10521 $install_prog $dir/$dlname \$dldir/$dlname~
10522 chmod a+x \$dldir/$dlname~
10523 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10524 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10525 fi'
10526 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10527 dlpath=$dir/\$dldll~
10528 $RM \$dlpath'
10529 shlibpath_overrides_runpath=yes
10530
10531 case $host_os in
10532 cygwin*)
10533 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10534 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10535
10536 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10537 ;;
10538 mingw* | cegcc*)
10539 # MinGW DLLs use traditional 'lib' prefix
10540 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10541 ;;
10542 pw32*)
10543 # pw32 DLLs use 'pw' prefix rather than 'lib'
10544 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10545 ;;
10546 esac
10547 ;;
10548
10549 *)
10550 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10551 ;;
10552 esac
10553 dynamic_linker='Win32 ld.exe'
10554 # FIXME: first we should search . and the directory the executable is in
10555 shlibpath_var=PATH
10556 ;;
10557
10558 darwin* | rhapsody*)
10559 dynamic_linker="$host_os dyld"
10560 version_type=darwin
10561 need_lib_prefix=no
10562 need_version=no
10563 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10564 soname_spec='${libname}${release}${major}$shared_ext'
10565 shlibpath_overrides_runpath=yes
10566 shlibpath_var=DYLD_LIBRARY_PATH
10567 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10568
10569 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10570 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10571 ;;
10572
10573 dgux*)
10574 version_type=linux
10575 need_lib_prefix=no
10576 need_version=no
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 shlibpath_var=LD_LIBRARY_PATH
10580 ;;
10581
10582 freebsd1*)
10583 dynamic_linker=no
10584 ;;
10585
10586 freebsd* | dragonfly*)
10587 # DragonFly does not have aout. When/if they implement a new
10588 # versioning mechanism, adjust this.
10589 if test -x /usr/bin/objformat; then
10590 objformat=`/usr/bin/objformat`
10591 else
10592 case $host_os in
10593 freebsd[123]*) objformat=aout ;;
10594 *) objformat=elf ;;
10595 esac
10596 fi
10597 version_type=freebsd-$objformat
10598 case $version_type in
10599 freebsd-elf*)
10600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10601 need_version=no
10602 need_lib_prefix=no
10603 ;;
10604 freebsd-*)
10605 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10606 need_version=yes
10607 ;;
10608 esac
10609 shlibpath_var=LD_LIBRARY_PATH
10610 case $host_os in
10611 freebsd2*)
10612 shlibpath_overrides_runpath=yes
10613 ;;
10614 freebsd3.[01]* | freebsdelf3.[01]*)
10615 shlibpath_overrides_runpath=yes
10616 hardcode_into_libs=yes
10617 ;;
10618 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10619 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10620 shlibpath_overrides_runpath=no
10621 hardcode_into_libs=yes
10622 ;;
10623 *) # from 4.6 on, and DragonFly
10624 shlibpath_overrides_runpath=yes
10625 hardcode_into_libs=yes
10626 ;;
10627 esac
10628 ;;
10629
10630 gnu*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 hardcode_into_libs=yes
10638 ;;
10639
10640 haiku*)
10641 version_type=linux
10642 need_lib_prefix=no
10643 need_version=no
10644 dynamic_linker="$host_os runtime_loader"
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 shlibpath_var=LIBRARY_PATH
10648 shlibpath_overrides_runpath=yes
10649 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10650 hardcode_into_libs=yes
10651 ;;
10652
10653 hpux9* | hpux10* | hpux11*)
10654 # Give a soname corresponding to the major version so that dld.sl refuses to
10655 # link against other versions.
10656 version_type=sunos
10657 need_lib_prefix=no
10658 need_version=no
10659 case $host_cpu in
10660 ia64*)
10661 shrext_cmds='.so'
10662 hardcode_into_libs=yes
10663 dynamic_linker="$host_os dld.so"
10664 shlibpath_var=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667 soname_spec='${libname}${release}${shared_ext}$major'
10668 if test "X$HPUX_IA64_MODE" = X32; then
10669 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10670 else
10671 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10672 fi
10673 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10674 ;;
10675 hppa*64*)
10676 shrext_cmds='.sl'
10677 hardcode_into_libs=yes
10678 dynamic_linker="$host_os dld.sl"
10679 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10680 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10684 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10685 ;;
10686 *)
10687 shrext_cmds='.sl'
10688 dynamic_linker="$host_os dld.sl"
10689 shlibpath_var=SHLIB_PATH
10690 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 ;;
10694 esac
10695 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10696 postinstall_cmds='chmod 555 $lib'
10697 # or fails outright, so override atomically:
10698 install_override_mode=555
10699 ;;
10700
10701 interix[3-9]*)
10702 version_type=linux
10703 need_lib_prefix=no
10704 need_version=no
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10708 shlibpath_var=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath=no
10710 hardcode_into_libs=yes
10711 ;;
10712
10713 irix5* | irix6* | nonstopux*)
10714 case $host_os in
10715 nonstopux*) version_type=nonstopux ;;
10716 *)
10717 if test "$lt_cv_prog_gnu_ld" = yes; then
10718 version_type=linux
10719 else
10720 version_type=irix
10721 fi ;;
10722 esac
10723 need_lib_prefix=no
10724 need_version=no
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10727 case $host_os in
10728 irix5* | nonstopux*)
10729 libsuff= shlibsuff=
10730 ;;
10731 *)
10732 case $LD in # libtool.m4 will add one of these switches to LD
10733 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10734 libsuff= shlibsuff= libmagic=32-bit;;
10735 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10736 libsuff=32 shlibsuff=N32 libmagic=N32;;
10737 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10738 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10739 *) libsuff= shlibsuff= libmagic=never-match;;
10740 esac
10741 ;;
10742 esac
10743 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10744 shlibpath_overrides_runpath=no
10745 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10746 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10747 hardcode_into_libs=yes
10748 ;;
10749
10750 # No shared lib support for Linux oldld, aout, or coff.
10751 linux*oldld* | linux*aout* | linux*coff*)
10752 dynamic_linker=no
10753 ;;
10754
10755 # This must be Linux ELF.
10756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10757 version_type=linux
10758 need_lib_prefix=no
10759 need_version=no
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10763 shlibpath_var=LD_LIBRARY_PATH
10764 shlibpath_overrides_runpath=no
10765
10766 # Some binutils ld are patched to set DT_RUNPATH
10767 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10768 $as_echo_n "(cached) " >&6
10769 else
10770 lt_cv_shlibpath_overrides_runpath=no
10771 save_LDFLAGS=$LDFLAGS
10772 save_libdir=$libdir
10773 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10774 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10775 if test x$gcc_no_link = xyes; then
10776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10777 fi
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10780
10781 int
10782 main ()
10783 {
10784
10785 ;
10786 return 0;
10787 }
10788 _ACEOF
10789 if ac_fn_c_try_link "$LINENO"; then :
10790 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10791 lt_cv_shlibpath_overrides_runpath=yes
10792 fi
10793 fi
10794 rm -f core conftest.err conftest.$ac_objext \
10795 conftest$ac_exeext conftest.$ac_ext
10796 LDFLAGS=$save_LDFLAGS
10797 libdir=$save_libdir
10798
10799 fi
10800
10801 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10802
10803 # This implies no fast_install, which is unacceptable.
10804 # Some rework will be needed to allow for fast_install
10805 # before this can be enabled.
10806 hardcode_into_libs=yes
10807
10808 # Append ld.so.conf contents to the search path
10809 if test -f /etc/ld.so.conf; then
10810 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' ' '`
10811 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10812 fi
10813
10814 # We used to test for /lib/ld.so.1 and disable shared libraries on
10815 # powerpc, because MkLinux only supported shared libraries with the
10816 # GNU dynamic linker. Since this was broken with cross compilers,
10817 # most powerpc-linux boxes support dynamic linking these days and
10818 # people can always --disable-shared, the test was removed, and we
10819 # assume the GNU/Linux dynamic linker is in use.
10820 dynamic_linker='GNU/Linux ld.so'
10821 ;;
10822
10823 netbsd*)
10824 version_type=sunos
10825 need_lib_prefix=no
10826 need_version=no
10827 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10829 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10830 dynamic_linker='NetBSD (a.out) ld.so'
10831 else
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 dynamic_linker='NetBSD ld.elf_so'
10835 fi
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=yes
10838 hardcode_into_libs=yes
10839 ;;
10840
10841 newsos6)
10842 version_type=linux
10843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=yes
10846 ;;
10847
10848 *nto* | *qnx*)
10849 version_type=qnx
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=no
10856 hardcode_into_libs=yes
10857 dynamic_linker='ldqnx.so'
10858 ;;
10859
10860 openbsd*)
10861 version_type=sunos
10862 sys_lib_dlsearch_path_spec="/usr/lib"
10863 need_lib_prefix=no
10864 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10865 case $host_os in
10866 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10867 *) need_version=no ;;
10868 esac
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10871 shlibpath_var=LD_LIBRARY_PATH
10872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10873 case $host_os in
10874 openbsd2.[89] | openbsd2.[89].*)
10875 shlibpath_overrides_runpath=no
10876 ;;
10877 *)
10878 shlibpath_overrides_runpath=yes
10879 ;;
10880 esac
10881 else
10882 shlibpath_overrides_runpath=yes
10883 fi
10884 ;;
10885
10886 os2*)
10887 libname_spec='$name'
10888 shrext_cmds=".dll"
10889 need_lib_prefix=no
10890 library_names_spec='$libname${shared_ext} $libname.a'
10891 dynamic_linker='OS/2 ld.exe'
10892 shlibpath_var=LIBPATH
10893 ;;
10894
10895 osf3* | osf4* | osf5*)
10896 version_type=osf
10897 need_lib_prefix=no
10898 need_version=no
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10901 shlibpath_var=LD_LIBRARY_PATH
10902 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10903 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10904 ;;
10905
10906 rdos*)
10907 dynamic_linker=no
10908 ;;
10909
10910 solaris*)
10911 version_type=linux
10912 need_lib_prefix=no
10913 need_version=no
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 shlibpath_var=LD_LIBRARY_PATH
10917 shlibpath_overrides_runpath=yes
10918 hardcode_into_libs=yes
10919 # ldd complains unless libraries are executable
10920 postinstall_cmds='chmod +x $lib'
10921 ;;
10922
10923 sunos4*)
10924 version_type=sunos
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10926 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=yes
10929 if test "$with_gnu_ld" = yes; then
10930 need_lib_prefix=no
10931 fi
10932 need_version=yes
10933 ;;
10934
10935 sysv4 | sysv4.3*)
10936 version_type=linux
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 case $host_vendor in
10941 sni)
10942 shlibpath_overrides_runpath=no
10943 need_lib_prefix=no
10944 runpath_var=LD_RUN_PATH
10945 ;;
10946 siemens)
10947 need_lib_prefix=no
10948 ;;
10949 motorola)
10950 need_lib_prefix=no
10951 need_version=no
10952 shlibpath_overrides_runpath=no
10953 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10954 ;;
10955 esac
10956 ;;
10957
10958 sysv4*MP*)
10959 if test -d /usr/nec ;then
10960 version_type=linux
10961 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10962 soname_spec='$libname${shared_ext}.$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 fi
10965 ;;
10966
10967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10968 version_type=freebsd-elf
10969 need_lib_prefix=no
10970 need_version=no
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10976 if test "$with_gnu_ld" = yes; then
10977 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10978 else
10979 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10980 case $host_os in
10981 sco3.2v5*)
10982 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10983 ;;
10984 esac
10985 fi
10986 sys_lib_dlsearch_path_spec='/usr/lib'
10987 ;;
10988
10989 tpf*)
10990 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10991 version_type=linux
10992 need_lib_prefix=no
10993 need_version=no
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=no
10997 hardcode_into_libs=yes
10998 ;;
10999
11000 uts4*)
11001 version_type=linux
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003 soname_spec='${libname}${release}${shared_ext}$major'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 ;;
11006
11007 *)
11008 dynamic_linker=no
11009 ;;
11010 esac
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11012 $as_echo "$dynamic_linker" >&6; }
11013 test "$dynamic_linker" = no && can_build_shared=no
11014
11015 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11016 if test "$GCC" = yes; then
11017 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11018 fi
11019
11020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11021 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11022 fi
11023 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11024 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11025 fi
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11119 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11120 hardcode_action=
11121 if test -n "$hardcode_libdir_flag_spec" ||
11122 test -n "$runpath_var" ||
11123 test "X$hardcode_automatic" = "Xyes" ; then
11124
11125 # We can hardcode non-existent directories.
11126 if test "$hardcode_direct" != no &&
11127 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11128 # have to relink, otherwise we might link with an installed library
11129 # when we should be linking with a yet-to-be-installed one
11130 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11131 test "$hardcode_minus_L" != no; then
11132 # Linking always hardcodes the temporary library directory.
11133 hardcode_action=relink
11134 else
11135 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11136 hardcode_action=immediate
11137 fi
11138 else
11139 # We cannot hardcode anything, or else we can only hardcode existing
11140 # directories.
11141 hardcode_action=unsupported
11142 fi
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11144 $as_echo "$hardcode_action" >&6; }
11145
11146 if test "$hardcode_action" = relink ||
11147 test "$inherit_rpath" = yes; then
11148 # Fast installation is not supported
11149 enable_fast_install=no
11150 elif test "$shlibpath_overrides_runpath" = yes ||
11151 test "$enable_shared" = no; then
11152 # Fast installation is not necessary
11153 enable_fast_install=needless
11154 fi
11155
11156
11157
11158
11159
11160
11161 if test "x$enable_dlopen" != xyes; then
11162 enable_dlopen=unknown
11163 enable_dlopen_self=unknown
11164 enable_dlopen_self_static=unknown
11165 else
11166 lt_cv_dlopen=no
11167 lt_cv_dlopen_libs=
11168
11169 case $host_os in
11170 beos*)
11171 lt_cv_dlopen="load_add_on"
11172 lt_cv_dlopen_libs=
11173 lt_cv_dlopen_self=yes
11174 ;;
11175
11176 mingw* | pw32* | cegcc*)
11177 lt_cv_dlopen="LoadLibrary"
11178 lt_cv_dlopen_libs=
11179 ;;
11180
11181 cygwin*)
11182 lt_cv_dlopen="dlopen"
11183 lt_cv_dlopen_libs=
11184 ;;
11185
11186 darwin*)
11187 # if libdl is installed we need to link against it
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11189 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11191 $as_echo_n "(cached) " >&6
11192 else
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-ldl $LIBS"
11195 if test x$gcc_no_link = xyes; then
11196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11197 fi
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char dlopen ();
11208 int
11209 main ()
11210 {
11211 return dlopen ();
11212 ;
11213 return 0;
11214 }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_dl_dlopen=yes
11218 else
11219 ac_cv_lib_dl_dlopen=no
11220 fi
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11224 fi
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11227 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11228 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11229 else
11230
11231 lt_cv_dlopen="dyld"
11232 lt_cv_dlopen_libs=
11233 lt_cv_dlopen_self=yes
11234
11235 fi
11236
11237 ;;
11238
11239 *)
11240 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11241 if test "x$ac_cv_func_shl_load" = x""yes; then :
11242 lt_cv_dlopen="shl_load"
11243 else
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11245 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11246 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-ldld $LIBS"
11251 if test x$gcc_no_link = xyes; then
11252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11253 fi
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char shl_load ();
11264 int
11265 main ()
11266 {
11267 return shl_load ();
11268 ;
11269 return 0;
11270 }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_dld_shl_load=yes
11274 else
11275 ac_cv_lib_dld_shl_load=no
11276 fi
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11280 fi
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11282 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11283 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11284 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11285 else
11286 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11287 if test "x$ac_cv_func_dlopen" = x""yes; then :
11288 lt_cv_dlopen="dlopen"
11289 else
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11291 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11292 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-ldl $LIBS"
11297 if test x$gcc_no_link = xyes; then
11298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11299 fi
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11306 #ifdef __cplusplus
11307 extern "C"
11308 #endif
11309 char dlopen ();
11310 int
11311 main ()
11312 {
11313 return dlopen ();
11314 ;
11315 return 0;
11316 }
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"; then :
11319 ac_cv_lib_dl_dlopen=yes
11320 else
11321 ac_cv_lib_dl_dlopen=no
11322 fi
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11326 fi
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11328 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11329 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11330 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11331 else
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11333 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11334 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-lsvld $LIBS"
11339 if test x$gcc_no_link = xyes; then
11340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11341 fi
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char dlopen ();
11352 int
11353 main ()
11354 {
11355 return dlopen ();
11356 ;
11357 return 0;
11358 }
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_svld_dlopen=yes
11362 else
11363 ac_cv_lib_svld_dlopen=no
11364 fi
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11368 fi
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11370 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11371 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11372 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11373 else
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11375 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11376 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-ldld $LIBS"
11381 if test x$gcc_no_link = xyes; then
11382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11383 fi
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char dld_link ();
11394 int
11395 main ()
11396 {
11397 return dld_link ();
11398 ;
11399 return 0;
11400 }
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 ac_cv_lib_dld_dld_link=yes
11404 else
11405 ac_cv_lib_dld_dld_link=no
11406 fi
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11410 fi
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11412 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11413 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11414 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11415 fi
11416
11417
11418 fi
11419
11420
11421 fi
11422
11423
11424 fi
11425
11426
11427 fi
11428
11429
11430 fi
11431
11432 ;;
11433 esac
11434
11435 if test "x$lt_cv_dlopen" != xno; then
11436 enable_dlopen=yes
11437 else
11438 enable_dlopen=no
11439 fi
11440
11441 case $lt_cv_dlopen in
11442 dlopen)
11443 save_CPPFLAGS="$CPPFLAGS"
11444 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11445
11446 save_LDFLAGS="$LDFLAGS"
11447 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11448
11449 save_LIBS="$LIBS"
11450 LIBS="$lt_cv_dlopen_libs $LIBS"
11451
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11453 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11454 if test "${lt_cv_dlopen_self+set}" = set; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 if test "$cross_compiling" = yes; then :
11458 lt_cv_dlopen_self=cross
11459 else
11460 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11461 lt_status=$lt_dlunknown
11462 cat > conftest.$ac_ext <<_LT_EOF
11463 #line 11463 "configure"
11464 #include "confdefs.h"
11465
11466 #if HAVE_DLFCN_H
11467 #include <dlfcn.h>
11468 #endif
11469
11470 #include <stdio.h>
11471
11472 #ifdef RTLD_GLOBAL
11473 # define LT_DLGLOBAL RTLD_GLOBAL
11474 #else
11475 # ifdef DL_GLOBAL
11476 # define LT_DLGLOBAL DL_GLOBAL
11477 # else
11478 # define LT_DLGLOBAL 0
11479 # endif
11480 #endif
11481
11482 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11483 find out it does not work in some platform. */
11484 #ifndef LT_DLLAZY_OR_NOW
11485 # ifdef RTLD_LAZY
11486 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11487 # else
11488 # ifdef DL_LAZY
11489 # define LT_DLLAZY_OR_NOW DL_LAZY
11490 # else
11491 # ifdef RTLD_NOW
11492 # define LT_DLLAZY_OR_NOW RTLD_NOW
11493 # else
11494 # ifdef DL_NOW
11495 # define LT_DLLAZY_OR_NOW DL_NOW
11496 # else
11497 # define LT_DLLAZY_OR_NOW 0
11498 # endif
11499 # endif
11500 # endif
11501 # endif
11502 #endif
11503
11504 /* When -fvisbility=hidden is used, assume the code has been annotated
11505 correspondingly for the symbols needed. */
11506 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11507 void fnord () __attribute__((visibility("default")));
11508 #endif
11509
11510 void fnord () { int i=42; }
11511 int main ()
11512 {
11513 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11514 int status = $lt_dlunknown;
11515
11516 if (self)
11517 {
11518 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11519 else
11520 {
11521 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11522 else puts (dlerror ());
11523 }
11524 /* dlclose (self); */
11525 }
11526 else
11527 puts (dlerror ());
11528
11529 return status;
11530 }
11531 _LT_EOF
11532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11533 (eval $ac_link) 2>&5
11534 ac_status=$?
11535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11536 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11537 (./conftest; exit; ) >&5 2>/dev/null
11538 lt_status=$?
11539 case x$lt_status in
11540 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11541 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11542 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11543 esac
11544 else :
11545 # compilation failed
11546 lt_cv_dlopen_self=no
11547 fi
11548 fi
11549 rm -fr conftest*
11550
11551
11552 fi
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11554 $as_echo "$lt_cv_dlopen_self" >&6; }
11555
11556 if test "x$lt_cv_dlopen_self" = xyes; then
11557 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11559 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11560 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11561 $as_echo_n "(cached) " >&6
11562 else
11563 if test "$cross_compiling" = yes; then :
11564 lt_cv_dlopen_self_static=cross
11565 else
11566 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11567 lt_status=$lt_dlunknown
11568 cat > conftest.$ac_ext <<_LT_EOF
11569 #line 11569 "configure"
11570 #include "confdefs.h"
11571
11572 #if HAVE_DLFCN_H
11573 #include <dlfcn.h>
11574 #endif
11575
11576 #include <stdio.h>
11577
11578 #ifdef RTLD_GLOBAL
11579 # define LT_DLGLOBAL RTLD_GLOBAL
11580 #else
11581 # ifdef DL_GLOBAL
11582 # define LT_DLGLOBAL DL_GLOBAL
11583 # else
11584 # define LT_DLGLOBAL 0
11585 # endif
11586 #endif
11587
11588 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11589 find out it does not work in some platform. */
11590 #ifndef LT_DLLAZY_OR_NOW
11591 # ifdef RTLD_LAZY
11592 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11593 # else
11594 # ifdef DL_LAZY
11595 # define LT_DLLAZY_OR_NOW DL_LAZY
11596 # else
11597 # ifdef RTLD_NOW
11598 # define LT_DLLAZY_OR_NOW RTLD_NOW
11599 # else
11600 # ifdef DL_NOW
11601 # define LT_DLLAZY_OR_NOW DL_NOW
11602 # else
11603 # define LT_DLLAZY_OR_NOW 0
11604 # endif
11605 # endif
11606 # endif
11607 # endif
11608 #endif
11609
11610 /* When -fvisbility=hidden is used, assume the code has been annotated
11611 correspondingly for the symbols needed. */
11612 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11613 void fnord () __attribute__((visibility("default")));
11614 #endif
11615
11616 void fnord () { int i=42; }
11617 int main ()
11618 {
11619 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11620 int status = $lt_dlunknown;
11621
11622 if (self)
11623 {
11624 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11625 else
11626 {
11627 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11628 else puts (dlerror ());
11629 }
11630 /* dlclose (self); */
11631 }
11632 else
11633 puts (dlerror ());
11634
11635 return status;
11636 }
11637 _LT_EOF
11638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11639 (eval $ac_link) 2>&5
11640 ac_status=$?
11641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11642 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11643 (./conftest; exit; ) >&5 2>/dev/null
11644 lt_status=$?
11645 case x$lt_status in
11646 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11647 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11648 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11649 esac
11650 else :
11651 # compilation failed
11652 lt_cv_dlopen_self_static=no
11653 fi
11654 fi
11655 rm -fr conftest*
11656
11657
11658 fi
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11660 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11661 fi
11662
11663 CPPFLAGS="$save_CPPFLAGS"
11664 LDFLAGS="$save_LDFLAGS"
11665 LIBS="$save_LIBS"
11666 ;;
11667 esac
11668
11669 case $lt_cv_dlopen_self in
11670 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11671 *) enable_dlopen_self=unknown ;;
11672 esac
11673
11674 case $lt_cv_dlopen_self_static in
11675 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11676 *) enable_dlopen_self_static=unknown ;;
11677 esac
11678 fi
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696 striplib=
11697 old_striplib=
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11699 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11700 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11701 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11702 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11704 $as_echo "yes" >&6; }
11705 else
11706 # FIXME - insert some real tests, host_os isn't really good enough
11707 case $host_os in
11708 darwin*)
11709 if test -n "$STRIP" ; then
11710 striplib="$STRIP -x"
11711 old_striplib="$STRIP -S"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713 $as_echo "yes" >&6; }
11714 else
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716 $as_echo "no" >&6; }
11717 fi
11718 ;;
11719 *)
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11722 ;;
11723 esac
11724 fi
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737 # Report which library types will actually be built
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11739 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11741 $as_echo "$can_build_shared" >&6; }
11742
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11744 $as_echo_n "checking whether to build shared libraries... " >&6; }
11745 test "$can_build_shared" = "no" && enable_shared=no
11746
11747 # On AIX, shared libraries and static libraries use the same namespace, and
11748 # are all built from PIC.
11749 case $host_os in
11750 aix3*)
11751 test "$enable_shared" = yes && enable_static=no
11752 if test -n "$RANLIB"; then
11753 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11754 postinstall_cmds='$RANLIB $lib'
11755 fi
11756 ;;
11757
11758 aix[4-9]*)
11759 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11760 test "$enable_shared" = yes && enable_static=no
11761 fi
11762 ;;
11763 esac
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11765 $as_echo "$enable_shared" >&6; }
11766
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11768 $as_echo_n "checking whether to build static libraries... " >&6; }
11769 # Make sure either enable_shared or enable_static is yes.
11770 test "$enable_shared" = yes || enable_static=yes
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11772 $as_echo "$enable_static" >&6; }
11773
11774
11775
11776
11777 fi
11778 ac_ext=c
11779 ac_cpp='$CPP $CPPFLAGS'
11780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11783
11784 CC="$lt_save_CC"
11785
11786 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11787 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11788 (test "X$CXX" != "Xg++"))) ; then
11789 ac_ext=cpp
11790 ac_cpp='$CXXCPP $CPPFLAGS'
11791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11795 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11796 if test -z "$CXXCPP"; then
11797 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 # Double quotes because CXXCPP needs to be expanded
11801 for CXXCPP in "$CXX -E" "/lib/cpp"
11802 do
11803 ac_preproc_ok=false
11804 for ac_cxx_preproc_warn_flag in '' yes
11805 do
11806 # Use a header file that comes with gcc, so configuring glibc
11807 # with a fresh cross-compiler works.
11808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11809 # <limits.h> exists even on freestanding compilers.
11810 # On the NeXT, cc -E runs the code through the compiler's parser,
11811 # not just through cpp. "Syntax error" is here to catch this case.
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 #ifdef __STDC__
11815 # include <limits.h>
11816 #else
11817 # include <assert.h>
11818 #endif
11819 Syntax error
11820 _ACEOF
11821 if ac_fn_cxx_try_cpp "$LINENO"; then :
11822
11823 else
11824 # Broken: fails on valid input.
11825 continue
11826 fi
11827 rm -f conftest.err conftest.$ac_ext
11828
11829 # OK, works on sane cases. Now check whether nonexistent headers
11830 # can be detected and how.
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11833 #include <ac_nonexistent.h>
11834 _ACEOF
11835 if ac_fn_cxx_try_cpp "$LINENO"; then :
11836 # Broken: success on invalid input.
11837 continue
11838 else
11839 # Passes both tests.
11840 ac_preproc_ok=:
11841 break
11842 fi
11843 rm -f conftest.err conftest.$ac_ext
11844
11845 done
11846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11847 rm -f conftest.err conftest.$ac_ext
11848 if $ac_preproc_ok; then :
11849 break
11850 fi
11851
11852 done
11853 ac_cv_prog_CXXCPP=$CXXCPP
11854
11855 fi
11856 CXXCPP=$ac_cv_prog_CXXCPP
11857 else
11858 ac_cv_prog_CXXCPP=$CXXCPP
11859 fi
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11861 $as_echo "$CXXCPP" >&6; }
11862 ac_preproc_ok=false
11863 for ac_cxx_preproc_warn_flag in '' yes
11864 do
11865 # Use a header file that comes with gcc, so configuring glibc
11866 # with a fresh cross-compiler works.
11867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11868 # <limits.h> exists even on freestanding compilers.
11869 # On the NeXT, cc -E runs the code through the compiler's parser,
11870 # not just through cpp. "Syntax error" is here to catch this case.
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873 #ifdef __STDC__
11874 # include <limits.h>
11875 #else
11876 # include <assert.h>
11877 #endif
11878 Syntax error
11879 _ACEOF
11880 if ac_fn_cxx_try_cpp "$LINENO"; then :
11881
11882 else
11883 # Broken: fails on valid input.
11884 continue
11885 fi
11886 rm -f conftest.err conftest.$ac_ext
11887
11888 # OK, works on sane cases. Now check whether nonexistent headers
11889 # can be detected and how.
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11892 #include <ac_nonexistent.h>
11893 _ACEOF
11894 if ac_fn_cxx_try_cpp "$LINENO"; then :
11895 # Broken: success on invalid input.
11896 continue
11897 else
11898 # Passes both tests.
11899 ac_preproc_ok=:
11900 break
11901 fi
11902 rm -f conftest.err conftest.$ac_ext
11903
11904 done
11905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11906 rm -f conftest.err conftest.$ac_ext
11907 if $ac_preproc_ok; then :
11908
11909 else
11910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11912 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11913 See \`config.log' for more details." "$LINENO" 5; }
11914 fi
11915
11916 ac_ext=c
11917 ac_cpp='$CPP $CPPFLAGS'
11918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11921
11922 else
11923 _lt_caught_CXX_error=yes
11924 fi
11925
11926 ac_ext=cpp
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11931
11932 archive_cmds_need_lc_CXX=no
11933 allow_undefined_flag_CXX=
11934 always_export_symbols_CXX=no
11935 archive_expsym_cmds_CXX=
11936 compiler_needs_object_CXX=no
11937 export_dynamic_flag_spec_CXX=
11938 hardcode_direct_CXX=no
11939 hardcode_direct_absolute_CXX=no
11940 hardcode_libdir_flag_spec_CXX=
11941 hardcode_libdir_flag_spec_ld_CXX=
11942 hardcode_libdir_separator_CXX=
11943 hardcode_minus_L_CXX=no
11944 hardcode_shlibpath_var_CXX=unsupported
11945 hardcode_automatic_CXX=no
11946 inherit_rpath_CXX=no
11947 module_cmds_CXX=
11948 module_expsym_cmds_CXX=
11949 link_all_deplibs_CXX=unknown
11950 old_archive_cmds_CXX=$old_archive_cmds
11951 reload_flag_CXX=$reload_flag
11952 reload_cmds_CXX=$reload_cmds
11953 no_undefined_flag_CXX=
11954 whole_archive_flag_spec_CXX=
11955 enable_shared_with_static_runtimes_CXX=no
11956
11957 # Source file extension for C++ test sources.
11958 ac_ext=cpp
11959
11960 # Object file extension for compiled C++ test sources.
11961 objext=o
11962 objext_CXX=$objext
11963
11964 # No sense in running all these tests if we already determined that
11965 # the CXX compiler isn't working. Some variables (like enable_shared)
11966 # are currently assumed to apply to all compilers on this platform,
11967 # and will be corrupted by setting them based on a non-working compiler.
11968 if test "$_lt_caught_CXX_error" != yes; then
11969 # Code to be used in simple compile tests
11970 lt_simple_compile_test_code="int some_variable = 0;"
11971
11972 # Code to be used in simple link tests
11973 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11974
11975 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11976
11977
11978
11979
11980
11981
11982 # If no C compiler was specified, use CC.
11983 LTCC=${LTCC-"$CC"}
11984
11985 # If no C compiler flags were specified, use CFLAGS.
11986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11987
11988 # Allow CC to be a program name with arguments.
11989 compiler=$CC
11990
11991
11992 # save warnings/boilerplate of simple test code
11993 ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11995 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_compiler_boilerplate=`cat conftest.err`
11997 $RM conftest*
11998
11999 ac_outfile=conftest.$ac_objext
12000 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12001 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12002 _lt_linker_boilerplate=`cat conftest.err`
12003 $RM -r conftest*
12004
12005
12006 # Allow CC to be a program name with arguments.
12007 lt_save_CC=$CC
12008 lt_save_LD=$LD
12009 lt_save_GCC=$GCC
12010 GCC=$GXX
12011 lt_save_with_gnu_ld=$with_gnu_ld
12012 lt_save_path_LD=$lt_cv_path_LD
12013 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12014 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12015 else
12016 $as_unset lt_cv_prog_gnu_ld
12017 fi
12018 if test -n "${lt_cv_path_LDCXX+set}"; then
12019 lt_cv_path_LD=$lt_cv_path_LDCXX
12020 else
12021 $as_unset lt_cv_path_LD
12022 fi
12023 test -z "${LDCXX+set}" || LD=$LDCXX
12024 CC=${CXX-"c++"}
12025 compiler=$CC
12026 compiler_CXX=$CC
12027 for cc_temp in $compiler""; do
12028 case $cc_temp in
12029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12031 \-*) ;;
12032 *) break;;
12033 esac
12034 done
12035 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12036
12037
12038 if test -n "$compiler"; then
12039 # We don't want -fno-exception when compiling C++ code, so set the
12040 # no_builtin_flag separately
12041 if test "$GXX" = yes; then
12042 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12043 else
12044 lt_prog_compiler_no_builtin_flag_CXX=
12045 fi
12046
12047 if test "$GXX" = yes; then
12048 # Set up default GNU C++ configuration
12049
12050
12051
12052 # Check whether --with-gnu-ld was given.
12053 if test "${with_gnu_ld+set}" = set; then :
12054 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12055 else
12056 with_gnu_ld=no
12057 fi
12058
12059 ac_prog=ld
12060 if test "$GCC" = yes; then
12061 # Check if gcc -print-prog-name=ld gives a path.
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12063 $as_echo_n "checking for ld used by $CC... " >&6; }
12064 case $host in
12065 *-*-mingw*)
12066 # gcc leaves a trailing carriage return which upsets mingw
12067 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12068 *)
12069 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12070 esac
12071 case $ac_prog in
12072 # Accept absolute paths.
12073 [\\/]* | ?:[\\/]*)
12074 re_direlt='/[^/][^/]*/\.\./'
12075 # Canonicalize the pathname of ld
12076 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12077 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12078 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12079 done
12080 test -z "$LD" && LD="$ac_prog"
12081 ;;
12082 "")
12083 # If it fails, then pretend we aren't using GCC.
12084 ac_prog=ld
12085 ;;
12086 *)
12087 # If it is relative, then search for the first ld in PATH.
12088 with_gnu_ld=unknown
12089 ;;
12090 esac
12091 elif test "$with_gnu_ld" = yes; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12093 $as_echo_n "checking for GNU ld... " >&6; }
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12096 $as_echo_n "checking for non-GNU ld... " >&6; }
12097 fi
12098 if test "${lt_cv_path_LD+set}" = set; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 if test -z "$LD"; then
12102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12103 for ac_dir in $PATH; do
12104 IFS="$lt_save_ifs"
12105 test -z "$ac_dir" && ac_dir=.
12106 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12107 lt_cv_path_LD="$ac_dir/$ac_prog"
12108 # Check to see if the program is GNU ld. I'd rather use --version,
12109 # but apparently some variants of GNU ld only accept -v.
12110 # Break only if it was the GNU/non-GNU ld that we prefer.
12111 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12112 *GNU* | *'with BFD'*)
12113 test "$with_gnu_ld" != no && break
12114 ;;
12115 *)
12116 test "$with_gnu_ld" != yes && break
12117 ;;
12118 esac
12119 fi
12120 done
12121 IFS="$lt_save_ifs"
12122 else
12123 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12124 fi
12125 fi
12126
12127 LD="$lt_cv_path_LD"
12128 if test -n "$LD"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12130 $as_echo "$LD" >&6; }
12131 else
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12134 fi
12135 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12137 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12138 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12142 case `$LD -v 2>&1 </dev/null` in
12143 *GNU* | *'with BFD'*)
12144 lt_cv_prog_gnu_ld=yes
12145 ;;
12146 *)
12147 lt_cv_prog_gnu_ld=no
12148 ;;
12149 esac
12150 fi
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12152 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12153 with_gnu_ld=$lt_cv_prog_gnu_ld
12154
12155
12156
12157
12158
12159
12160
12161 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12162 # archiving commands below assume that GNU ld is being used.
12163 if test "$with_gnu_ld" = yes; then
12164 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12165 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'
12166
12167 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12168 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12169
12170 # If archive_cmds runs LD, not CC, wlarc should be empty
12171 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12172 # investigate it a little bit more. (MM)
12173 wlarc='${wl}'
12174
12175 # ancient GNU ld didn't support --whole-archive et. al.
12176 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12177 $GREP 'no-whole-archive' > /dev/null; then
12178 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12179 else
12180 whole_archive_flag_spec_CXX=
12181 fi
12182 else
12183 with_gnu_ld=no
12184 wlarc=
12185
12186 # A generic and very simple default shared library creation
12187 # command for GNU C++ for the case where it uses the native
12188 # linker, instead of GNU ld. If possible, this setting should
12189 # overridden to take advantage of the native linker features on
12190 # the platform it is being used on.
12191 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12192 fi
12193
12194 # Commands to make compiler produce verbose output that lists
12195 # what "hidden" libraries, object files and flags are used when
12196 # linking a shared library.
12197 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12198
12199 else
12200 GXX=no
12201 with_gnu_ld=no
12202 wlarc=
12203 fi
12204
12205 # PORTME: fill in a description of your system's C++ link characteristics
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12207 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12208 ld_shlibs_CXX=yes
12209 case $host_os in
12210 aix3*)
12211 # FIXME: insert proper C++ library support
12212 ld_shlibs_CXX=no
12213 ;;
12214 aix[4-9]*)
12215 if test "$host_cpu" = ia64; then
12216 # On IA64, the linker does run time linking by default, so we don't
12217 # have to do anything special.
12218 aix_use_runtimelinking=no
12219 exp_sym_flag='-Bexport'
12220 no_entry_flag=""
12221 else
12222 aix_use_runtimelinking=no
12223
12224 # Test if we are trying to use run time linking or normal
12225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12226 # need to do runtime linking.
12227 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12228 for ld_flag in $LDFLAGS; do
12229 case $ld_flag in
12230 *-brtl*)
12231 aix_use_runtimelinking=yes
12232 break
12233 ;;
12234 esac
12235 done
12236 ;;
12237 esac
12238
12239 exp_sym_flag='-bexport'
12240 no_entry_flag='-bnoentry'
12241 fi
12242
12243 # When large executables or shared objects are built, AIX ld can
12244 # have problems creating the table of contents. If linking a library
12245 # or program results in "error TOC overflow" add -mminimal-toc to
12246 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12247 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12248
12249 archive_cmds_CXX=''
12250 hardcode_direct_CXX=yes
12251 hardcode_direct_absolute_CXX=yes
12252 hardcode_libdir_separator_CXX=':'
12253 link_all_deplibs_CXX=yes
12254 file_list_spec_CXX='${wl}-f,'
12255
12256 if test "$GXX" = yes; then
12257 case $host_os in aix4.[012]|aix4.[012].*)
12258 # We only want to do this on AIX 4.2 and lower, the check
12259 # below for broken collect2 doesn't work under 4.3+
12260 collect2name=`${CC} -print-prog-name=collect2`
12261 if test -f "$collect2name" &&
12262 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12263 then
12264 # We have reworked collect2
12265 :
12266 else
12267 # We have old collect2
12268 hardcode_direct_CXX=unsupported
12269 # It fails to find uninstalled libraries when the uninstalled
12270 # path is not listed in the libpath. Setting hardcode_minus_L
12271 # to unsupported forces relinking
12272 hardcode_minus_L_CXX=yes
12273 hardcode_libdir_flag_spec_CXX='-L$libdir'
12274 hardcode_libdir_separator_CXX=
12275 fi
12276 esac
12277 shared_flag='-shared'
12278 if test "$aix_use_runtimelinking" = yes; then
12279 shared_flag="$shared_flag "'${wl}-G'
12280 fi
12281 else
12282 # not using gcc
12283 if test "$host_cpu" = ia64; then
12284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12285 # chokes on -Wl,-G. The following line is correct:
12286 shared_flag='-G'
12287 else
12288 if test "$aix_use_runtimelinking" = yes; then
12289 shared_flag='${wl}-G'
12290 else
12291 shared_flag='${wl}-bM:SRE'
12292 fi
12293 fi
12294 fi
12295
12296 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12297 # It seems that -bexpall does not export symbols beginning with
12298 # underscore (_), so it is better to generate a list of symbols to
12299 # export.
12300 always_export_symbols_CXX=yes
12301 if test "$aix_use_runtimelinking" = yes; then
12302 # Warning - without using the other runtime loading flags (-brtl),
12303 # -berok will link without error, but may produce a broken library.
12304 allow_undefined_flag_CXX='-berok'
12305 # Determine the default libpath from the value encoded in an empty
12306 # executable.
12307 if test x$gcc_no_link = xyes; then
12308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12309 fi
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312
12313 int
12314 main ()
12315 {
12316
12317 ;
12318 return 0;
12319 }
12320 _ACEOF
12321 if ac_fn_cxx_try_link "$LINENO"; then :
12322
12323 lt_aix_libpath_sed='
12324 /Import File Strings/,/^$/ {
12325 /^0/ {
12326 s/^0 *\(.*\)$/\1/
12327 p
12328 }
12329 }'
12330 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12331 # Check for a 64-bit object if we didn't find anything.
12332 if test -z "$aix_libpath"; then
12333 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12334 fi
12335 fi
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12339
12340 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12341
12342 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"
12343 else
12344 if test "$host_cpu" = ia64; then
12345 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12346 allow_undefined_flag_CXX="-z nodefs"
12347 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"
12348 else
12349 # Determine the default libpath from the value encoded in an
12350 # empty executable.
12351 if test x$gcc_no_link = xyes; then
12352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12353 fi
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12356
12357 int
12358 main ()
12359 {
12360
12361 ;
12362 return 0;
12363 }
12364 _ACEOF
12365 if ac_fn_cxx_try_link "$LINENO"; then :
12366
12367 lt_aix_libpath_sed='
12368 /Import File Strings/,/^$/ {
12369 /^0/ {
12370 s/^0 *\(.*\)$/\1/
12371 p
12372 }
12373 }'
12374 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12375 # Check for a 64-bit object if we didn't find anything.
12376 if test -z "$aix_libpath"; then
12377 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12378 fi
12379 fi
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12383
12384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12385 # Warning - without using the other run time loading flags,
12386 # -berok will link without error, but may produce a broken library.
12387 no_undefined_flag_CXX=' ${wl}-bernotok'
12388 allow_undefined_flag_CXX=' ${wl}-berok'
12389 if test "$with_gnu_ld" = yes; then
12390 # We only use this code for GNU lds that support --whole-archive.
12391 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12392 else
12393 # Exported symbols can be pulled into shared objects from archives
12394 whole_archive_flag_spec_CXX='$convenience'
12395 fi
12396 archive_cmds_need_lc_CXX=yes
12397 # This is similar to how AIX traditionally builds its shared
12398 # libraries.
12399 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'
12400 fi
12401 fi
12402 ;;
12403
12404 beos*)
12405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12406 allow_undefined_flag_CXX=unsupported
12407 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12408 # support --undefined. This deserves some investigation. FIXME
12409 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12410 else
12411 ld_shlibs_CXX=no
12412 fi
12413 ;;
12414
12415 chorus*)
12416 case $cc_basename in
12417 *)
12418 # FIXME: insert proper C++ library support
12419 ld_shlibs_CXX=no
12420 ;;
12421 esac
12422 ;;
12423
12424 cygwin* | mingw* | pw32* | cegcc*)
12425 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12426 # as there is no search path for DLLs.
12427 hardcode_libdir_flag_spec_CXX='-L$libdir'
12428 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12429 allow_undefined_flag_CXX=unsupported
12430 always_export_symbols_CXX=no
12431 enable_shared_with_static_runtimes_CXX=yes
12432
12433 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12434 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'
12435 # If the export-symbols file already is a .def file (1st line
12436 # is EXPORTS), use it as is; otherwise, prepend...
12437 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12438 cp $export_symbols $output_objdir/$soname.def;
12439 else
12440 echo EXPORTS > $output_objdir/$soname.def;
12441 cat $export_symbols >> $output_objdir/$soname.def;
12442 fi~
12443 $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'
12444 else
12445 ld_shlibs_CXX=no
12446 fi
12447 ;;
12448 darwin* | rhapsody*)
12449
12450
12451 archive_cmds_need_lc_CXX=no
12452 hardcode_direct_CXX=no
12453 hardcode_automatic_CXX=yes
12454 hardcode_shlibpath_var_CXX=unsupported
12455 if test "$lt_cv_ld_force_load" = "yes"; then
12456 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\"`'
12457 else
12458 whole_archive_flag_spec_CXX=''
12459 fi
12460 link_all_deplibs_CXX=yes
12461 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12462 case $cc_basename in
12463 ifort*) _lt_dar_can_shared=yes ;;
12464 *) _lt_dar_can_shared=$GCC ;;
12465 esac
12466 if test "$_lt_dar_can_shared" = "yes"; then
12467 output_verbose_link_cmd=func_echo_all
12468 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}"
12469 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12470 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}"
12471 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}"
12472 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12473 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}"
12474 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}"
12475 fi
12476
12477 else
12478 ld_shlibs_CXX=no
12479 fi
12480
12481 ;;
12482
12483 dgux*)
12484 case $cc_basename in
12485 ec++*)
12486 # FIXME: insert proper C++ library support
12487 ld_shlibs_CXX=no
12488 ;;
12489 ghcx*)
12490 # Green Hills C++ Compiler
12491 # FIXME: insert proper C++ library support
12492 ld_shlibs_CXX=no
12493 ;;
12494 *)
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12497 ;;
12498 esac
12499 ;;
12500
12501 freebsd[12]*)
12502 # C++ shared libraries reported to be fairly broken before
12503 # switch to ELF
12504 ld_shlibs_CXX=no
12505 ;;
12506
12507 freebsd-elf*)
12508 archive_cmds_need_lc_CXX=no
12509 ;;
12510
12511 freebsd* | dragonfly*)
12512 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12513 # conventions
12514 ld_shlibs_CXX=yes
12515 ;;
12516
12517 gnu*)
12518 ;;
12519
12520 haiku*)
12521 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12522 link_all_deplibs_CXX=yes
12523 ;;
12524
12525 hpux9*)
12526 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12527 hardcode_libdir_separator_CXX=:
12528 export_dynamic_flag_spec_CXX='${wl}-E'
12529 hardcode_direct_CXX=yes
12530 hardcode_minus_L_CXX=yes # Not in the search PATH,
12531 # but as the default
12532 # location of the library.
12533
12534 case $cc_basename in
12535 CC*)
12536 # FIXME: insert proper C++ library support
12537 ld_shlibs_CXX=no
12538 ;;
12539 aCC*)
12540 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'
12541 # Commands to make compiler produce verbose output that lists
12542 # what "hidden" libraries, object files and flags are used when
12543 # linking a shared library.
12544 #
12545 # There doesn't appear to be a way to prevent this compiler from
12546 # explicitly linking system object files so we need to strip them
12547 # from the output so that they don't get included in the library
12548 # dependencies.
12549 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"'
12550 ;;
12551 *)
12552 if test "$GXX" = yes; then
12553 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'
12554 else
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12557 fi
12558 ;;
12559 esac
12560 ;;
12561
12562 hpux10*|hpux11*)
12563 if test $with_gnu_ld = no; then
12564 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12565 hardcode_libdir_separator_CXX=:
12566
12567 case $host_cpu in
12568 hppa*64*|ia64*)
12569 ;;
12570 *)
12571 export_dynamic_flag_spec_CXX='${wl}-E'
12572 ;;
12573 esac
12574 fi
12575 case $host_cpu in
12576 hppa*64*|ia64*)
12577 hardcode_direct_CXX=no
12578 hardcode_shlibpath_var_CXX=no
12579 ;;
12580 *)
12581 hardcode_direct_CXX=yes
12582 hardcode_direct_absolute_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12586 ;;
12587 esac
12588
12589 case $cc_basename in
12590 CC*)
12591 # FIXME: insert proper C++ library support
12592 ld_shlibs_CXX=no
12593 ;;
12594 aCC*)
12595 case $host_cpu in
12596 hppa*64*)
12597 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12598 ;;
12599 ia64*)
12600 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12601 ;;
12602 *)
12603 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12604 ;;
12605 esac
12606 # Commands to make compiler produce verbose output that lists
12607 # what "hidden" libraries, object files and flags are used when
12608 # linking a shared library.
12609 #
12610 # There doesn't appear to be a way to prevent this compiler from
12611 # explicitly linking system object files so we need to strip them
12612 # from the output so that they don't get included in the library
12613 # dependencies.
12614 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"'
12615 ;;
12616 *)
12617 if test "$GXX" = yes; then
12618 if test $with_gnu_ld = no; then
12619 case $host_cpu in
12620 hppa*64*)
12621 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12622 ;;
12623 ia64*)
12624 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12625 ;;
12626 *)
12627 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'
12628 ;;
12629 esac
12630 fi
12631 else
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12634 fi
12635 ;;
12636 esac
12637 ;;
12638
12639 interix[3-9]*)
12640 hardcode_direct_CXX=no
12641 hardcode_shlibpath_var_CXX=no
12642 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12643 export_dynamic_flag_spec_CXX='${wl}-E'
12644 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12645 # Instead, shared libraries are loaded at an image base (0x10000000 by
12646 # default) and relocated if they conflict, which is a slow very memory
12647 # consuming and fragmenting process. To avoid this, we pick a random,
12648 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12649 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12650 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'
12651 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'
12652 ;;
12653 irix5* | irix6*)
12654 case $cc_basename in
12655 CC*)
12656 # SGI C++
12657 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'
12658
12659 # Archives containing C++ object files must be created using
12660 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12661 # necessary to make sure instantiated templates are included
12662 # in the archive.
12663 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12664 ;;
12665 *)
12666 if test "$GXX" = yes; then
12667 if test "$with_gnu_ld" = no; then
12668 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'
12669 else
12670 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'
12671 fi
12672 fi
12673 link_all_deplibs_CXX=yes
12674 ;;
12675 esac
12676 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12677 hardcode_libdir_separator_CXX=:
12678 inherit_rpath_CXX=yes
12679 ;;
12680
12681 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12682 case $cc_basename in
12683 KCC*)
12684 # Kuck and Associates, Inc. (KAI) C++ Compiler
12685
12686 # KCC will only create a shared library if the output file
12687 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12688 # to its proper name (with version) after linking.
12689 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'
12690 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'
12691 # Commands to make compiler produce verbose output that lists
12692 # what "hidden" libraries, object files and flags are used when
12693 # linking a shared library.
12694 #
12695 # There doesn't appear to be a way to prevent this compiler from
12696 # explicitly linking system object files so we need to strip them
12697 # from the output so that they don't get included in the library
12698 # dependencies.
12699 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"'
12700
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12702 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12703
12704 # Archives containing C++ object files must be created using
12705 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12706 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12707 ;;
12708 icpc* | ecpc* )
12709 # Intel C++
12710 with_gnu_ld=yes
12711 # version 8.0 and above of icpc choke on multiply defined symbols
12712 # if we add $predep_objects and $postdep_objects, however 7.1 and
12713 # earlier do not add the objects themselves.
12714 case `$CC -V 2>&1` in
12715 *"Version 7."*)
12716 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12717 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'
12718 ;;
12719 *) # Version 8.0 or newer
12720 tmp_idyn=
12721 case $host_cpu in
12722 ia64*) tmp_idyn=' -i_dynamic';;
12723 esac
12724 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12725 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'
12726 ;;
12727 esac
12728 archive_cmds_need_lc_CXX=no
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12732 ;;
12733 pgCC* | pgcpp*)
12734 # Portland Group C++ compiler
12735 case `$CC -V` in
12736 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12737 prelink_cmds_CXX='tpldir=Template.dir~
12738 rm -rf $tpldir~
12739 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12740 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12741 old_archive_cmds_CXX='tpldir=Template.dir~
12742 rm -rf $tpldir~
12743 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12744 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12745 $RANLIB $oldlib'
12746 archive_cmds_CXX='tpldir=Template.dir~
12747 rm -rf $tpldir~
12748 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12749 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12750 archive_expsym_cmds_CXX='tpldir=Template.dir~
12751 rm -rf $tpldir~
12752 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12753 $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'
12754 ;;
12755 *) # Version 6 and above use weak symbols
12756 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12757 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'
12758 ;;
12759 esac
12760
12761 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12762 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763 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'
12764 ;;
12765 cxx*)
12766 # Compaq C++
12767 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12768 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'
12769
12770 runpath_var=LD_RUN_PATH
12771 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12772 hardcode_libdir_separator_CXX=:
12773
12774 # Commands to make compiler produce verbose output that lists
12775 # what "hidden" libraries, object files and flags are used when
12776 # linking a shared library.
12777 #
12778 # There doesn't appear to be a way to prevent this compiler from
12779 # explicitly linking system object files so we need to strip them
12780 # from the output so that they don't get included in the library
12781 # dependencies.
12782 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'
12783 ;;
12784 xl* | mpixl* | bgxl*)
12785 # IBM XL 8.0 on PPC, with GNU ld
12786 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12787 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12788 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12789 if test "x$supports_anon_versioning" = xyes; then
12790 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12791 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12792 echo "local: *; };" >> $output_objdir/$libname.ver~
12793 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12794 fi
12795 ;;
12796 *)
12797 case `$CC -V 2>&1 | sed 5q` in
12798 *Sun\ C*)
12799 # Sun C++ 5.9
12800 no_undefined_flag_CXX=' -zdefs'
12801 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12802 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'
12803 hardcode_libdir_flag_spec_CXX='-R$libdir'
12804 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'
12805 compiler_needs_object_CXX=yes
12806
12807 # Not sure whether something based on
12808 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12809 # would be better.
12810 output_verbose_link_cmd='func_echo_all'
12811
12812 # Archives containing C++ object files must be created using
12813 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12814 # necessary to make sure instantiated templates are included
12815 # in the archive.
12816 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12817 ;;
12818 esac
12819 ;;
12820 esac
12821 ;;
12822
12823 lynxos*)
12824 # FIXME: insert proper C++ library support
12825 ld_shlibs_CXX=no
12826 ;;
12827
12828 m88k*)
12829 # FIXME: insert proper C++ library support
12830 ld_shlibs_CXX=no
12831 ;;
12832
12833 mvs*)
12834 case $cc_basename in
12835 cxx*)
12836 # FIXME: insert proper C++ library support
12837 ld_shlibs_CXX=no
12838 ;;
12839 *)
12840 # FIXME: insert proper C++ library support
12841 ld_shlibs_CXX=no
12842 ;;
12843 esac
12844 ;;
12845
12846 netbsd*)
12847 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12848 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12849 wlarc=
12850 hardcode_libdir_flag_spec_CXX='-R$libdir'
12851 hardcode_direct_CXX=yes
12852 hardcode_shlibpath_var_CXX=no
12853 fi
12854 # Workaround some broken pre-1.5 toolchains
12855 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12856 ;;
12857
12858 *nto* | *qnx*)
12859 ld_shlibs_CXX=yes
12860 ;;
12861
12862 openbsd2*)
12863 # C++ shared libraries are fairly broken
12864 ld_shlibs_CXX=no
12865 ;;
12866
12867 openbsd*)
12868 if test -f /usr/libexec/ld.so; then
12869 hardcode_direct_CXX=yes
12870 hardcode_shlibpath_var_CXX=no
12871 hardcode_direct_absolute_CXX=yes
12872 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12873 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12874 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12875 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12876 export_dynamic_flag_spec_CXX='${wl}-E'
12877 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12878 fi
12879 output_verbose_link_cmd=func_echo_all
12880 else
12881 ld_shlibs_CXX=no
12882 fi
12883 ;;
12884
12885 osf3* | osf4* | osf5*)
12886 case $cc_basename in
12887 KCC*)
12888 # Kuck and Associates, Inc. (KAI) C++ Compiler
12889
12890 # KCC will only create a shared library if the output file
12891 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12892 # to its proper name (with version) after linking.
12893 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'
12894
12895 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12896 hardcode_libdir_separator_CXX=:
12897
12898 # Archives containing C++ object files must be created using
12899 # the KAI C++ compiler.
12900 case $host in
12901 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12902 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12903 esac
12904 ;;
12905 RCC*)
12906 # Rational C++ 2.4.1
12907 # FIXME: insert proper C++ library support
12908 ld_shlibs_CXX=no
12909 ;;
12910 cxx*)
12911 case $host in
12912 osf3*)
12913 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12914 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'
12915 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12916 ;;
12917 *)
12918 allow_undefined_flag_CXX=' -expect_unresolved \*'
12919 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'
12920 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12921 echo "-hidden">> $lib.exp~
12922 $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~
12923 $RM $lib.exp'
12924 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12925 ;;
12926 esac
12927
12928 hardcode_libdir_separator_CXX=:
12929
12930 # Commands to make compiler produce verbose output that lists
12931 # what "hidden" libraries, object files and flags are used when
12932 # linking a shared library.
12933 #
12934 # There doesn't appear to be a way to prevent this compiler from
12935 # explicitly linking system object files so we need to strip them
12936 # from the output so that they don't get included in the library
12937 # dependencies.
12938 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"'
12939 ;;
12940 *)
12941 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12942 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12943 case $host in
12944 osf3*)
12945 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'
12946 ;;
12947 *)
12948 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'
12949 ;;
12950 esac
12951
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12953 hardcode_libdir_separator_CXX=:
12954
12955 # Commands to make compiler produce verbose output that lists
12956 # what "hidden" libraries, object files and flags are used when
12957 # linking a shared library.
12958 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12959
12960 else
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12963 fi
12964 ;;
12965 esac
12966 ;;
12967
12968 psos*)
12969 # FIXME: insert proper C++ library support
12970 ld_shlibs_CXX=no
12971 ;;
12972
12973 sunos4*)
12974 case $cc_basename in
12975 CC*)
12976 # Sun C++ 4.x
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12979 ;;
12980 lcc*)
12981 # Lucid
12982 # FIXME: insert proper C++ library support
12983 ld_shlibs_CXX=no
12984 ;;
12985 *)
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12988 ;;
12989 esac
12990 ;;
12991
12992 solaris*)
12993 case $cc_basename in
12994 CC*)
12995 # Sun C++ 4.2, 5.x and Centerline C++
12996 archive_cmds_need_lc_CXX=yes
12997 no_undefined_flag_CXX=' -zdefs'
12998 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13000 $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'
13001
13002 hardcode_libdir_flag_spec_CXX='-R$libdir'
13003 hardcode_shlibpath_var_CXX=no
13004 case $host_os in
13005 solaris2.[0-5] | solaris2.[0-5].*) ;;
13006 *)
13007 # The compiler driver will combine and reorder linker options,
13008 # but understands `-z linker_flag'.
13009 # Supported since Solaris 2.6 (maybe 2.5.1?)
13010 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13011 ;;
13012 esac
13013 link_all_deplibs_CXX=yes
13014
13015 output_verbose_link_cmd='func_echo_all'
13016
13017 # Archives containing C++ object files must be created using
13018 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13019 # necessary to make sure instantiated templates are included
13020 # in the archive.
13021 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13022 ;;
13023 gcx*)
13024 # Green Hills C++ Compiler
13025 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13026
13027 # The C++ compiler must be used to create the archive.
13028 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13029 ;;
13030 *)
13031 # GNU C++ compiler with Solaris linker
13032 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13033 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13034 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13035 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13036 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13038
13039 # Commands to make compiler produce verbose output that lists
13040 # what "hidden" libraries, object files and flags are used when
13041 # linking a shared library.
13042 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13043 else
13044 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13045 # platform.
13046 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13047 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13048 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13049
13050 # Commands to make compiler produce verbose output that lists
13051 # what "hidden" libraries, object files and flags are used when
13052 # linking a shared library.
13053 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13054 fi
13055
13056 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 *)
13060 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13061 ;;
13062 esac
13063 fi
13064 ;;
13065 esac
13066 ;;
13067
13068 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13069 no_undefined_flag_CXX='${wl}-z,text'
13070 archive_cmds_need_lc_CXX=no
13071 hardcode_shlibpath_var_CXX=no
13072 runpath_var='LD_RUN_PATH'
13073
13074 case $cc_basename in
13075 CC*)
13076 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13077 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13078 ;;
13079 *)
13080 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13081 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13082 ;;
13083 esac
13084 ;;
13085
13086 sysv5* | sco3.2v5* | sco5v6*)
13087 # Note: We can NOT use -z defs as we might desire, because we do not
13088 # link with -lc, and that would cause any symbols used from libc to
13089 # always be unresolved, which means just about no library would
13090 # ever link correctly. If we're not using GNU ld we use -z text
13091 # though, which does catch some bad symbols but isn't as heavy-handed
13092 # as -z defs.
13093 no_undefined_flag_CXX='${wl}-z,text'
13094 allow_undefined_flag_CXX='${wl}-z,nodefs'
13095 archive_cmds_need_lc_CXX=no
13096 hardcode_shlibpath_var_CXX=no
13097 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13098 hardcode_libdir_separator_CXX=':'
13099 link_all_deplibs_CXX=yes
13100 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13101 runpath_var='LD_RUN_PATH'
13102
13103 case $cc_basename in
13104 CC*)
13105 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13108 '"$old_archive_cmds_CXX"
13109 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13110 '"$reload_cmds_CXX"
13111 ;;
13112 *)
13113 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 ;;
13116 esac
13117 ;;
13118
13119 tandem*)
13120 case $cc_basename in
13121 NCC*)
13122 # NonStop-UX NCC 3.20
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13125 ;;
13126 *)
13127 # FIXME: insert proper C++ library support
13128 ld_shlibs_CXX=no
13129 ;;
13130 esac
13131 ;;
13132
13133 vxworks*)
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13136 ;;
13137
13138 *)
13139 # FIXME: insert proper C++ library support
13140 ld_shlibs_CXX=no
13141 ;;
13142 esac
13143
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13145 $as_echo "$ld_shlibs_CXX" >&6; }
13146 test "$ld_shlibs_CXX" = no && can_build_shared=no
13147
13148 GCC_CXX="$GXX"
13149 LD_CXX="$LD"
13150
13151 ## CAVEAT EMPTOR:
13152 ## There is no encapsulation within the following macros, do not change
13153 ## the running order or otherwise move them around unless you know exactly
13154 ## what you are doing...
13155 # Dependencies to place before and after the object being linked:
13156 predep_objects_CXX=
13157 postdep_objects_CXX=
13158 predeps_CXX=
13159 postdeps_CXX=
13160 compiler_lib_search_path_CXX=
13161
13162 cat > conftest.$ac_ext <<_LT_EOF
13163 class Foo
13164 {
13165 public:
13166 Foo (void) { a = 0; }
13167 private:
13168 int a;
13169 };
13170 _LT_EOF
13171
13172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13173 (eval $ac_compile) 2>&5
13174 ac_status=$?
13175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 test $ac_status = 0; }; then
13177 # Parse the compiler output and extract the necessary
13178 # objects, libraries and library flags.
13179
13180 # Sentinel used to keep track of whether or not we are before
13181 # the conftest object file.
13182 pre_test_object_deps_done=no
13183
13184 for p in `eval "$output_verbose_link_cmd"`; do
13185 case $p in
13186
13187 -L* | -R* | -l*)
13188 # Some compilers place space between "-{L,R}" and the path.
13189 # Remove the space.
13190 if test $p = "-L" ||
13191 test $p = "-R"; then
13192 prev=$p
13193 continue
13194 else
13195 prev=
13196 fi
13197
13198 if test "$pre_test_object_deps_done" = no; then
13199 case $p in
13200 -L* | -R*)
13201 # Internal compiler library paths should come after those
13202 # provided the user. The postdeps already come after the
13203 # user supplied libs so there is no need to process them.
13204 if test -z "$compiler_lib_search_path_CXX"; then
13205 compiler_lib_search_path_CXX="${prev}${p}"
13206 else
13207 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13208 fi
13209 ;;
13210 # The "-l" case would never come before the object being
13211 # linked, so don't bother handling this case.
13212 esac
13213 else
13214 if test -z "$postdeps_CXX"; then
13215 postdeps_CXX="${prev}${p}"
13216 else
13217 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13218 fi
13219 fi
13220 ;;
13221
13222 *.$objext)
13223 # This assumes that the test object file only shows up
13224 # once in the compiler output.
13225 if test "$p" = "conftest.$objext"; then
13226 pre_test_object_deps_done=yes
13227 continue
13228 fi
13229
13230 if test "$pre_test_object_deps_done" = no; then
13231 if test -z "$predep_objects_CXX"; then
13232 predep_objects_CXX="$p"
13233 else
13234 predep_objects_CXX="$predep_objects_CXX $p"
13235 fi
13236 else
13237 if test -z "$postdep_objects_CXX"; then
13238 postdep_objects_CXX="$p"
13239 else
13240 postdep_objects_CXX="$postdep_objects_CXX $p"
13241 fi
13242 fi
13243 ;;
13244
13245 *) ;; # Ignore the rest.
13246
13247 esac
13248 done
13249
13250 # Clean up.
13251 rm -f a.out a.exe
13252 else
13253 echo "libtool.m4: error: problem compiling CXX test program"
13254 fi
13255
13256 $RM -f confest.$objext
13257
13258 # PORTME: override above test on systems where it is broken
13259 case $host_os in
13260 interix[3-9]*)
13261 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13262 # hack all around it, let's just trust "g++" to DTRT.
13263 predep_objects_CXX=
13264 postdep_objects_CXX=
13265 postdeps_CXX=
13266 ;;
13267
13268 linux*)
13269 case `$CC -V 2>&1 | sed 5q` in
13270 *Sun\ C*)
13271 # Sun C++ 5.9
13272
13273 # The more standards-conforming stlport4 library is
13274 # incompatible with the Cstd library. Avoid specifying
13275 # it if it's in CXXFLAGS. Ignore libCrun as
13276 # -library=stlport4 depends on it.
13277 case " $CXX $CXXFLAGS " in
13278 *" -library=stlport4 "*)
13279 solaris_use_stlport4=yes
13280 ;;
13281 esac
13282
13283 if test "$solaris_use_stlport4" != yes; then
13284 postdeps_CXX='-library=Cstd -library=Crun'
13285 fi
13286 ;;
13287 esac
13288 ;;
13289
13290 solaris*)
13291 case $cc_basename in
13292 CC*)
13293 # The more standards-conforming stlport4 library is
13294 # incompatible with the Cstd library. Avoid specifying
13295 # it if it's in CXXFLAGS. Ignore libCrun as
13296 # -library=stlport4 depends on it.
13297 case " $CXX $CXXFLAGS " in
13298 *" -library=stlport4 "*)
13299 solaris_use_stlport4=yes
13300 ;;
13301 esac
13302
13303 # Adding this requires a known-good setup of shared libraries for
13304 # Sun compiler versions before 5.6, else PIC objects from an old
13305 # archive will be linked into the output, leading to subtle bugs.
13306 if test "$solaris_use_stlport4" != yes; then
13307 postdeps_CXX='-library=Cstd -library=Crun'
13308 fi
13309 ;;
13310 esac
13311 ;;
13312 esac
13313
13314
13315 case " $postdeps_CXX " in
13316 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13317 esac
13318 compiler_lib_search_dirs_CXX=
13319 if test -n "${compiler_lib_search_path_CXX}"; then
13320 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13321 fi
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353 lt_prog_compiler_wl_CXX=
13354 lt_prog_compiler_pic_CXX=
13355 lt_prog_compiler_static_CXX=
13356
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13359
13360 # C++ specific cases for pic, static, wl, etc.
13361 if test "$GXX" = yes; then
13362 lt_prog_compiler_wl_CXX='-Wl,'
13363 lt_prog_compiler_static_CXX='-static'
13364
13365 case $host_os in
13366 aix*)
13367 # All AIX code is PIC.
13368 if test "$host_cpu" = ia64; then
13369 # AIX 5 now supports IA64 processor
13370 lt_prog_compiler_static_CXX='-Bstatic'
13371 fi
13372 ;;
13373
13374 amigaos*)
13375 case $host_cpu in
13376 powerpc)
13377 # see comment about AmigaOS4 .so support
13378 lt_prog_compiler_pic_CXX='-fPIC'
13379 ;;
13380 m68k)
13381 # FIXME: we need at least 68020 code to build shared libraries, but
13382 # adding the `-m68020' flag to GCC prevents building anything better,
13383 # like `-m68040'.
13384 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13385 ;;
13386 esac
13387 ;;
13388
13389 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13390 # PIC is the default for these OSes.
13391 ;;
13392 mingw* | cygwin* | os2* | pw32* | cegcc*)
13393 # This hack is so that the source file can tell whether it is being
13394 # built for inclusion in a dll (and should export symbols for example).
13395 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13396 # (--disable-auto-import) libraries
13397 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13398 ;;
13399 darwin* | rhapsody*)
13400 # PIC is the default on this platform
13401 # Common symbols not allowed in MH_DYLIB files
13402 lt_prog_compiler_pic_CXX='-fno-common'
13403 ;;
13404 *djgpp*)
13405 # DJGPP does not support shared libraries at all
13406 lt_prog_compiler_pic_CXX=
13407 ;;
13408 haiku*)
13409 # PIC is the default for Haiku.
13410 # The "-static" flag exists, but is broken.
13411 lt_prog_compiler_static_CXX=
13412 ;;
13413 interix[3-9]*)
13414 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13415 # Instead, we relocate shared libraries at runtime.
13416 ;;
13417 sysv4*MP*)
13418 if test -d /usr/nec; then
13419 lt_prog_compiler_pic_CXX=-Kconform_pic
13420 fi
13421 ;;
13422 hpux*)
13423 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13424 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13425 # sets the default TLS model and affects inlining.
13426 case $host_cpu in
13427 hppa*64*)
13428 ;;
13429 *)
13430 lt_prog_compiler_pic_CXX='-fPIC'
13431 ;;
13432 esac
13433 ;;
13434 *qnx* | *nto*)
13435 # QNX uses GNU C++, but need to define -shared option too, otherwise
13436 # it will coredump.
13437 lt_prog_compiler_pic_CXX='-fPIC -shared'
13438 ;;
13439 *)
13440 lt_prog_compiler_pic_CXX='-fPIC'
13441 ;;
13442 esac
13443 else
13444 case $host_os in
13445 aix[4-9]*)
13446 # All AIX code is PIC.
13447 if test "$host_cpu" = ia64; then
13448 # AIX 5 now supports IA64 processor
13449 lt_prog_compiler_static_CXX='-Bstatic'
13450 else
13451 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13452 fi
13453 ;;
13454 chorus*)
13455 case $cc_basename in
13456 cxch68*)
13457 # Green Hills C++ Compiler
13458 # _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"
13459 ;;
13460 esac
13461 ;;
13462 dgux*)
13463 case $cc_basename in
13464 ec++*)
13465 lt_prog_compiler_pic_CXX='-KPIC'
13466 ;;
13467 ghcx*)
13468 # Green Hills C++ Compiler
13469 lt_prog_compiler_pic_CXX='-pic'
13470 ;;
13471 *)
13472 ;;
13473 esac
13474 ;;
13475 freebsd* | dragonfly*)
13476 # FreeBSD uses GNU C++
13477 ;;
13478 hpux9* | hpux10* | hpux11*)
13479 case $cc_basename in
13480 CC*)
13481 lt_prog_compiler_wl_CXX='-Wl,'
13482 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13483 if test "$host_cpu" != ia64; then
13484 lt_prog_compiler_pic_CXX='+Z'
13485 fi
13486 ;;
13487 aCC*)
13488 lt_prog_compiler_wl_CXX='-Wl,'
13489 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13490 case $host_cpu in
13491 hppa*64*|ia64*)
13492 # +Z the default
13493 ;;
13494 *)
13495 lt_prog_compiler_pic_CXX='+Z'
13496 ;;
13497 esac
13498 ;;
13499 *)
13500 ;;
13501 esac
13502 ;;
13503 interix*)
13504 # This is c89, which is MS Visual C++ (no shared libs)
13505 # Anyone wants to do a port?
13506 ;;
13507 irix5* | irix6* | nonstopux*)
13508 case $cc_basename in
13509 CC*)
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='-non_shared'
13512 # CC pic flag -KPIC is the default.
13513 ;;
13514 *)
13515 ;;
13516 esac
13517 ;;
13518 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13519 case $cc_basename in
13520 KCC*)
13521 # KAI C++ Compiler
13522 lt_prog_compiler_wl_CXX='--backend -Wl,'
13523 lt_prog_compiler_pic_CXX='-fPIC'
13524 ;;
13525 ecpc* )
13526 # old Intel C++ for x86_64 which still supported -KPIC.
13527 lt_prog_compiler_wl_CXX='-Wl,'
13528 lt_prog_compiler_pic_CXX='-KPIC'
13529 lt_prog_compiler_static_CXX='-static'
13530 ;;
13531 icpc* )
13532 # Intel C++, used to be incompatible with GCC.
13533 # ICC 10 doesn't accept -KPIC any more.
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_pic_CXX='-fPIC'
13536 lt_prog_compiler_static_CXX='-static'
13537 ;;
13538 pgCC* | pgcpp*)
13539 # Portland Group C++ compiler
13540 lt_prog_compiler_wl_CXX='-Wl,'
13541 lt_prog_compiler_pic_CXX='-fpic'
13542 lt_prog_compiler_static_CXX='-Bstatic'
13543 ;;
13544 cxx*)
13545 # Compaq C++
13546 # Make sure the PIC flag is empty. It appears that all Alpha
13547 # Linux and Compaq Tru64 Unix objects are PIC.
13548 lt_prog_compiler_pic_CXX=
13549 lt_prog_compiler_static_CXX='-non_shared'
13550 ;;
13551 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13552 # IBM XL 8.0, 9.0 on PPC and BlueGene
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_pic_CXX='-qpic'
13555 lt_prog_compiler_static_CXX='-qstaticlink'
13556 ;;
13557 *)
13558 case `$CC -V 2>&1 | sed 5q` in
13559 *Sun\ C*)
13560 # Sun C++ 5.9
13561 lt_prog_compiler_pic_CXX='-KPIC'
13562 lt_prog_compiler_static_CXX='-Bstatic'
13563 lt_prog_compiler_wl_CXX='-Qoption ld '
13564 ;;
13565 esac
13566 ;;
13567 esac
13568 ;;
13569 lynxos*)
13570 ;;
13571 m88k*)
13572 ;;
13573 mvs*)
13574 case $cc_basename in
13575 cxx*)
13576 lt_prog_compiler_pic_CXX='-W c,exportall'
13577 ;;
13578 *)
13579 ;;
13580 esac
13581 ;;
13582 netbsd*)
13583 ;;
13584 *qnx* | *nto*)
13585 # QNX uses GNU C++, but need to define -shared option too, otherwise
13586 # it will coredump.
13587 lt_prog_compiler_pic_CXX='-fPIC -shared'
13588 ;;
13589 osf3* | osf4* | osf5*)
13590 case $cc_basename in
13591 KCC*)
13592 lt_prog_compiler_wl_CXX='--backend -Wl,'
13593 ;;
13594 RCC*)
13595 # Rational C++ 2.4.1
13596 lt_prog_compiler_pic_CXX='-pic'
13597 ;;
13598 cxx*)
13599 # Digital/Compaq C++
13600 lt_prog_compiler_wl_CXX='-Wl,'
13601 # Make sure the PIC flag is empty. It appears that all Alpha
13602 # Linux and Compaq Tru64 Unix objects are PIC.
13603 lt_prog_compiler_pic_CXX=
13604 lt_prog_compiler_static_CXX='-non_shared'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 psos*)
13611 ;;
13612 solaris*)
13613 case $cc_basename in
13614 CC*)
13615 # Sun C++ 4.2, 5.x and Centerline C++
13616 lt_prog_compiler_pic_CXX='-KPIC'
13617 lt_prog_compiler_static_CXX='-Bstatic'
13618 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 ;;
13620 gcx*)
13621 # Green Hills C++ Compiler
13622 lt_prog_compiler_pic_CXX='-PIC'
13623 ;;
13624 *)
13625 ;;
13626 esac
13627 ;;
13628 sunos4*)
13629 case $cc_basename in
13630 CC*)
13631 # Sun C++ 4.x
13632 lt_prog_compiler_pic_CXX='-pic'
13633 lt_prog_compiler_static_CXX='-Bstatic'
13634 ;;
13635 lcc*)
13636 # Lucid
13637 lt_prog_compiler_pic_CXX='-pic'
13638 ;;
13639 *)
13640 ;;
13641 esac
13642 ;;
13643 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13644 case $cc_basename in
13645 CC*)
13646 lt_prog_compiler_wl_CXX='-Wl,'
13647 lt_prog_compiler_pic_CXX='-KPIC'
13648 lt_prog_compiler_static_CXX='-Bstatic'
13649 ;;
13650 esac
13651 ;;
13652 tandem*)
13653 case $cc_basename in
13654 NCC*)
13655 # NonStop-UX NCC 3.20
13656 lt_prog_compiler_pic_CXX='-KPIC'
13657 ;;
13658 *)
13659 ;;
13660 esac
13661 ;;
13662 vxworks*)
13663 ;;
13664 *)
13665 lt_prog_compiler_can_build_shared_CXX=no
13666 ;;
13667 esac
13668 fi
13669
13670 case $host_os in
13671 # For platforms which do not support PIC, -DPIC is meaningless:
13672 *djgpp*)
13673 lt_prog_compiler_pic_CXX=
13674 ;;
13675 *)
13676 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13677 ;;
13678 esac
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13680 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13681
13682
13683
13684 #
13685 # Check to make sure the PIC flag actually works.
13686 #
13687 if test -n "$lt_prog_compiler_pic_CXX"; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13689 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13690 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 lt_cv_prog_compiler_pic_works_CXX=no
13694 ac_outfile=conftest.$ac_objext
13695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13696 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13697 # Insert the option either (1) after the last *FLAGS variable, or
13698 # (2) before a word containing "conftest.", or (3) at the end.
13699 # Note that $ac_compile itself does not contain backslashes and begins
13700 # with a dollar sign (not a hyphen), so the echo should work correctly.
13701 # The option is referenced via a variable to avoid confusing sed.
13702 lt_compile=`echo "$ac_compile" | $SED \
13703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13705 -e 's:$: $lt_compiler_flag:'`
13706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13707 (eval "$lt_compile" 2>conftest.err)
13708 ac_status=$?
13709 cat conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 if (exit $ac_status) && test -s "$ac_outfile"; then
13712 # The compiler can only warn and ignore the option if not recognized
13713 # So say no if there are warnings other than the usual output.
13714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13717 lt_cv_prog_compiler_pic_works_CXX=yes
13718 fi
13719 fi
13720 $RM conftest*
13721
13722 fi
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13724 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13725
13726 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13727 case $lt_prog_compiler_pic_CXX in
13728 "" | " "*) ;;
13729 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13730 esac
13731 else
13732 lt_prog_compiler_pic_CXX=
13733 lt_prog_compiler_can_build_shared_CXX=no
13734 fi
13735
13736 fi
13737
13738
13739
13740 #
13741 # Check to make sure the static flag actually works.
13742 #
13743 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13745 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13746 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 lt_cv_prog_compiler_static_works_CXX=no
13750 save_LDFLAGS="$LDFLAGS"
13751 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13752 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13753 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13754 # The linker can only warn and ignore the option if not recognized
13755 # So say no if there are warnings
13756 if test -s conftest.err; then
13757 # Append any errors to the config.log.
13758 cat conftest.err 1>&5
13759 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13760 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13761 if diff conftest.exp conftest.er2 >/dev/null; then
13762 lt_cv_prog_compiler_static_works_CXX=yes
13763 fi
13764 else
13765 lt_cv_prog_compiler_static_works_CXX=yes
13766 fi
13767 fi
13768 $RM -r conftest*
13769 LDFLAGS="$save_LDFLAGS"
13770
13771 fi
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13773 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13774
13775 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13776 :
13777 else
13778 lt_prog_compiler_static_CXX=
13779 fi
13780
13781
13782
13783
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13786 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 lt_cv_prog_compiler_c_o_CXX=no
13790 $RM -r conftest 2>/dev/null
13791 mkdir conftest
13792 cd conftest
13793 mkdir out
13794 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13795
13796 lt_compiler_flag="-o out/conftest2.$ac_objext"
13797 # Insert the option either (1) after the last *FLAGS variable, or
13798 # (2) before a word containing "conftest.", or (3) at the end.
13799 # Note that $ac_compile itself does not contain backslashes and begins
13800 # with a dollar sign (not a hyphen), so the echo should work correctly.
13801 lt_compile=`echo "$ac_compile" | $SED \
13802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13804 -e 's:$: $lt_compiler_flag:'`
13805 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13806 (eval "$lt_compile" 2>out/conftest.err)
13807 ac_status=$?
13808 cat out/conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13811 then
13812 # The compiler can only warn and ignore the option if not recognized
13813 # So say no if there are warnings
13814 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13815 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13816 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13817 lt_cv_prog_compiler_c_o_CXX=yes
13818 fi
13819 fi
13820 chmod u+w . 2>&5
13821 $RM conftest*
13822 # SGI C++ compiler will create directory out/ii_files/ for
13823 # template instantiation
13824 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13825 $RM out/* && rmdir out
13826 cd ..
13827 $RM -r conftest
13828 $RM conftest*
13829
13830 fi
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13832 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13833
13834
13835
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13837 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13838 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_c_o_CXX=no
13842 $RM -r conftest 2>/dev/null
13843 mkdir conftest
13844 cd conftest
13845 mkdir out
13846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13847
13848 lt_compiler_flag="-o out/conftest2.$ac_objext"
13849 # Insert the option either (1) after the last *FLAGS variable, or
13850 # (2) before a word containing "conftest.", or (3) at the end.
13851 # Note that $ac_compile itself does not contain backslashes and begins
13852 # with a dollar sign (not a hyphen), so the echo should work correctly.
13853 lt_compile=`echo "$ac_compile" | $SED \
13854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13856 -e 's:$: $lt_compiler_flag:'`
13857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13858 (eval "$lt_compile" 2>out/conftest.err)
13859 ac_status=$?
13860 cat out/conftest.err >&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13863 then
13864 # The compiler can only warn and ignore the option if not recognized
13865 # So say no if there are warnings
13866 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13867 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13868 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13869 lt_cv_prog_compiler_c_o_CXX=yes
13870 fi
13871 fi
13872 chmod u+w . 2>&5
13873 $RM conftest*
13874 # SGI C++ compiler will create directory out/ii_files/ for
13875 # template instantiation
13876 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13877 $RM out/* && rmdir out
13878 cd ..
13879 $RM -r conftest
13880 $RM conftest*
13881
13882 fi
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13884 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13885
13886
13887
13888
13889 hard_links="nottested"
13890 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13891 # do not overwrite the value of need_locks provided by the user
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13893 $as_echo_n "checking if we can lock with hard links... " >&6; }
13894 hard_links=yes
13895 $RM conftest*
13896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13897 touch conftest.a
13898 ln conftest.a conftest.b 2>&5 || hard_links=no
13899 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13901 $as_echo "$hard_links" >&6; }
13902 if test "$hard_links" = no; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13904 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13905 need_locks=warn
13906 fi
13907 else
13908 need_locks=no
13909 fi
13910
13911
13912
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13914 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13915
13916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13917 case $host_os in
13918 aix[4-9]*)
13919 # If we're using GNU nm, then we don't want the "-C" option.
13920 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13921 # Also, AIX nm treats weak defined symbols like other global defined
13922 # symbols, whereas GNU nm marks them as "W".
13923 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13924 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'
13925 else
13926 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'
13927 fi
13928 ;;
13929 pw32*)
13930 export_symbols_cmds_CXX="$ltdll_cmds"
13931 ;;
13932 cygwin* | mingw* | cegcc*)
13933 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'
13934 ;;
13935 *)
13936 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13937 ;;
13938 esac
13939 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13940
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13942 $as_echo "$ld_shlibs_CXX" >&6; }
13943 test "$ld_shlibs_CXX" = no && can_build_shared=no
13944
13945 with_gnu_ld_CXX=$with_gnu_ld
13946
13947
13948
13949
13950
13951
13952 #
13953 # Do we need to explicitly link libc?
13954 #
13955 case "x$archive_cmds_need_lc_CXX" in
13956 x|xyes)
13957 # Assume -lc should be added
13958 archive_cmds_need_lc_CXX=yes
13959
13960 if test "$enable_shared" = yes && test "$GCC" = yes; then
13961 case $archive_cmds_CXX in
13962 *'~'*)
13963 # FIXME: we may have to deal with multi-command sequences.
13964 ;;
13965 '$CC '*)
13966 # Test whether the compiler implicitly links with -lc since on some
13967 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13968 # to ld, don't add -lc before -lgcc.
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13971 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13972 $as_echo_n "(cached) " >&6
13973 else
13974 $RM conftest*
13975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13976
13977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13978 (eval $ac_compile) 2>&5
13979 ac_status=$?
13980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13981 test $ac_status = 0; } 2>conftest.err; then
13982 soname=conftest
13983 lib=conftest
13984 libobjs=conftest.$ac_objext
13985 deplibs=
13986 wl=$lt_prog_compiler_wl_CXX
13987 pic_flag=$lt_prog_compiler_pic_CXX
13988 compiler_flags=-v
13989 linker_flags=-v
13990 verstring=
13991 output_objdir=.
13992 libname=conftest
13993 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13994 allow_undefined_flag_CXX=
13995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13996 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13997 ac_status=$?
13998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13999 test $ac_status = 0; }
14000 then
14001 lt_cv_archive_cmds_need_lc_CXX=no
14002 else
14003 lt_cv_archive_cmds_need_lc_CXX=yes
14004 fi
14005 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14006 else
14007 cat conftest.err 1>&5
14008 fi
14009 $RM conftest*
14010
14011 fi
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14013 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14014 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14015 ;;
14016 esac
14017 fi
14018 ;;
14019 esac
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14085 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14086
14087 library_names_spec=
14088 libname_spec='lib$name'
14089 soname_spec=
14090 shrext_cmds=".so"
14091 postinstall_cmds=
14092 postuninstall_cmds=
14093 finish_cmds=
14094 finish_eval=
14095 shlibpath_var=
14096 shlibpath_overrides_runpath=unknown
14097 version_type=none
14098 dynamic_linker="$host_os ld.so"
14099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14100 need_lib_prefix=unknown
14101 hardcode_into_libs=no
14102
14103 # when you set need_version to no, make sure it does not cause -set_version
14104 # flags to be left without arguments
14105 need_version=unknown
14106
14107 case $host_os in
14108 aix3*)
14109 version_type=linux
14110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14111 shlibpath_var=LIBPATH
14112
14113 # AIX 3 has no versioning support, so we append a major version to the name.
14114 soname_spec='${libname}${release}${shared_ext}$major'
14115 ;;
14116
14117 aix[4-9]*)
14118 version_type=linux
14119 need_lib_prefix=no
14120 need_version=no
14121 hardcode_into_libs=yes
14122 if test "$host_cpu" = ia64; then
14123 # AIX 5 supports IA64
14124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14125 shlibpath_var=LD_LIBRARY_PATH
14126 else
14127 # With GCC up to 2.95.x, collect2 would create an import file
14128 # for dependence libraries. The import file would start with
14129 # the line `#! .'. This would cause the generated library to
14130 # depend on `.', always an invalid library. This was fixed in
14131 # development snapshots of GCC prior to 3.0.
14132 case $host_os in
14133 aix4 | aix4.[01] | aix4.[01].*)
14134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14135 echo ' yes '
14136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14137 :
14138 else
14139 can_build_shared=no
14140 fi
14141 ;;
14142 esac
14143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14144 # soname into executable. Probably we can add versioning support to
14145 # collect2, so additional links can be useful in future.
14146 if test "$aix_use_runtimelinking" = yes; then
14147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14148 # instead of lib<name>.a to let people know that these are not
14149 # typical AIX shared libraries.
14150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14151 else
14152 # We preserve .a as extension for shared libraries through AIX4.2
14153 # and later when we are not doing run time linking.
14154 library_names_spec='${libname}${release}.a $libname.a'
14155 soname_spec='${libname}${release}${shared_ext}$major'
14156 fi
14157 shlibpath_var=LIBPATH
14158 fi
14159 ;;
14160
14161 amigaos*)
14162 case $host_cpu in
14163 powerpc)
14164 # Since July 2007 AmigaOS4 officially supports .so libraries.
14165 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167 ;;
14168 m68k)
14169 library_names_spec='$libname.ixlibrary $libname.a'
14170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14171 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'
14172 ;;
14173 esac
14174 ;;
14175
14176 beos*)
14177 library_names_spec='${libname}${shared_ext}'
14178 dynamic_linker="$host_os ld.so"
14179 shlibpath_var=LIBRARY_PATH
14180 ;;
14181
14182 bsdi[45]*)
14183 version_type=linux
14184 need_version=no
14185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14188 shlibpath_var=LD_LIBRARY_PATH
14189 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14190 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14191 # the default ld.so.conf also contains /usr/contrib/lib and
14192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14193 # libtool to hard-code these into programs
14194 ;;
14195
14196 cygwin* | mingw* | pw32* | cegcc*)
14197 version_type=windows
14198 shrext_cmds=".dll"
14199 need_version=no
14200 need_lib_prefix=no
14201
14202 case $GCC,$host_os in
14203 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14204 library_names_spec='$libname.dll.a'
14205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14206 postinstall_cmds='base_file=`basename \${file}`~
14207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14208 dldir=$destdir/`dirname \$dlpath`~
14209 test -d \$dldir || mkdir -p \$dldir~
14210 $install_prog $dir/$dlname \$dldir/$dlname~
14211 chmod a+x \$dldir/$dlname~
14212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14214 fi'
14215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14216 dlpath=$dir/\$dldll~
14217 $RM \$dlpath'
14218 shlibpath_overrides_runpath=yes
14219
14220 case $host_os in
14221 cygwin*)
14222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14223 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14224
14225 ;;
14226 mingw* | cegcc*)
14227 # MinGW DLLs use traditional 'lib' prefix
14228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14229 ;;
14230 pw32*)
14231 # pw32 DLLs use 'pw' prefix rather than 'lib'
14232 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14233 ;;
14234 esac
14235 ;;
14236
14237 *)
14238 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14239 ;;
14240 esac
14241 dynamic_linker='Win32 ld.exe'
14242 # FIXME: first we should search . and the directory the executable is in
14243 shlibpath_var=PATH
14244 ;;
14245
14246 darwin* | rhapsody*)
14247 dynamic_linker="$host_os dyld"
14248 version_type=darwin
14249 need_lib_prefix=no
14250 need_version=no
14251 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14252 soname_spec='${libname}${release}${major}$shared_ext'
14253 shlibpath_overrides_runpath=yes
14254 shlibpath_var=DYLD_LIBRARY_PATH
14255 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14256
14257 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14258 ;;
14259
14260 dgux*)
14261 version_type=linux
14262 need_lib_prefix=no
14263 need_version=no
14264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14265 soname_spec='${libname}${release}${shared_ext}$major'
14266 shlibpath_var=LD_LIBRARY_PATH
14267 ;;
14268
14269 freebsd1*)
14270 dynamic_linker=no
14271 ;;
14272
14273 freebsd* | dragonfly*)
14274 # DragonFly does not have aout. When/if they implement a new
14275 # versioning mechanism, adjust this.
14276 if test -x /usr/bin/objformat; then
14277 objformat=`/usr/bin/objformat`
14278 else
14279 case $host_os in
14280 freebsd[123]*) objformat=aout ;;
14281 *) objformat=elf ;;
14282 esac
14283 fi
14284 version_type=freebsd-$objformat
14285 case $version_type in
14286 freebsd-elf*)
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14288 need_version=no
14289 need_lib_prefix=no
14290 ;;
14291 freebsd-*)
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14293 need_version=yes
14294 ;;
14295 esac
14296 shlibpath_var=LD_LIBRARY_PATH
14297 case $host_os in
14298 freebsd2*)
14299 shlibpath_overrides_runpath=yes
14300 ;;
14301 freebsd3.[01]* | freebsdelf3.[01]*)
14302 shlibpath_overrides_runpath=yes
14303 hardcode_into_libs=yes
14304 ;;
14305 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14306 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14307 shlibpath_overrides_runpath=no
14308 hardcode_into_libs=yes
14309 ;;
14310 *) # from 4.6 on, and DragonFly
14311 shlibpath_overrides_runpath=yes
14312 hardcode_into_libs=yes
14313 ;;
14314 esac
14315 ;;
14316
14317 gnu*)
14318 version_type=linux
14319 need_lib_prefix=no
14320 need_version=no
14321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14322 soname_spec='${libname}${release}${shared_ext}$major'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 hardcode_into_libs=yes
14325 ;;
14326
14327 haiku*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 dynamic_linker="$host_os runtime_loader"
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14333 soname_spec='${libname}${release}${shared_ext}$major'
14334 shlibpath_var=LIBRARY_PATH
14335 shlibpath_overrides_runpath=yes
14336 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14337 hardcode_into_libs=yes
14338 ;;
14339
14340 hpux9* | hpux10* | hpux11*)
14341 # Give a soname corresponding to the major version so that dld.sl refuses to
14342 # link against other versions.
14343 version_type=sunos
14344 need_lib_prefix=no
14345 need_version=no
14346 case $host_cpu in
14347 ia64*)
14348 shrext_cmds='.so'
14349 hardcode_into_libs=yes
14350 dynamic_linker="$host_os dld.so"
14351 shlibpath_var=LD_LIBRARY_PATH
14352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 if test "X$HPUX_IA64_MODE" = X32; then
14356 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14357 else
14358 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14359 fi
14360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14361 ;;
14362 hppa*64*)
14363 shrext_cmds='.sl'
14364 hardcode_into_libs=yes
14365 dynamic_linker="$host_os dld.sl"
14366 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec='${libname}${release}${shared_ext}$major'
14370 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14371 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14372 ;;
14373 *)
14374 shrext_cmds='.sl'
14375 dynamic_linker="$host_os dld.sl"
14376 shlibpath_var=SHLIB_PATH
14377 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 ;;
14381 esac
14382 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14383 postinstall_cmds='chmod 555 $lib'
14384 # or fails outright, so override atomically:
14385 install_override_mode=555
14386 ;;
14387
14388 interix[3-9]*)
14389 version_type=linux
14390 need_lib_prefix=no
14391 need_version=no
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14395 shlibpath_var=LD_LIBRARY_PATH
14396 shlibpath_overrides_runpath=no
14397 hardcode_into_libs=yes
14398 ;;
14399
14400 irix5* | irix6* | nonstopux*)
14401 case $host_os in
14402 nonstopux*) version_type=nonstopux ;;
14403 *)
14404 if test "$lt_cv_prog_gnu_ld" = yes; then
14405 version_type=linux
14406 else
14407 version_type=irix
14408 fi ;;
14409 esac
14410 need_lib_prefix=no
14411 need_version=no
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14414 case $host_os in
14415 irix5* | nonstopux*)
14416 libsuff= shlibsuff=
14417 ;;
14418 *)
14419 case $LD in # libtool.m4 will add one of these switches to LD
14420 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14421 libsuff= shlibsuff= libmagic=32-bit;;
14422 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14423 libsuff=32 shlibsuff=N32 libmagic=N32;;
14424 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14425 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14426 *) libsuff= shlibsuff= libmagic=never-match;;
14427 esac
14428 ;;
14429 esac
14430 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14431 shlibpath_overrides_runpath=no
14432 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14433 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14434 hardcode_into_libs=yes
14435 ;;
14436
14437 # No shared lib support for Linux oldld, aout, or coff.
14438 linux*oldld* | linux*aout* | linux*coff*)
14439 dynamic_linker=no
14440 ;;
14441
14442 # This must be Linux ELF.
14443 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14444 version_type=linux
14445 need_lib_prefix=no
14446 need_version=no
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14450 shlibpath_var=LD_LIBRARY_PATH
14451 shlibpath_overrides_runpath=no
14452
14453 # Some binutils ld are patched to set DT_RUNPATH
14454 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 lt_cv_shlibpath_overrides_runpath=no
14458 save_LDFLAGS=$LDFLAGS
14459 save_libdir=$libdir
14460 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14461 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14462 if test x$gcc_no_link = xyes; then
14463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14464 fi
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467
14468 int
14469 main ()
14470 {
14471
14472 ;
14473 return 0;
14474 }
14475 _ACEOF
14476 if ac_fn_cxx_try_link "$LINENO"; then :
14477 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14478 lt_cv_shlibpath_overrides_runpath=yes
14479 fi
14480 fi
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LDFLAGS=$save_LDFLAGS
14484 libdir=$save_libdir
14485
14486 fi
14487
14488 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14489
14490 # This implies no fast_install, which is unacceptable.
14491 # Some rework will be needed to allow for fast_install
14492 # before this can be enabled.
14493 hardcode_into_libs=yes
14494
14495 # Append ld.so.conf contents to the search path
14496 if test -f /etc/ld.so.conf; then
14497 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' ' '`
14498 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14499 fi
14500
14501 # We used to test for /lib/ld.so.1 and disable shared libraries on
14502 # powerpc, because MkLinux only supported shared libraries with the
14503 # GNU dynamic linker. Since this was broken with cross compilers,
14504 # most powerpc-linux boxes support dynamic linking these days and
14505 # people can always --disable-shared, the test was removed, and we
14506 # assume the GNU/Linux dynamic linker is in use.
14507 dynamic_linker='GNU/Linux ld.so'
14508 ;;
14509
14510 netbsd*)
14511 version_type=sunos
14512 need_lib_prefix=no
14513 need_version=no
14514 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14517 dynamic_linker='NetBSD (a.out) ld.so'
14518 else
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 dynamic_linker='NetBSD ld.elf_so'
14522 fi
14523 shlibpath_var=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath=yes
14525 hardcode_into_libs=yes
14526 ;;
14527
14528 newsos6)
14529 version_type=linux
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes
14533 ;;
14534
14535 *nto* | *qnx*)
14536 version_type=qnx
14537 need_lib_prefix=no
14538 need_version=no
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 soname_spec='${libname}${release}${shared_ext}$major'
14541 shlibpath_var=LD_LIBRARY_PATH
14542 shlibpath_overrides_runpath=no
14543 hardcode_into_libs=yes
14544 dynamic_linker='ldqnx.so'
14545 ;;
14546
14547 openbsd*)
14548 version_type=sunos
14549 sys_lib_dlsearch_path_spec="/usr/lib"
14550 need_lib_prefix=no
14551 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14552 case $host_os in
14553 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14554 *) need_version=no ;;
14555 esac
14556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14558 shlibpath_var=LD_LIBRARY_PATH
14559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14560 case $host_os in
14561 openbsd2.[89] | openbsd2.[89].*)
14562 shlibpath_overrides_runpath=no
14563 ;;
14564 *)
14565 shlibpath_overrides_runpath=yes
14566 ;;
14567 esac
14568 else
14569 shlibpath_overrides_runpath=yes
14570 fi
14571 ;;
14572
14573 os2*)
14574 libname_spec='$name'
14575 shrext_cmds=".dll"
14576 need_lib_prefix=no
14577 library_names_spec='$libname${shared_ext} $libname.a'
14578 dynamic_linker='OS/2 ld.exe'
14579 shlibpath_var=LIBPATH
14580 ;;
14581
14582 osf3* | osf4* | osf5*)
14583 version_type=osf
14584 need_lib_prefix=no
14585 need_version=no
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14590 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14591 ;;
14592
14593 rdos*)
14594 dynamic_linker=no
14595 ;;
14596
14597 solaris*)
14598 version_type=linux
14599 need_lib_prefix=no
14600 need_version=no
14601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14602 soname_spec='${libname}${release}${shared_ext}$major'
14603 shlibpath_var=LD_LIBRARY_PATH
14604 shlibpath_overrides_runpath=yes
14605 hardcode_into_libs=yes
14606 # ldd complains unless libraries are executable
14607 postinstall_cmds='chmod +x $lib'
14608 ;;
14609
14610 sunos4*)
14611 version_type=sunos
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14613 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14614 shlibpath_var=LD_LIBRARY_PATH
14615 shlibpath_overrides_runpath=yes
14616 if test "$with_gnu_ld" = yes; then
14617 need_lib_prefix=no
14618 fi
14619 need_version=yes
14620 ;;
14621
14622 sysv4 | sysv4.3*)
14623 version_type=linux
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 case $host_vendor in
14628 sni)
14629 shlibpath_overrides_runpath=no
14630 need_lib_prefix=no
14631 runpath_var=LD_RUN_PATH
14632 ;;
14633 siemens)
14634 need_lib_prefix=no
14635 ;;
14636 motorola)
14637 need_lib_prefix=no
14638 need_version=no
14639 shlibpath_overrides_runpath=no
14640 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14641 ;;
14642 esac
14643 ;;
14644
14645 sysv4*MP*)
14646 if test -d /usr/nec ;then
14647 version_type=linux
14648 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14649 soname_spec='$libname${shared_ext}.$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 fi
14652 ;;
14653
14654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14655 version_type=freebsd-elf
14656 need_lib_prefix=no
14657 need_version=no
14658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14659 soname_spec='${libname}${release}${shared_ext}$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath=yes
14662 hardcode_into_libs=yes
14663 if test "$with_gnu_ld" = yes; then
14664 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14665 else
14666 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14667 case $host_os in
14668 sco3.2v5*)
14669 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14670 ;;
14671 esac
14672 fi
14673 sys_lib_dlsearch_path_spec='/usr/lib'
14674 ;;
14675
14676 tpf*)
14677 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14678 version_type=linux
14679 need_lib_prefix=no
14680 need_version=no
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=no
14684 hardcode_into_libs=yes
14685 ;;
14686
14687 uts4*)
14688 version_type=linux
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14690 soname_spec='${libname}${release}${shared_ext}$major'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 ;;
14693
14694 *)
14695 dynamic_linker=no
14696 ;;
14697 esac
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14699 $as_echo "$dynamic_linker" >&6; }
14700 test "$dynamic_linker" = no && can_build_shared=no
14701
14702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14703 if test "$GCC" = yes; then
14704 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14705 fi
14706
14707 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14708 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14709 fi
14710 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14711 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14712 fi
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14752 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14753 hardcode_action_CXX=
14754 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14755 test -n "$runpath_var_CXX" ||
14756 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14757
14758 # We can hardcode non-existent directories.
14759 if test "$hardcode_direct_CXX" != no &&
14760 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14761 # have to relink, otherwise we might link with an installed library
14762 # when we should be linking with a yet-to-be-installed one
14763 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14764 test "$hardcode_minus_L_CXX" != no; then
14765 # Linking always hardcodes the temporary library directory.
14766 hardcode_action_CXX=relink
14767 else
14768 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14769 hardcode_action_CXX=immediate
14770 fi
14771 else
14772 # We cannot hardcode anything, or else we can only hardcode existing
14773 # directories.
14774 hardcode_action_CXX=unsupported
14775 fi
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14777 $as_echo "$hardcode_action_CXX" >&6; }
14778
14779 if test "$hardcode_action_CXX" = relink ||
14780 test "$inherit_rpath_CXX" = yes; then
14781 # Fast installation is not supported
14782 enable_fast_install=no
14783 elif test "$shlibpath_overrides_runpath" = yes ||
14784 test "$enable_shared" = no; then
14785 # Fast installation is not necessary
14786 enable_fast_install=needless
14787 fi
14788
14789
14790
14791
14792
14793
14794
14795 fi # test -n "$compiler"
14796
14797 CC=$lt_save_CC
14798 LDCXX=$LD
14799 LD=$lt_save_LD
14800 GCC=$lt_save_GCC
14801 with_gnu_ld=$lt_save_with_gnu_ld
14802 lt_cv_path_LDCXX=$lt_cv_path_LD
14803 lt_cv_path_LD=$lt_save_path_LD
14804 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14805 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14806 fi # test "$_lt_caught_CXX_error" != yes
14807
14808 ac_ext=c
14809 ac_cpp='$CPP $CPPFLAGS'
14810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826 ac_config_commands="$ac_config_commands libtool"
14827
14828
14829
14830
14831 # Only expand once:
14832
14833
14834
14835
14836
14837 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14838 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14839
14840 # Possibly disable most of the library.
14841 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14842 ## than just ignoring the results. Faster /and/ more correct, win win.
14843
14844 # Check whether --enable-hosted-libstdcxx was given.
14845 if test "${enable_hosted_libstdcxx+set}" = set; then :
14846 enableval=$enable_hosted_libstdcxx;
14847 else
14848 case "$host" in
14849 arm*-*-symbianelf*)
14850 enable_hosted_libstdcxx=no
14851 ;;
14852 *)
14853 enable_hosted_libstdcxx=yes
14854 ;;
14855 esac
14856 fi
14857
14858 if test "$enable_hosted_libstdcxx" = no; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14860 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14861 is_hosted=no
14862 hosted_define=0
14863 enable_abi_check=no
14864 enable_libstdcxx_pch=no
14865 else
14866 is_hosted=yes
14867 hosted_define=1
14868 fi
14869
14870
14871 cat >>confdefs.h <<_ACEOF
14872 #define _GLIBCXX_HOSTED $hosted_define
14873 _ACEOF
14874
14875
14876
14877 # Enable compiler support that doesn't require linking.
14878
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14880 $as_echo_n "checking for exception model to use... " >&6; }
14881
14882 ac_ext=cpp
14883 ac_cpp='$CXXCPP $CPPFLAGS'
14884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14887
14888 # Check whether --enable-sjlj-exceptions was given.
14889 if test "${enable_sjlj_exceptions+set}" = set; then :
14890 enableval=$enable_sjlj_exceptions;
14891 case "$enableval" in
14892 yes|no|auto) ;;
14893 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14894 esac
14895
14896 else
14897 enable_sjlj_exceptions=auto
14898 fi
14899
14900
14901
14902 if test $enable_sjlj_exceptions = auto; then
14903 # Botheration. Now we've got to detect the exception model. Link tests
14904 # against libgcc.a are problematic since we've not been given proper -L
14905 # bits for single-tree newlib and libgloss.
14906 #
14907 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14908 cat > conftest.$ac_ext << EOF
14909 #line 14909 "configure"
14910 struct S { ~S(); };
14911 void bar();
14912 void foo()
14913 {
14914 S s;
14915 bar();
14916 }
14917 EOF
14918 old_CXXFLAGS="$CXXFLAGS"
14919 CXXFLAGS=-S
14920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14921 (eval $ac_compile) 2>&5
14922 ac_status=$?
14923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14924 test $ac_status = 0; }; then
14925 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14926 enable_sjlj_exceptions=yes
14927 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14928 enable_sjlj_exceptions=no
14929 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14930 enable_sjlj_exceptions=no
14931 fi
14932 fi
14933 CXXFLAGS="$old_CXXFLAGS"
14934 rm -f conftest*
14935 fi
14936
14937 # This is a tad weird, for hysterical raisins. We have to map
14938 # enable/disable to two different models.
14939 case $enable_sjlj_exceptions in
14940 yes)
14941
14942 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14943
14944 ac_exception_model_name=sjlj
14945 ;;
14946 no)
14947 ac_exception_model_name="call frame"
14948 ;;
14949 *)
14950 as_fn_error "unable to detect exception model" "$LINENO" 5
14951 ;;
14952 esac
14953 ac_ext=c
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14960 $as_echo "$ac_exception_model_name" >&6; }
14961
14962
14963 # Check whether --enable-libstdcxx-pch was given.
14964 if test "${enable_libstdcxx_pch+set}" = set; then :
14965 enableval=$enable_libstdcxx_pch;
14966 case "$enableval" in
14967 yes|no) ;;
14968 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14969 esac
14970
14971 else
14972 enable_libstdcxx_pch=$is_hosted
14973 fi
14974
14975
14976 if test $enable_libstdcxx_pch = yes; then
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14978 $as_echo_n "checking for compiler with PCH support... " >&6; }
14979 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 ac_save_CXXFLAGS="$CXXFLAGS"
14983 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14984
14985 ac_ext=cpp
14986 ac_cpp='$CXXCPP $CPPFLAGS'
14987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14990
14991 echo '#include <math.h>' > conftest.h
14992 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14993 -o conftest.h.gch 1>&5 2>&1 &&
14994 echo '#error "pch failed"' > conftest.h &&
14995 echo '#include "conftest.h"' > conftest.cc &&
14996 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14997 then
14998 glibcxx_cv_prog_CXX_pch=yes
14999 else
15000 glibcxx_cv_prog_CXX_pch=no
15001 fi
15002 rm -f conftest*
15003 CXXFLAGS=$ac_save_CXXFLAGS
15004 ac_ext=c
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15009
15010
15011 fi
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15013 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15014 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15015 fi
15016
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15018 $as_echo_n "checking for enabled PCH... " >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15020 $as_echo "$enable_libstdcxx_pch" >&6; }
15021
15022
15023 if test $enable_libstdcxx_pch = yes; then
15024 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15025 else
15026 glibcxx_PCHFLAGS=""
15027 fi
15028
15029
15030
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15032 $as_echo_n "checking for thread model used by GCC... " >&6; }
15033 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15035 $as_echo "$target_thread_file" >&6; }
15036
15037 if test $target_thread_file != single; then
15038
15039 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15040
15041 fi
15042
15043 glibcxx_thread_h=gthr-$target_thread_file.h
15044
15045 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15046 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15047 enable_thread=yes
15048 else
15049 enable_thread=no
15050 fi
15051
15052
15053
15054
15055
15056 ac_ext=cpp
15057 ac_cpp='$CXXCPP $CPPFLAGS'
15058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15061
15062 old_CXXFLAGS="$CXXFLAGS"
15063
15064 # Do link tests if possible, instead asm tests, limited to some platforms
15065 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15066 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15067 atomic_builtins_link_tests=no
15068 if test x$gcc_no_link != xyes; then
15069 # Can do link tests. Limit to some tested platforms
15070 case "$host" in
15071 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15072 atomic_builtins_link_tests=yes
15073 ;;
15074 esac
15075 fi
15076
15077 if test x$atomic_builtins_link_tests = xyes; then
15078
15079 # Do link tests.
15080
15081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15082
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15084 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15085 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088
15089 if test x$gcc_no_link = xyes; then
15090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15091 fi
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094
15095 int
15096 main ()
15097 {
15098 typedef bool atomic_type;
15099 atomic_type c1;
15100 atomic_type c2;
15101 const atomic_type c3(0);
15102 __sync_fetch_and_add(&c1, c2);
15103 __sync_val_compare_and_swap(&c1, c3, c2);
15104 __sync_lock_test_and_set(&c1, c3);
15105 __sync_lock_release(&c1);
15106 __sync_synchronize();
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 if ac_fn_cxx_try_link "$LINENO"; then :
15112 glibcxx_cv_atomic_bool=yes
15113 else
15114 glibcxx_cv_atomic_bool=no
15115 fi
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118
15119 fi
15120
15121 if test $glibcxx_cv_atomic_bool = yes; then
15122
15123 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15124
15125 fi
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15127 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15128
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15130 $as_echo_n "checking for atomic builtins for short... " >&6; }
15131 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134
15135 if test x$gcc_no_link = xyes; then
15136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15137 fi
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140
15141 int
15142 main ()
15143 {
15144 typedef short atomic_type;
15145 atomic_type c1;
15146 atomic_type c2;
15147 const atomic_type c3(0);
15148 __sync_fetch_and_add(&c1, c2);
15149 __sync_val_compare_and_swap(&c1, c3, c2);
15150 __sync_lock_test_and_set(&c1, c3);
15151 __sync_lock_release(&c1);
15152 __sync_synchronize();
15153 ;
15154 return 0;
15155 }
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_short=yes
15159 else
15160 glibcxx_cv_atomic_short=no
15161 fi
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15164
15165 fi
15166
15167 if test $glibcxx_cv_atomic_short = yes; then
15168
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15170
15171 fi
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15173 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15174
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15176 $as_echo_n "checking for atomic builtins for int... " >&6; }
15177 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180
15181 if test x$gcc_no_link = xyes; then
15182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15183 fi
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186
15187 int
15188 main ()
15189 {
15190 typedef int atomic_type;
15191 atomic_type c1;
15192 atomic_type c2;
15193 const atomic_type c3(0);
15194 __sync_fetch_and_add(&c1, c2);
15195 __sync_val_compare_and_swap(&c1, c3, c2);
15196 __sync_lock_test_and_set(&c1, c3);
15197 __sync_lock_release(&c1);
15198 __sync_synchronize();
15199 ;
15200 return 0;
15201 }
15202 _ACEOF
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204 glibcxx_cv_atomic_int=yes
15205 else
15206 glibcxx_cv_atomic_int=no
15207 fi
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15210
15211 fi
15212
15213 if test $glibcxx_cv_atomic_int = yes; then
15214
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15216
15217 fi
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15219 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15220
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15222 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15223 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15229 fi
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232
15233 int
15234 main ()
15235 {
15236 typedef long long atomic_type;
15237 atomic_type c1;
15238 atomic_type c2;
15239 const atomic_type c3(0);
15240 __sync_fetch_and_add(&c1, c2);
15241 __sync_val_compare_and_swap(&c1, c3, c2);
15242 __sync_lock_test_and_set(&c1, c3);
15243 __sync_lock_release(&c1);
15244 __sync_synchronize();
15245 ;
15246 return 0;
15247 }
15248 _ACEOF
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250 glibcxx_cv_atomic_long_long=yes
15251 else
15252 glibcxx_cv_atomic_long_long=no
15253 fi
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15256
15257 fi
15258
15259 if test $glibcxx_cv_atomic_long_long = yes; then
15260
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15262
15263 fi
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15265 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15266
15267 else
15268
15269 # Do asm tests.
15270
15271 # Compile unoptimized.
15272 CXXFLAGS='-O0 -S'
15273
15274 # Fake what AC_TRY_COMPILE does.
15275
15276 cat > conftest.$ac_ext << EOF
15277 #line 15277 "configure"
15278 int main()
15279 {
15280 typedef bool atomic_type;
15281 atomic_type c1;
15282 atomic_type c2;
15283 const atomic_type c3(0);
15284 __sync_fetch_and_add(&c1, c2);
15285 __sync_val_compare_and_swap(&c1, c3, c2);
15286 __sync_lock_test_and_set(&c1, c3);
15287 __sync_lock_release(&c1);
15288 __sync_synchronize();
15289 return 0;
15290 }
15291 EOF
15292
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15294 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15296 (eval $ac_compile) 2>&5
15297 ac_status=$?
15298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299 test $ac_status = 0; }; then
15300 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15301 glibcxx_cv_atomic_bool=no
15302 else
15303
15304 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15305
15306 glibcxx_cv_atomic_bool=yes
15307 fi
15308 fi
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15310 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15311 rm -f conftest*
15312
15313 cat > conftest.$ac_ext << EOF
15314 #line 15314 "configure"
15315 int main()
15316 {
15317 typedef short atomic_type;
15318 atomic_type c1;
15319 atomic_type c2;
15320 const atomic_type c3(0);
15321 __sync_fetch_and_add(&c1, c2);
15322 __sync_val_compare_and_swap(&c1, c3, c2);
15323 __sync_lock_test_and_set(&c1, c3);
15324 __sync_lock_release(&c1);
15325 __sync_synchronize();
15326 return 0;
15327 }
15328 EOF
15329
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15331 $as_echo_n "checking for atomic builtins for short... " >&6; }
15332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15333 (eval $ac_compile) 2>&5
15334 ac_status=$?
15335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 test $ac_status = 0; }; then
15337 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15338 glibcxx_cv_atomic_short=no
15339 else
15340
15341 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15342
15343 glibcxx_cv_atomic_short=yes
15344 fi
15345 fi
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15347 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15348 rm -f conftest*
15349
15350 cat > conftest.$ac_ext << EOF
15351 #line 15351 "configure"
15352 int main()
15353 {
15354 // NB: _Atomic_word not necessarily int.
15355 typedef int atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 const atomic_type c3(0);
15359 __sync_fetch_and_add(&c1, c2);
15360 __sync_val_compare_and_swap(&c1, c3, c2);
15361 __sync_lock_test_and_set(&c1, c3);
15362 __sync_lock_release(&c1);
15363 __sync_synchronize();
15364 return 0;
15365 }
15366 EOF
15367
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15369 $as_echo_n "checking for atomic builtins for int... " >&6; }
15370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15371 (eval $ac_compile) 2>&5
15372 ac_status=$?
15373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15374 test $ac_status = 0; }; then
15375 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15376 glibcxx_cv_atomic_int=no
15377 else
15378
15379 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15380
15381 glibcxx_cv_atomic_int=yes
15382 fi
15383 fi
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15385 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15386 rm -f conftest*
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef long long atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 const atomic_type c3(0);
15396 __sync_fetch_and_add(&c1, c2);
15397 __sync_val_compare_and_swap(&c1, c3, c2);
15398 __sync_lock_test_and_set(&c1, c3);
15399 __sync_lock_release(&c1);
15400 __sync_synchronize();
15401 return 0;
15402 }
15403 EOF
15404
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15406 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15408 (eval $ac_compile) 2>&5
15409 ac_status=$?
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; then
15412 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15413 glibcxx_cv_atomic_long_long=no
15414 else
15415
15416 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15417
15418 glibcxx_cv_atomic_long_long=yes
15419 fi
15420 fi
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15422 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15423 rm -f conftest*
15424
15425 fi
15426
15427 CXXFLAGS="$old_CXXFLAGS"
15428 ac_ext=c
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15433
15434
15435 # Set atomicity_dir to builtins if either of above tests pass.
15436 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15437 atomicity_dir=cpu/generic/atomicity_builtins
15438 fi
15439
15440 # If still generic, set to mutex.
15441 if test $atomicity_dir = "cpu/generic" ; then
15442 atomicity_dir=cpu/generic/atomicity_mutex
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15444 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15445 if test "x$target_thread_file" = xsingle; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15447 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15449 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15452 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15454 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15455 fi
15456 fi
15457
15458
15459
15460
15461 # Fake what AC_TRY_COMPILE does, without linking as this is
15462 # unnecessary for this test.
15463
15464 cat > conftest.$ac_ext << EOF
15465 #line 15465 "configure"
15466 int main()
15467 {
15468 _Decimal32 d1;
15469 _Decimal64 d2;
15470 _Decimal128 d3;
15471 return 0;
15472 }
15473 EOF
15474
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15476 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15478 (eval $ac_compile) 2>&5
15479 ac_status=$?
15480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }; then
15482
15483 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15484
15485 enable_dfp=yes
15486 else
15487 enable_dfp=no
15488 fi
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15490 $as_echo "$enable_dfp" >&6; }
15491 rm -f conftest*
15492
15493
15494 # Checks for compiler support that doesn't require linking.
15495
15496 # All these tests are for C++; save the language and the compiler flags.
15497 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15498 # found in GLIBCXX_CONFIGURE.
15499
15500 ac_ext=cpp
15501 ac_cpp='$CXXCPP $CPPFLAGS'
15502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15505
15506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15507 ac_save_CXXFLAGS="$CXXFLAGS"
15508
15509 # Check for maintainer-mode bits.
15510 if test x"$USE_MAINTAINER_MODE" = xno; then
15511 WERROR=''
15512 else
15513 WERROR='-Werror'
15514 fi
15515
15516 # Check for -ffunction-sections -fdata-sections
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15518 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15519 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15522 int foo; void bar() { };
15523 int
15524 main ()
15525 {
15526
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 if ac_fn_cxx_try_compile "$LINENO"; then :
15532 ac_fdsections=yes
15533 else
15534 ac_fdsections=no
15535 fi
15536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15537 if test "$ac_test_CXXFLAGS" = set; then
15538 CXXFLAGS="$ac_save_CXXFLAGS"
15539 else
15540 # this is the suspicious part
15541 CXXFLAGS=''
15542 fi
15543 if test x"$ac_fdsections" = x"yes"; then
15544 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15545 fi
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15547 $as_echo "$ac_fdsections" >&6; }
15548
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555
15556
15557
15558
15559 # Enable all the variable C++ runtime options that don't require linking.
15560
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15562 $as_echo_n "checking for underlying I/O to use... " >&6; }
15563 # Check whether --enable-cstdio was given.
15564 if test "${enable_cstdio+set}" = set; then :
15565 enableval=$enable_cstdio;
15566 case "$enableval" in
15567 stdio) ;;
15568 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15569 esac
15570
15571 else
15572 enable_cstdio=stdio
15573 fi
15574
15575
15576
15577 # Now that libio has been removed, you can have any color you want as long
15578 # as it's black. This is one big no-op until other packages are added, but
15579 # showing the framework never hurts.
15580 case ${enable_cstdio} in
15581 stdio)
15582 CSTDIO_H=config/io/c_io_stdio.h
15583 BASIC_FILE_H=config/io/basic_file_stdio.h
15584 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15586 $as_echo "stdio" >&6; }
15587 ;;
15588 esac
15589
15590
15591
15592
15593
15594
15595 # Check whether --enable-clocale was given.
15596 if test "${enable_clocale+set}" = set; then :
15597 enableval=$enable_clocale;
15598 case "$enableval" in
15599 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15600 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15601 esac
15602
15603 else
15604 enable_clocale=auto
15605 fi
15606
15607
15608
15609 # Deal with gettext issues. Default to not using it (=no) until we detect
15610 # support for it later. Let the user turn it off via --e/d, but let that
15611 # default to on for easier handling.
15612 USE_NLS=no
15613 # Check whether --enable-nls was given.
15614 if test "${enable_nls+set}" = set; then :
15615 enableval=$enable_nls;
15616 else
15617 enable_nls=yes
15618 fi
15619
15620
15621 # Either a known packaage, or "auto"
15622 if test $enable_clocale = no || test $enable_clocale = yes; then
15623 enable_clocale=auto
15624 fi
15625 enable_clocale_flag=$enable_clocale
15626
15627 # Probe for locale model to use if none specified.
15628 # Default to "generic".
15629 if test $enable_clocale_flag = auto; then
15630 case ${target_os} in
15631 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15632 enable_clocale_flag=gnu
15633 ;;
15634 darwin* | freebsd*)
15635 enable_clocale_flag=darwin
15636 ;;
15637 *)
15638 enable_clocale_flag=generic
15639 ;;
15640 esac
15641 fi
15642
15643 # Sanity check model, and test for special functionality.
15644 if test $enable_clocale_flag = gnu; then
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647
15648 #include <features.h>
15649 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15650 _GLIBCXX_ok
15651 #endif
15652
15653 _ACEOF
15654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15655 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15656 enable_clocale_flag=gnu
15657 else
15658 enable_clocale_flag=generic
15659 fi
15660 rm -f conftest*
15661
15662
15663 # Set it to scream when it hurts.
15664 ac_save_CFLAGS="$CFLAGS"
15665 CFLAGS="-Wimplicit-function-declaration -Werror"
15666
15667 # Use strxfrm_l if available.
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15670 #define _GNU_SOURCE 1
15671 #include <string.h>
15672 #include <locale.h>
15673 int
15674 main ()
15675 {
15676 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15677 ;
15678 return 0;
15679 }
15680 _ACEOF
15681 if ac_fn_c_try_compile "$LINENO"; then :
15682
15683 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15684
15685 fi
15686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15687
15688 # Use strerror_l if available.
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15691 #define _GNU_SOURCE 1
15692 #include <string.h>
15693 #include <locale.h>
15694 int
15695 main ()
15696 {
15697 __locale_t loc; strerror_l(5, loc);
15698 ;
15699 return 0;
15700 }
15701 _ACEOF
15702 if ac_fn_c_try_compile "$LINENO"; then :
15703
15704 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15705
15706 fi
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708
15709 CFLAGS="$ac_save_CFLAGS"
15710 fi
15711
15712 # Perhaps use strerror_r if available, and strerror_l isn't.
15713 ac_save_CFLAGS="$CFLAGS"
15714 CFLAGS="-Wimplicit-function-declaration -Werror"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15717 #define _GNU_SOURCE 1
15718 #include <string.h>
15719 #include <locale.h>
15720 int
15721 main ()
15722 {
15723 char s[128]; strerror_r(5, s, 128);
15724 ;
15725 return 0;
15726 }
15727 _ACEOF
15728 if ac_fn_c_try_compile "$LINENO"; then :
15729
15730 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15731
15732 fi
15733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 CFLAGS="$ac_save_CFLAGS"
15735
15736 # Set configure bits for specified locale package
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15738 $as_echo_n "checking for C locale to use... " >&6; }
15739 case ${enable_clocale_flag} in
15740 generic)
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15742 $as_echo "generic" >&6; }
15743
15744 CLOCALE_H=config/locale/generic/c_locale.h
15745 CLOCALE_CC=config/locale/generic/c_locale.cc
15746 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15747 CCOLLATE_CC=config/locale/generic/collate_members.cc
15748 CCTYPE_CC=config/locale/generic/ctype_members.cc
15749 CMESSAGES_H=config/locale/generic/messages_members.h
15750 CMESSAGES_CC=config/locale/generic/messages_members.cc
15751 CMONEY_CC=config/locale/generic/monetary_members.cc
15752 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15753 CTIME_H=config/locale/generic/time_members.h
15754 CTIME_CC=config/locale/generic/time_members.cc
15755 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15756 ;;
15757 darwin)
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15759 $as_echo "darwin or freebsd" >&6; }
15760
15761 CLOCALE_H=config/locale/generic/c_locale.h
15762 CLOCALE_CC=config/locale/generic/c_locale.cc
15763 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15764 CCOLLATE_CC=config/locale/generic/collate_members.cc
15765 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15766 CMESSAGES_H=config/locale/generic/messages_members.h
15767 CMESSAGES_CC=config/locale/generic/messages_members.cc
15768 CMONEY_CC=config/locale/generic/monetary_members.cc
15769 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15770 CTIME_H=config/locale/generic/time_members.h
15771 CTIME_CC=config/locale/generic/time_members.cc
15772 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15773 ;;
15774
15775 gnu)
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15777 $as_echo "gnu" >&6; }
15778
15779 # Declare intention to use gettext, and add support for specific
15780 # languages.
15781 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15782 ALL_LINGUAS="de fr"
15783
15784 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15785 # Extract the first word of "msgfmt", so it can be a program name with args.
15786 set dummy msgfmt; ac_word=$2
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15788 $as_echo_n "checking for $ac_word... " >&6; }
15789 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15790 $as_echo_n "(cached) " >&6
15791 else
15792 if test -n "$check_msgfmt"; then
15793 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15794 else
15795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15796 for as_dir in $PATH
15797 do
15798 IFS=$as_save_IFS
15799 test -z "$as_dir" && as_dir=.
15800 for ac_exec_ext in '' $ac_executable_extensions; do
15801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15802 ac_cv_prog_check_msgfmt="yes"
15803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15804 break 2
15805 fi
15806 done
15807 done
15808 IFS=$as_save_IFS
15809
15810 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15811 fi
15812 fi
15813 check_msgfmt=$ac_cv_prog_check_msgfmt
15814 if test -n "$check_msgfmt"; then
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15816 $as_echo "$check_msgfmt" >&6; }
15817 else
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15819 $as_echo "no" >&6; }
15820 fi
15821
15822
15823 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15824 USE_NLS=yes
15825 fi
15826 # Export the build objects.
15827 for ling in $ALL_LINGUAS; do \
15828 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15829 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15830 done
15831
15832
15833
15834 CLOCALE_H=config/locale/gnu/c_locale.h
15835 CLOCALE_CC=config/locale/gnu/c_locale.cc
15836 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15837 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15838 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15839 CMESSAGES_H=config/locale/gnu/messages_members.h
15840 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15841 CMONEY_CC=config/locale/gnu/monetary_members.cc
15842 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15843 CTIME_H=config/locale/gnu/time_members.h
15844 CTIME_CC=config/locale/gnu/time_members.cc
15845 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15846 ;;
15847 ieee_1003.1-2001)
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15849 $as_echo "IEEE 1003.1" >&6; }
15850
15851 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15852 CLOCALE_CC=config/locale/ieee_1003.1-2001/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/generic/ctype_members.cc
15856 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15857 CMESSAGES_CC=config/locale/ieee_1003.1-2001/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 esac
15865
15866 # This is where the testsuite looks for locale catalogs, using the
15867 # -DLOCALEDIR define during testsuite compilation.
15868 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15869
15870
15871 # A standalone libintl (e.g., GNU libintl) may be in use.
15872 if test $USE_NLS = yes; then
15873 for ac_header in libintl.h
15874 do :
15875 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15876 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define HAVE_LIBINTL_H 1
15879 _ACEOF
15880
15881 else
15882 USE_NLS=no
15883 fi
15884
15885 done
15886
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15888 $as_echo_n "checking for library containing gettext... " >&6; }
15889 if test "${ac_cv_search_gettext+set}" = set; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 ac_func_search_save_LIBS=$LIBS
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 #ifdef __cplusplus
15900 extern "C"
15901 #endif
15902 char gettext ();
15903 int
15904 main ()
15905 {
15906 return gettext ();
15907 ;
15908 return 0;
15909 }
15910 _ACEOF
15911 for ac_lib in '' intl; do
15912 if test -z "$ac_lib"; then
15913 ac_res="none required"
15914 else
15915 ac_res=-l$ac_lib
15916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15917 fi
15918 if test x$gcc_no_link = xyes; then
15919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15920 fi
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 ac_cv_search_gettext=$ac_res
15923 fi
15924 rm -f core conftest.err conftest.$ac_objext \
15925 conftest$ac_exeext
15926 if test "${ac_cv_search_gettext+set}" = set; then :
15927 break
15928 fi
15929 done
15930 if test "${ac_cv_search_gettext+set}" = set; then :
15931
15932 else
15933 ac_cv_search_gettext=no
15934 fi
15935 rm conftest.$ac_ext
15936 LIBS=$ac_func_search_save_LIBS
15937 fi
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15939 $as_echo "$ac_cv_search_gettext" >&6; }
15940 ac_res=$ac_cv_search_gettext
15941 if test "$ac_res" != no; then :
15942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15943
15944 else
15945 USE_NLS=no
15946 fi
15947
15948 fi
15949 if test $USE_NLS = yes; then
15950
15951 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15952
15953 fi
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15971 $as_echo_n "checking for std::allocator base class... " >&6; }
15972 # Check whether --enable-libstdcxx-allocator was given.
15973 if test "${enable_libstdcxx_allocator+set}" = set; then :
15974 enableval=$enable_libstdcxx_allocator;
15975 case "$enableval" in
15976 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15977 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15978 esac
15979
15980 else
15981 enable_libstdcxx_allocator=auto
15982 fi
15983
15984
15985
15986 # If they didn't use this option switch, or if they specified --enable
15987 # with no specific model, we'll have to look for one. If they
15988 # specified --disable (???), do likewise.
15989 if test $enable_libstdcxx_allocator = no ||
15990 test $enable_libstdcxx_allocator = yes;
15991 then
15992 enable_libstdcxx_allocator=auto
15993 fi
15994
15995 # Either a known package, or "auto". Auto implies the default choice
15996 # for a particular platform.
15997 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15998
15999 # Probe for host-specific support if no specific model is specified.
16000 # Default to "new".
16001 if test $enable_libstdcxx_allocator_flag = auto; then
16002 case ${target_os} in
16003 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16004 enable_libstdcxx_allocator_flag=new
16005 ;;
16006 *)
16007 enable_libstdcxx_allocator_flag=new
16008 ;;
16009 esac
16010 fi
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16012 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16013
16014
16015 # Set configure bits for specified locale package
16016 case ${enable_libstdcxx_allocator_flag} in
16017 bitmap)
16018 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16019 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16020 ;;
16021 malloc)
16022 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16023 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16024 ;;
16025 mt)
16026 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16027 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16028 ;;
16029 new)
16030 ALLOCATOR_H=config/allocator/new_allocator_base.h
16031 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16032 ;;
16033 pool)
16034 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16035 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16036 ;;
16037 esac
16038
16039
16040
16041
16042
16043 # Check whether --enable-cheaders was given.
16044 if test "${enable_cheaders+set}" = set; then :
16045 enableval=$enable_cheaders;
16046 case "$enableval" in
16047 c|c_std|c_global) ;;
16048 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16049 esac
16050
16051 else
16052 enable_cheaders=$c_model
16053 fi
16054
16055
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16057 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16058
16059 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16060
16061 # Allow overrides to configure.host here.
16062 if test $enable_cheaders = c_global; then
16063 c_compatibility=yes
16064 fi
16065
16066 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16067 c_extra=yes
16068 fi
16069
16070
16071
16072
16073
16074
16075
16076
16077 # Check whether --enable-long-long was given.
16078 if test "${enable_long_long+set}" = set; then :
16079 enableval=$enable_long_long;
16080 case "$enableval" in
16081 yes|no) ;;
16082 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16083 esac
16084
16085 else
16086 enable_long_long=yes
16087 fi
16088
16089
16090 if test $enable_long_long = yes; then
16091
16092 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16093
16094 fi
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16096 $as_echo_n "checking for enabled long long specializations... " >&6; }
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16098 $as_echo "$enable_long_long" >&6; }
16099
16100
16101 # Check whether --enable-wchar_t was given.
16102 if test "${enable_wchar_t+set}" = set; then :
16103 enableval=$enable_wchar_t;
16104 case "$enableval" in
16105 yes|no) ;;
16106 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16107 esac
16108
16109 else
16110 enable_wchar_t=yes
16111 fi
16112
16113
16114
16115 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16116 for ac_header in wchar.h
16117 do :
16118 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_WCHAR_H 1
16122 _ACEOF
16123 ac_has_wchar_h=yes
16124 else
16125 ac_has_wchar_h=no
16126 fi
16127
16128 done
16129
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16131 $as_echo_n "checking for mbstate_t... " >&6; }
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16134 #include <wchar.h>
16135 int
16136 main ()
16137 {
16138 mbstate_t teststate;
16139 ;
16140 return 0;
16141 }
16142 _ACEOF
16143 if ac_fn_c_try_compile "$LINENO"; then :
16144 have_mbstate_t=yes
16145 else
16146 have_mbstate_t=no
16147 fi
16148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16150 $as_echo "$have_mbstate_t" >&6; }
16151 if test x"$have_mbstate_t" = xyes; then
16152
16153 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16154
16155 fi
16156
16157 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16158 # ac_has_wchar_h.
16159 for ac_header in wctype.h
16160 do :
16161 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16162 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_WCTYPE_H 1
16165 _ACEOF
16166 ac_has_wctype_h=yes
16167 else
16168 ac_has_wctype_h=no
16169 fi
16170
16171 done
16172
16173
16174 if test x"$enable_wchar_t" = x"yes"; then
16175
16176
16177 ac_ext=cpp
16178 ac_cpp='$CXXCPP $CPPFLAGS'
16179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16182
16183
16184 if test x"$ac_has_wchar_h" = xyes &&
16185 test x"$ac_has_wctype_h" = xyes; then
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #include <wchar.h>
16189 #include <stddef.h>
16190 wint_t i;
16191 long l = WEOF;
16192 long j = WCHAR_MIN;
16193 long k = WCHAR_MAX;
16194 namespace test
16195 {
16196 using ::btowc;
16197 using ::fgetwc;
16198 using ::fgetws;
16199 using ::fputwc;
16200 using ::fputws;
16201 using ::fwide;
16202 using ::fwprintf;
16203 using ::fwscanf;
16204 using ::getwc;
16205 using ::getwchar;
16206 using ::mbrlen;
16207 using ::mbrtowc;
16208 using ::mbsinit;
16209 using ::mbsrtowcs;
16210 using ::putwc;
16211 using ::putwchar;
16212 using ::swprintf;
16213 using ::swscanf;
16214 using ::ungetwc;
16215 using ::vfwprintf;
16216 using ::vswprintf;
16217 using ::vwprintf;
16218 using ::wcrtomb;
16219 using ::wcscat;
16220 using ::wcschr;
16221 using ::wcscmp;
16222 using ::wcscoll;
16223 using ::wcscpy;
16224 using ::wcscspn;
16225 using ::wcsftime;
16226 using ::wcslen;
16227 using ::wcsncat;
16228 using ::wcsncmp;
16229 using ::wcsncpy;
16230 using ::wcspbrk;
16231 using ::wcsrchr;
16232 using ::wcsrtombs;
16233 using ::wcsspn;
16234 using ::wcsstr;
16235 using ::wcstod;
16236 using ::wcstok;
16237 using ::wcstol;
16238 using ::wcstoul;
16239 using ::wcsxfrm;
16240 using ::wctob;
16241 using ::wmemchr;
16242 using ::wmemcmp;
16243 using ::wmemcpy;
16244 using ::wmemmove;
16245 using ::wmemset;
16246 using ::wprintf;
16247 using ::wscanf;
16248 }
16249
16250 int
16251 main ()
16252 {
16253
16254 ;
16255 return 0;
16256 }
16257 _ACEOF
16258 if ac_fn_cxx_try_compile "$LINENO"; then :
16259
16260 else
16261 enable_wchar_t=no
16262 fi
16263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16264 else
16265 enable_wchar_t=no
16266 fi
16267
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
16274 fi
16275
16276 if test x"$enable_wchar_t" = x"yes"; then
16277
16278 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16279
16280 fi
16281
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16283 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16285 $as_echo "$enable_wchar_t" >&6; }
16286
16287
16288
16289 # Check whether --enable-c99 was given.
16290 if test "${enable_c99+set}" = set; then :
16291 enableval=$enable_c99;
16292 case "$enableval" in
16293 yes|no) ;;
16294 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16295 esac
16296
16297 else
16298 enable_c99=yes
16299 fi
16300
16301
16302
16303 if test x"$enable_c99" = x"yes"; then
16304
16305
16306 ac_ext=cpp
16307 ac_cpp='$CXXCPP $CPPFLAGS'
16308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16311
16312
16313 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16314 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16315 # spuriously enabled.
16316 # Long term, -std=c++0x could be even better, could manage to explicitely
16317 # request C99 facilities to the underlying C headers.
16318 ac_save_CXXFLAGS="$CXXFLAGS"
16319 CXXFLAGS="$CXXFLAGS -std=c++98"
16320 ac_save_LIBS="$LIBS"
16321 ac_save_gcc_no_link="$gcc_no_link"
16322
16323 if test x$gcc_no_link != xyes; then
16324 # Use -fno-exceptions to that the C driver can link these tests without
16325 # hitting undefined references to personality routines.
16326 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16328 $as_echo_n "checking for sin in -lm... " >&6; }
16329 if test "${ac_cv_lib_m_sin+set}" = set; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 ac_check_lib_save_LIBS=$LIBS
16333 LIBS="-lm $LIBS"
16334 if test x$gcc_no_link = xyes; then
16335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16336 fi
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16343 #ifdef __cplusplus
16344 extern "C"
16345 #endif
16346 char sin ();
16347 int
16348 main ()
16349 {
16350 return sin ();
16351 ;
16352 return 0;
16353 }
16354 _ACEOF
16355 if ac_fn_cxx_try_link "$LINENO"; then :
16356 ac_cv_lib_m_sin=yes
16357 else
16358 ac_cv_lib_m_sin=no
16359 fi
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16362 LIBS=$ac_check_lib_save_LIBS
16363 fi
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16365 $as_echo "$ac_cv_lib_m_sin" >&6; }
16366 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16367
16368 LIBS="$LIBS -lm"
16369
16370 else
16371
16372 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16373 gcc_no_link=yes
16374
16375 fi
16376
16377 fi
16378
16379 # Check for the existence of <math.h> functions used if C99 is enabled.
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16381 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16382 if test "${glibcxx_cv_c99_math+set}" = set; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385
16386 if test x$gcc_no_link = xyes; then
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <math.h>
16390 volatile double d1, d2;
16391 volatile int i;
16392 int
16393 main ()
16394 {
16395 i = fpclassify(d1);
16396 i = isfinite(d1);
16397 i = isinf(d1);
16398 i = isnan(d1);
16399 i = isnormal(d1);
16400 i = signbit(d1);
16401 i = isgreater(d1, d2);
16402 i = isgreaterequal(d1, d2);
16403 i = isless(d1, d2);
16404 i = islessequal(d1, d2);
16405 i = islessgreater(d1, d2);
16406 i = islessgreater(d1, d2);
16407 i = isunordered(d1, d2);
16408
16409 ;
16410 return 0;
16411 }
16412 _ACEOF
16413 if ac_fn_cxx_try_compile "$LINENO"; then :
16414 glibcxx_cv_c99_math=yes
16415 else
16416 glibcxx_cv_c99_math=no
16417 fi
16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16419 else
16420 if test x$gcc_no_link = xyes; then
16421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16422 fi
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #include <math.h>
16426 volatile double d1, d2;
16427 volatile int i;
16428 int
16429 main ()
16430 {
16431 i = fpclassify(d1);
16432 i = isfinite(d1);
16433 i = isinf(d1);
16434 i = isnan(d1);
16435 i = isnormal(d1);
16436 i = signbit(d1);
16437 i = isgreater(d1, d2);
16438 i = isgreaterequal(d1, d2);
16439 i = isless(d1, d2);
16440 i = islessequal(d1, d2);
16441 i = islessgreater(d1, d2);
16442 i = islessgreater(d1, d2);
16443 i = isunordered(d1, d2);
16444
16445 ;
16446 return 0;
16447 }
16448 _ACEOF
16449 if ac_fn_cxx_try_link "$LINENO"; then :
16450 glibcxx_cv_c99_math=yes
16451 else
16452 glibcxx_cv_c99_math=no
16453 fi
16454 rm -f core conftest.err conftest.$ac_objext \
16455 conftest$ac_exeext conftest.$ac_ext
16456 fi
16457
16458 fi
16459
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16461 $as_echo "$glibcxx_cv_c99_math" >&6; }
16462 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16463
16464 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16465
16466 fi
16467
16468 # Check for the existence of <complex.h> complex math functions.
16469 # This is necessary even though libstdc++ uses the builtin versions
16470 # of these functions, because if the builtin cannot be used, a reference
16471 # to the library function is emitted.
16472 for ac_header in tgmath.h
16473 do :
16474 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16475 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_TGMATH_H 1
16478 _ACEOF
16479 ac_has_tgmath_h=yes
16480 else
16481 ac_has_tgmath_h=no
16482 fi
16483
16484 done
16485
16486 for ac_header in complex.h
16487 do :
16488 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16489 if test "x$ac_cv_header_complex_h" = x""yes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_COMPLEX_H 1
16492 _ACEOF
16493 ac_has_complex_h=yes
16494 else
16495 ac_has_complex_h=no
16496 fi
16497
16498 done
16499
16500 glibcxx_cv_c99_complex=no;
16501 if test x"$ac_has_complex_h" = x"yes"; then
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16503 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16504 if test x$gcc_no_link = xyes; then
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 #include <complex.h>
16508 typedef __complex__ float float_type;
16509 typedef __complex__ double double_type;
16510 typedef __complex__ long double ld_type;
16511 volatile float_type tmpf;
16512 volatile double_type tmpd;
16513 volatile ld_type tmpld;
16514 volatile float f;
16515 volatile double d;
16516 volatile long double ld;
16517 int
16518 main ()
16519 {
16520 f = cabsf(tmpf);
16521 f = cargf(tmpf);
16522 tmpf = ccosf(tmpf);
16523 tmpf = ccoshf(tmpf);
16524 tmpf = cexpf(tmpf);
16525 tmpf = clogf(tmpf);
16526 tmpf = csinf(tmpf);
16527 tmpf = csinhf(tmpf);
16528 tmpf = csqrtf(tmpf);
16529 tmpf = ctanf(tmpf);
16530 tmpf = ctanhf(tmpf);
16531 tmpf = cpowf(tmpf, tmpf);
16532 tmpf = cprojf(tmpf);
16533 d = cabs(tmpd);
16534 d = carg(tmpd);
16535 tmpd = ccos(tmpd);
16536 tmpd = ccosh(tmpd);
16537 tmpd = cexp(tmpd);
16538 tmpd = clog(tmpd);
16539 tmpd = csin(tmpd);
16540 tmpd = csinh(tmpd);
16541 tmpd = csqrt(tmpd);
16542 tmpd = ctan(tmpd);
16543 tmpd = ctanh(tmpd);
16544 tmpd = cpow(tmpd, tmpd);
16545 tmpd = cproj(tmpd);
16546 ld = cabsl(tmpld);
16547 ld = cargl(tmpld);
16548 tmpld = ccosl(tmpld);
16549 tmpld = ccoshl(tmpld);
16550 tmpld = cexpl(tmpld);
16551 tmpld = clogl(tmpld);
16552 tmpld = csinl(tmpld);
16553 tmpld = csinhl(tmpld);
16554 tmpld = csqrtl(tmpld);
16555 tmpld = ctanl(tmpld);
16556 tmpld = ctanhl(tmpld);
16557 tmpld = cpowl(tmpld, tmpld);
16558 tmpld = cprojl(tmpld);
16559
16560 ;
16561 return 0;
16562 }
16563 _ACEOF
16564 if ac_fn_cxx_try_compile "$LINENO"; then :
16565 glibcxx_cv_c99_complex=yes
16566 else
16567 glibcxx_cv_c99_complex=no
16568 fi
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16570 else
16571 if test x$gcc_no_link = xyes; then
16572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16573 fi
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16576 #include <complex.h>
16577 typedef __complex__ float float_type;
16578 typedef __complex__ double double_type;
16579 typedef __complex__ long double ld_type;
16580 volatile float_type tmpf;
16581 volatile double_type tmpd;
16582 volatile ld_type tmpld;
16583 volatile float f;
16584 volatile double d;
16585 volatile long double ld;
16586 int
16587 main ()
16588 {
16589 f = cabsf(tmpf);
16590 f = cargf(tmpf);
16591 tmpf = ccosf(tmpf);
16592 tmpf = ccoshf(tmpf);
16593 tmpf = cexpf(tmpf);
16594 tmpf = clogf(tmpf);
16595 tmpf = csinf(tmpf);
16596 tmpf = csinhf(tmpf);
16597 tmpf = csqrtf(tmpf);
16598 tmpf = ctanf(tmpf);
16599 tmpf = ctanhf(tmpf);
16600 tmpf = cpowf(tmpf, tmpf);
16601 tmpf = cprojf(tmpf);
16602 d = cabs(tmpd);
16603 d = carg(tmpd);
16604 tmpd = ccos(tmpd);
16605 tmpd = ccosh(tmpd);
16606 tmpd = cexp(tmpd);
16607 tmpd = clog(tmpd);
16608 tmpd = csin(tmpd);
16609 tmpd = csinh(tmpd);
16610 tmpd = csqrt(tmpd);
16611 tmpd = ctan(tmpd);
16612 tmpd = ctanh(tmpd);
16613 tmpd = cpow(tmpd, tmpd);
16614 tmpd = cproj(tmpd);
16615 ld = cabsl(tmpld);
16616 ld = cargl(tmpld);
16617 tmpld = ccosl(tmpld);
16618 tmpld = ccoshl(tmpld);
16619 tmpld = cexpl(tmpld);
16620 tmpld = clogl(tmpld);
16621 tmpld = csinl(tmpld);
16622 tmpld = csinhl(tmpld);
16623 tmpld = csqrtl(tmpld);
16624 tmpld = ctanl(tmpld);
16625 tmpld = ctanhl(tmpld);
16626 tmpld = cpowl(tmpld, tmpld);
16627 tmpld = cprojl(tmpld);
16628
16629 ;
16630 return 0;
16631 }
16632 _ACEOF
16633 if ac_fn_cxx_try_link "$LINENO"; then :
16634 glibcxx_cv_c99_complex=yes
16635 else
16636 glibcxx_cv_c99_complex=no
16637 fi
16638 rm -f core conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16640 fi
16641 fi
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16643 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16644 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16645
16646 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16647
16648 fi
16649
16650 # Check for the existence in <stdio.h> of vscanf, et. al.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16652 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16653 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656
16657 if test x$gcc_no_link = xyes; then
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <stdio.h>
16661 #include <stdarg.h>
16662 void foo(char* fmt, ...)
16663 {
16664 va_list args; va_start(args, fmt);
16665 vfscanf(stderr, "%i", args);
16666 vscanf("%i", args);
16667 vsnprintf(fmt, 0, "%i", args);
16668 vsscanf(fmt, "%i", args);
16669 }
16670 int
16671 main ()
16672 {
16673 snprintf("12", 0, "%i");
16674 ;
16675 return 0;
16676 }
16677 _ACEOF
16678 if ac_fn_cxx_try_compile "$LINENO"; then :
16679 glibcxx_cv_c99_stdio=yes
16680 else
16681 glibcxx_cv_c99_stdio=no
16682 fi
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16684 else
16685 if test x$gcc_no_link = xyes; then
16686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16687 fi
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16690 #include <stdio.h>
16691 #include <stdarg.h>
16692 void foo(char* fmt, ...)
16693 {
16694 va_list args; va_start(args, fmt);
16695 vfscanf(stderr, "%i", args);
16696 vscanf("%i", args);
16697 vsnprintf(fmt, 0, "%i", args);
16698 vsscanf(fmt, "%i", args);
16699 }
16700 int
16701 main ()
16702 {
16703 snprintf("12", 0, "%i");
16704 ;
16705 return 0;
16706 }
16707 _ACEOF
16708 if ac_fn_cxx_try_link "$LINENO"; then :
16709 glibcxx_cv_c99_stdio=yes
16710 else
16711 glibcxx_cv_c99_stdio=no
16712 fi
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16715 fi
16716
16717 fi
16718
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16720 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16721
16722 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16724 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16725 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728
16729 if test x$gcc_no_link = xyes; then
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #include <stdlib.h>
16733 volatile float f;
16734 volatile long double ld;
16735 volatile unsigned long long ll;
16736 lldiv_t mydivt;
16737 int
16738 main ()
16739 {
16740 char* tmp;
16741 f = strtof("gnu", &tmp);
16742 ld = strtold("gnu", &tmp);
16743 ll = strtoll("gnu", &tmp, 10);
16744 ll = strtoull("gnu", &tmp, 10);
16745 ll = llabs(10);
16746 mydivt = lldiv(10,1);
16747 ll = mydivt.quot;
16748 ll = mydivt.rem;
16749 ll = atoll("10");
16750 _Exit(0);
16751
16752 ;
16753 return 0;
16754 }
16755 _ACEOF
16756 if ac_fn_cxx_try_compile "$LINENO"; then :
16757 glibcxx_cv_c99_stdlib=yes
16758 else
16759 glibcxx_cv_c99_stdlib=no
16760 fi
16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16762 else
16763 if test x$gcc_no_link = xyes; then
16764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16765 fi
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <stdlib.h>
16769 volatile float f;
16770 volatile long double ld;
16771 volatile unsigned long long ll;
16772 lldiv_t mydivt;
16773 int
16774 main ()
16775 {
16776 char* tmp;
16777 f = strtof("gnu", &tmp);
16778 ld = strtold("gnu", &tmp);
16779 ll = strtoll("gnu", &tmp, 10);
16780 ll = strtoull("gnu", &tmp, 10);
16781 ll = llabs(10);
16782 mydivt = lldiv(10,1);
16783 ll = mydivt.quot;
16784 ll = mydivt.rem;
16785 ll = atoll("10");
16786 _Exit(0);
16787
16788 ;
16789 return 0;
16790 }
16791 _ACEOF
16792 if ac_fn_cxx_try_link "$LINENO"; then :
16793 glibcxx_cv_c99_stdlib=yes
16794 else
16795 glibcxx_cv_c99_stdlib=no
16796 fi
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16799 fi
16800
16801 fi
16802
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16804 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16805
16806 # Check for the existence in <wchar.h> of wcstold, etc.
16807 glibcxx_cv_c99_wchar=no;
16808 if test x"$ac_has_wchar_h" = xyes &&
16809 test x"$ac_has_wctype_h" = xyes; then
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16811 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <wchar.h>
16815 namespace test
16816 {
16817 using ::wcstold;
16818 using ::wcstoll;
16819 using ::wcstoull;
16820 }
16821
16822 int
16823 main ()
16824 {
16825
16826 ;
16827 return 0;
16828 }
16829 _ACEOF
16830 if ac_fn_cxx_try_compile "$LINENO"; then :
16831 glibcxx_cv_c99_wchar=yes
16832 else
16833 glibcxx_cv_c99_wchar=no
16834 fi
16835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16836
16837 # Checks for wide character functions that may not be present.
16838 # Injection of these is wrapped with guard macros.
16839 # NB: only put functions here, instead of immediately above, if
16840 # absolutely necessary.
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843 #include <wchar.h>
16844 namespace test { using ::vfwscanf; }
16845 int
16846 main ()
16847 {
16848
16849 ;
16850 return 0;
16851 }
16852 _ACEOF
16853 if ac_fn_cxx_try_compile "$LINENO"; then :
16854
16855 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16856
16857 fi
16858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16859
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16862 #include <wchar.h>
16863 namespace test { using ::vswscanf; }
16864 int
16865 main ()
16866 {
16867
16868 ;
16869 return 0;
16870 }
16871 _ACEOF
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16873
16874 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16875
16876 fi
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 #include <wchar.h>
16882 namespace test { using ::vwscanf; }
16883 int
16884 main ()
16885 {
16886
16887 ;
16888 return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892
16893 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16894
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <wchar.h>
16901 namespace test { using ::wcstof; }
16902 int
16903 main ()
16904 {
16905
16906 ;
16907 return 0;
16908 }
16909 _ACEOF
16910 if ac_fn_cxx_try_compile "$LINENO"; then :
16911
16912 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16913
16914 fi
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919 #include <wctype.h>
16920 int
16921 main ()
16922 {
16923 wint_t t; int i = iswblank(t);
16924 ;
16925 return 0;
16926 }
16927 _ACEOF
16928 if ac_fn_cxx_try_compile "$LINENO"; then :
16929
16930 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16931
16932 fi
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16936 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16937 fi
16938
16939 # Option parsed, now set things appropriately.
16940 if test x"$glibcxx_cv_c99_math" = x"no" ||
16941 test x"$glibcxx_cv_c99_complex" = x"no" ||
16942 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16943 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16944 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16945 enable_c99=no;
16946 else
16947
16948 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16949
16950 fi
16951
16952 gcc_no_link="$ac_save_gcc_no_link"
16953 LIBS="$ac_save_LIBS"
16954 CXXFLAGS="$ac_save_CXXFLAGS"
16955 ac_ext=c
16956 ac_cpp='$CPP $CPPFLAGS'
16957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16960
16961 fi
16962
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16964 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16966 $as_echo "$enable_c99" >&6; }
16967
16968
16969 # Check whether --enable-concept-checks was given.
16970 if test "${enable_concept_checks+set}" = set; then :
16971 enableval=$enable_concept_checks;
16972 case "$enableval" in
16973 yes|no) ;;
16974 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16975 esac
16976
16977 else
16978 enable_concept_checks=no
16979 fi
16980
16981
16982 if test $enable_concept_checks = yes; then
16983
16984 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16985
16986 fi
16987
16988
16989 # Check whether --enable-libstdcxx-debug-flags was given.
16990 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16991 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16992 xno | x) enable_libstdcxx_debug_flags= ;;
16993 x-*) ;;
16994 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16995 esac
16996 else
16997 enable_libstdcxx_debug_flags="-g3 -O0"
16998 fi
16999
17000
17001
17002 # Option parsed, now set things appropriately
17003 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17004
17005
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17007 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17008
17009
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17011 $as_echo_n "checking for additional debug build... " >&6; }
17012 # Check whether --enable-libstdcxx-debug was given.
17013 if test "${enable_libstdcxx_debug+set}" = set; then :
17014 enableval=$enable_libstdcxx_debug;
17015 case "$enableval" in
17016 yes|no) ;;
17017 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17018 esac
17019
17020 else
17021 enable_libstdcxx_debug=no
17022 fi
17023
17024
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17026 $as_echo "$enable_libstdcxx_debug" >&6; }
17027
17028
17029
17030
17031 enable_parallel=no;
17032
17033 # See if configured libgomp/omp.h exists. (libgomp may be in
17034 # noconfigdirs but not explicitly disabled.)
17035 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17036 enable_parallel=yes;
17037 else
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17039 $as_echo "$as_me: target-libgomp not built" >&6;}
17040 fi
17041
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17043 $as_echo_n "checking for parallel mode support... " >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17045 $as_echo "$enable_parallel" >&6; }
17046
17047
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17049 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17050 # Check whether --enable-cxx-flags was given.
17051 if test "${enable_cxx_flags+set}" = set; then :
17052 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17053 xno | x) enable_cxx_flags= ;;
17054 x-*) ;;
17055 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17056 esac
17057 else
17058 enable_cxx_flags=
17059 fi
17060
17061
17062
17063 # Run through flags (either default or command-line) and set anything
17064 # extra (e.g., #defines) that must accompany particular g++ options.
17065 if test -n "$enable_cxx_flags"; then
17066 for f in $enable_cxx_flags; do
17067 case "$f" in
17068 -fhonor-std) ;;
17069 -*) ;;
17070 *) # and we're trying to pass /what/ exactly?
17071 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17072 esac
17073 done
17074 fi
17075
17076 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17078 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17079
17080
17081
17082 # Check whether --enable-fully-dynamic-string was given.
17083 if test "${enable_fully_dynamic_string+set}" = set; then :
17084 enableval=$enable_fully_dynamic_string;
17085 case "$enableval" in
17086 yes|no) ;;
17087 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17088 esac
17089
17090 else
17091 enable_fully_dynamic_string=no
17092 fi
17093
17094
17095 if test $enable_fully_dynamic_string = yes; then
17096
17097 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17098
17099 fi
17100
17101
17102 # Checks for operating systems support that doesn't require linking.
17103
17104
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17106 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17107 if test "${glibcxx_cv_system_error1+set}" = set; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <errno.h>
17114 int
17115 main ()
17116 {
17117 int i = EOWNERDEAD;
17118 ;
17119 return 0;
17120 }
17121 _ACEOF
17122 if ac_fn_c_try_compile "$LINENO"; then :
17123 glibcxx_cv_system_error1=yes
17124 else
17125 glibcxx_cv_system_error1=no
17126 fi
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17128
17129 fi
17130
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17132 $as_echo "$glibcxx_cv_system_error1" >&6; }
17133 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17134
17135 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17136
17137 fi
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17139 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17140 if test "${glibcxx_cv_system_error2+set}" = set; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <errno.h>
17147 int
17148 main ()
17149 {
17150 int i = ENOTRECOVERABLE;
17151 ;
17152 return 0;
17153 }
17154 _ACEOF
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 glibcxx_cv_system_error2=yes
17157 else
17158 glibcxx_cv_system_error2=no
17159 fi
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161
17162 fi
17163
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17165 $as_echo "$glibcxx_cv_system_error2" >&6; }
17166 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17167
17168 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17169
17170 fi
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17172 $as_echo_n "checking for ENOLINK... " >&6; }
17173 if test "${glibcxx_cv_system_error3+set}" = set; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 #include <errno.h>
17180 int
17181 main ()
17182 {
17183 int i = ENOLINK;
17184 ;
17185 return 0;
17186 }
17187 _ACEOF
17188 if ac_fn_c_try_compile "$LINENO"; then :
17189 glibcxx_cv_system_error3=yes
17190 else
17191 glibcxx_cv_system_error3=no
17192 fi
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194
17195 fi
17196
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17198 $as_echo "$glibcxx_cv_system_error3" >&6; }
17199 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17200
17201 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17202
17203 fi
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17205 $as_echo_n "checking for EPROTO... " >&6; }
17206 if test "${glibcxx_cv_system_error4+set}" = set; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 #include <errno.h>
17213 int
17214 main ()
17215 {
17216 int i = EPROTO;
17217 ;
17218 return 0;
17219 }
17220 _ACEOF
17221 if ac_fn_c_try_compile "$LINENO"; then :
17222 glibcxx_cv_system_error4=yes
17223 else
17224 glibcxx_cv_system_error4=no
17225 fi
17226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227
17228 fi
17229
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17231 $as_echo "$glibcxx_cv_system_error4" >&6; }
17232 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17233
17234 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17235
17236 fi
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17238 $as_echo_n "checking for ENODATA... " >&6; }
17239 if test "${glibcxx_cv_system_error5+set}" = set; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 #include <errno.h>
17246 int
17247 main ()
17248 {
17249 int i = ENODATA;
17250 ;
17251 return 0;
17252 }
17253 _ACEOF
17254 if ac_fn_c_try_compile "$LINENO"; then :
17255 glibcxx_cv_system_error5=yes
17256 else
17257 glibcxx_cv_system_error5=no
17258 fi
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260
17261 fi
17262
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17264 $as_echo "$glibcxx_cv_system_error5" >&6; }
17265 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17266
17267 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17268
17269 fi
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17271 $as_echo_n "checking for ENOSR... " >&6; }
17272 if test "${glibcxx_cv_system_error6+set}" = set; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 #include <errno.h>
17279 int
17280 main ()
17281 {
17282 int i = ENOSR;
17283 ;
17284 return 0;
17285 }
17286 _ACEOF
17287 if ac_fn_c_try_compile "$LINENO"; then :
17288 glibcxx_cv_system_error6=yes
17289 else
17290 glibcxx_cv_system_error6=no
17291 fi
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293
17294 fi
17295
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17297 $as_echo "$glibcxx_cv_system_error6" >&6; }
17298 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17299
17300 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17301
17302 fi
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17304 $as_echo_n "checking for ENOSTR... " >&6; }
17305 if test "${glibcxx_cv_system_error7+set}" = set; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <errno.h>
17312 int
17313 main ()
17314 {
17315 int i = ENOSTR;
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321 glibcxx_cv_system_error7=yes
17322 else
17323 glibcxx_cv_system_error7=no
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326
17327 fi
17328
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17330 $as_echo "$glibcxx_cv_system_error7" >&6; }
17331 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17332
17333 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17334
17335 fi
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17337 $as_echo_n "checking for ETIME... " >&6; }
17338 if test "${glibcxx_cv_system_error8+set}" = set; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <errno.h>
17345 int
17346 main ()
17347 {
17348 int i = ETIME;
17349 ;
17350 return 0;
17351 }
17352 _ACEOF
17353 if ac_fn_c_try_compile "$LINENO"; then :
17354 glibcxx_cv_system_error8=yes
17355 else
17356 glibcxx_cv_system_error8=no
17357 fi
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359
17360 fi
17361
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17363 $as_echo "$glibcxx_cv_system_error8" >&6; }
17364 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17365
17366 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17367
17368 fi
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17370 $as_echo_n "checking for EBADMSG... " >&6; }
17371 if test "${glibcxx_cv_system_error9+set}" = set; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #include <errno.h>
17378 int
17379 main ()
17380 {
17381 int i = EBADMSG;
17382 ;
17383 return 0;
17384 }
17385 _ACEOF
17386 if ac_fn_c_try_compile "$LINENO"; then :
17387 glibcxx_cv_system_error9=yes
17388 else
17389 glibcxx_cv_system_error9=no
17390 fi
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17392
17393 fi
17394
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17396 $as_echo "$glibcxx_cv_system_error9" >&6; }
17397 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17398
17399 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17400
17401 fi
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17403 $as_echo_n "checking for ECANCELED... " >&6; }
17404 if test "${glibcxx_cv_system_error10+set}" = set; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 #include <errno.h>
17411 int
17412 main ()
17413 {
17414 int i = ECANCELED;
17415 ;
17416 return 0;
17417 }
17418 _ACEOF
17419 if ac_fn_c_try_compile "$LINENO"; then :
17420 glibcxx_cv_system_error10=yes
17421 else
17422 glibcxx_cv_system_error10=no
17423 fi
17424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17425
17426 fi
17427
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17429 $as_echo "$glibcxx_cv_system_error10" >&6; }
17430 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17431
17432 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17433
17434 fi
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17436 $as_echo_n "checking for EOVERFLOW... " >&6; }
17437 if test "${glibcxx_cv_system_error11+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOVERFLOW;
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error11=yes
17454 else
17455 glibcxx_cv_system_error11=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17462 $as_echo "$glibcxx_cv_system_error11" >&6; }
17463 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17469 $as_echo_n "checking for ENOTSUP... " >&6; }
17470 if test "${glibcxx_cv_system_error12+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTSUP;
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error12=yes
17487 else
17488 glibcxx_cv_system_error12=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17495 $as_echo "$glibcxx_cv_system_error12" >&6; }
17496 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17502 $as_echo_n "checking for EIDRM... " >&6; }
17503 if test "${glibcxx_cv_system_error13+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = EIDRM;
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error13=yes
17520 else
17521 glibcxx_cv_system_error13=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17528 $as_echo "$glibcxx_cv_system_error13" >&6; }
17529 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17530
17531 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17535 $as_echo_n "checking for ETXTBSY... " >&6; }
17536 if test "${glibcxx_cv_system_error14+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = ETXTBSY;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error14=yes
17553 else
17554 glibcxx_cv_system_error14=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17561 $as_echo "$glibcxx_cv_system_error14" >&6; }
17562 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17563
17564 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17565
17566 fi
17567
17568
17569
17570 # For the streamoff typedef.
17571
17572
17573
17574 ac_ext=cpp
17575 ac_cpp='$CXXCPP $CPPFLAGS'
17576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17579
17580
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17582 $as_echo_n "checking for int64_t... " >&6; }
17583 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <stdint.h>
17590 int
17591 main ()
17592 {
17593 int64_t var;
17594 ;
17595 return 0;
17596 }
17597 _ACEOF
17598 if ac_fn_cxx_try_compile "$LINENO"; then :
17599 glibcxx_cv_INT64_T=yes
17600 else
17601 glibcxx_cv_INT64_T=no
17602 fi
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605 fi
17606
17607
17608 if test $glibcxx_cv_INT64_T = yes; then
17609
17610 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17611
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17613 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17616 $as_echo_n "checking for int64_t as long... " >&6; }
17617 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17620
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #include <stdint.h>
17624 template<typename, typename> struct same { enum { value = -1 }; };
17625 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17626 int array[same<int64_t, long>::value];
17627 int
17628 main ()
17629 {
17630
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_cxx_try_compile "$LINENO"; then :
17636 glibcxx_cv_int64_t_long=yes
17637 else
17638 glibcxx_cv_int64_t_long=no
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641
17642 fi
17643
17644
17645 if test $glibcxx_cv_int64_t_long = yes; then
17646
17647 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17648
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17650 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17651 fi
17652
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17654 $as_echo_n "checking for int64_t as long long... " >&6; }
17655 if test "${glibcxx_cv_int64_t_long_long+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 <stdint.h>
17662 template<typename, typename> struct same { enum { value = -1 }; };
17663 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17664 int array[same<int64_t, long long>::value];
17665 int
17666 main ()
17667 {
17668
17669 ;
17670 return 0;
17671 }
17672 _ACEOF
17673 if ac_fn_cxx_try_compile "$LINENO"; then :
17674 glibcxx_cv_int64_t_long_long=yes
17675 else
17676 glibcxx_cv_int64_t_long_long=no
17677 fi
17678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679
17680 fi
17681
17682
17683 if test $glibcxx_cv_int64_t_long_long = yes; then
17684
17685 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17686
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17688 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17689 fi
17690 fi
17691
17692 ac_ext=c
17693 ac_cpp='$CPP $CPPFLAGS'
17694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17697
17698
17699
17700 # For LFS support.
17701
17702
17703 ac_ext=cpp
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17708
17709 ac_save_CXXFLAGS="$CXXFLAGS"
17710 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17712 $as_echo_n "checking for LFS support... " >&6; }
17713 if test "${glibcxx_cv_LFS+set}" = set; then :
17714 $as_echo_n "(cached) " >&6
17715 else
17716
17717 if test x$gcc_no_link = xyes; then
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 #include <unistd.h>
17721 #include <stdio.h>
17722 #include <sys/stat.h>
17723
17724 int
17725 main ()
17726 {
17727 FILE* fp;
17728 fopen64("t", "w");
17729 fseeko64(fp, 0, SEEK_CUR);
17730 ftello64(fp);
17731 lseek64(1, 0, SEEK_CUR);
17732 struct stat64 buf;
17733 fstat64(1, &buf);
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_cxx_try_compile "$LINENO"; then :
17739 glibcxx_cv_LFS=yes
17740 else
17741 glibcxx_cv_LFS=no
17742 fi
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744 else
17745 if test x$gcc_no_link = xyes; then
17746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17747 fi
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 #include <unistd.h>
17751 #include <stdio.h>
17752 #include <sys/stat.h>
17753
17754 int
17755 main ()
17756 {
17757 FILE* fp;
17758 fopen64("t", "w");
17759 fseeko64(fp, 0, SEEK_CUR);
17760 ftello64(fp);
17761 lseek64(1, 0, SEEK_CUR);
17762 struct stat64 buf;
17763 fstat64(1, &buf);
17764 ;
17765 return 0;
17766 }
17767 _ACEOF
17768 if ac_fn_cxx_try_link "$LINENO"; then :
17769 glibcxx_cv_LFS=yes
17770 else
17771 glibcxx_cv_LFS=no
17772 fi
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775 fi
17776
17777 fi
17778
17779 if test $glibcxx_cv_LFS = yes; then
17780
17781 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17782
17783 fi
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17785 $as_echo "$glibcxx_cv_LFS" >&6; }
17786 CXXFLAGS="$ac_save_CXXFLAGS"
17787 ac_ext=c
17788 ac_cpp='$CPP $CPPFLAGS'
17789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17792
17793
17794
17795 # For showmanyc_helper().
17796 for ac_header in sys/ioctl.h sys/filio.h
17797 do :
17798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17799 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17800 eval as_val=\$$as_ac_Header
17801 if test "x$as_val" = x""yes; then :
17802 cat >>confdefs.h <<_ACEOF
17803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17804 _ACEOF
17805
17806 fi
17807
17808 done
17809
17810
17811
17812
17813 ac_ext=cpp
17814 ac_cpp='$CXXCPP $CPPFLAGS'
17815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17818
17819 ac_save_CXXFLAGS="$CXXFLAGS"
17820 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17821
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17823 $as_echo_n "checking for poll... " >&6; }
17824 if test "${glibcxx_cv_POLL+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827
17828 if test x$gcc_no_link = xyes; then
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 #include <poll.h>
17832 int
17833 main ()
17834 {
17835 struct pollfd pfd[1];
17836 pfd[0].events = POLLIN;
17837 poll(pfd, 1, 0);
17838 ;
17839 return 0;
17840 }
17841 _ACEOF
17842 if ac_fn_cxx_try_compile "$LINENO"; then :
17843 glibcxx_cv_POLL=yes
17844 else
17845 glibcxx_cv_POLL=no
17846 fi
17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 else
17849 if test x$gcc_no_link = xyes; then
17850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17851 fi
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 #include <poll.h>
17855 int
17856 main ()
17857 {
17858 struct pollfd pfd[1];
17859 pfd[0].events = POLLIN;
17860 poll(pfd, 1, 0);
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 if ac_fn_cxx_try_link "$LINENO"; then :
17866 glibcxx_cv_POLL=yes
17867 else
17868 glibcxx_cv_POLL=no
17869 fi
17870 rm -f core conftest.err conftest.$ac_objext \
17871 conftest$ac_exeext conftest.$ac_ext
17872 fi
17873
17874 fi
17875
17876 if test $glibcxx_cv_POLL = yes; then
17877
17878 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17879
17880 fi
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17882 $as_echo "$glibcxx_cv_POLL" >&6; }
17883
17884 CXXFLAGS="$ac_save_CXXFLAGS"
17885 ac_ext=c
17886 ac_cpp='$CPP $CPPFLAGS'
17887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17890
17891
17892
17893
17894
17895 ac_ext=cpp
17896 ac_cpp='$CXXCPP $CPPFLAGS'
17897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17900
17901 ac_save_CXXFLAGS="$CXXFLAGS"
17902 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17903
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17905 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17906 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909
17910 if test x$gcc_no_link = xyes; then
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 #include <sys/stat.h>
17914 int
17915 main ()
17916 {
17917 struct stat buffer;
17918 fstat(0, &buffer);
17919 S_ISREG(buffer.st_mode);
17920 ;
17921 return 0;
17922 }
17923 _ACEOF
17924 if ac_fn_cxx_try_compile "$LINENO"; then :
17925 glibcxx_cv_S_ISREG=yes
17926 else
17927 glibcxx_cv_S_ISREG=no
17928 fi
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 else
17931 if test x$gcc_no_link = xyes; then
17932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17933 fi
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <sys/stat.h>
17937 int
17938 main ()
17939 {
17940 struct stat buffer;
17941 fstat(0, &buffer);
17942 S_ISREG(buffer.st_mode);
17943 ;
17944 return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_cxx_try_link "$LINENO"; then :
17948 glibcxx_cv_S_ISREG=yes
17949 else
17950 glibcxx_cv_S_ISREG=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext conftest.$ac_ext
17954 fi
17955
17956 fi
17957
17958 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961
17962 if test x$gcc_no_link = xyes; then
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17965 #include <sys/stat.h>
17966 int
17967 main ()
17968 {
17969 struct stat buffer;
17970 fstat(0, &buffer);
17971 S_IFREG & buffer.st_mode;
17972 ;
17973 return 0;
17974 }
17975 _ACEOF
17976 if ac_fn_cxx_try_compile "$LINENO"; then :
17977 glibcxx_cv_S_IFREG=yes
17978 else
17979 glibcxx_cv_S_IFREG=no
17980 fi
17981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 else
17983 if test x$gcc_no_link = xyes; then
17984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17985 fi
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <sys/stat.h>
17989 int
17990 main ()
17991 {
17992 struct stat buffer;
17993 fstat(0, &buffer);
17994 S_IFREG & buffer.st_mode;
17995 ;
17996 return 0;
17997 }
17998 _ACEOF
17999 if ac_fn_cxx_try_link "$LINENO"; then :
18000 glibcxx_cv_S_IFREG=yes
18001 else
18002 glibcxx_cv_S_IFREG=no
18003 fi
18004 rm -f core conftest.err conftest.$ac_objext \
18005 conftest$ac_exeext conftest.$ac_ext
18006 fi
18007
18008 fi
18009
18010 res=no
18011 if test $glibcxx_cv_S_ISREG = yes; then
18012
18013 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18014
18015 res=S_ISREG
18016 elif test $glibcxx_cv_S_IFREG = yes; then
18017
18018 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18019
18020 res=S_IFREG
18021 fi
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18023 $as_echo "$res" >&6; }
18024
18025 CXXFLAGS="$ac_save_CXXFLAGS"
18026 ac_ext=c
18027 ac_cpp='$CPP $CPPFLAGS'
18028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18031
18032
18033
18034 # For xsputn_2().
18035 for ac_header in sys/uio.h
18036 do :
18037 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18038 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_SYS_UIO_H 1
18041 _ACEOF
18042
18043 fi
18044
18045 done
18046
18047
18048
18049
18050 ac_ext=cpp
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18055
18056 ac_save_CXXFLAGS="$CXXFLAGS"
18057 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18060 $as_echo_n "checking for writev... " >&6; }
18061 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064
18065 if test x$gcc_no_link = xyes; then
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <sys/uio.h>
18069 int
18070 main ()
18071 {
18072 struct iovec iov[2];
18073 writev(0, iov, 0);
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 if ac_fn_cxx_try_compile "$LINENO"; then :
18079 glibcxx_cv_WRITEV=yes
18080 else
18081 glibcxx_cv_WRITEV=no
18082 fi
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 else
18085 if test x$gcc_no_link = xyes; then
18086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 fi
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18090 #include <sys/uio.h>
18091 int
18092 main ()
18093 {
18094 struct iovec iov[2];
18095 writev(0, iov, 0);
18096 ;
18097 return 0;
18098 }
18099 _ACEOF
18100 if ac_fn_cxx_try_link "$LINENO"; then :
18101 glibcxx_cv_WRITEV=yes
18102 else
18103 glibcxx_cv_WRITEV=no
18104 fi
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18107 fi
18108
18109 fi
18110
18111 if test $glibcxx_cv_WRITEV = yes; then
18112
18113 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18114
18115 fi
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18117 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18118
18119 CXXFLAGS="$ac_save_CXXFLAGS"
18120 ac_ext=c
18121 ac_cpp='$CPP $CPPFLAGS'
18122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18125
18126
18127
18128 # For C99 support to TR1.
18129
18130
18131
18132 ac_ext=cpp
18133 ac_cpp='$CXXCPP $CPPFLAGS'
18134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18137
18138
18139 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18140 # undefined and fake C99 facilities may be spuriously enabled.
18141 ac_save_CXXFLAGS="$CXXFLAGS"
18142 CXXFLAGS="$CXXFLAGS -std=c++98"
18143
18144 # Check for the existence of <complex.h> complex math functions used
18145 # by tr1/complex.
18146 for ac_header in complex.h
18147 do :
18148 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18149 if test "x$ac_cv_header_complex_h" = x""yes; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_COMPLEX_H 1
18152 _ACEOF
18153 ac_has_complex_h=yes
18154 else
18155 ac_has_complex_h=no
18156 fi
18157
18158 done
18159
18160 ac_c99_complex_tr1=no;
18161 if test x"$ac_has_complex_h" = x"yes"; then
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18163 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <complex.h>
18167 int
18168 main ()
18169 {
18170 typedef __complex__ float float_type; float_type tmpf;
18171 cacosf(tmpf);
18172 casinf(tmpf);
18173 catanf(tmpf);
18174 cacoshf(tmpf);
18175 casinhf(tmpf);
18176 catanhf(tmpf);
18177 typedef __complex__ double double_type; double_type tmpd;
18178 cacos(tmpd);
18179 casin(tmpd);
18180 catan(tmpd);
18181 cacosh(tmpd);
18182 casinh(tmpd);
18183 catanh(tmpd);
18184 typedef __complex__ long double ld_type; ld_type tmpld;
18185 cacosl(tmpld);
18186 casinl(tmpld);
18187 catanl(tmpld);
18188 cacoshl(tmpld);
18189 casinhl(tmpld);
18190 catanhl(tmpld);
18191
18192 ;
18193 return 0;
18194 }
18195 _ACEOF
18196 if ac_fn_cxx_try_compile "$LINENO"; then :
18197 ac_c99_complex_tr1=yes
18198 else
18199 ac_c99_complex_tr1=no
18200 fi
18201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18202 fi
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18204 $as_echo "$ac_c99_complex_tr1" >&6; }
18205 if test x"$ac_c99_complex_tr1" = x"yes"; then
18206
18207 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18208
18209 fi
18210
18211 # Check for the existence of <ctype.h> functions.
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18213 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18214 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18217
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h. */
18220 #include <ctype.h>
18221 int
18222 main ()
18223 {
18224 int ch;
18225 int ret;
18226 ret = isblank(ch);
18227
18228 ;
18229 return 0;
18230 }
18231 _ACEOF
18232 if ac_fn_cxx_try_compile "$LINENO"; then :
18233 glibcxx_cv_c99_ctype_tr1=yes
18234 else
18235 glibcxx_cv_c99_ctype_tr1=no
18236 fi
18237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238
18239 fi
18240
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18242 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18243 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18244
18245 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18246
18247 fi
18248
18249 # Check for the existence of <fenv.h> functions.
18250 for ac_header in fenv.h
18251 do :
18252 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18253 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18254 cat >>confdefs.h <<_ACEOF
18255 #define HAVE_FENV_H 1
18256 _ACEOF
18257 ac_has_fenv_h=yes
18258 else
18259 ac_has_fenv_h=no
18260 fi
18261
18262 done
18263
18264 ac_c99_fenv_tr1=no;
18265 if test x"$ac_has_fenv_h" = x"yes"; then
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18267 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <fenv.h>
18271 int
18272 main ()
18273 {
18274 int except, mode;
18275 fexcept_t* pflag;
18276 fenv_t* penv;
18277 int ret;
18278 ret = feclearexcept(except);
18279 ret = fegetexceptflag(pflag, except);
18280 ret = feraiseexcept(except);
18281 ret = fesetexceptflag(pflag, except);
18282 ret = fetestexcept(except);
18283 ret = fegetround();
18284 ret = fesetround(mode);
18285 ret = fegetenv(penv);
18286 ret = feholdexcept(penv);
18287 ret = fesetenv(penv);
18288 ret = feupdateenv(penv);
18289
18290 ;
18291 return 0;
18292 }
18293 _ACEOF
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18295 ac_c99_fenv_tr1=yes
18296 else
18297 ac_c99_fenv_tr1=no
18298 fi
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300 fi
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18302 $as_echo "$ac_c99_fenv_tr1" >&6; }
18303 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18304
18305 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18306
18307 fi
18308
18309 # Check for the existence of <stdint.h> types.
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18311 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18312 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18313 $as_echo_n "(cached) " >&6
18314 else
18315
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 #define __STDC_LIMIT_MACROS
18319 #define __STDC_CONSTANT_MACROS
18320 #include <stdint.h>
18321 int
18322 main ()
18323 {
18324 typedef int8_t my_int8_t;
18325 my_int8_t i8 = INT8_MIN;
18326 i8 = INT8_MAX;
18327 typedef int16_t my_int16_t;
18328 my_int16_t i16 = INT16_MIN;
18329 i16 = INT16_MAX;
18330 typedef int32_t my_int32_t;
18331 my_int32_t i32 = INT32_MIN;
18332 i32 = INT32_MAX;
18333 typedef int64_t my_int64_t;
18334 my_int64_t i64 = INT64_MIN;
18335 i64 = INT64_MAX;
18336 typedef int_fast8_t my_int_fast8_t;
18337 my_int_fast8_t if8 = INT_FAST8_MIN;
18338 if8 = INT_FAST8_MAX;
18339 typedef int_fast16_t my_int_fast16_t;
18340 my_int_fast16_t if16 = INT_FAST16_MIN;
18341 if16 = INT_FAST16_MAX;
18342 typedef int_fast32_t my_int_fast32_t;
18343 my_int_fast32_t if32 = INT_FAST32_MIN;
18344 if32 = INT_FAST32_MAX;
18345 typedef int_fast64_t my_int_fast64_t;
18346 my_int_fast64_t if64 = INT_FAST64_MIN;
18347 if64 = INT_FAST64_MAX;
18348 typedef int_least8_t my_int_least8_t;
18349 my_int_least8_t il8 = INT_LEAST8_MIN;
18350 il8 = INT_LEAST8_MAX;
18351 typedef int_least16_t my_int_least16_t;
18352 my_int_least16_t il16 = INT_LEAST16_MIN;
18353 il16 = INT_LEAST16_MAX;
18354 typedef int_least32_t my_int_least32_t;
18355 my_int_least32_t il32 = INT_LEAST32_MIN;
18356 il32 = INT_LEAST32_MAX;
18357 typedef int_least64_t my_int_least64_t;
18358 my_int_least64_t il64 = INT_LEAST64_MIN;
18359 il64 = INT_LEAST64_MAX;
18360 typedef intmax_t my_intmax_t;
18361 my_intmax_t im = INTMAX_MAX;
18362 im = INTMAX_MIN;
18363 typedef intptr_t my_intptr_t;
18364 my_intptr_t ip = INTPTR_MAX;
18365 ip = INTPTR_MIN;
18366 typedef uint8_t my_uint8_t;
18367 my_uint8_t ui8 = UINT8_MAX;
18368 ui8 = UINT8_MAX;
18369 typedef uint16_t my_uint16_t;
18370 my_uint16_t ui16 = UINT16_MAX;
18371 ui16 = UINT16_MAX;
18372 typedef uint32_t my_uint32_t;
18373 my_uint32_t ui32 = UINT32_MAX;
18374 ui32 = UINT32_MAX;
18375 typedef uint64_t my_uint64_t;
18376 my_uint64_t ui64 = UINT64_MAX;
18377 ui64 = UINT64_MAX;
18378 typedef uint_fast8_t my_uint_fast8_t;
18379 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18380 uif8 = UINT_FAST8_MAX;
18381 typedef uint_fast16_t my_uint_fast16_t;
18382 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18383 uif16 = UINT_FAST16_MAX;
18384 typedef uint_fast32_t my_uint_fast32_t;
18385 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18386 uif32 = UINT_FAST32_MAX;
18387 typedef uint_fast64_t my_uint_fast64_t;
18388 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18389 uif64 = UINT_FAST64_MAX;
18390 typedef uint_least8_t my_uint_least8_t;
18391 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18392 uil8 = UINT_LEAST8_MAX;
18393 typedef uint_least16_t my_uint_least16_t;
18394 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18395 uil16 = UINT_LEAST16_MAX;
18396 typedef uint_least32_t my_uint_least32_t;
18397 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18398 uil32 = UINT_LEAST32_MAX;
18399 typedef uint_least64_t my_uint_least64_t;
18400 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18401 uil64 = UINT_LEAST64_MAX;
18402 typedef uintmax_t my_uintmax_t;
18403 my_uintmax_t uim = UINTMAX_MAX;
18404 uim = UINTMAX_MAX;
18405 typedef uintptr_t my_uintptr_t;
18406 my_uintptr_t uip = UINTPTR_MAX;
18407 uip = UINTPTR_MAX;
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 if ac_fn_cxx_try_compile "$LINENO"; then :
18414 glibcxx_cv_c99_stdint_tr1=yes
18415 else
18416 glibcxx_cv_c99_stdint_tr1=no
18417 fi
18418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419
18420 fi
18421
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18423 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18424 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18425
18426 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18427
18428 fi
18429
18430 # Check for the existence of <math.h> functions.
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18432 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18433 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18434 $as_echo_n "(cached) " >&6
18435 else
18436
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 #include <math.h>
18440 int
18441 main ()
18442 {
18443 typedef double_t my_double_t;
18444 typedef float_t my_float_t;
18445 acosh(0.0);
18446 acoshf(0.0f);
18447 acoshl(0.0l);
18448 asinh(0.0);
18449 asinhf(0.0f);
18450 asinhl(0.0l);
18451 atanh(0.0);
18452 atanhf(0.0f);
18453 atanhl(0.0l);
18454 cbrt(0.0);
18455 cbrtf(0.0f);
18456 cbrtl(0.0l);
18457 copysign(0.0, 0.0);
18458 copysignf(0.0f, 0.0f);
18459 copysignl(0.0l, 0.0l);
18460 erf(0.0);
18461 erff(0.0f);
18462 erfl(0.0l);
18463 erfc(0.0);
18464 erfcf(0.0f);
18465 erfcl(0.0l);
18466 exp2(0.0);
18467 exp2f(0.0f);
18468 exp2l(0.0l);
18469 expm1(0.0);
18470 expm1f(0.0f);
18471 expm1l(0.0l);
18472 fdim(0.0, 0.0);
18473 fdimf(0.0f, 0.0f);
18474 fdiml(0.0l, 0.0l);
18475 fma(0.0, 0.0, 0.0);
18476 fmaf(0.0f, 0.0f, 0.0f);
18477 fmal(0.0l, 0.0l, 0.0l);
18478 fmax(0.0, 0.0);
18479 fmaxf(0.0f, 0.0f);
18480 fmaxl(0.0l, 0.0l);
18481 fmin(0.0, 0.0);
18482 fminf(0.0f, 0.0f);
18483 fminl(0.0l, 0.0l);
18484 hypot(0.0, 0.0);
18485 hypotf(0.0f, 0.0f);
18486 hypotl(0.0l, 0.0l);
18487 ilogb(0.0);
18488 ilogbf(0.0f);
18489 ilogbl(0.0l);
18490 lgamma(0.0);
18491 lgammaf(0.0f);
18492 lgammal(0.0l);
18493 llrint(0.0);
18494 llrintf(0.0f);
18495 llrintl(0.0l);
18496 llround(0.0);
18497 llroundf(0.0f);
18498 llroundl(0.0l);
18499 log1p(0.0);
18500 log1pf(0.0f);
18501 log1pl(0.0l);
18502 log2(0.0);
18503 log2f(0.0f);
18504 log2l(0.0l);
18505 logb(0.0);
18506 logbf(0.0f);
18507 logbl(0.0l);
18508 lrint(0.0);
18509 lrintf(0.0f);
18510 lrintl(0.0l);
18511 lround(0.0);
18512 lroundf(0.0f);
18513 lroundl(0.0l);
18514 nan(0);
18515 nanf(0);
18516 nanl(0);
18517 nearbyint(0.0);
18518 nearbyintf(0.0f);
18519 nearbyintl(0.0l);
18520 nextafter(0.0, 0.0);
18521 nextafterf(0.0f, 0.0f);
18522 nextafterl(0.0l, 0.0l);
18523 nexttoward(0.0, 0.0);
18524 nexttowardf(0.0f, 0.0f);
18525 nexttowardl(0.0l, 0.0l);
18526 remainder(0.0, 0.0);
18527 remainderf(0.0f, 0.0f);
18528 remainderl(0.0l, 0.0l);
18529 remquo(0.0, 0.0, 0);
18530 remquof(0.0f, 0.0f, 0);
18531 remquol(0.0l, 0.0l, 0);
18532 rint(0.0);
18533 rintf(0.0f);
18534 rintl(0.0l);
18535 round(0.0);
18536 roundf(0.0f);
18537 roundl(0.0l);
18538 scalbln(0.0, 0l);
18539 scalblnf(0.0f, 0l);
18540 scalblnl(0.0l, 0l);
18541 scalbn(0.0, 0);
18542 scalbnf(0.0f, 0);
18543 scalbnl(0.0l, 0);
18544 tgamma(0.0);
18545 tgammaf(0.0f);
18546 tgammal(0.0l);
18547 trunc(0.0);
18548 truncf(0.0f);
18549 truncl(0.0l);
18550
18551 ;
18552 return 0;
18553 }
18554 _ACEOF
18555 if ac_fn_cxx_try_compile "$LINENO"; then :
18556 glibcxx_cv_c99_math_tr1=yes
18557 else
18558 glibcxx_cv_c99_math_tr1=no
18559 fi
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561
18562 fi
18563
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18565 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18566 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18567
18568 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18569
18570 fi
18571
18572 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18573 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18574 ac_c99_inttypes_tr1=no;
18575 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18577 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 #include <inttypes.h>
18581 int
18582 main ()
18583 {
18584 intmax_t i, numer, denom, base;
18585 const char* s;
18586 char** endptr;
18587 intmax_t ret = imaxabs(i);
18588 imaxdiv_t dret = imaxdiv(numer, denom);
18589 ret = strtoimax(s, endptr, base);
18590 uintmax_t uret = strtoumax(s, endptr, base);
18591
18592 ;
18593 return 0;
18594 }
18595 _ACEOF
18596 if ac_fn_cxx_try_compile "$LINENO"; then :
18597 ac_c99_inttypes_tr1=yes
18598 else
18599 ac_c99_inttypes_tr1=no
18600 fi
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 fi
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18604 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18605 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18606
18607 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18608
18609 fi
18610
18611 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18612 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18613 ac_c99_inttypes_wchar_t_tr1=no;
18614 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18616 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 #include <inttypes.h>
18620 int
18621 main ()
18622 {
18623 intmax_t base;
18624 const wchar_t* s;
18625 wchar_t** endptr;
18626 intmax_t ret = wcstoimax(s, endptr, base);
18627 uintmax_t uret = wcstoumax(s, endptr, base);
18628
18629 ;
18630 return 0;
18631 }
18632 _ACEOF
18633 if ac_fn_cxx_try_compile "$LINENO"; then :
18634 ac_c99_inttypes_wchar_t_tr1=yes
18635 else
18636 ac_c99_inttypes_wchar_t_tr1=no
18637 fi
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18639 fi
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18641 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18642 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18643
18644 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18645
18646 fi
18647
18648 # Check for the existence of the <stdbool.h> header.
18649 for ac_header in stdbool.h
18650 do :
18651 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18652 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STDBOOL_H 1
18655 _ACEOF
18656
18657 fi
18658
18659 done
18660
18661
18662 CXXFLAGS="$ac_save_CXXFLAGS"
18663 ac_ext=c
18664 ac_cpp='$CPP $CPPFLAGS'
18665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18668
18669
18670
18671 # For common values of EOF, SEEK_CUR, SEEK_END.
18672
18673
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18675 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18676 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682 #include <stdio.h>
18683 int
18684 main ()
18685 {
18686 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18687 unusual values...
18688 #endif
18689
18690 ;
18691 return 0;
18692 }
18693 _ACEOF
18694 if ac_fn_c_try_compile "$LINENO"; then :
18695 glibcxx_cv_stdio_macros=yes
18696 else
18697 glibcxx_cv_stdio_macros=no
18698 fi
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700
18701 fi
18702
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18704 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18705 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18706
18707 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18708
18709 fi
18710
18711
18712
18713 # For gettimeofday support.
18714
18715
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18717 $as_echo_n "checking for gettimeofday... " >&6; }
18718
18719
18720 ac_ext=cpp
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18725
18726 ac_save_CXXFLAGS="$CXXFLAGS"
18727 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18728
18729 ac_has_gettimeofday=no;
18730 for ac_header in sys/time.h
18731 do :
18732 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18733 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_SYS_TIME_H 1
18736 _ACEOF
18737 ac_has_sys_time_h=yes
18738 else
18739 ac_has_sys_time_h=no
18740 fi
18741
18742 done
18743
18744 if test x"$ac_has_sys_time_h" = x"yes"; then
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18746 $as_echo_n "checking for gettimeofday... " >&6; }
18747 if test x$gcc_no_link = xyes; then
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 #include <sys/time.h>
18751 int
18752 main ()
18753 {
18754 timeval tv; gettimeofday(&tv, 0);
18755 ;
18756 return 0;
18757 }
18758 _ACEOF
18759 if ac_fn_cxx_try_compile "$LINENO"; then :
18760 ac_has_gettimeofday=yes
18761 else
18762 ac_has_gettimeofday=no
18763 fi
18764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18765 else
18766 if test x$gcc_no_link = xyes; then
18767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768 fi
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #include <sys/time.h>
18772 int
18773 main ()
18774 {
18775 timeval tv; gettimeofday(&tv, 0);
18776 ;
18777 return 0;
18778 }
18779 _ACEOF
18780 if ac_fn_cxx_try_link "$LINENO"; then :
18781 ac_has_gettimeofday=yes
18782 else
18783 ac_has_gettimeofday=no
18784 fi
18785 rm -f core conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18787 fi
18788
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18790 $as_echo "$ac_has_gettimeofday" >&6; }
18791 fi
18792
18793 if test x"$ac_has_gettimeofday" = x"yes"; then
18794
18795 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18796
18797 fi
18798
18799 CXXFLAGS="$ac_save_CXXFLAGS"
18800 ac_ext=c
18801 ac_cpp='$CPP $CPPFLAGS'
18802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18805
18806
18807
18808 # For clock_gettime, nanosleep and sched_yield support.
18809 # NB: The default is [no], because otherwise it requires linking.
18810
18811
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18813 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18814 # Check whether --enable-libstdcxx-time was given.
18815 if test "${enable_libstdcxx_time+set}" = set; then :
18816 enableval=$enable_libstdcxx_time;
18817 case "$enableval" in
18818 yes|no|rt) ;;
18819 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18820 esac
18821
18822 else
18823 enable_libstdcxx_time=no
18824 fi
18825
18826
18827
18828
18829 ac_ext=cpp
18830 ac_cpp='$CXXCPP $CPPFLAGS'
18831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18834
18835 ac_save_CXXFLAGS="$CXXFLAGS"
18836 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18837 ac_save_LIBS="$LIBS"
18838
18839 ac_has_clock_monotonic=no
18840 ac_has_clock_realtime=no
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18842 $as_echo "$enable_libstdcxx_time" >&6; }
18843
18844 if test x"$enable_libstdcxx_time" != x"no"; then
18845
18846 if test x"$enable_libstdcxx_time" = x"rt"; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18848 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18849 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18852 ac_func_search_save_LIBS=$LIBS
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855
18856 /* Override any GCC internal prototype to avoid an error.
18857 Use char because int might match the return type of a GCC
18858 builtin and then its argument prototype would still apply. */
18859 #ifdef __cplusplus
18860 extern "C"
18861 #endif
18862 char clock_gettime ();
18863 int
18864 main ()
18865 {
18866 return clock_gettime ();
18867 ;
18868 return 0;
18869 }
18870 _ACEOF
18871 for ac_lib in '' rt posix4; do
18872 if test -z "$ac_lib"; then
18873 ac_res="none required"
18874 else
18875 ac_res=-l$ac_lib
18876 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18877 fi
18878 if test x$gcc_no_link = xyes; then
18879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18880 fi
18881 if ac_fn_cxx_try_link "$LINENO"; then :
18882 ac_cv_search_clock_gettime=$ac_res
18883 fi
18884 rm -f core conftest.err conftest.$ac_objext \
18885 conftest$ac_exeext
18886 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18887 break
18888 fi
18889 done
18890 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18891
18892 else
18893 ac_cv_search_clock_gettime=no
18894 fi
18895 rm conftest.$ac_ext
18896 LIBS=$ac_func_search_save_LIBS
18897 fi
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18899 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18900 ac_res=$ac_cv_search_clock_gettime
18901 if test "$ac_res" != no; then :
18902 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18903
18904 fi
18905
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18907 $as_echo_n "checking for library containing nanosleep... " >&6; }
18908 if test "${ac_cv_search_nanosleep+set}" = set; then :
18909 $as_echo_n "(cached) " >&6
18910 else
18911 ac_func_search_save_LIBS=$LIBS
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914
18915 /* Override any GCC internal prototype to avoid an error.
18916 Use char because int might match the return type of a GCC
18917 builtin and then its argument prototype would still apply. */
18918 #ifdef __cplusplus
18919 extern "C"
18920 #endif
18921 char nanosleep ();
18922 int
18923 main ()
18924 {
18925 return nanosleep ();
18926 ;
18927 return 0;
18928 }
18929 _ACEOF
18930 for ac_lib in '' rt posix4; do
18931 if test -z "$ac_lib"; then
18932 ac_res="none required"
18933 else
18934 ac_res=-l$ac_lib
18935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18936 fi
18937 if test x$gcc_no_link = xyes; then
18938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18939 fi
18940 if ac_fn_cxx_try_link "$LINENO"; then :
18941 ac_cv_search_nanosleep=$ac_res
18942 fi
18943 rm -f core conftest.err conftest.$ac_objext \
18944 conftest$ac_exeext
18945 if test "${ac_cv_search_nanosleep+set}" = set; then :
18946 break
18947 fi
18948 done
18949 if test "${ac_cv_search_nanosleep+set}" = set; then :
18950
18951 else
18952 ac_cv_search_nanosleep=no
18953 fi
18954 rm conftest.$ac_ext
18955 LIBS=$ac_func_search_save_LIBS
18956 fi
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18958 $as_echo "$ac_cv_search_nanosleep" >&6; }
18959 ac_res=$ac_cv_search_nanosleep
18960 if test "$ac_res" != no; then :
18961 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18962
18963 fi
18964
18965 else
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18967 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18968 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18971 ac_func_search_save_LIBS=$LIBS
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974
18975 /* Override any GCC internal prototype to avoid an error.
18976 Use char because int might match the return type of a GCC
18977 builtin and then its argument prototype would still apply. */
18978 #ifdef __cplusplus
18979 extern "C"
18980 #endif
18981 char clock_gettime ();
18982 int
18983 main ()
18984 {
18985 return clock_gettime ();
18986 ;
18987 return 0;
18988 }
18989 _ACEOF
18990 for ac_lib in '' posix4; do
18991 if test -z "$ac_lib"; then
18992 ac_res="none required"
18993 else
18994 ac_res=-l$ac_lib
18995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18996 fi
18997 if test x$gcc_no_link = xyes; then
18998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 fi
19000 if ac_fn_cxx_try_link "$LINENO"; then :
19001 ac_cv_search_clock_gettime=$ac_res
19002 fi
19003 rm -f core conftest.err conftest.$ac_objext \
19004 conftest$ac_exeext
19005 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19006 break
19007 fi
19008 done
19009 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19010
19011 else
19012 ac_cv_search_clock_gettime=no
19013 fi
19014 rm conftest.$ac_ext
19015 LIBS=$ac_func_search_save_LIBS
19016 fi
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19018 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19019 ac_res=$ac_cv_search_clock_gettime
19020 if test "$ac_res" != no; then :
19021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19022
19023 fi
19024
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19026 $as_echo_n "checking for library containing nanosleep... " >&6; }
19027 if test "${ac_cv_search_nanosleep+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19029 else
19030 ac_func_search_save_LIBS=$LIBS
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033
19034 /* Override any GCC internal prototype to avoid an error.
19035 Use char because int might match the return type of a GCC
19036 builtin and then its argument prototype would still apply. */
19037 #ifdef __cplusplus
19038 extern "C"
19039 #endif
19040 char nanosleep ();
19041 int
19042 main ()
19043 {
19044 return nanosleep ();
19045 ;
19046 return 0;
19047 }
19048 _ACEOF
19049 for ac_lib in '' posix4; do
19050 if test -z "$ac_lib"; then
19051 ac_res="none required"
19052 else
19053 ac_res=-l$ac_lib
19054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19055 fi
19056 if test x$gcc_no_link = xyes; then
19057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19058 fi
19059 if ac_fn_cxx_try_link "$LINENO"; then :
19060 ac_cv_search_nanosleep=$ac_res
19061 fi
19062 rm -f core conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext
19064 if test "${ac_cv_search_nanosleep+set}" = set; then :
19065 break
19066 fi
19067 done
19068 if test "${ac_cv_search_nanosleep+set}" = set; then :
19069
19070 else
19071 ac_cv_search_nanosleep=no
19072 fi
19073 rm conftest.$ac_ext
19074 LIBS=$ac_func_search_save_LIBS
19075 fi
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19077 $as_echo "$ac_cv_search_nanosleep" >&6; }
19078 ac_res=$ac_cv_search_nanosleep
19079 if test "$ac_res" != no; then :
19080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19081
19082 fi
19083
19084 fi
19085
19086 case "$ac_cv_search_clock_gettime" in
19087 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19088 ;;
19089 esac
19090 case "$ac_cv_search_nanosleep" in
19091 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19092 ;;
19093 esac
19094
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19096 $as_echo_n "checking for library containing sched_yield... " >&6; }
19097 if test "${ac_cv_search_sched_yield+set}" = set; then :
19098 $as_echo_n "(cached) " >&6
19099 else
19100 ac_func_search_save_LIBS=$LIBS
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103
19104 /* Override any GCC internal prototype to avoid an error.
19105 Use char because int might match the return type of a GCC
19106 builtin and then its argument prototype would still apply. */
19107 #ifdef __cplusplus
19108 extern "C"
19109 #endif
19110 char sched_yield ();
19111 int
19112 main ()
19113 {
19114 return sched_yield ();
19115 ;
19116 return 0;
19117 }
19118 _ACEOF
19119 for ac_lib in '' rt posix4; do
19120 if test -z "$ac_lib"; then
19121 ac_res="none required"
19122 else
19123 ac_res=-l$ac_lib
19124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19125 fi
19126 if test x$gcc_no_link = xyes; then
19127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19128 fi
19129 if ac_fn_cxx_try_link "$LINENO"; then :
19130 ac_cv_search_sched_yield=$ac_res
19131 fi
19132 rm -f core conftest.err conftest.$ac_objext \
19133 conftest$ac_exeext
19134 if test "${ac_cv_search_sched_yield+set}" = set; then :
19135 break
19136 fi
19137 done
19138 if test "${ac_cv_search_sched_yield+set}" = set; then :
19139
19140 else
19141 ac_cv_search_sched_yield=no
19142 fi
19143 rm conftest.$ac_ext
19144 LIBS=$ac_func_search_save_LIBS
19145 fi
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19147 $as_echo "$ac_cv_search_sched_yield" >&6; }
19148 ac_res=$ac_cv_search_sched_yield
19149 if test "$ac_res" != no; then :
19150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19151
19152 fi
19153
19154
19155 case "$ac_cv_search_sched_yield" in
19156 -lposix4*)
19157 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19158
19159 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19160
19161 ;;
19162 -lrt*)
19163 if test x"$enable_libstdcxx_time" = x"rt"; then
19164 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19165
19166 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19167
19168 fi
19169 ;;
19170 *)
19171
19172 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19173
19174 ;;
19175 esac
19176
19177 for ac_header in unistd.h
19178 do :
19179 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19180 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_UNISTD_H 1
19183 _ACEOF
19184 ac_has_unistd_h=yes
19185 else
19186 ac_has_unistd_h=no
19187 fi
19188
19189 done
19190
19191
19192 if test x"$ac_has_unistd_h" = x"yes"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19194 $as_echo_n "checking for monotonic clock... " >&6; }
19195 if test x$gcc_no_link = xyes; then
19196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19197 fi
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h. */
19200 #include <unistd.h>
19201 #include <time.h>
19202
19203 int
19204 main ()
19205 {
19206 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19207 timespec tp;
19208 #endif
19209 clock_gettime(CLOCK_MONOTONIC, &tp);
19210
19211 ;
19212 return 0;
19213 }
19214 _ACEOF
19215 if ac_fn_cxx_try_link "$LINENO"; then :
19216 ac_has_clock_monotonic=yes
19217 else
19218 ac_has_clock_monotonic=no
19219 fi
19220 rm -f core conftest.err conftest.$ac_objext \
19221 conftest$ac_exeext conftest.$ac_ext
19222
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19224 $as_echo "$ac_has_clock_monotonic" >&6; }
19225
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19227 $as_echo_n "checking for realtime clock... " >&6; }
19228 if test x$gcc_no_link = xyes; then
19229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 fi
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 #include <unistd.h>
19234 #include <time.h>
19235
19236 int
19237 main ()
19238 {
19239 #if _POSIX_TIMERS > 0
19240 timespec tp;
19241 #endif
19242 clock_gettime(CLOCK_REALTIME, &tp);
19243
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_cxx_try_link "$LINENO"; then :
19249 ac_has_clock_realtime=yes
19250 else
19251 ac_has_clock_realtime=no
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext \
19254 conftest$ac_exeext conftest.$ac_ext
19255
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19257 $as_echo "$ac_has_clock_realtime" >&6; }
19258
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19260 $as_echo_n "checking for nanosleep... " >&6; }
19261 if test x$gcc_no_link = xyes; then
19262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 fi
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 #include <unistd.h>
19267 #include <time.h>
19268
19269 int
19270 main ()
19271 {
19272 #if _POSIX_TIMERS > 0
19273 timespec tp;
19274 #endif
19275 nanosleep(&tp, 0);
19276
19277 ;
19278 return 0;
19279 }
19280 _ACEOF
19281 if ac_fn_cxx_try_link "$LINENO"; then :
19282 ac_has_nanosleep=yes
19283 else
19284 ac_has_nanosleep=no
19285 fi
19286 rm -f core conftest.err conftest.$ac_objext \
19287 conftest$ac_exeext conftest.$ac_ext
19288
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19290 $as_echo "$ac_has_nanosleep" >&6; }
19291 fi
19292 fi
19293
19294 if test x"$ac_has_clock_monotonic" = x"yes"; then
19295
19296 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19297
19298 fi
19299
19300 if test x"$ac_has_clock_realtime" = x"yes"; then
19301
19302 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19303
19304 fi
19305
19306 if test x"$ac_has_nanosleep" = x"yes"; then
19307
19308 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19309
19310 fi
19311
19312
19313
19314 CXXFLAGS="$ac_save_CXXFLAGS"
19315 LIBS="$ac_save_LIBS"
19316 ac_ext=c
19317 ac_cpp='$CPP $CPPFLAGS'
19318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19321
19322
19323
19324 # For gthread support
19325
19326
19327 ac_ext=cpp
19328 ac_cpp='$CXXCPP $CPPFLAGS'
19329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19332
19333
19334 ac_save_CXXFLAGS="$CXXFLAGS"
19335 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19336
19337 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19338 case $target_thread_file in
19339 posix)
19340 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19341 esac
19342
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19344 $as_echo_n "checking for gthreads library... " >&6; }
19345
19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19348 #include "gthr.h"
19349 int
19350 main ()
19351 {
19352
19353 #ifndef __GTHREADS_CXX0X
19354 #error
19355 #endif
19356
19357 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19358 #if (defined(_PTHREADS) \
19359 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19360 #error
19361 #endif
19362
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 if ac_fn_cxx_try_compile "$LINENO"; then :
19368 ac_has_gthreads=yes
19369 else
19370 ac_has_gthreads=no
19371 fi
19372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19375 $as_echo "$ac_has_gthreads" >&6; }
19376
19377 if test x"$ac_has_gthreads" = x"yes"; then
19378
19379 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19380
19381 fi
19382
19383 CXXFLAGS="$ac_save_CXXFLAGS"
19384 ac_ext=c
19385 ac_cpp='$CPP $CPPFLAGS'
19386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19389
19390
19391
19392
19393 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19394 if test "x$ac_cv_header_locale_h" = x""yes; then :
19395
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19397 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19398 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19399 $as_echo_n "(cached) " >&6
19400 else
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <locale.h>
19404 int
19405 main ()
19406 {
19407 return LC_MESSAGES
19408 ;
19409 return 0;
19410 }
19411 _ACEOF
19412 if ac_fn_c_try_compile "$LINENO"; then :
19413 ac_cv_val_LC_MESSAGES=yes
19414 else
19415 ac_cv_val_LC_MESSAGES=no
19416 fi
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 fi
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19420 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19421 if test $ac_cv_val_LC_MESSAGES = yes; then
19422
19423 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19424
19425 fi
19426
19427 fi
19428
19429
19430
19431
19432 # Check for available headers.
19433 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19434 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19435 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19436 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19437 wchar.h wctype.h
19438 do :
19439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19440 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19441 eval as_val=\$$as_ac_Header
19442 if test "x$as_val" = x""yes; then :
19443 cat >>confdefs.h <<_ACEOF
19444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19445 _ACEOF
19446
19447 fi
19448
19449 done
19450
19451
19452 # Only do link tests if native. Else, hardcode.
19453 if $GLIBCXX_IS_NATIVE; then
19454
19455 # We can do more elaborate tests that assume a working linker.
19456 CANADIAN=no
19457
19458
19459
19460 # Check whether --with-gnu-ld was given.
19461 if test "${with_gnu_ld+set}" = set; then :
19462 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19463 else
19464 with_gnu_ld=no
19465 fi
19466
19467 ac_prog=ld
19468 if test "$GCC" = yes; then
19469 # Check if gcc -print-prog-name=ld gives a path.
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19471 $as_echo_n "checking for ld used by $CC... " >&6; }
19472 case $host in
19473 *-*-mingw*)
19474 # gcc leaves a trailing carriage return which upsets mingw
19475 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19476 *)
19477 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19478 esac
19479 case $ac_prog in
19480 # Accept absolute paths.
19481 [\\/]* | ?:[\\/]*)
19482 re_direlt='/[^/][^/]*/\.\./'
19483 # Canonicalize the pathname of ld
19484 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19485 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19486 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19487 done
19488 test -z "$LD" && LD="$ac_prog"
19489 ;;
19490 "")
19491 # If it fails, then pretend we aren't using GCC.
19492 ac_prog=ld
19493 ;;
19494 *)
19495 # If it is relative, then search for the first ld in PATH.
19496 with_gnu_ld=unknown
19497 ;;
19498 esac
19499 elif test "$with_gnu_ld" = yes; then
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19501 $as_echo_n "checking for GNU ld... " >&6; }
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19504 $as_echo_n "checking for non-GNU ld... " >&6; }
19505 fi
19506 if test "${lt_cv_path_LD+set}" = set; then :
19507 $as_echo_n "(cached) " >&6
19508 else
19509 if test -z "$LD"; then
19510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19511 for ac_dir in $PATH; do
19512 IFS="$lt_save_ifs"
19513 test -z "$ac_dir" && ac_dir=.
19514 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19515 lt_cv_path_LD="$ac_dir/$ac_prog"
19516 # Check to see if the program is GNU ld. I'd rather use --version,
19517 # but apparently some variants of GNU ld only accept -v.
19518 # Break only if it was the GNU/non-GNU ld that we prefer.
19519 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19520 *GNU* | *'with BFD'*)
19521 test "$with_gnu_ld" != no && break
19522 ;;
19523 *)
19524 test "$with_gnu_ld" != yes && break
19525 ;;
19526 esac
19527 fi
19528 done
19529 IFS="$lt_save_ifs"
19530 else
19531 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19532 fi
19533 fi
19534
19535 LD="$lt_cv_path_LD"
19536 if test -n "$LD"; then
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19538 $as_echo "$LD" >&6; }
19539 else
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19541 $as_echo "no" >&6; }
19542 fi
19543 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19545 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19546 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19550 case `$LD -v 2>&1 </dev/null` in
19551 *GNU* | *'with BFD'*)
19552 lt_cv_prog_gnu_ld=yes
19553 ;;
19554 *)
19555 lt_cv_prog_gnu_ld=no
19556 ;;
19557 esac
19558 fi
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19560 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19561 with_gnu_ld=$lt_cv_prog_gnu_ld
19562
19563
19564
19565
19566
19567
19568
19569 # If we're not using GNU ld, then there's no point in even trying these
19570 # tests. Check for that first. We should have already tested for gld
19571 # by now (in libtool), but require it now just to be safe...
19572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19574
19575
19576
19577 # The name set by libtool depends on the version of libtool. Shame on us
19578 # for depending on an impl detail, but c'est la vie. Older versions used
19579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19582 # set (hence we're using an older libtool), then set it.
19583 if test x${with_gnu_ld+set} != xset; then
19584 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19586 with_gnu_ld=no
19587 else
19588 with_gnu_ld=$ac_cv_prog_gnu_ld
19589 fi
19590 fi
19591
19592 # Start by getting the version number. I think the libtool test already
19593 # does some of this, but throws away the result.
19594 glibcxx_ld_is_gold=no
19595 if test x"$with_gnu_ld" = x"yes"; then
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19597 $as_echo_n "checking for ld version... " >&6; }
19598
19599 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19600 glibcxx_ld_is_gold=yes
19601 fi
19602 ldver=`$LD --version 2>/dev/null |
19603 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'`
19604
19605 glibcxx_gnu_ld_version=`echo $ldver | \
19606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19608 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19609 fi
19610
19611 # Set --gc-sections.
19612 glibcxx_have_gc_sections=no
19613 if test "$glibcxx_ld_is_gold" = "yes"; then
19614 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19615 glibcxx_have_gc_sections=yes
19616 fi
19617 else
19618 glibcxx_gcsections_min_ld=21602
19619 if test x"$with_gnu_ld" = x"yes" &&
19620 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19621 glibcxx_have_gc_sections=yes
19622 fi
19623 fi
19624 if test "$glibcxx_have_gc_sections" = "yes"; then
19625 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19626 # NB: This flag only works reliably after 2.16.1. Configure tests
19627 # for this are difficult, so hard wire a value that should work.
19628
19629 ac_test_CFLAGS="${CFLAGS+set}"
19630 ac_save_CFLAGS="$CFLAGS"
19631 CFLAGS='-Wl,--gc-sections'
19632
19633 # Check for -Wl,--gc-sections
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19635 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19636 if test x$gcc_no_link = xyes; then
19637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19638 fi
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 int one(void) { return 1; }
19642 int two(void) { return 2; }
19643
19644 int
19645 main ()
19646 {
19647 two();
19648 ;
19649 return 0;
19650 }
19651 _ACEOF
19652 if ac_fn_c_try_link "$LINENO"; then :
19653 ac_gcsections=yes
19654 else
19655 ac_gcsections=no
19656 fi
19657 rm -f core conftest.err conftest.$ac_objext \
19658 conftest$ac_exeext conftest.$ac_ext
19659 if test "$ac_gcsections" = "yes"; then
19660 rm -f conftest.c
19661 touch conftest.c
19662 if $CC -c conftest.c; then
19663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19664 grep "Warning: gc-sections option ignored" > /dev/null; then
19665 ac_gcsections=no
19666 fi
19667 fi
19668 rm -f conftest.c conftest.o conftest
19669 fi
19670 if test "$ac_gcsections" = "yes"; then
19671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19672 fi
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19674 $as_echo "$ac_gcsections" >&6; }
19675
19676 if test "$ac_test_CFLAGS" = set; then
19677 CFLAGS="$ac_save_CFLAGS"
19678 else
19679 # this is the suspicious part
19680 CFLAGS=''
19681 fi
19682 fi
19683
19684 # Set -z,relro.
19685 # Note this is only for shared objects.
19686 ac_ld_relro=no
19687 if test x"$with_gnu_ld" = x"yes"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19689 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19691 if test -n "$cxx_z_relo"; then
19692 OPT_LDFLAGS="-Wl,-z,relro"
19693 ac_ld_relro=yes
19694 fi
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19696 $as_echo "$ac_ld_relro" >&6; }
19697 fi
19698
19699 # Set linker optimization flags.
19700 if test x"$with_gnu_ld" = x"yes"; then
19701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19702 fi
19703
19704
19705
19706
19707
19708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19709 ac_save_CXXFLAGS="$CXXFLAGS"
19710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19711
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19713 $as_echo_n "checking for sin in -lm... " >&6; }
19714 if test "${ac_cv_lib_m_sin+set}" = set; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 ac_check_lib_save_LIBS=$LIBS
19718 LIBS="-lm $LIBS"
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
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19728 #ifdef __cplusplus
19729 extern "C"
19730 #endif
19731 char sin ();
19732 int
19733 main ()
19734 {
19735 return sin ();
19736 ;
19737 return 0;
19738 }
19739 _ACEOF
19740 if ac_fn_c_try_link "$LINENO"; then :
19741 ac_cv_lib_m_sin=yes
19742 else
19743 ac_cv_lib_m_sin=no
19744 fi
19745 rm -f core conftest.err conftest.$ac_objext \
19746 conftest$ac_exeext conftest.$ac_ext
19747 LIBS=$ac_check_lib_save_LIBS
19748 fi
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19750 $as_echo "$ac_cv_lib_m_sin" >&6; }
19751 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19752 libm="-lm"
19753 fi
19754
19755 ac_save_LIBS="$LIBS"
19756 LIBS="$LIBS $libm"
19757
19758
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19761 $as_echo_n "checking for isinf declaration... " >&6; }
19762 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19763 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19764 $as_echo_n "(cached) " >&6
19765 else
19766
19767
19768 ac_ext=cpp
19769 ac_cpp='$CXXCPP $CPPFLAGS'
19770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19773
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #include <math.h>
19777 #ifdef HAVE_IEEEFP_H
19778 #include <ieeefp.h>
19779 #endif
19780
19781 int
19782 main ()
19783 {
19784 isinf(0);
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 if ac_fn_cxx_try_compile "$LINENO"; then :
19790 glibcxx_cv_func_isinf_use=yes
19791 else
19792 glibcxx_cv_func_isinf_use=no
19793 fi
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 ac_ext=c
19796 ac_cpp='$CPP $CPPFLAGS'
19797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19800
19801
19802 fi
19803
19804 fi
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19806 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19807
19808 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19809 for ac_func in isinf
19810 do :
19811 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19812 if test "x$ac_cv_func_isinf" = x""yes; then :
19813 cat >>confdefs.h <<_ACEOF
19814 #define HAVE_ISINF 1
19815 _ACEOF
19816
19817 fi
19818 done
19819
19820 else
19821
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19823 $as_echo_n "checking for _isinf declaration... " >&6; }
19824 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19825 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19826 $as_echo_n "(cached) " >&6
19827 else
19828
19829
19830 ac_ext=cpp
19831 ac_cpp='$CXXCPP $CPPFLAGS'
19832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19835
19836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19837 /* end confdefs.h. */
19838 #include <math.h>
19839 #ifdef HAVE_IEEEFP_H
19840 #include <ieeefp.h>
19841 #endif
19842
19843 int
19844 main ()
19845 {
19846 _isinf(0);
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 if ac_fn_cxx_try_compile "$LINENO"; then :
19852 glibcxx_cv_func__isinf_use=yes
19853 else
19854 glibcxx_cv_func__isinf_use=no
19855 fi
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857 ac_ext=c
19858 ac_cpp='$CPP $CPPFLAGS'
19859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19862
19863
19864 fi
19865
19866 fi
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19868 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19869
19870 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19871 for ac_func in _isinf
19872 do :
19873 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19874 if test "x$ac_cv_func__isinf" = x""yes; then :
19875 cat >>confdefs.h <<_ACEOF
19876 #define HAVE__ISINF 1
19877 _ACEOF
19878
19879 fi
19880 done
19881
19882 fi
19883 fi
19884
19885
19886
19887
19888
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19890 $as_echo_n "checking for isnan declaration... " >&6; }
19891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895
19896
19897 ac_ext=cpp
19898 ac_cpp='$CXXCPP $CPPFLAGS'
19899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19902
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #include <math.h>
19906 #ifdef HAVE_IEEEFP_H
19907 #include <ieeefp.h>
19908 #endif
19909
19910 int
19911 main ()
19912 {
19913 isnan(0);
19914 ;
19915 return 0;
19916 }
19917 _ACEOF
19918 if ac_fn_cxx_try_compile "$LINENO"; then :
19919 glibcxx_cv_func_isnan_use=yes
19920 else
19921 glibcxx_cv_func_isnan_use=no
19922 fi
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924 ac_ext=c
19925 ac_cpp='$CPP $CPPFLAGS'
19926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19929
19930
19931 fi
19932
19933 fi
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19935 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19936
19937 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19938 for ac_func in isnan
19939 do :
19940 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19941 if test "x$ac_cv_func_isnan" = x""yes; then :
19942 cat >>confdefs.h <<_ACEOF
19943 #define HAVE_ISNAN 1
19944 _ACEOF
19945
19946 fi
19947 done
19948
19949 else
19950
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19952 $as_echo_n "checking for _isnan declaration... " >&6; }
19953 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19954 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19957
19958
19959 ac_ext=cpp
19960 ac_cpp='$CXXCPP $CPPFLAGS'
19961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19964
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19967 #include <math.h>
19968 #ifdef HAVE_IEEEFP_H
19969 #include <ieeefp.h>
19970 #endif
19971
19972 int
19973 main ()
19974 {
19975 _isnan(0);
19976 ;
19977 return 0;
19978 }
19979 _ACEOF
19980 if ac_fn_cxx_try_compile "$LINENO"; then :
19981 glibcxx_cv_func__isnan_use=yes
19982 else
19983 glibcxx_cv_func__isnan_use=no
19984 fi
19985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19986 ac_ext=c
19987 ac_cpp='$CPP $CPPFLAGS'
19988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19991
19992
19993 fi
19994
19995 fi
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19997 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19998
19999 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20000 for ac_func in _isnan
20001 do :
20002 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20003 if test "x$ac_cv_func__isnan" = x""yes; then :
20004 cat >>confdefs.h <<_ACEOF
20005 #define HAVE__ISNAN 1
20006 _ACEOF
20007
20008 fi
20009 done
20010
20011 fi
20012 fi
20013
20014
20015
20016
20017
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20019 $as_echo_n "checking for finite declaration... " >&6; }
20020 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20021 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20022 $as_echo_n "(cached) " >&6
20023 else
20024
20025
20026 ac_ext=cpp
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20031
20032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20034 #include <math.h>
20035 #ifdef HAVE_IEEEFP_H
20036 #include <ieeefp.h>
20037 #endif
20038
20039 int
20040 main ()
20041 {
20042 finite(0);
20043 ;
20044 return 0;
20045 }
20046 _ACEOF
20047 if ac_fn_cxx_try_compile "$LINENO"; then :
20048 glibcxx_cv_func_finite_use=yes
20049 else
20050 glibcxx_cv_func_finite_use=no
20051 fi
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 ac_ext=c
20054 ac_cpp='$CPP $CPPFLAGS'
20055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20058
20059
20060 fi
20061
20062 fi
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20064 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20065
20066 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20067 for ac_func in finite
20068 do :
20069 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20070 if test "x$ac_cv_func_finite" = x""yes; then :
20071 cat >>confdefs.h <<_ACEOF
20072 #define HAVE_FINITE 1
20073 _ACEOF
20074
20075 fi
20076 done
20077
20078 else
20079
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20081 $as_echo_n "checking for _finite declaration... " >&6; }
20082 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20083 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20084 $as_echo_n "(cached) " >&6
20085 else
20086
20087
20088 ac_ext=cpp
20089 ac_cpp='$CXXCPP $CPPFLAGS'
20090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20093
20094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20096 #include <math.h>
20097 #ifdef HAVE_IEEEFP_H
20098 #include <ieeefp.h>
20099 #endif
20100
20101 int
20102 main ()
20103 {
20104 _finite(0);
20105 ;
20106 return 0;
20107 }
20108 _ACEOF
20109 if ac_fn_cxx_try_compile "$LINENO"; then :
20110 glibcxx_cv_func__finite_use=yes
20111 else
20112 glibcxx_cv_func__finite_use=no
20113 fi
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 ac_ext=c
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20120
20121
20122 fi
20123
20124 fi
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20126 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20127
20128 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20129 for ac_func in _finite
20130 do :
20131 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20132 if test "x$ac_cv_func__finite" = x""yes; then :
20133 cat >>confdefs.h <<_ACEOF
20134 #define HAVE__FINITE 1
20135 _ACEOF
20136
20137 fi
20138 done
20139
20140 fi
20141 fi
20142
20143
20144
20145
20146
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20148 $as_echo_n "checking for sincos declaration... " >&6; }
20149 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20150 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20151 $as_echo_n "(cached) " >&6
20152 else
20153
20154
20155 ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20160
20161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20163 #include <math.h>
20164 int
20165 main ()
20166 {
20167 sincos(0, 0, 0);
20168 ;
20169 return 0;
20170 }
20171 _ACEOF
20172 if ac_fn_cxx_try_compile "$LINENO"; then :
20173 glibcxx_cv_func_sincos_use=yes
20174 else
20175 glibcxx_cv_func_sincos_use=no
20176 fi
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 ac_ext=c
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183
20184
20185 fi
20186
20187 fi
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20189 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20190
20191 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20192 for ac_func in sincos
20193 do :
20194 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20195 if test "x$ac_cv_func_sincos" = x""yes; then :
20196 cat >>confdefs.h <<_ACEOF
20197 #define HAVE_SINCOS 1
20198 _ACEOF
20199
20200 fi
20201 done
20202
20203 else
20204
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20206 $as_echo_n "checking for _sincos declaration... " >&6; }
20207 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20208 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20209 $as_echo_n "(cached) " >&6
20210 else
20211
20212
20213 ac_ext=cpp
20214 ac_cpp='$CXXCPP $CPPFLAGS'
20215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20218
20219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20221 #include <math.h>
20222 int
20223 main ()
20224 {
20225 _sincos(0, 0, 0);
20226 ;
20227 return 0;
20228 }
20229 _ACEOF
20230 if ac_fn_cxx_try_compile "$LINENO"; then :
20231 glibcxx_cv_func__sincos_use=yes
20232 else
20233 glibcxx_cv_func__sincos_use=no
20234 fi
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241
20242
20243 fi
20244
20245 fi
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20247 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20248
20249 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20250 for ac_func in _sincos
20251 do :
20252 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20253 if test "x$ac_cv_func__sincos" = x""yes; then :
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE__SINCOS 1
20256 _ACEOF
20257
20258 fi
20259 done
20260
20261 fi
20262 fi
20263
20264
20265
20266
20267
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20269 $as_echo_n "checking for fpclass declaration... " >&6; }
20270 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20271 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20272 $as_echo_n "(cached) " >&6
20273 else
20274
20275
20276 ac_ext=cpp
20277 ac_cpp='$CXXCPP $CPPFLAGS'
20278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20281
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20284 #include <math.h>
20285 #ifdef HAVE_IEEEFP_H
20286 #include <ieeefp.h>
20287 #endif
20288
20289 int
20290 main ()
20291 {
20292 fpclass(0);
20293 ;
20294 return 0;
20295 }
20296 _ACEOF
20297 if ac_fn_cxx_try_compile "$LINENO"; then :
20298 glibcxx_cv_func_fpclass_use=yes
20299 else
20300 glibcxx_cv_func_fpclass_use=no
20301 fi
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20303 ac_ext=c
20304 ac_cpp='$CPP $CPPFLAGS'
20305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20308
20309
20310 fi
20311
20312 fi
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20314 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20315
20316 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20317 for ac_func in fpclass
20318 do :
20319 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20320 if test "x$ac_cv_func_fpclass" = x""yes; then :
20321 cat >>confdefs.h <<_ACEOF
20322 #define HAVE_FPCLASS 1
20323 _ACEOF
20324
20325 fi
20326 done
20327
20328 else
20329
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20331 $as_echo_n "checking for _fpclass declaration... " >&6; }
20332 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20333 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20334 $as_echo_n "(cached) " >&6
20335 else
20336
20337
20338 ac_ext=cpp
20339 ac_cpp='$CXXCPP $CPPFLAGS'
20340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20343
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20346 #include <math.h>
20347 #ifdef HAVE_IEEEFP_H
20348 #include <ieeefp.h>
20349 #endif
20350
20351 int
20352 main ()
20353 {
20354 _fpclass(0);
20355 ;
20356 return 0;
20357 }
20358 _ACEOF
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360 glibcxx_cv_func__fpclass_use=yes
20361 else
20362 glibcxx_cv_func__fpclass_use=no
20363 fi
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 ac_ext=c
20366 ac_cpp='$CPP $CPPFLAGS'
20367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20370
20371
20372 fi
20373
20374 fi
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20376 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20377
20378 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20379 for ac_func in _fpclass
20380 do :
20381 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20382 if test "x$ac_cv_func__fpclass" = x""yes; then :
20383 cat >>confdefs.h <<_ACEOF
20384 #define HAVE__FPCLASS 1
20385 _ACEOF
20386
20387 fi
20388 done
20389
20390 fi
20391 fi
20392
20393
20394
20395
20396
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20398 $as_echo_n "checking for qfpclass declaration... " >&6; }
20399 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20400 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20401 $as_echo_n "(cached) " >&6
20402 else
20403
20404
20405 ac_ext=cpp
20406 ac_cpp='$CXXCPP $CPPFLAGS'
20407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20410
20411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 #include <math.h>
20414 #ifdef HAVE_IEEEFP_H
20415 #include <ieeefp.h>
20416 #endif
20417
20418 int
20419 main ()
20420 {
20421 qfpclass(0);
20422 ;
20423 return 0;
20424 }
20425 _ACEOF
20426 if ac_fn_cxx_try_compile "$LINENO"; then :
20427 glibcxx_cv_func_qfpclass_use=yes
20428 else
20429 glibcxx_cv_func_qfpclass_use=no
20430 fi
20431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20432 ac_ext=c
20433 ac_cpp='$CPP $CPPFLAGS'
20434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20437
20438
20439 fi
20440
20441 fi
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20443 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20444
20445 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20446 for ac_func in qfpclass
20447 do :
20448 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20449 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20450 cat >>confdefs.h <<_ACEOF
20451 #define HAVE_QFPCLASS 1
20452 _ACEOF
20453
20454 fi
20455 done
20456
20457 else
20458
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20460 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20461 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20462 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20463 $as_echo_n "(cached) " >&6
20464 else
20465
20466
20467 ac_ext=cpp
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20472
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h. */
20475 #include <math.h>
20476 #ifdef HAVE_IEEEFP_H
20477 #include <ieeefp.h>
20478 #endif
20479
20480 int
20481 main ()
20482 {
20483 _qfpclass(0);
20484 ;
20485 return 0;
20486 }
20487 _ACEOF
20488 if ac_fn_cxx_try_compile "$LINENO"; then :
20489 glibcxx_cv_func__qfpclass_use=yes
20490 else
20491 glibcxx_cv_func__qfpclass_use=no
20492 fi
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20494 ac_ext=c
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20499
20500
20501 fi
20502
20503 fi
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20505 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20506
20507 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20508 for ac_func in _qfpclass
20509 do :
20510 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20511 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20512 cat >>confdefs.h <<_ACEOF
20513 #define HAVE__QFPCLASS 1
20514 _ACEOF
20515
20516 fi
20517 done
20518
20519 fi
20520 fi
20521
20522
20523
20524
20525
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20527 $as_echo_n "checking for hypot declaration... " >&6; }
20528 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20529 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20532
20533
20534 ac_ext=cpp
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <math.h>
20543 int
20544 main ()
20545 {
20546 hypot(0, 0);
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func_hypot_use=yes
20553 else
20554 glibcxx_cv_func_hypot_use=no
20555 fi
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20562
20563
20564 fi
20565
20566 fi
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20568 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20569
20570 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20571 for ac_func in hypot
20572 do :
20573 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20574 if test "x$ac_cv_func_hypot" = x""yes; then :
20575 cat >>confdefs.h <<_ACEOF
20576 #define HAVE_HYPOT 1
20577 _ACEOF
20578
20579 fi
20580 done
20581
20582 else
20583
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20585 $as_echo_n "checking for _hypot declaration... " >&6; }
20586 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20587 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20588 $as_echo_n "(cached) " >&6
20589 else
20590
20591
20592 ac_ext=cpp
20593 ac_cpp='$CXXCPP $CPPFLAGS'
20594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20597
20598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20600 #include <math.h>
20601 int
20602 main ()
20603 {
20604 _hypot(0, 0);
20605 ;
20606 return 0;
20607 }
20608 _ACEOF
20609 if ac_fn_cxx_try_compile "$LINENO"; then :
20610 glibcxx_cv_func__hypot_use=yes
20611 else
20612 glibcxx_cv_func__hypot_use=no
20613 fi
20614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20615 ac_ext=c
20616 ac_cpp='$CPP $CPPFLAGS'
20617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20620
20621
20622 fi
20623
20624 fi
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20626 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20627
20628 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20629 for ac_func in _hypot
20630 do :
20631 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20632 if test "x$ac_cv_func__hypot" = x""yes; then :
20633 cat >>confdefs.h <<_ACEOF
20634 #define HAVE__HYPOT 1
20635 _ACEOF
20636
20637 fi
20638 done
20639
20640 fi
20641 fi
20642
20643
20644
20645
20646
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20648 $as_echo_n "checking for float trig functions... " >&6; }
20649 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20651 else
20652
20653
20654 ac_ext=cpp
20655 ac_cpp='$CXXCPP $CPPFLAGS'
20656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20662 #include <math.h>
20663 int
20664 main ()
20665 {
20666 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 if ac_fn_cxx_try_compile "$LINENO"; then :
20672 glibcxx_cv_func_float_trig_use=yes
20673 else
20674 glibcxx_cv_func_float_trig_use=no
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 ac_ext=c
20678 ac_cpp='$CPP $CPPFLAGS'
20679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682
20683 fi
20684
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20686 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20687 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20688 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20689 do :
20690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20692 eval as_val=\$$as_ac_var
20693 if test "x$as_val" = x""yes; then :
20694 cat >>confdefs.h <<_ACEOF
20695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20696 _ACEOF
20697
20698 fi
20699 done
20700
20701 else
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20703 $as_echo_n "checking for _float trig functions... " >&6; }
20704 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20707
20708
20709 ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #include <math.h>
20718 int
20719 main ()
20720 {
20721 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 if ac_fn_cxx_try_compile "$LINENO"; then :
20727 glibcxx_cv_func__float_trig_use=yes
20728 else
20729 glibcxx_cv_func__float_trig_use=no
20730 fi
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20737
20738 fi
20739
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20741 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20742 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20743 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20744 do :
20745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20747 eval as_val=\$$as_ac_var
20748 if test "x$as_val" = x""yes; then :
20749 cat >>confdefs.h <<_ACEOF
20750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20751 _ACEOF
20752
20753 fi
20754 done
20755
20756 fi
20757 fi
20758
20759
20760
20761
20762
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20764 $as_echo_n "checking for float round functions... " >&6; }
20765 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20766 $as_echo_n "(cached) " >&6
20767 else
20768
20769
20770 ac_ext=cpp
20771 ac_cpp='$CXXCPP $CPPFLAGS'
20772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20775
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20778 #include <math.h>
20779 int
20780 main ()
20781 {
20782 ceilf (0); floorf (0);
20783 ;
20784 return 0;
20785 }
20786 _ACEOF
20787 if ac_fn_cxx_try_compile "$LINENO"; then :
20788 glibcxx_cv_func_float_round_use=yes
20789 else
20790 glibcxx_cv_func_float_round_use=no
20791 fi
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 ac_ext=c
20794 ac_cpp='$CPP $CPPFLAGS'
20795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20798
20799 fi
20800
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20802 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20803 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20804 for ac_func in ceilf floorf
20805 do :
20806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20808 eval as_val=\$$as_ac_var
20809 if test "x$as_val" = x""yes; then :
20810 cat >>confdefs.h <<_ACEOF
20811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20812 _ACEOF
20813
20814 fi
20815 done
20816
20817 else
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20819 $as_echo_n "checking for _float round functions... " >&6; }
20820 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20821 $as_echo_n "(cached) " >&6
20822 else
20823
20824
20825 ac_ext=cpp
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20830
20831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20833 #include <math.h>
20834 int
20835 main ()
20836 {
20837 _ceilf (0); _floorf (0);
20838 ;
20839 return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843 glibcxx_cv_func__float_round_use=yes
20844 else
20845 glibcxx_cv_func__float_round_use=no
20846 fi
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853
20854 fi
20855
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20857 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20858 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20859 for ac_func in _ceilf _floorf
20860 do :
20861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20863 eval as_val=\$$as_ac_var
20864 if test "x$as_val" = x""yes; then :
20865 cat >>confdefs.h <<_ACEOF
20866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20867 _ACEOF
20868
20869 fi
20870 done
20871
20872 fi
20873 fi
20874
20875
20876
20877
20878
20879
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20881 $as_echo_n "checking for expf declaration... " >&6; }
20882 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20883 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20884 $as_echo_n "(cached) " >&6
20885 else
20886
20887
20888 ac_ext=cpp
20889 ac_cpp='$CXXCPP $CPPFLAGS'
20890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20893
20894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20896 #include <math.h>
20897 #ifdef HAVE_IEEEFP_H
20898 #include <ieeefp.h>
20899 #endif
20900
20901 int
20902 main ()
20903 {
20904 expf(0);
20905 ;
20906 return 0;
20907 }
20908 _ACEOF
20909 if ac_fn_cxx_try_compile "$LINENO"; then :
20910 glibcxx_cv_func_expf_use=yes
20911 else
20912 glibcxx_cv_func_expf_use=no
20913 fi
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20915 ac_ext=c
20916 ac_cpp='$CPP $CPPFLAGS'
20917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20920
20921
20922 fi
20923
20924 fi
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20926 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20927
20928 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20929 for ac_func in expf
20930 do :
20931 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20932 if test "x$ac_cv_func_expf" = x""yes; then :
20933 cat >>confdefs.h <<_ACEOF
20934 #define HAVE_EXPF 1
20935 _ACEOF
20936
20937 fi
20938 done
20939
20940 else
20941
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20943 $as_echo_n "checking for _expf declaration... " >&6; }
20944 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20945 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20946 $as_echo_n "(cached) " >&6
20947 else
20948
20949
20950 ac_ext=cpp
20951 ac_cpp='$CXXCPP $CPPFLAGS'
20952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20955
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20958 #include <math.h>
20959 #ifdef HAVE_IEEEFP_H
20960 #include <ieeefp.h>
20961 #endif
20962
20963 int
20964 main ()
20965 {
20966 _expf(0);
20967 ;
20968 return 0;
20969 }
20970 _ACEOF
20971 if ac_fn_cxx_try_compile "$LINENO"; then :
20972 glibcxx_cv_func__expf_use=yes
20973 else
20974 glibcxx_cv_func__expf_use=no
20975 fi
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 ac_ext=c
20978 ac_cpp='$CPP $CPPFLAGS'
20979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20982
20983
20984 fi
20985
20986 fi
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20988 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20989
20990 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20991 for ac_func in _expf
20992 do :
20993 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20994 if test "x$ac_cv_func__expf" = x""yes; then :
20995 cat >>confdefs.h <<_ACEOF
20996 #define HAVE__EXPF 1
20997 _ACEOF
20998
20999 fi
21000 done
21001
21002 fi
21003 fi
21004
21005
21006
21007
21008
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21010 $as_echo_n "checking for isnanf declaration... " >&6; }
21011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21013 $as_echo_n "(cached) " >&6
21014 else
21015
21016
21017 ac_ext=cpp
21018 ac_cpp='$CXXCPP $CPPFLAGS'
21019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21022
21023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h. */
21025 #include <math.h>
21026 #ifdef HAVE_IEEEFP_H
21027 #include <ieeefp.h>
21028 #endif
21029
21030 int
21031 main ()
21032 {
21033 isnanf(0);
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 if ac_fn_cxx_try_compile "$LINENO"; then :
21039 glibcxx_cv_func_isnanf_use=yes
21040 else
21041 glibcxx_cv_func_isnanf_use=no
21042 fi
21043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21044 ac_ext=c
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21049
21050
21051 fi
21052
21053 fi
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21055 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21056
21057 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21058 for ac_func in isnanf
21059 do :
21060 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21061 if test "x$ac_cv_func_isnanf" = x""yes; then :
21062 cat >>confdefs.h <<_ACEOF
21063 #define HAVE_ISNANF 1
21064 _ACEOF
21065
21066 fi
21067 done
21068
21069 else
21070
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21072 $as_echo_n "checking for _isnanf declaration... " >&6; }
21073 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21074 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21075 $as_echo_n "(cached) " >&6
21076 else
21077
21078
21079 ac_ext=cpp
21080 ac_cpp='$CXXCPP $CPPFLAGS'
21081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21084
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21087 #include <math.h>
21088 #ifdef HAVE_IEEEFP_H
21089 #include <ieeefp.h>
21090 #endif
21091
21092 int
21093 main ()
21094 {
21095 _isnanf(0);
21096 ;
21097 return 0;
21098 }
21099 _ACEOF
21100 if ac_fn_cxx_try_compile "$LINENO"; then :
21101 glibcxx_cv_func__isnanf_use=yes
21102 else
21103 glibcxx_cv_func__isnanf_use=no
21104 fi
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21106 ac_ext=c
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21111
21112
21113 fi
21114
21115 fi
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21117 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21118
21119 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21120 for ac_func in _isnanf
21121 do :
21122 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21123 if test "x$ac_cv_func__isnanf" = x""yes; then :
21124 cat >>confdefs.h <<_ACEOF
21125 #define HAVE__ISNANF 1
21126 _ACEOF
21127
21128 fi
21129 done
21130
21131 fi
21132 fi
21133
21134
21135
21136
21137
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21139 $as_echo_n "checking for isinff declaration... " >&6; }
21140 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21141 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21142 $as_echo_n "(cached) " >&6
21143 else
21144
21145
21146 ac_ext=cpp
21147 ac_cpp='$CXXCPP $CPPFLAGS'
21148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21151
21152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21153 /* end confdefs.h. */
21154 #include <math.h>
21155 #ifdef HAVE_IEEEFP_H
21156 #include <ieeefp.h>
21157 #endif
21158
21159 int
21160 main ()
21161 {
21162 isinff(0);
21163 ;
21164 return 0;
21165 }
21166 _ACEOF
21167 if ac_fn_cxx_try_compile "$LINENO"; then :
21168 glibcxx_cv_func_isinff_use=yes
21169 else
21170 glibcxx_cv_func_isinff_use=no
21171 fi
21172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21173 ac_ext=c
21174 ac_cpp='$CPP $CPPFLAGS'
21175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21178
21179
21180 fi
21181
21182 fi
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21184 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21185
21186 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21187 for ac_func in isinff
21188 do :
21189 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21190 if test "x$ac_cv_func_isinff" = x""yes; then :
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_ISINFF 1
21193 _ACEOF
21194
21195 fi
21196 done
21197
21198 else
21199
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21201 $as_echo_n "checking for _isinff declaration... " >&6; }
21202 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21203 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21204 $as_echo_n "(cached) " >&6
21205 else
21206
21207
21208 ac_ext=cpp
21209 ac_cpp='$CXXCPP $CPPFLAGS'
21210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21213
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 #include <math.h>
21217 #ifdef HAVE_IEEEFP_H
21218 #include <ieeefp.h>
21219 #endif
21220
21221 int
21222 main ()
21223 {
21224 _isinff(0);
21225 ;
21226 return 0;
21227 }
21228 _ACEOF
21229 if ac_fn_cxx_try_compile "$LINENO"; then :
21230 glibcxx_cv_func__isinff_use=yes
21231 else
21232 glibcxx_cv_func__isinff_use=no
21233 fi
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235 ac_ext=c
21236 ac_cpp='$CPP $CPPFLAGS'
21237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21240
21241
21242 fi
21243
21244 fi
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21246 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21247
21248 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21249 for ac_func in _isinff
21250 do :
21251 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21252 if test "x$ac_cv_func__isinff" = x""yes; then :
21253 cat >>confdefs.h <<_ACEOF
21254 #define HAVE__ISINFF 1
21255 _ACEOF
21256
21257 fi
21258 done
21259
21260 fi
21261 fi
21262
21263
21264
21265
21266
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21268 $as_echo_n "checking for atan2f declaration... " >&6; }
21269 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21270 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21271 $as_echo_n "(cached) " >&6
21272 else
21273
21274
21275 ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #include <math.h>
21284 int
21285 main ()
21286 {
21287 atan2f(0, 0);
21288 ;
21289 return 0;
21290 }
21291 _ACEOF
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293 glibcxx_cv_func_atan2f_use=yes
21294 else
21295 glibcxx_cv_func_atan2f_use=no
21296 fi
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298 ac_ext=c
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21303
21304
21305 fi
21306
21307 fi
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21309 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21310
21311 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21312 for ac_func in atan2f
21313 do :
21314 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21315 if test "x$ac_cv_func_atan2f" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE_ATAN2F 1
21318 _ACEOF
21319
21320 fi
21321 done
21322
21323 else
21324
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21326 $as_echo_n "checking for _atan2f declaration... " >&6; }
21327 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21328 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21329 $as_echo_n "(cached) " >&6
21330 else
21331
21332
21333 ac_ext=cpp
21334 ac_cpp='$CXXCPP $CPPFLAGS'
21335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21338
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21341 #include <math.h>
21342 int
21343 main ()
21344 {
21345 _atan2f(0, 0);
21346 ;
21347 return 0;
21348 }
21349 _ACEOF
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351 glibcxx_cv_func__atan2f_use=yes
21352 else
21353 glibcxx_cv_func__atan2f_use=no
21354 fi
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 ac_ext=c
21357 ac_cpp='$CPP $CPPFLAGS'
21358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21361
21362
21363 fi
21364
21365 fi
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21367 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21368
21369 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21370 for ac_func in _atan2f
21371 do :
21372 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21373 if test "x$ac_cv_func__atan2f" = x""yes; then :
21374 cat >>confdefs.h <<_ACEOF
21375 #define HAVE__ATAN2F 1
21376 _ACEOF
21377
21378 fi
21379 done
21380
21381 fi
21382 fi
21383
21384
21385
21386
21387
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21389 $as_echo_n "checking for fabsf declaration... " >&6; }
21390 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21391 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21392 $as_echo_n "(cached) " >&6
21393 else
21394
21395
21396 ac_ext=cpp
21397 ac_cpp='$CXXCPP $CPPFLAGS'
21398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21401
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 #include <math.h>
21405 #ifdef HAVE_IEEEFP_H
21406 #include <ieeefp.h>
21407 #endif
21408
21409 int
21410 main ()
21411 {
21412 fabsf(0);
21413 ;
21414 return 0;
21415 }
21416 _ACEOF
21417 if ac_fn_cxx_try_compile "$LINENO"; then :
21418 glibcxx_cv_func_fabsf_use=yes
21419 else
21420 glibcxx_cv_func_fabsf_use=no
21421 fi
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21423 ac_ext=c
21424 ac_cpp='$CPP $CPPFLAGS'
21425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21428
21429
21430 fi
21431
21432 fi
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21434 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21435
21436 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21437 for ac_func in fabsf
21438 do :
21439 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21440 if test "x$ac_cv_func_fabsf" = x""yes; then :
21441 cat >>confdefs.h <<_ACEOF
21442 #define HAVE_FABSF 1
21443 _ACEOF
21444
21445 fi
21446 done
21447
21448 else
21449
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21451 $as_echo_n "checking for _fabsf declaration... " >&6; }
21452 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21453 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21454 $as_echo_n "(cached) " >&6
21455 else
21456
21457
21458 ac_ext=cpp
21459 ac_cpp='$CXXCPP $CPPFLAGS'
21460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21463
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21466 #include <math.h>
21467 #ifdef HAVE_IEEEFP_H
21468 #include <ieeefp.h>
21469 #endif
21470
21471 int
21472 main ()
21473 {
21474 _fabsf(0);
21475 ;
21476 return 0;
21477 }
21478 _ACEOF
21479 if ac_fn_cxx_try_compile "$LINENO"; then :
21480 glibcxx_cv_func__fabsf_use=yes
21481 else
21482 glibcxx_cv_func__fabsf_use=no
21483 fi
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 ac_ext=c
21486 ac_cpp='$CPP $CPPFLAGS'
21487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21490
21491
21492 fi
21493
21494 fi
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21496 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21497
21498 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21499 for ac_func in _fabsf
21500 do :
21501 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21502 if test "x$ac_cv_func__fabsf" = x""yes; then :
21503 cat >>confdefs.h <<_ACEOF
21504 #define HAVE__FABSF 1
21505 _ACEOF
21506
21507 fi
21508 done
21509
21510 fi
21511 fi
21512
21513
21514
21515
21516
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21518 $as_echo_n "checking for fmodf declaration... " >&6; }
21519 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21520 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21521 $as_echo_n "(cached) " >&6
21522 else
21523
21524
21525 ac_ext=cpp
21526 ac_cpp='$CXXCPP $CPPFLAGS'
21527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21530
21531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 /* end confdefs.h. */
21533 #include <math.h>
21534 int
21535 main ()
21536 {
21537 fmodf(0, 0);
21538 ;
21539 return 0;
21540 }
21541 _ACEOF
21542 if ac_fn_cxx_try_compile "$LINENO"; then :
21543 glibcxx_cv_func_fmodf_use=yes
21544 else
21545 glibcxx_cv_func_fmodf_use=no
21546 fi
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548 ac_ext=c
21549 ac_cpp='$CPP $CPPFLAGS'
21550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21553
21554
21555 fi
21556
21557 fi
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21559 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21560
21561 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21562 for ac_func in fmodf
21563 do :
21564 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21565 if test "x$ac_cv_func_fmodf" = x""yes; then :
21566 cat >>confdefs.h <<_ACEOF
21567 #define HAVE_FMODF 1
21568 _ACEOF
21569
21570 fi
21571 done
21572
21573 else
21574
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21576 $as_echo_n "checking for _fmodf declaration... " >&6; }
21577 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21578 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21579 $as_echo_n "(cached) " >&6
21580 else
21581
21582
21583 ac_ext=cpp
21584 ac_cpp='$CXXCPP $CPPFLAGS'
21585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21588
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591 #include <math.h>
21592 int
21593 main ()
21594 {
21595 _fmodf(0, 0);
21596 ;
21597 return 0;
21598 }
21599 _ACEOF
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 glibcxx_cv_func__fmodf_use=yes
21602 else
21603 glibcxx_cv_func__fmodf_use=no
21604 fi
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21606 ac_ext=c
21607 ac_cpp='$CPP $CPPFLAGS'
21608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21611
21612
21613 fi
21614
21615 fi
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21617 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21618
21619 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21620 for ac_func in _fmodf
21621 do :
21622 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21623 if test "x$ac_cv_func__fmodf" = x""yes; then :
21624 cat >>confdefs.h <<_ACEOF
21625 #define HAVE__FMODF 1
21626 _ACEOF
21627
21628 fi
21629 done
21630
21631 fi
21632 fi
21633
21634
21635
21636
21637
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21639 $as_echo_n "checking for frexpf declaration... " >&6; }
21640 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21641 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21642 $as_echo_n "(cached) " >&6
21643 else
21644
21645
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21651
21652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21654 #include <math.h>
21655 int
21656 main ()
21657 {
21658 frexpf(0, 0);
21659 ;
21660 return 0;
21661 }
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 glibcxx_cv_func_frexpf_use=yes
21665 else
21666 glibcxx_cv_func_frexpf_use=no
21667 fi
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21674
21675
21676 fi
21677
21678 fi
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21680 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21681
21682 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21683 for ac_func in frexpf
21684 do :
21685 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21686 if test "x$ac_cv_func_frexpf" = x""yes; then :
21687 cat >>confdefs.h <<_ACEOF
21688 #define HAVE_FREXPF 1
21689 _ACEOF
21690
21691 fi
21692 done
21693
21694 else
21695
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21697 $as_echo_n "checking for _frexpf declaration... " >&6; }
21698 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21699 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21700 $as_echo_n "(cached) " >&6
21701 else
21702
21703
21704 ac_ext=cpp
21705 ac_cpp='$CXXCPP $CPPFLAGS'
21706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21709
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712 #include <math.h>
21713 int
21714 main ()
21715 {
21716 _frexpf(0, 0);
21717 ;
21718 return 0;
21719 }
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 glibcxx_cv_func__frexpf_use=yes
21723 else
21724 glibcxx_cv_func__frexpf_use=no
21725 fi
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733
21734 fi
21735
21736 fi
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21738 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21739
21740 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21741 for ac_func in _frexpf
21742 do :
21743 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21744 if test "x$ac_cv_func__frexpf" = x""yes; then :
21745 cat >>confdefs.h <<_ACEOF
21746 #define HAVE__FREXPF 1
21747 _ACEOF
21748
21749 fi
21750 done
21751
21752 fi
21753 fi
21754
21755
21756
21757
21758
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21760 $as_echo_n "checking for hypotf declaration... " >&6; }
21761 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21762 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21764 else
21765
21766
21767 ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21775 #include <math.h>
21776 int
21777 main ()
21778 {
21779 hypotf(0, 0);
21780 ;
21781 return 0;
21782 }
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_func_hypotf_use=yes
21786 else
21787 glibcxx_cv_func_hypotf_use=no
21788 fi
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21795
21796
21797 fi
21798
21799 fi
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21801 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21802
21803 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21804 for ac_func in hypotf
21805 do :
21806 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21807 if test "x$ac_cv_func_hypotf" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE_HYPOTF 1
21810 _ACEOF
21811
21812 fi
21813 done
21814
21815 else
21816
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21818 $as_echo_n "checking for _hypotf declaration... " >&6; }
21819 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21820 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21821 $as_echo_n "(cached) " >&6
21822 else
21823
21824
21825 ac_ext=cpp
21826 ac_cpp='$CXXCPP $CPPFLAGS'
21827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21830
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21833 #include <math.h>
21834 int
21835 main ()
21836 {
21837 _hypotf(0, 0);
21838 ;
21839 return 0;
21840 }
21841 _ACEOF
21842 if ac_fn_cxx_try_compile "$LINENO"; then :
21843 glibcxx_cv_func__hypotf_use=yes
21844 else
21845 glibcxx_cv_func__hypotf_use=no
21846 fi
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 ac_ext=c
21849 ac_cpp='$CPP $CPPFLAGS'
21850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853
21854
21855 fi
21856
21857 fi
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21859 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21860
21861 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21862 for ac_func in _hypotf
21863 do :
21864 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21865 if test "x$ac_cv_func__hypotf" = x""yes; then :
21866 cat >>confdefs.h <<_ACEOF
21867 #define HAVE__HYPOTF 1
21868 _ACEOF
21869
21870 fi
21871 done
21872
21873 fi
21874 fi
21875
21876
21877
21878
21879
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21881 $as_echo_n "checking for ldexpf declaration... " >&6; }
21882 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21883 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21884 $as_echo_n "(cached) " >&6
21885 else
21886
21887
21888 ac_ext=cpp
21889 ac_cpp='$CXXCPP $CPPFLAGS'
21890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21893
21894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h. */
21896 #include <math.h>
21897 int
21898 main ()
21899 {
21900 ldexpf(0, 0);
21901 ;
21902 return 0;
21903 }
21904 _ACEOF
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906 glibcxx_cv_func_ldexpf_use=yes
21907 else
21908 glibcxx_cv_func_ldexpf_use=no
21909 fi
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 ac_ext=c
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21916
21917
21918 fi
21919
21920 fi
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21922 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21923
21924 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21925 for ac_func in ldexpf
21926 do :
21927 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21928 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21929 cat >>confdefs.h <<_ACEOF
21930 #define HAVE_LDEXPF 1
21931 _ACEOF
21932
21933 fi
21934 done
21935
21936 else
21937
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21939 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21940 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21941 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21943 else
21944
21945
21946 ac_ext=cpp
21947 ac_cpp='$CXXCPP $CPPFLAGS'
21948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21951
21952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h. */
21954 #include <math.h>
21955 int
21956 main ()
21957 {
21958 _ldexpf(0, 0);
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func__ldexpf_use=yes
21965 else
21966 glibcxx_cv_func__ldexpf_use=no
21967 fi
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21974
21975
21976 fi
21977
21978 fi
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21980 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21981
21982 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21983 for ac_func in _ldexpf
21984 do :
21985 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21986 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21987 cat >>confdefs.h <<_ACEOF
21988 #define HAVE__LDEXPF 1
21989 _ACEOF
21990
21991 fi
21992 done
21993
21994 fi
21995 fi
21996
21997
21998
21999
22000
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22002 $as_echo_n "checking for logf declaration... " >&6; }
22003 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22004 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22005 $as_echo_n "(cached) " >&6
22006 else
22007
22008
22009 ac_ext=cpp
22010 ac_cpp='$CXXCPP $CPPFLAGS'
22011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22014
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22017 #include <math.h>
22018 #ifdef HAVE_IEEEFP_H
22019 #include <ieeefp.h>
22020 #endif
22021
22022 int
22023 main ()
22024 {
22025 logf(0);
22026 ;
22027 return 0;
22028 }
22029 _ACEOF
22030 if ac_fn_cxx_try_compile "$LINENO"; then :
22031 glibcxx_cv_func_logf_use=yes
22032 else
22033 glibcxx_cv_func_logf_use=no
22034 fi
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 ac_ext=c
22037 ac_cpp='$CPP $CPPFLAGS'
22038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22041
22042
22043 fi
22044
22045 fi
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22047 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22048
22049 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22050 for ac_func in logf
22051 do :
22052 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22053 if test "x$ac_cv_func_logf" = x""yes; then :
22054 cat >>confdefs.h <<_ACEOF
22055 #define HAVE_LOGF 1
22056 _ACEOF
22057
22058 fi
22059 done
22060
22061 else
22062
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22064 $as_echo_n "checking for _logf declaration... " >&6; }
22065 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22066 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22069
22070
22071 ac_ext=cpp
22072 ac_cpp='$CXXCPP $CPPFLAGS'
22073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22076
22077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078 /* end confdefs.h. */
22079 #include <math.h>
22080 #ifdef HAVE_IEEEFP_H
22081 #include <ieeefp.h>
22082 #endif
22083
22084 int
22085 main ()
22086 {
22087 _logf(0);
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 if ac_fn_cxx_try_compile "$LINENO"; then :
22093 glibcxx_cv_func__logf_use=yes
22094 else
22095 glibcxx_cv_func__logf_use=no
22096 fi
22097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22098 ac_ext=c
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22103
22104
22105 fi
22106
22107 fi
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22109 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22110
22111 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22112 for ac_func in _logf
22113 do :
22114 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22115 if test "x$ac_cv_func__logf" = x""yes; then :
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE__LOGF 1
22118 _ACEOF
22119
22120 fi
22121 done
22122
22123 fi
22124 fi
22125
22126
22127
22128
22129
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22131 $as_echo_n "checking for log10f declaration... " >&6; }
22132 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22133 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22134 $as_echo_n "(cached) " >&6
22135 else
22136
22137
22138 ac_ext=cpp
22139 ac_cpp='$CXXCPP $CPPFLAGS'
22140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22143
22144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22145 /* end confdefs.h. */
22146 #include <math.h>
22147 #ifdef HAVE_IEEEFP_H
22148 #include <ieeefp.h>
22149 #endif
22150
22151 int
22152 main ()
22153 {
22154 log10f(0);
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 if ac_fn_cxx_try_compile "$LINENO"; then :
22160 glibcxx_cv_func_log10f_use=yes
22161 else
22162 glibcxx_cv_func_log10f_use=no
22163 fi
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 ac_ext=c
22166 ac_cpp='$CPP $CPPFLAGS'
22167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22170
22171
22172 fi
22173
22174 fi
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22176 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22177
22178 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22179 for ac_func in log10f
22180 do :
22181 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22182 if test "x$ac_cv_func_log10f" = x""yes; then :
22183 cat >>confdefs.h <<_ACEOF
22184 #define HAVE_LOG10F 1
22185 _ACEOF
22186
22187 fi
22188 done
22189
22190 else
22191
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22193 $as_echo_n "checking for _log10f declaration... " >&6; }
22194 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22195 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22197 else
22198
22199
22200 ac_ext=cpp
22201 ac_cpp='$CXXCPP $CPPFLAGS'
22202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22205
22206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22207 /* end confdefs.h. */
22208 #include <math.h>
22209 #ifdef HAVE_IEEEFP_H
22210 #include <ieeefp.h>
22211 #endif
22212
22213 int
22214 main ()
22215 {
22216 _log10f(0);
22217 ;
22218 return 0;
22219 }
22220 _ACEOF
22221 if ac_fn_cxx_try_compile "$LINENO"; then :
22222 glibcxx_cv_func__log10f_use=yes
22223 else
22224 glibcxx_cv_func__log10f_use=no
22225 fi
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 ac_ext=c
22228 ac_cpp='$CPP $CPPFLAGS'
22229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22232
22233
22234 fi
22235
22236 fi
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22238 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22239
22240 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22241 for ac_func in _log10f
22242 do :
22243 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22244 if test "x$ac_cv_func__log10f" = x""yes; then :
22245 cat >>confdefs.h <<_ACEOF
22246 #define HAVE__LOG10F 1
22247 _ACEOF
22248
22249 fi
22250 done
22251
22252 fi
22253 fi
22254
22255
22256
22257
22258
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22260 $as_echo_n "checking for modff declaration... " >&6; }
22261 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22262 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22263 $as_echo_n "(cached) " >&6
22264 else
22265
22266
22267 ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22275 #include <math.h>
22276 int
22277 main ()
22278 {
22279 modff(0, 0);
22280 ;
22281 return 0;
22282 }
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285 glibcxx_cv_func_modff_use=yes
22286 else
22287 glibcxx_cv_func_modff_use=no
22288 fi
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297 fi
22298
22299 fi
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22301 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22302
22303 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22304 for ac_func in modff
22305 do :
22306 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22307 if test "x$ac_cv_func_modff" = x""yes; then :
22308 cat >>confdefs.h <<_ACEOF
22309 #define HAVE_MODFF 1
22310 _ACEOF
22311
22312 fi
22313 done
22314
22315 else
22316
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22318 $as_echo_n "checking for _modff declaration... " >&6; }
22319 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22320 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22321 $as_echo_n "(cached) " >&6
22322 else
22323
22324
22325 ac_ext=cpp
22326 ac_cpp='$CXXCPP $CPPFLAGS'
22327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330
22331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h. */
22333 #include <math.h>
22334 int
22335 main ()
22336 {
22337 _modff(0, 0);
22338 ;
22339 return 0;
22340 }
22341 _ACEOF
22342 if ac_fn_cxx_try_compile "$LINENO"; then :
22343 glibcxx_cv_func__modff_use=yes
22344 else
22345 glibcxx_cv_func__modff_use=no
22346 fi
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 ac_ext=c
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22353
22354
22355 fi
22356
22357 fi
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22359 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22360
22361 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22362 for ac_func in _modff
22363 do :
22364 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22365 if test "x$ac_cv_func__modff" = x""yes; then :
22366 cat >>confdefs.h <<_ACEOF
22367 #define HAVE__MODFF 1
22368 _ACEOF
22369
22370 fi
22371 done
22372
22373 fi
22374 fi
22375
22376
22377
22378
22379
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22381 $as_echo_n "checking for modf declaration... " >&6; }
22382 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22383 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22384 $as_echo_n "(cached) " >&6
22385 else
22386
22387
22388 ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22393
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396 #include <math.h>
22397 int
22398 main ()
22399 {
22400 modf(0, 0);
22401 ;
22402 return 0;
22403 }
22404 _ACEOF
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406 glibcxx_cv_func_modf_use=yes
22407 else
22408 glibcxx_cv_func_modf_use=no
22409 fi
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416
22417
22418 fi
22419
22420 fi
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22422 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22423
22424 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22425 for ac_func in modf
22426 do :
22427 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22428 if test "x$ac_cv_func_modf" = x""yes; then :
22429 cat >>confdefs.h <<_ACEOF
22430 #define HAVE_MODF 1
22431 _ACEOF
22432
22433 fi
22434 done
22435
22436 else
22437
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22439 $as_echo_n "checking for _modf declaration... " >&6; }
22440 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22441 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22442 $as_echo_n "(cached) " >&6
22443 else
22444
22445
22446 ac_ext=cpp
22447 ac_cpp='$CXXCPP $CPPFLAGS'
22448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22451
22452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22453 /* end confdefs.h. */
22454 #include <math.h>
22455 int
22456 main ()
22457 {
22458 _modf(0, 0);
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464 glibcxx_cv_func__modf_use=yes
22465 else
22466 glibcxx_cv_func__modf_use=no
22467 fi
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469 ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22474
22475
22476 fi
22477
22478 fi
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22480 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22481
22482 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22483 for ac_func in _modf
22484 do :
22485 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22486 if test "x$ac_cv_func__modf" = x""yes; then :
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE__MODF 1
22489 _ACEOF
22490
22491 fi
22492 done
22493
22494 fi
22495 fi
22496
22497
22498
22499
22500
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22502 $as_echo_n "checking for powf declaration... " >&6; }
22503 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22504 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22506 else
22507
22508
22509 ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 #include <math.h>
22518 int
22519 main ()
22520 {
22521 powf(0, 0);
22522 ;
22523 return 0;
22524 }
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func_powf_use=yes
22528 else
22529 glibcxx_cv_func_powf_use=no
22530 fi
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537
22538
22539 fi
22540
22541 fi
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22543 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22544
22545 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22546 for ac_func in powf
22547 do :
22548 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22549 if test "x$ac_cv_func_powf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE_POWF 1
22552 _ACEOF
22553
22554 fi
22555 done
22556
22557 else
22558
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22560 $as_echo_n "checking for _powf declaration... " >&6; }
22561 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22562 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22564 else
22565
22566
22567 ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575 #include <math.h>
22576 int
22577 main ()
22578 {
22579 _powf(0, 0);
22580 ;
22581 return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__powf_use=yes
22586 else
22587 glibcxx_cv_func__powf_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599 fi
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22601 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22602
22603 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22604 for ac_func in _powf
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22607 if test "x$ac_cv_func__powf" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__POWF 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615 fi
22616 fi
22617
22618
22619
22620
22621
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22623 $as_echo_n "checking for sqrtf declaration... " >&6; }
22624 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22625 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22628
22629
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22639 #ifdef HAVE_IEEEFP_H
22640 #include <ieeefp.h>
22641 #endif
22642
22643 int
22644 main ()
22645 {
22646 sqrtf(0);
22647 ;
22648 return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_cxx_try_compile "$LINENO"; then :
22652 glibcxx_cv_func_sqrtf_use=yes
22653 else
22654 glibcxx_cv_func_sqrtf_use=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 ac_ext=c
22658 ac_cpp='$CPP $CPPFLAGS'
22659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22662
22663
22664 fi
22665
22666 fi
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22668 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22669
22670 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22671 for ac_func in sqrtf
22672 do :
22673 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22674 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22675 cat >>confdefs.h <<_ACEOF
22676 #define HAVE_SQRTF 1
22677 _ACEOF
22678
22679 fi
22680 done
22681
22682 else
22683
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22685 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22686 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22687 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22690
22691
22692 ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22697
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700 #include <math.h>
22701 #ifdef HAVE_IEEEFP_H
22702 #include <ieeefp.h>
22703 #endif
22704
22705 int
22706 main ()
22707 {
22708 _sqrtf(0);
22709 ;
22710 return 0;
22711 }
22712 _ACEOF
22713 if ac_fn_cxx_try_compile "$LINENO"; then :
22714 glibcxx_cv_func__sqrtf_use=yes
22715 else
22716 glibcxx_cv_func__sqrtf_use=no
22717 fi
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 ac_ext=c
22720 ac_cpp='$CPP $CPPFLAGS'
22721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22724
22725
22726 fi
22727
22728 fi
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22730 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22731
22732 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22733 for ac_func in _sqrtf
22734 do :
22735 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22736 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22737 cat >>confdefs.h <<_ACEOF
22738 #define HAVE__SQRTF 1
22739 _ACEOF
22740
22741 fi
22742 done
22743
22744 fi
22745 fi
22746
22747
22748
22749
22750
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22752 $as_echo_n "checking for sincosf declaration... " >&6; }
22753 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22754 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22755 $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759 ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22767 #include <math.h>
22768 int
22769 main ()
22770 {
22771 sincosf(0, 0, 0);
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func_sincosf_use=yes
22778 else
22779 glibcxx_cv_func_sincosf_use=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787
22788
22789 fi
22790
22791 fi
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22793 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22794
22795 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22796 for ac_func in sincosf
22797 do :
22798 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22799 if test "x$ac_cv_func_sincosf" = x""yes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE_SINCOSF 1
22802 _ACEOF
22803
22804 fi
22805 done
22806
22807 else
22808
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22810 $as_echo_n "checking for _sincosf declaration... " >&6; }
22811 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22812 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22813 $as_echo_n "(cached) " >&6
22814 else
22815
22816
22817 ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22822
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825 #include <math.h>
22826 int
22827 main ()
22828 {
22829 _sincosf(0, 0, 0);
22830 ;
22831 return 0;
22832 }
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func__sincosf_use=yes
22836 else
22837 glibcxx_cv_func__sincosf_use=no
22838 fi
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22845
22846
22847 fi
22848
22849 fi
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22851 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22852
22853 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22854 for ac_func in _sincosf
22855 do :
22856 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22857 if test "x$ac_cv_func__sincosf" = x""yes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE__SINCOSF 1
22860 _ACEOF
22861
22862 fi
22863 done
22864
22865 fi
22866 fi
22867
22868
22869
22870
22871
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22873 $as_echo_n "checking for finitef declaration... " >&6; }
22874 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22875 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22878
22879
22880 ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22885
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22888 #include <math.h>
22889 #ifdef HAVE_IEEEFP_H
22890 #include <ieeefp.h>
22891 #endif
22892
22893 int
22894 main ()
22895 {
22896 finitef(0);
22897 ;
22898 return 0;
22899 }
22900 _ACEOF
22901 if ac_fn_cxx_try_compile "$LINENO"; then :
22902 glibcxx_cv_func_finitef_use=yes
22903 else
22904 glibcxx_cv_func_finitef_use=no
22905 fi
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 ac_ext=c
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22912
22913
22914 fi
22915
22916 fi
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22918 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22919
22920 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22921 for ac_func in finitef
22922 do :
22923 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22924 if test "x$ac_cv_func_finitef" = x""yes; then :
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_FINITEF 1
22927 _ACEOF
22928
22929 fi
22930 done
22931
22932 else
22933
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22935 $as_echo_n "checking for _finitef declaration... " >&6; }
22936 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22937 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22938 $as_echo_n "(cached) " >&6
22939 else
22940
22941
22942 ac_ext=cpp
22943 ac_cpp='$CXXCPP $CPPFLAGS'
22944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22947
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22950 #include <math.h>
22951 #ifdef HAVE_IEEEFP_H
22952 #include <ieeefp.h>
22953 #endif
22954
22955 int
22956 main ()
22957 {
22958 _finitef(0);
22959 ;
22960 return 0;
22961 }
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__finitef_use=yes
22965 else
22966 glibcxx_cv_func__finitef_use=no
22967 fi
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22974
22975
22976 fi
22977
22978 fi
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22980 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22981
22982 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22983 for ac_func in _finitef
22984 do :
22985 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22986 if test "x$ac_cv_func__finitef" = x""yes; then :
22987 cat >>confdefs.h <<_ACEOF
22988 #define HAVE__FINITEF 1
22989 _ACEOF
22990
22991 fi
22992 done
22993
22994 fi
22995 fi
22996
22997
22998
22999
23000
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23002 $as_echo_n "checking for long double trig functions... " >&6; }
23003 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23004 $as_echo_n "(cached) " >&6
23005 else
23006
23007
23008 ac_ext=cpp
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23013
23014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23015 /* end confdefs.h. */
23016 #include <math.h>
23017 int
23018 main ()
23019 {
23020 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23021 ;
23022 return 0;
23023 }
23024 _ACEOF
23025 if ac_fn_cxx_try_compile "$LINENO"; then :
23026 glibcxx_cv_func_long_double_trig_use=yes
23027 else
23028 glibcxx_cv_func_long_double_trig_use=no
23029 fi
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23031 ac_ext=c
23032 ac_cpp='$CPP $CPPFLAGS'
23033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23036
23037 fi
23038
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23040 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23041 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23042 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23043 do :
23044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23046 eval as_val=\$$as_ac_var
23047 if test "x$as_val" = x""yes; then :
23048 cat >>confdefs.h <<_ACEOF
23049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23050 _ACEOF
23051
23052 fi
23053 done
23054
23055 else
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23057 $as_echo_n "checking for _long double trig functions... " >&6; }
23058 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061
23062
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23068
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23072 int
23073 main ()
23074 {
23075 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 if ac_fn_cxx_try_compile "$LINENO"; then :
23081 glibcxx_cv_func__long_double_trig_use=yes
23082 else
23083 glibcxx_cv_func__long_double_trig_use=no
23084 fi
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 ac_ext=c
23087 ac_cpp='$CPP $CPPFLAGS'
23088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23091
23092 fi
23093
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23095 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23096 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23097 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23098 do :
23099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23101 eval as_val=\$$as_ac_var
23102 if test "x$as_val" = x""yes; then :
23103 cat >>confdefs.h <<_ACEOF
23104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23105 _ACEOF
23106
23107 fi
23108 done
23109
23110 fi
23111 fi
23112
23113
23114
23115
23116
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23118 $as_echo_n "checking for long double round functions... " >&6; }
23119 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23120 $as_echo_n "(cached) " >&6
23121 else
23122
23123
23124 ac_ext=cpp
23125 ac_cpp='$CXXCPP $CPPFLAGS'
23126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23129
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23132 #include <math.h>
23133 int
23134 main ()
23135 {
23136 ceill (0); floorl (0);
23137 ;
23138 return 0;
23139 }
23140 _ACEOF
23141 if ac_fn_cxx_try_compile "$LINENO"; then :
23142 glibcxx_cv_func_long_double_round_use=yes
23143 else
23144 glibcxx_cv_func_long_double_round_use=no
23145 fi
23146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23147 ac_ext=c
23148 ac_cpp='$CPP $CPPFLAGS'
23149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23152
23153 fi
23154
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23156 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23157 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23158 for ac_func in ceill floorl
23159 do :
23160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23162 eval as_val=\$$as_ac_var
23163 if test "x$as_val" = x""yes; then :
23164 cat >>confdefs.h <<_ACEOF
23165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23166 _ACEOF
23167
23168 fi
23169 done
23170
23171 else
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23173 $as_echo_n "checking for _long double round functions... " >&6; }
23174 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23175 $as_echo_n "(cached) " >&6
23176 else
23177
23178
23179 ac_ext=cpp
23180 ac_cpp='$CXXCPP $CPPFLAGS'
23181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23184
23185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186 /* end confdefs.h. */
23187 #include <math.h>
23188 int
23189 main ()
23190 {
23191 _ceill (0); _floorl (0);
23192 ;
23193 return 0;
23194 }
23195 _ACEOF
23196 if ac_fn_cxx_try_compile "$LINENO"; then :
23197 glibcxx_cv_func__long_double_round_use=yes
23198 else
23199 glibcxx_cv_func__long_double_round_use=no
23200 fi
23201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 ac_ext=c
23203 ac_cpp='$CPP $CPPFLAGS'
23204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23207
23208 fi
23209
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23211 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23212 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23213 for ac_func in _ceill _floorl
23214 do :
23215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23217 eval as_val=\$$as_ac_var
23218 if test "x$as_val" = x""yes; then :
23219 cat >>confdefs.h <<_ACEOF
23220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221 _ACEOF
23222
23223 fi
23224 done
23225
23226 fi
23227 fi
23228
23229
23230
23231
23232
23233
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23235 $as_echo_n "checking for isnanl declaration... " >&6; }
23236 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23237 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23238 $as_echo_n "(cached) " >&6
23239 else
23240
23241
23242 ac_ext=cpp
23243 ac_cpp='$CXXCPP $CPPFLAGS'
23244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23247
23248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h. */
23250 #include <math.h>
23251 #ifdef HAVE_IEEEFP_H
23252 #include <ieeefp.h>
23253 #endif
23254
23255 int
23256 main ()
23257 {
23258 isnanl(0);
23259 ;
23260 return 0;
23261 }
23262 _ACEOF
23263 if ac_fn_cxx_try_compile "$LINENO"; then :
23264 glibcxx_cv_func_isnanl_use=yes
23265 else
23266 glibcxx_cv_func_isnanl_use=no
23267 fi
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269 ac_ext=c
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274
23275
23276 fi
23277
23278 fi
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23281
23282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23283 for ac_func in isnanl
23284 do :
23285 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23286 if test "x$ac_cv_func_isnanl" = x""yes; then :
23287 cat >>confdefs.h <<_ACEOF
23288 #define HAVE_ISNANL 1
23289 _ACEOF
23290
23291 fi
23292 done
23293
23294 else
23295
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23297 $as_echo_n "checking for _isnanl declaration... " >&6; }
23298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23299 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23300 $as_echo_n "(cached) " >&6
23301 else
23302
23303
23304 ac_ext=cpp
23305 ac_cpp='$CXXCPP $CPPFLAGS'
23306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23309
23310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h. */
23312 #include <math.h>
23313 #ifdef HAVE_IEEEFP_H
23314 #include <ieeefp.h>
23315 #endif
23316
23317 int
23318 main ()
23319 {
23320 _isnanl(0);
23321 ;
23322 return 0;
23323 }
23324 _ACEOF
23325 if ac_fn_cxx_try_compile "$LINENO"; then :
23326 glibcxx_cv_func__isnanl_use=yes
23327 else
23328 glibcxx_cv_func__isnanl_use=no
23329 fi
23330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23331 ac_ext=c
23332 ac_cpp='$CPP $CPPFLAGS'
23333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336
23337
23338 fi
23339
23340 fi
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23342 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23343
23344 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23345 for ac_func in _isnanl
23346 do :
23347 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23348 if test "x$ac_cv_func__isnanl" = x""yes; then :
23349 cat >>confdefs.h <<_ACEOF
23350 #define HAVE__ISNANL 1
23351 _ACEOF
23352
23353 fi
23354 done
23355
23356 fi
23357 fi
23358
23359
23360
23361
23362
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23364 $as_echo_n "checking for isinfl declaration... " >&6; }
23365 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23366 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23367 $as_echo_n "(cached) " >&6
23368 else
23369
23370
23371 ac_ext=cpp
23372 ac_cpp='$CXXCPP $CPPFLAGS'
23373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23376
23377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23379 #include <math.h>
23380 #ifdef HAVE_IEEEFP_H
23381 #include <ieeefp.h>
23382 #endif
23383
23384 int
23385 main ()
23386 {
23387 isinfl(0);
23388 ;
23389 return 0;
23390 }
23391 _ACEOF
23392 if ac_fn_cxx_try_compile "$LINENO"; then :
23393 glibcxx_cv_func_isinfl_use=yes
23394 else
23395 glibcxx_cv_func_isinfl_use=no
23396 fi
23397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23398 ac_ext=c
23399 ac_cpp='$CPP $CPPFLAGS'
23400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23403
23404
23405 fi
23406
23407 fi
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23409 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23410
23411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23412 for ac_func in isinfl
23413 do :
23414 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23415 if test "x$ac_cv_func_isinfl" = x""yes; then :
23416 cat >>confdefs.h <<_ACEOF
23417 #define HAVE_ISINFL 1
23418 _ACEOF
23419
23420 fi
23421 done
23422
23423 else
23424
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23426 $as_echo_n "checking for _isinfl declaration... " >&6; }
23427 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23428 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23429 $as_echo_n "(cached) " >&6
23430 else
23431
23432
23433 ac_ext=cpp
23434 ac_cpp='$CXXCPP $CPPFLAGS'
23435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23438
23439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23441 #include <math.h>
23442 #ifdef HAVE_IEEEFP_H
23443 #include <ieeefp.h>
23444 #endif
23445
23446 int
23447 main ()
23448 {
23449 _isinfl(0);
23450 ;
23451 return 0;
23452 }
23453 _ACEOF
23454 if ac_fn_cxx_try_compile "$LINENO"; then :
23455 glibcxx_cv_func__isinfl_use=yes
23456 else
23457 glibcxx_cv_func__isinfl_use=no
23458 fi
23459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23460 ac_ext=c
23461 ac_cpp='$CPP $CPPFLAGS'
23462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23465
23466
23467 fi
23468
23469 fi
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23471 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23472
23473 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23474 for ac_func in _isinfl
23475 do :
23476 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23477 if test "x$ac_cv_func__isinfl" = x""yes; then :
23478 cat >>confdefs.h <<_ACEOF
23479 #define HAVE__ISINFL 1
23480 _ACEOF
23481
23482 fi
23483 done
23484
23485 fi
23486 fi
23487
23488
23489
23490
23491
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23493 $as_echo_n "checking for atan2l declaration... " >&6; }
23494 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23495 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23496 $as_echo_n "(cached) " >&6
23497 else
23498
23499
23500 ac_ext=cpp
23501 ac_cpp='$CXXCPP $CPPFLAGS'
23502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23505
23506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h. */
23508 #include <math.h>
23509 int
23510 main ()
23511 {
23512 atan2l(0, 0);
23513 ;
23514 return 0;
23515 }
23516 _ACEOF
23517 if ac_fn_cxx_try_compile "$LINENO"; then :
23518 glibcxx_cv_func_atan2l_use=yes
23519 else
23520 glibcxx_cv_func_atan2l_use=no
23521 fi
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 ac_ext=c
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23528
23529
23530 fi
23531
23532 fi
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23534 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23535
23536 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23537 for ac_func in atan2l
23538 do :
23539 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23540 if test "x$ac_cv_func_atan2l" = x""yes; then :
23541 cat >>confdefs.h <<_ACEOF
23542 #define HAVE_ATAN2L 1
23543 _ACEOF
23544
23545 fi
23546 done
23547
23548 else
23549
23550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23551 $as_echo_n "checking for _atan2l declaration... " >&6; }
23552 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23553 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23554 $as_echo_n "(cached) " >&6
23555 else
23556
23557
23558 ac_ext=cpp
23559 ac_cpp='$CXXCPP $CPPFLAGS'
23560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23563
23564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23565 /* end confdefs.h. */
23566 #include <math.h>
23567 int
23568 main ()
23569 {
23570 _atan2l(0, 0);
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 if ac_fn_cxx_try_compile "$LINENO"; then :
23576 glibcxx_cv_func__atan2l_use=yes
23577 else
23578 glibcxx_cv_func__atan2l_use=no
23579 fi
23580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23581 ac_ext=c
23582 ac_cpp='$CPP $CPPFLAGS'
23583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586
23587
23588 fi
23589
23590 fi
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23592 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23593
23594 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23595 for ac_func in _atan2l
23596 do :
23597 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23598 if test "x$ac_cv_func__atan2l" = x""yes; then :
23599 cat >>confdefs.h <<_ACEOF
23600 #define HAVE__ATAN2L 1
23601 _ACEOF
23602
23603 fi
23604 done
23605
23606 fi
23607 fi
23608
23609
23610
23611
23612
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23614 $as_echo_n "checking for expl declaration... " >&6; }
23615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23616 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23617 $as_echo_n "(cached) " >&6
23618 else
23619
23620
23621 ac_ext=cpp
23622 ac_cpp='$CXXCPP $CPPFLAGS'
23623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23626
23627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h. */
23629 #include <math.h>
23630 #ifdef HAVE_IEEEFP_H
23631 #include <ieeefp.h>
23632 #endif
23633
23634 int
23635 main ()
23636 {
23637 expl(0);
23638 ;
23639 return 0;
23640 }
23641 _ACEOF
23642 if ac_fn_cxx_try_compile "$LINENO"; then :
23643 glibcxx_cv_func_expl_use=yes
23644 else
23645 glibcxx_cv_func_expl_use=no
23646 fi
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23648 ac_ext=c
23649 ac_cpp='$CPP $CPPFLAGS'
23650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23653
23654
23655 fi
23656
23657 fi
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23659 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23660
23661 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23662 for ac_func in expl
23663 do :
23664 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23665 if test "x$ac_cv_func_expl" = x""yes; then :
23666 cat >>confdefs.h <<_ACEOF
23667 #define HAVE_EXPL 1
23668 _ACEOF
23669
23670 fi
23671 done
23672
23673 else
23674
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23676 $as_echo_n "checking for _expl declaration... " >&6; }
23677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23678 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23679 $as_echo_n "(cached) " >&6
23680 else
23681
23682
23683 ac_ext=cpp
23684 ac_cpp='$CXXCPP $CPPFLAGS'
23685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23688
23689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23690 /* end confdefs.h. */
23691 #include <math.h>
23692 #ifdef HAVE_IEEEFP_H
23693 #include <ieeefp.h>
23694 #endif
23695
23696 int
23697 main ()
23698 {
23699 _expl(0);
23700 ;
23701 return 0;
23702 }
23703 _ACEOF
23704 if ac_fn_cxx_try_compile "$LINENO"; then :
23705 glibcxx_cv_func__expl_use=yes
23706 else
23707 glibcxx_cv_func__expl_use=no
23708 fi
23709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23710 ac_ext=c
23711 ac_cpp='$CPP $CPPFLAGS'
23712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23715
23716
23717 fi
23718
23719 fi
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23721 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23722
23723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23724 for ac_func in _expl
23725 do :
23726 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23727 if test "x$ac_cv_func__expl" = x""yes; then :
23728 cat >>confdefs.h <<_ACEOF
23729 #define HAVE__EXPL 1
23730 _ACEOF
23731
23732 fi
23733 done
23734
23735 fi
23736 fi
23737
23738
23739
23740
23741
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23743 $as_echo_n "checking for fabsl declaration... " >&6; }
23744 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23745 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23746 $as_echo_n "(cached) " >&6
23747 else
23748
23749
23750 ac_ext=cpp
23751 ac_cpp='$CXXCPP $CPPFLAGS'
23752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23755
23756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23757 /* end confdefs.h. */
23758 #include <math.h>
23759 #ifdef HAVE_IEEEFP_H
23760 #include <ieeefp.h>
23761 #endif
23762
23763 int
23764 main ()
23765 {
23766 fabsl(0);
23767 ;
23768 return 0;
23769 }
23770 _ACEOF
23771 if ac_fn_cxx_try_compile "$LINENO"; then :
23772 glibcxx_cv_func_fabsl_use=yes
23773 else
23774 glibcxx_cv_func_fabsl_use=no
23775 fi
23776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23777 ac_ext=c
23778 ac_cpp='$CPP $CPPFLAGS'
23779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23782
23783
23784 fi
23785
23786 fi
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23788 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23789
23790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23791 for ac_func in fabsl
23792 do :
23793 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23794 if test "x$ac_cv_func_fabsl" = x""yes; then :
23795 cat >>confdefs.h <<_ACEOF
23796 #define HAVE_FABSL 1
23797 _ACEOF
23798
23799 fi
23800 done
23801
23802 else
23803
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23805 $as_echo_n "checking for _fabsl declaration... " >&6; }
23806 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23807 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23808 $as_echo_n "(cached) " >&6
23809 else
23810
23811
23812 ac_ext=cpp
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23817
23818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23819 /* end confdefs.h. */
23820 #include <math.h>
23821 #ifdef HAVE_IEEEFP_H
23822 #include <ieeefp.h>
23823 #endif
23824
23825 int
23826 main ()
23827 {
23828 _fabsl(0);
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 if ac_fn_cxx_try_compile "$LINENO"; then :
23834 glibcxx_cv_func__fabsl_use=yes
23835 else
23836 glibcxx_cv_func__fabsl_use=no
23837 fi
23838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23839 ac_ext=c
23840 ac_cpp='$CPP $CPPFLAGS'
23841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23844
23845
23846 fi
23847
23848 fi
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23850 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23851
23852 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23853 for ac_func in _fabsl
23854 do :
23855 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23856 if test "x$ac_cv_func__fabsl" = x""yes; then :
23857 cat >>confdefs.h <<_ACEOF
23858 #define HAVE__FABSL 1
23859 _ACEOF
23860
23861 fi
23862 done
23863
23864 fi
23865 fi
23866
23867
23868
23869
23870
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23872 $as_echo_n "checking for fmodl declaration... " >&6; }
23873 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23874 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23875 $as_echo_n "(cached) " >&6
23876 else
23877
23878
23879 ac_ext=cpp
23880 ac_cpp='$CXXCPP $CPPFLAGS'
23881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23884
23885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h. */
23887 #include <math.h>
23888 int
23889 main ()
23890 {
23891 fmodl(0, 0);
23892 ;
23893 return 0;
23894 }
23895 _ACEOF
23896 if ac_fn_cxx_try_compile "$LINENO"; then :
23897 glibcxx_cv_func_fmodl_use=yes
23898 else
23899 glibcxx_cv_func_fmodl_use=no
23900 fi
23901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23902 ac_ext=c
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907
23908
23909 fi
23910
23911 fi
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23913 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23914
23915 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23916 for ac_func in fmodl
23917 do :
23918 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23919 if test "x$ac_cv_func_fmodl" = x""yes; then :
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE_FMODL 1
23922 _ACEOF
23923
23924 fi
23925 done
23926
23927 else
23928
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23930 $as_echo_n "checking for _fmodl declaration... " >&6; }
23931 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23932 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23934 else
23935
23936
23937 ac_ext=cpp
23938 ac_cpp='$CXXCPP $CPPFLAGS'
23939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942
23943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23944 /* end confdefs.h. */
23945 #include <math.h>
23946 int
23947 main ()
23948 {
23949 _fmodl(0, 0);
23950 ;
23951 return 0;
23952 }
23953 _ACEOF
23954 if ac_fn_cxx_try_compile "$LINENO"; then :
23955 glibcxx_cv_func__fmodl_use=yes
23956 else
23957 glibcxx_cv_func__fmodl_use=no
23958 fi
23959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23960 ac_ext=c
23961 ac_cpp='$CPP $CPPFLAGS'
23962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23965
23966
23967 fi
23968
23969 fi
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23971 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23972
23973 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23974 for ac_func in _fmodl
23975 do :
23976 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23977 if test "x$ac_cv_func__fmodl" = x""yes; then :
23978 cat >>confdefs.h <<_ACEOF
23979 #define HAVE__FMODL 1
23980 _ACEOF
23981
23982 fi
23983 done
23984
23985 fi
23986 fi
23987
23988
23989
23990
23991
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23993 $as_echo_n "checking for frexpl declaration... " >&6; }
23994 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23995 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23996 $as_echo_n "(cached) " >&6
23997 else
23998
23999
24000 ac_ext=cpp
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24005
24006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24008 #include <math.h>
24009 int
24010 main ()
24011 {
24012 frexpl(0, 0);
24013 ;
24014 return 0;
24015 }
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func_frexpl_use=yes
24019 else
24020 glibcxx_cv_func_frexpl_use=no
24021 fi
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24028
24029
24030 fi
24031
24032 fi
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24034 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24035
24036 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24037 for ac_func in frexpl
24038 do :
24039 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24040 if test "x$ac_cv_func_frexpl" = x""yes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE_FREXPL 1
24043 _ACEOF
24044
24045 fi
24046 done
24047
24048 else
24049
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24051 $as_echo_n "checking for _frexpl declaration... " >&6; }
24052 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24053 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24054 $as_echo_n "(cached) " >&6
24055 else
24056
24057
24058 ac_ext=cpp
24059 ac_cpp='$CXXCPP $CPPFLAGS'
24060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24063
24064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24065 /* end confdefs.h. */
24066 #include <math.h>
24067 int
24068 main ()
24069 {
24070 _frexpl(0, 0);
24071 ;
24072 return 0;
24073 }
24074 _ACEOF
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076 glibcxx_cv_func__frexpl_use=yes
24077 else
24078 glibcxx_cv_func__frexpl_use=no
24079 fi
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087
24088 fi
24089
24090 fi
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24092 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24093
24094 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24095 for ac_func in _frexpl
24096 do :
24097 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24098 if test "x$ac_cv_func__frexpl" = x""yes; then :
24099 cat >>confdefs.h <<_ACEOF
24100 #define HAVE__FREXPL 1
24101 _ACEOF
24102
24103 fi
24104 done
24105
24106 fi
24107 fi
24108
24109
24110
24111
24112
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24114 $as_echo_n "checking for hypotl declaration... " >&6; }
24115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24116 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24117 $as_echo_n "(cached) " >&6
24118 else
24119
24120
24121 ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24129 #include <math.h>
24130 int
24131 main ()
24132 {
24133 hypotl(0, 0);
24134 ;
24135 return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139 glibcxx_cv_func_hypotl_use=yes
24140 else
24141 glibcxx_cv_func_hypotl_use=no
24142 fi
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24149
24150
24151 fi
24152
24153 fi
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24155 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24156
24157 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24158 for ac_func in hypotl
24159 do :
24160 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24161 if test "x$ac_cv_func_hypotl" = x""yes; then :
24162 cat >>confdefs.h <<_ACEOF
24163 #define HAVE_HYPOTL 1
24164 _ACEOF
24165
24166 fi
24167 done
24168
24169 else
24170
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24172 $as_echo_n "checking for _hypotl declaration... " >&6; }
24173 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24174 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24175 $as_echo_n "(cached) " >&6
24176 else
24177
24178
24179 ac_ext=cpp
24180 ac_cpp='$CXXCPP $CPPFLAGS'
24181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24184
24185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24187 #include <math.h>
24188 int
24189 main ()
24190 {
24191 _hypotl(0, 0);
24192 ;
24193 return 0;
24194 }
24195 _ACEOF
24196 if ac_fn_cxx_try_compile "$LINENO"; then :
24197 glibcxx_cv_func__hypotl_use=yes
24198 else
24199 glibcxx_cv_func__hypotl_use=no
24200 fi
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202 ac_ext=c
24203 ac_cpp='$CPP $CPPFLAGS'
24204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24207
24208
24209 fi
24210
24211 fi
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24213 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24214
24215 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24216 for ac_func in _hypotl
24217 do :
24218 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24219 if test "x$ac_cv_func__hypotl" = x""yes; then :
24220 cat >>confdefs.h <<_ACEOF
24221 #define HAVE__HYPOTL 1
24222 _ACEOF
24223
24224 fi
24225 done
24226
24227 fi
24228 fi
24229
24230
24231
24232
24233
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24235 $as_echo_n "checking for ldexpl declaration... " >&6; }
24236 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24237 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24238 $as_echo_n "(cached) " >&6
24239 else
24240
24241
24242 ac_ext=cpp
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24247
24248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24250 #include <math.h>
24251 int
24252 main ()
24253 {
24254 ldexpl(0, 0);
24255 ;
24256 return 0;
24257 }
24258 _ACEOF
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260 glibcxx_cv_func_ldexpl_use=yes
24261 else
24262 glibcxx_cv_func_ldexpl_use=no
24263 fi
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265 ac_ext=c
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24270
24271
24272 fi
24273
24274 fi
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24276 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24277
24278 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24279 for ac_func in ldexpl
24280 do :
24281 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24282 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24283 cat >>confdefs.h <<_ACEOF
24284 #define HAVE_LDEXPL 1
24285 _ACEOF
24286
24287 fi
24288 done
24289
24290 else
24291
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24293 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24294 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24295 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24296 $as_echo_n "(cached) " >&6
24297 else
24298
24299
24300 ac_ext=cpp
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24305
24306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24308 #include <math.h>
24309 int
24310 main ()
24311 {
24312 _ldexpl(0, 0);
24313 ;
24314 return 0;
24315 }
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func__ldexpl_use=yes
24319 else
24320 glibcxx_cv_func__ldexpl_use=no
24321 fi
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328
24329
24330 fi
24331
24332 fi
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24334 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24335
24336 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24337 for ac_func in _ldexpl
24338 do :
24339 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24340 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24341 cat >>confdefs.h <<_ACEOF
24342 #define HAVE__LDEXPL 1
24343 _ACEOF
24344
24345 fi
24346 done
24347
24348 fi
24349 fi
24350
24351
24352
24353
24354
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24356 $as_echo_n "checking for logl declaration... " >&6; }
24357 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24358 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24359 $as_echo_n "(cached) " >&6
24360 else
24361
24362
24363 ac_ext=cpp
24364 ac_cpp='$CXXCPP $CPPFLAGS'
24365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24368
24369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24371 #include <math.h>
24372 #ifdef HAVE_IEEEFP_H
24373 #include <ieeefp.h>
24374 #endif
24375
24376 int
24377 main ()
24378 {
24379 logl(0);
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 if ac_fn_cxx_try_compile "$LINENO"; then :
24385 glibcxx_cv_func_logl_use=yes
24386 else
24387 glibcxx_cv_func_logl_use=no
24388 fi
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24390 ac_ext=c
24391 ac_cpp='$CPP $CPPFLAGS'
24392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24395
24396
24397 fi
24398
24399 fi
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24401 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24402
24403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24404 for ac_func in logl
24405 do :
24406 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24407 if test "x$ac_cv_func_logl" = x""yes; then :
24408 cat >>confdefs.h <<_ACEOF
24409 #define HAVE_LOGL 1
24410 _ACEOF
24411
24412 fi
24413 done
24414
24415 else
24416
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24418 $as_echo_n "checking for _logl declaration... " >&6; }
24419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24420 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24423
24424
24425 ac_ext=cpp
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24430
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24433 #include <math.h>
24434 #ifdef HAVE_IEEEFP_H
24435 #include <ieeefp.h>
24436 #endif
24437
24438 int
24439 main ()
24440 {
24441 _logl(0);
24442 ;
24443 return 0;
24444 }
24445 _ACEOF
24446 if ac_fn_cxx_try_compile "$LINENO"; then :
24447 glibcxx_cv_func__logl_use=yes
24448 else
24449 glibcxx_cv_func__logl_use=no
24450 fi
24451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24452 ac_ext=c
24453 ac_cpp='$CPP $CPPFLAGS'
24454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24457
24458
24459 fi
24460
24461 fi
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24463 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24464
24465 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24466 for ac_func in _logl
24467 do :
24468 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24469 if test "x$ac_cv_func__logl" = x""yes; then :
24470 cat >>confdefs.h <<_ACEOF
24471 #define HAVE__LOGL 1
24472 _ACEOF
24473
24474 fi
24475 done
24476
24477 fi
24478 fi
24479
24480
24481
24482
24483
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24485 $as_echo_n "checking for log10l declaration... " >&6; }
24486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24487 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24488 $as_echo_n "(cached) " >&6
24489 else
24490
24491
24492 ac_ext=cpp
24493 ac_cpp='$CXXCPP $CPPFLAGS'
24494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24497
24498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24499 /* end confdefs.h. */
24500 #include <math.h>
24501 #ifdef HAVE_IEEEFP_H
24502 #include <ieeefp.h>
24503 #endif
24504
24505 int
24506 main ()
24507 {
24508 log10l(0);
24509 ;
24510 return 0;
24511 }
24512 _ACEOF
24513 if ac_fn_cxx_try_compile "$LINENO"; then :
24514 glibcxx_cv_func_log10l_use=yes
24515 else
24516 glibcxx_cv_func_log10l_use=no
24517 fi
24518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24519 ac_ext=c
24520 ac_cpp='$CPP $CPPFLAGS'
24521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24524
24525
24526 fi
24527
24528 fi
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24530 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24531
24532 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24533 for ac_func in log10l
24534 do :
24535 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24536 if test "x$ac_cv_func_log10l" = x""yes; then :
24537 cat >>confdefs.h <<_ACEOF
24538 #define HAVE_LOG10L 1
24539 _ACEOF
24540
24541 fi
24542 done
24543
24544 else
24545
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24547 $as_echo_n "checking for _log10l declaration... " >&6; }
24548 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24549 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24550 $as_echo_n "(cached) " >&6
24551 else
24552
24553
24554 ac_ext=cpp
24555 ac_cpp='$CXXCPP $CPPFLAGS'
24556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24559
24560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24561 /* end confdefs.h. */
24562 #include <math.h>
24563 #ifdef HAVE_IEEEFP_H
24564 #include <ieeefp.h>
24565 #endif
24566
24567 int
24568 main ()
24569 {
24570 _log10l(0);
24571 ;
24572 return 0;
24573 }
24574 _ACEOF
24575 if ac_fn_cxx_try_compile "$LINENO"; then :
24576 glibcxx_cv_func__log10l_use=yes
24577 else
24578 glibcxx_cv_func__log10l_use=no
24579 fi
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24581 ac_ext=c
24582 ac_cpp='$CPP $CPPFLAGS'
24583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24586
24587
24588 fi
24589
24590 fi
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24592 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24593
24594 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24595 for ac_func in _log10l
24596 do :
24597 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24598 if test "x$ac_cv_func__log10l" = x""yes; then :
24599 cat >>confdefs.h <<_ACEOF
24600 #define HAVE__LOG10L 1
24601 _ACEOF
24602
24603 fi
24604 done
24605
24606 fi
24607 fi
24608
24609
24610
24611
24612
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24614 $as_echo_n "checking for modfl declaration... " >&6; }
24615 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24616 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24618 else
24619
24620
24621 ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24626
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24629 #include <math.h>
24630 int
24631 main ()
24632 {
24633 modfl(0, 0);
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639 glibcxx_cv_func_modfl_use=yes
24640 else
24641 glibcxx_cv_func_modfl_use=no
24642 fi
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644 ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24649
24650
24651 fi
24652
24653 fi
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24655 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24656
24657 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24658 for ac_func in modfl
24659 do :
24660 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24661 if test "x$ac_cv_func_modfl" = x""yes; then :
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE_MODFL 1
24664 _ACEOF
24665
24666 fi
24667 done
24668
24669 else
24670
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24672 $as_echo_n "checking for _modfl declaration... " >&6; }
24673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24675 $as_echo_n "(cached) " >&6
24676 else
24677
24678
24679 ac_ext=cpp
24680 ac_cpp='$CXXCPP $CPPFLAGS'
24681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24684
24685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24686 /* end confdefs.h. */
24687 #include <math.h>
24688 int
24689 main ()
24690 {
24691 _modfl(0, 0);
24692 ;
24693 return 0;
24694 }
24695 _ACEOF
24696 if ac_fn_cxx_try_compile "$LINENO"; then :
24697 glibcxx_cv_func__modfl_use=yes
24698 else
24699 glibcxx_cv_func__modfl_use=no
24700 fi
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 ac_ext=c
24703 ac_cpp='$CPP $CPPFLAGS'
24704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24707
24708
24709 fi
24710
24711 fi
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24713 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24714
24715 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24716 for ac_func in _modfl
24717 do :
24718 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24719 if test "x$ac_cv_func__modfl" = x""yes; then :
24720 cat >>confdefs.h <<_ACEOF
24721 #define HAVE__MODFL 1
24722 _ACEOF
24723
24724 fi
24725 done
24726
24727 fi
24728 fi
24729
24730
24731
24732
24733
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24735 $as_echo_n "checking for powl declaration... " >&6; }
24736 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24737 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24738 $as_echo_n "(cached) " >&6
24739 else
24740
24741
24742 ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24747
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24750 #include <math.h>
24751 int
24752 main ()
24753 {
24754 powl(0, 0);
24755 ;
24756 return 0;
24757 }
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func_powl_use=yes
24761 else
24762 glibcxx_cv_func_powl_use=no
24763 fi
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24770
24771
24772 fi
24773
24774 fi
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24776 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24777
24778 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24779 for ac_func in powl
24780 do :
24781 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24782 if test "x$ac_cv_func_powl" = x""yes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE_POWL 1
24785 _ACEOF
24786
24787 fi
24788 done
24789
24790 else
24791
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24793 $as_echo_n "checking for _powl declaration... " >&6; }
24794 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24795 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24796 $as_echo_n "(cached) " >&6
24797 else
24798
24799
24800 ac_ext=cpp
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24805
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h. */
24808 #include <math.h>
24809 int
24810 main ()
24811 {
24812 _powl(0, 0);
24813 ;
24814 return 0;
24815 }
24816 _ACEOF
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818 glibcxx_cv_func__powl_use=yes
24819 else
24820 glibcxx_cv_func__powl_use=no
24821 fi
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832 fi
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24834 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24835
24836 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24837 for ac_func in _powl
24838 do :
24839 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24840 if test "x$ac_cv_func__powl" = x""yes; then :
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE__POWL 1
24843 _ACEOF
24844
24845 fi
24846 done
24847
24848 fi
24849 fi
24850
24851
24852
24853
24854
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24856 $as_echo_n "checking for sqrtl declaration... " >&6; }
24857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24858 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24859 $as_echo_n "(cached) " >&6
24860 else
24861
24862
24863 ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24871 #include <math.h>
24872 #ifdef HAVE_IEEEFP_H
24873 #include <ieeefp.h>
24874 #endif
24875
24876 int
24877 main ()
24878 {
24879 sqrtl(0);
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func_sqrtl_use=yes
24886 else
24887 glibcxx_cv_func_sqrtl_use=no
24888 fi
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24895
24896
24897 fi
24898
24899 fi
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24901 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24902
24903 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24904 for ac_func in sqrtl
24905 do :
24906 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24907 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE_SQRTL 1
24910 _ACEOF
24911
24912 fi
24913 done
24914
24915 else
24916
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24918 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24919 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24920 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24923
24924
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24930
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24934 #ifdef HAVE_IEEEFP_H
24935 #include <ieeefp.h>
24936 #endif
24937
24938 int
24939 main ()
24940 {
24941 _sqrtl(0);
24942 ;
24943 return 0;
24944 }
24945 _ACEOF
24946 if ac_fn_cxx_try_compile "$LINENO"; then :
24947 glibcxx_cv_func__sqrtl_use=yes
24948 else
24949 glibcxx_cv_func__sqrtl_use=no
24950 fi
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952 ac_ext=c
24953 ac_cpp='$CPP $CPPFLAGS'
24954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24957
24958
24959 fi
24960
24961 fi
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24963 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24964
24965 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24966 for ac_func in _sqrtl
24967 do :
24968 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24969 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24970 cat >>confdefs.h <<_ACEOF
24971 #define HAVE__SQRTL 1
24972 _ACEOF
24973
24974 fi
24975 done
24976
24977 fi
24978 fi
24979
24980
24981
24982
24983
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24985 $as_echo_n "checking for sincosl declaration... " >&6; }
24986 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24987 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24989 else
24990
24991
24992 ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997
24998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h. */
25000 #include <math.h>
25001 int
25002 main ()
25003 {
25004 sincosl(0, 0, 0);
25005 ;
25006 return 0;
25007 }
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010 glibcxx_cv_func_sincosl_use=yes
25011 else
25012 glibcxx_cv_func_sincosl_use=no
25013 fi
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25020
25021
25022 fi
25023
25024 fi
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25026 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25027
25028 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25029 for ac_func in sincosl
25030 do :
25031 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25032 if test "x$ac_cv_func_sincosl" = x""yes; then :
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_SINCOSL 1
25035 _ACEOF
25036
25037 fi
25038 done
25039
25040 else
25041
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25043 $as_echo_n "checking for _sincosl declaration... " >&6; }
25044 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25045 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25046 $as_echo_n "(cached) " >&6
25047 else
25048
25049
25050 ac_ext=cpp
25051 ac_cpp='$CXXCPP $CPPFLAGS'
25052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25055
25056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25057 /* end confdefs.h. */
25058 #include <math.h>
25059 int
25060 main ()
25061 {
25062 _sincosl(0, 0, 0);
25063 ;
25064 return 0;
25065 }
25066 _ACEOF
25067 if ac_fn_cxx_try_compile "$LINENO"; then :
25068 glibcxx_cv_func__sincosl_use=yes
25069 else
25070 glibcxx_cv_func__sincosl_use=no
25071 fi
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073 ac_ext=c
25074 ac_cpp='$CPP $CPPFLAGS'
25075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25078
25079
25080 fi
25081
25082 fi
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25084 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25085
25086 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25087 for ac_func in _sincosl
25088 do :
25089 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25090 if test "x$ac_cv_func__sincosl" = x""yes; then :
25091 cat >>confdefs.h <<_ACEOF
25092 #define HAVE__SINCOSL 1
25093 _ACEOF
25094
25095 fi
25096 done
25097
25098 fi
25099 fi
25100
25101
25102
25103
25104
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25106 $as_echo_n "checking for finitel declaration... " >&6; }
25107 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25108 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25109 $as_echo_n "(cached) " >&6
25110 else
25111
25112
25113 ac_ext=cpp
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25121 #include <math.h>
25122 #ifdef HAVE_IEEEFP_H
25123 #include <ieeefp.h>
25124 #endif
25125
25126 int
25127 main ()
25128 {
25129 finitel(0);
25130 ;
25131 return 0;
25132 }
25133 _ACEOF
25134 if ac_fn_cxx_try_compile "$LINENO"; then :
25135 glibcxx_cv_func_finitel_use=yes
25136 else
25137 glibcxx_cv_func_finitel_use=no
25138 fi
25139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25140 ac_ext=c
25141 ac_cpp='$CPP $CPPFLAGS'
25142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25145
25146
25147 fi
25148
25149 fi
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25151 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25152
25153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25154 for ac_func in finitel
25155 do :
25156 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25157 if test "x$ac_cv_func_finitel" = x""yes; then :
25158 cat >>confdefs.h <<_ACEOF
25159 #define HAVE_FINITEL 1
25160 _ACEOF
25161
25162 fi
25163 done
25164
25165 else
25166
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25168 $as_echo_n "checking for _finitel declaration... " >&6; }
25169 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25170 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25171 $as_echo_n "(cached) " >&6
25172 else
25173
25174
25175 ac_ext=cpp
25176 ac_cpp='$CXXCPP $CPPFLAGS'
25177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25180
25181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h. */
25183 #include <math.h>
25184 #ifdef HAVE_IEEEFP_H
25185 #include <ieeefp.h>
25186 #endif
25187
25188 int
25189 main ()
25190 {
25191 _finitel(0);
25192 ;
25193 return 0;
25194 }
25195 _ACEOF
25196 if ac_fn_cxx_try_compile "$LINENO"; then :
25197 glibcxx_cv_func__finitel_use=yes
25198 else
25199 glibcxx_cv_func__finitel_use=no
25200 fi
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207
25208
25209 fi
25210
25211 fi
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25213 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25214
25215 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25216 for ac_func in _finitel
25217 do :
25218 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25219 if test "x$ac_cv_func__finitel" = x""yes; then :
25220 cat >>confdefs.h <<_ACEOF
25221 #define HAVE__FINITEL 1
25222 _ACEOF
25223
25224 fi
25225 done
25226
25227 fi
25228 fi
25229
25230
25231
25232
25233 LIBS="$ac_save_LIBS"
25234 CXXFLAGS="$ac_save_CXXFLAGS"
25235
25236
25237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25238 ac_save_CXXFLAGS="$CXXFLAGS"
25239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25240
25241
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25243 $as_echo_n "checking for strtold declaration... " >&6; }
25244 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25245 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25246 $as_echo_n "(cached) " >&6
25247 else
25248
25249
25250 ac_ext=cpp
25251 ac_cpp='$CXXCPP $CPPFLAGS'
25252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25255
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25258 #include <stdlib.h>
25259 int
25260 main ()
25261 {
25262 strtold(0, 0);
25263 ;
25264 return 0;
25265 }
25266 _ACEOF
25267 if ac_fn_cxx_try_compile "$LINENO"; then :
25268 glibcxx_cv_func_strtold_use=yes
25269 else
25270 glibcxx_cv_func_strtold_use=no
25271 fi
25272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273 ac_ext=c
25274 ac_cpp='$CPP $CPPFLAGS'
25275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25278
25279
25280 fi
25281
25282 fi
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25284 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25285 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25286 for ac_func in strtold
25287 do :
25288 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25289 if test "x$ac_cv_func_strtold" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define HAVE_STRTOLD 1
25292 _ACEOF
25293
25294 fi
25295 done
25296
25297 fi
25298
25299
25300
25301
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25303 $as_echo_n "checking for strtof declaration... " >&6; }
25304 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25305 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25306 $as_echo_n "(cached) " >&6
25307 else
25308
25309
25310 ac_ext=cpp
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25315
25316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25318 #include <stdlib.h>
25319 int
25320 main ()
25321 {
25322 strtof(0, 0);
25323 ;
25324 return 0;
25325 }
25326 _ACEOF
25327 if ac_fn_cxx_try_compile "$LINENO"; then :
25328 glibcxx_cv_func_strtof_use=yes
25329 else
25330 glibcxx_cv_func_strtof_use=no
25331 fi
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333 ac_ext=c
25334 ac_cpp='$CPP $CPPFLAGS'
25335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25338
25339
25340 fi
25341
25342 fi
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25344 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25345 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25346 for ac_func in strtof
25347 do :
25348 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25349 if test "x$ac_cv_func_strtof" = x""yes; then :
25350 cat >>confdefs.h <<_ACEOF
25351 #define HAVE_STRTOF 1
25352 _ACEOF
25353
25354 fi
25355 done
25356
25357 fi
25358
25359
25360
25361
25362 CXXFLAGS="$ac_save_CXXFLAGS"
25363
25364
25365 # For /dev/random and /dev/urandom for TR1.
25366
25367
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25369 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25370 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25371 $as_echo_n "(cached) " >&6
25372 else
25373
25374 if test -r /dev/random && test -r /dev/urandom; then
25375 glibcxx_cv_random_tr1=yes;
25376 else
25377 glibcxx_cv_random_tr1=no;
25378 fi
25379
25380 fi
25381
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25383 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25384
25385 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25386
25387 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25388
25389 fi
25390
25391
25392
25393 # For TLS support.
25394
25395
25396 # Check whether --enable-tls was given.
25397 if test "${enable_tls+set}" = set; then :
25398 enableval=$enable_tls;
25399 case "$enableval" in
25400 yes|no) ;;
25401 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25402 esac
25403
25404 else
25405 enable_tls=yes
25406 fi
25407
25408
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25410 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25411 if test "${gcc_cv_have_tls+set}" = set; then :
25412 $as_echo_n "(cached) " >&6
25413 else
25414
25415 if test "$cross_compiling" = yes; then :
25416 if test x$gcc_no_link = xyes; then
25417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25418 fi
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 __thread int a; int b; int main() { return a = b; }
25422 _ACEOF
25423 if ac_fn_c_try_link "$LINENO"; then :
25424 chktls_save_LDFLAGS="$LDFLAGS"
25425 case $host in
25426 *-*-linux*)
25427 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25428 ;;
25429 esac
25430 chktls_save_CFLAGS="$CFLAGS"
25431 CFLAGS="-fPIC $CFLAGS"
25432 if test x$gcc_no_link = xyes; then
25433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25434 fi
25435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25436 /* end confdefs.h. */
25437 int f() { return 0; }
25438 _ACEOF
25439 if ac_fn_c_try_link "$LINENO"; then :
25440 if test x$gcc_no_link = xyes; then
25441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25442 fi
25443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25445 __thread int a; int b; int f() { return a = b; }
25446 _ACEOF
25447 if ac_fn_c_try_link "$LINENO"; then :
25448 gcc_cv_have_tls=yes
25449 else
25450 gcc_cv_have_tls=no
25451 fi
25452 rm -f core conftest.err conftest.$ac_objext \
25453 conftest$ac_exeext conftest.$ac_ext
25454 else
25455 gcc_cv_have_tls=yes
25456 fi
25457 rm -f core conftest.err conftest.$ac_objext \
25458 conftest$ac_exeext conftest.$ac_ext
25459 CFLAGS="$chktls_save_CFLAGS"
25460 LDFLAGS="$chktls_save_LDFLAGS"
25461 else
25462 gcc_cv_have_tls=no
25463 fi
25464 rm -f core conftest.err conftest.$ac_objext \
25465 conftest$ac_exeext conftest.$ac_ext
25466
25467
25468 else
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25471 __thread int a; int b; int main() { return a = b; }
25472 _ACEOF
25473 if ac_fn_c_try_run "$LINENO"; then :
25474 chktls_save_LDFLAGS="$LDFLAGS"
25475 LDFLAGS="-static $LDFLAGS"
25476 if test x$gcc_no_link = xyes; then
25477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25478 fi
25479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25480 /* end confdefs.h. */
25481 int main() { return 0; }
25482 _ACEOF
25483 if ac_fn_c_try_link "$LINENO"; then :
25484 if test "$cross_compiling" = yes; then :
25485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25487 as_fn_error "cannot run test program while cross compiling
25488 See \`config.log' for more details." "$LINENO" 5; }
25489 else
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 __thread int a; int b; int main() { return a = b; }
25493 _ACEOF
25494 if ac_fn_c_try_run "$LINENO"; then :
25495 gcc_cv_have_tls=yes
25496 else
25497 gcc_cv_have_tls=no
25498 fi
25499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25500 conftest.$ac_objext conftest.beam conftest.$ac_ext
25501 fi
25502
25503 else
25504 gcc_cv_have_tls=yes
25505 fi
25506 rm -f core conftest.err conftest.$ac_objext \
25507 conftest$ac_exeext conftest.$ac_ext
25508 LDFLAGS="$chktls_save_LDFLAGS"
25509 if test $gcc_cv_have_tls = yes; then
25510 chktls_save_CFLAGS="$CFLAGS"
25511 thread_CFLAGS=failed
25512 for flag in '' '-pthread' '-lpthread'; do
25513 CFLAGS="$flag $chktls_save_CFLAGS"
25514 if test x$gcc_no_link = xyes; then
25515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25516 fi
25517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h. */
25519 #include <pthread.h>
25520 void *g(void *d) { return NULL; }
25521 int
25522 main ()
25523 {
25524 pthread_t t; pthread_create(&t,NULL,g,NULL);
25525 ;
25526 return 0;
25527 }
25528 _ACEOF
25529 if ac_fn_c_try_link "$LINENO"; then :
25530 thread_CFLAGS="$flag"
25531 fi
25532 rm -f core conftest.err conftest.$ac_objext \
25533 conftest$ac_exeext conftest.$ac_ext
25534 if test "X$thread_CFLAGS" != Xfailed; then
25535 break
25536 fi
25537 done
25538 CFLAGS="$chktls_save_CFLAGS"
25539 if test "X$thread_CFLAGS" != Xfailed; then
25540 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25541 if test "$cross_compiling" = yes; then :
25542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25544 as_fn_error "cannot run test program while cross compiling
25545 See \`config.log' for more details." "$LINENO" 5; }
25546 else
25547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25548 /* end confdefs.h. */
25549 #include <pthread.h>
25550 __thread int a;
25551 static int *volatile a_in_other_thread;
25552 static void *
25553 thread_func (void *arg)
25554 {
25555 a_in_other_thread = &a;
25556 return (void *)0;
25557 }
25558 int
25559 main ()
25560 {
25561 pthread_t thread;
25562 void *thread_retval;
25563 int *volatile a_in_main_thread;
25564 a_in_main_thread = &a;
25565 if (pthread_create (&thread, (pthread_attr_t *)0,
25566 thread_func, (void *)0))
25567 return 0;
25568 if (pthread_join (thread, &thread_retval))
25569 return 0;
25570 return (a_in_other_thread == a_in_main_thread);
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 if ac_fn_c_try_run "$LINENO"; then :
25576 gcc_cv_have_tls=yes
25577 else
25578 gcc_cv_have_tls=no
25579 fi
25580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25581 conftest.$ac_objext conftest.beam conftest.$ac_ext
25582 fi
25583
25584 CFLAGS="$chktls_save_CFLAGS"
25585 fi
25586 fi
25587 else
25588 gcc_cv_have_tls=no
25589 fi
25590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25591 conftest.$ac_objext conftest.beam conftest.$ac_ext
25592 fi
25593
25594 fi
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25596 $as_echo "$gcc_cv_have_tls" >&6; }
25597 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25598
25599 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25600
25601 fi
25602
25603 # For iconv support.
25604
25605 if test "X$prefix" = "XNONE"; then
25606 acl_final_prefix="$ac_default_prefix"
25607 else
25608 acl_final_prefix="$prefix"
25609 fi
25610 if test "X$exec_prefix" = "XNONE"; then
25611 acl_final_exec_prefix='${prefix}'
25612 else
25613 acl_final_exec_prefix="$exec_prefix"
25614 fi
25615 acl_save_prefix="$prefix"
25616 prefix="$acl_final_prefix"
25617 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25618 prefix="$acl_save_prefix"
25619
25620
25621 # Check whether --with-gnu-ld was given.
25622 if test "${with_gnu_ld+set}" = set; then :
25623 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25624 else
25625 with_gnu_ld=no
25626 fi
25627
25628 # Prepare PATH_SEPARATOR.
25629 # The user is always right.
25630 if test "${PATH_SEPARATOR+set}" != set; then
25631 echo "#! /bin/sh" >conf$$.sh
25632 echo "exit 0" >>conf$$.sh
25633 chmod +x conf$$.sh
25634 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25635 PATH_SEPARATOR=';'
25636 else
25637 PATH_SEPARATOR=:
25638 fi
25639 rm -f conf$$.sh
25640 fi
25641 ac_prog=ld
25642 if test "$GCC" = yes; then
25643 # Check if gcc -print-prog-name=ld gives a path.
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25645 $as_echo_n "checking for ld used by GCC... " >&6; }
25646 case $host in
25647 *-*-mingw*)
25648 # gcc leaves a trailing carriage return which upsets mingw
25649 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25650 *)
25651 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25652 esac
25653 case $ac_prog in
25654 # Accept absolute paths.
25655 [\\/]* | [A-Za-z]:[\\/]*)
25656 re_direlt='/[^/][^/]*/\.\./'
25657 # Canonicalize the path of ld
25658 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25659 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25660 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25661 done
25662 test -z "$LD" && LD="$ac_prog"
25663 ;;
25664 "")
25665 # If it fails, then pretend we aren't using GCC.
25666 ac_prog=ld
25667 ;;
25668 *)
25669 # If it is relative, then search for the first ld in PATH.
25670 with_gnu_ld=unknown
25671 ;;
25672 esac
25673 elif test "$with_gnu_ld" = yes; then
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25675 $as_echo_n "checking for GNU ld... " >&6; }
25676 else
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25678 $as_echo_n "checking for non-GNU ld... " >&6; }
25679 fi
25680 if test "${acl_cv_path_LD+set}" = set; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25683 if test -z "$LD"; then
25684 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25685 for ac_dir in $PATH; do
25686 test -z "$ac_dir" && ac_dir=.
25687 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25688 acl_cv_path_LD="$ac_dir/$ac_prog"
25689 # Check to see if the program is GNU ld. I'd rather use --version,
25690 # but apparently some GNU ld's only accept -v.
25691 # Break only if it was the GNU/non-GNU ld that we prefer.
25692 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25693 test "$with_gnu_ld" != no && break
25694 else
25695 test "$with_gnu_ld" != yes && break
25696 fi
25697 fi
25698 done
25699 IFS="$ac_save_ifs"
25700 else
25701 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25702 fi
25703 fi
25704
25705 LD="$acl_cv_path_LD"
25706 if test -n "$LD"; then
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25708 $as_echo "$LD" >&6; }
25709 else
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25711 $as_echo "no" >&6; }
25712 fi
25713 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25715 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25716 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25717 $as_echo_n "(cached) " >&6
25718 else
25719 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25720 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25721 acl_cv_prog_gnu_ld=yes
25722 else
25723 acl_cv_prog_gnu_ld=no
25724 fi
25725 fi
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25727 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25728 with_gnu_ld=$acl_cv_prog_gnu_ld
25729
25730
25731
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25733 $as_echo_n "checking for shared library run path origin... " >&6; }
25734 if test "${acl_cv_rpath+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25737
25738 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25739 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25740 . ./conftest.sh
25741 rm -f ./conftest.sh
25742 acl_cv_rpath=done
25743
25744 fi
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25746 $as_echo "$acl_cv_rpath" >&6; }
25747 wl="$acl_cv_wl"
25748 libext="$acl_cv_libext"
25749 shlibext="$acl_cv_shlibext"
25750 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25751 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25752 hardcode_direct="$acl_cv_hardcode_direct"
25753 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25754 # Check whether --enable-rpath was given.
25755 if test "${enable_rpath+set}" = set; then :
25756 enableval=$enable_rpath; :
25757 else
25758 enable_rpath=yes
25759 fi
25760
25761
25762
25763
25764
25765
25766
25767
25768 use_additional=yes
25769
25770 acl_save_prefix="$prefix"
25771 prefix="$acl_final_prefix"
25772 acl_save_exec_prefix="$exec_prefix"
25773 exec_prefix="$acl_final_exec_prefix"
25774
25775 eval additional_includedir=\"$includedir\"
25776 eval additional_libdir=\"$libdir\"
25777
25778 exec_prefix="$acl_save_exec_prefix"
25779 prefix="$acl_save_prefix"
25780
25781
25782 # Check whether --with-libiconv-prefix was given.
25783 if test "${with_libiconv_prefix+set}" = set; then :
25784 withval=$with_libiconv_prefix;
25785 if test "X$withval" = "Xno"; then
25786 use_additional=no
25787 else
25788 if test "X$withval" = "X"; then
25789
25790 acl_save_prefix="$prefix"
25791 prefix="$acl_final_prefix"
25792 acl_save_exec_prefix="$exec_prefix"
25793 exec_prefix="$acl_final_exec_prefix"
25794
25795 eval additional_includedir=\"$includedir\"
25796 eval additional_libdir=\"$libdir\"
25797
25798 exec_prefix="$acl_save_exec_prefix"
25799 prefix="$acl_save_prefix"
25800
25801 else
25802 additional_includedir="$withval/include"
25803 additional_libdir="$withval/lib"
25804 fi
25805 fi
25806
25807 fi
25808
25809 LIBICONV=
25810 LTLIBICONV=
25811 INCICONV=
25812 rpathdirs=
25813 ltrpathdirs=
25814 names_already_handled=
25815 names_next_round='iconv '
25816 while test -n "$names_next_round"; do
25817 names_this_round="$names_next_round"
25818 names_next_round=
25819 for name in $names_this_round; do
25820 already_handled=
25821 for n in $names_already_handled; do
25822 if test "$n" = "$name"; then
25823 already_handled=yes
25824 break
25825 fi
25826 done
25827 if test -z "$already_handled"; then
25828 names_already_handled="$names_already_handled $name"
25829 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25830 eval value=\"\$HAVE_LIB$uppername\"
25831 if test -n "$value"; then
25832 if test "$value" = yes; then
25833 eval value=\"\$LIB$uppername\"
25834 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25835 eval value=\"\$LTLIB$uppername\"
25836 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25837 else
25838 :
25839 fi
25840 else
25841 found_dir=
25842 found_la=
25843 found_so=
25844 found_a=
25845 if test $use_additional = yes; then
25846 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25847 found_dir="$additional_libdir"
25848 found_so="$additional_libdir/lib$name.$shlibext"
25849 if test -f "$additional_libdir/lib$name.la"; then
25850 found_la="$additional_libdir/lib$name.la"
25851 fi
25852 else
25853 if test -f "$additional_libdir/lib$name.$libext"; then
25854 found_dir="$additional_libdir"
25855 found_a="$additional_libdir/lib$name.$libext"
25856 if test -f "$additional_libdir/lib$name.la"; then
25857 found_la="$additional_libdir/lib$name.la"
25858 fi
25859 fi
25860 fi
25861 fi
25862 if test "X$found_dir" = "X"; then
25863 for x in $LDFLAGS $LTLIBICONV; do
25864
25865 acl_save_prefix="$prefix"
25866 prefix="$acl_final_prefix"
25867 acl_save_exec_prefix="$exec_prefix"
25868 exec_prefix="$acl_final_exec_prefix"
25869 eval x=\"$x\"
25870 exec_prefix="$acl_save_exec_prefix"
25871 prefix="$acl_save_prefix"
25872
25873 case "$x" in
25874 -L*)
25875 dir=`echo "X$x" | sed -e 's/^X-L//'`
25876 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25877 found_dir="$dir"
25878 found_so="$dir/lib$name.$shlibext"
25879 if test -f "$dir/lib$name.la"; then
25880 found_la="$dir/lib$name.la"
25881 fi
25882 else
25883 if test -f "$dir/lib$name.$libext"; then
25884 found_dir="$dir"
25885 found_a="$dir/lib$name.$libext"
25886 if test -f "$dir/lib$name.la"; then
25887 found_la="$dir/lib$name.la"
25888 fi
25889 fi
25890 fi
25891 ;;
25892 esac
25893 if test "X$found_dir" != "X"; then
25894 break
25895 fi
25896 done
25897 fi
25898 if test "X$found_dir" != "X"; then
25899 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25900 if test "X$found_so" != "X"; then
25901 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25902 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25903 else
25904 haveit=
25905 for x in $ltrpathdirs; do
25906 if test "X$x" = "X$found_dir"; then
25907 haveit=yes
25908 break
25909 fi
25910 done
25911 if test -z "$haveit"; then
25912 ltrpathdirs="$ltrpathdirs $found_dir"
25913 fi
25914 if test "$hardcode_direct" = yes; then
25915 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25916 else
25917 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25918 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25919 haveit=
25920 for x in $rpathdirs; do
25921 if test "X$x" = "X$found_dir"; then
25922 haveit=yes
25923 break
25924 fi
25925 done
25926 if test -z "$haveit"; then
25927 rpathdirs="$rpathdirs $found_dir"
25928 fi
25929 else
25930 haveit=
25931 for x in $LDFLAGS $LIBICONV; do
25932
25933 acl_save_prefix="$prefix"
25934 prefix="$acl_final_prefix"
25935 acl_save_exec_prefix="$exec_prefix"
25936 exec_prefix="$acl_final_exec_prefix"
25937 eval x=\"$x\"
25938 exec_prefix="$acl_save_exec_prefix"
25939 prefix="$acl_save_prefix"
25940
25941 if test "X$x" = "X-L$found_dir"; then
25942 haveit=yes
25943 break
25944 fi
25945 done
25946 if test -z "$haveit"; then
25947 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25948 fi
25949 if test "$hardcode_minus_L" != no; then
25950 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25951 else
25952 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25953 fi
25954 fi
25955 fi
25956 fi
25957 else
25958 if test "X$found_a" != "X"; then
25959 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25960 else
25961 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25962 fi
25963 fi
25964 additional_includedir=
25965 case "$found_dir" in
25966 */lib | */lib/)
25967 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25968 additional_includedir="$basedir/include"
25969 ;;
25970 esac
25971 if test "X$additional_includedir" != "X"; then
25972 if test "X$additional_includedir" != "X/usr/include"; then
25973 haveit=
25974 if test "X$additional_includedir" = "X/usr/local/include"; then
25975 if test -n "$GCC"; then
25976 case $host_os in
25977 linux*) haveit=yes;;
25978 esac
25979 fi
25980 fi
25981 if test -z "$haveit"; then
25982 for x in $CPPFLAGS $INCICONV; do
25983
25984 acl_save_prefix="$prefix"
25985 prefix="$acl_final_prefix"
25986 acl_save_exec_prefix="$exec_prefix"
25987 exec_prefix="$acl_final_exec_prefix"
25988 eval x=\"$x\"
25989 exec_prefix="$acl_save_exec_prefix"
25990 prefix="$acl_save_prefix"
25991
25992 if test "X$x" = "X-I$additional_includedir"; then
25993 haveit=yes
25994 break
25995 fi
25996 done
25997 if test -z "$haveit"; then
25998 if test -d "$additional_includedir"; then
25999 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26000 fi
26001 fi
26002 fi
26003 fi
26004 fi
26005 if test -n "$found_la"; then
26006 save_libdir="$libdir"
26007 case "$found_la" in
26008 */* | *\\*) . "$found_la" ;;
26009 *) . "./$found_la" ;;
26010 esac
26011 libdir="$save_libdir"
26012 for dep in $dependency_libs; do
26013 case "$dep" in
26014 -L*)
26015 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26016 if test "X$additional_libdir" != "X/usr/lib"; then
26017 haveit=
26018 if test "X$additional_libdir" = "X/usr/local/lib"; then
26019 if test -n "$GCC"; then
26020 case $host_os in
26021 linux*) haveit=yes;;
26022 esac
26023 fi
26024 fi
26025 if test -z "$haveit"; then
26026 haveit=
26027 for x in $LDFLAGS $LIBICONV; do
26028
26029 acl_save_prefix="$prefix"
26030 prefix="$acl_final_prefix"
26031 acl_save_exec_prefix="$exec_prefix"
26032 exec_prefix="$acl_final_exec_prefix"
26033 eval x=\"$x\"
26034 exec_prefix="$acl_save_exec_prefix"
26035 prefix="$acl_save_prefix"
26036
26037 if test "X$x" = "X-L$additional_libdir"; then
26038 haveit=yes
26039 break
26040 fi
26041 done
26042 if test -z "$haveit"; then
26043 if test -d "$additional_libdir"; then
26044 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26045 fi
26046 fi
26047 haveit=
26048 for x in $LDFLAGS $LTLIBICONV; do
26049
26050 acl_save_prefix="$prefix"
26051 prefix="$acl_final_prefix"
26052 acl_save_exec_prefix="$exec_prefix"
26053 exec_prefix="$acl_final_exec_prefix"
26054 eval x=\"$x\"
26055 exec_prefix="$acl_save_exec_prefix"
26056 prefix="$acl_save_prefix"
26057
26058 if test "X$x" = "X-L$additional_libdir"; then
26059 haveit=yes
26060 break
26061 fi
26062 done
26063 if test -z "$haveit"; then
26064 if test -d "$additional_libdir"; then
26065 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26066 fi
26067 fi
26068 fi
26069 fi
26070 ;;
26071 -R*)
26072 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26073 if test "$enable_rpath" != no; then
26074 haveit=
26075 for x in $rpathdirs; do
26076 if test "X$x" = "X$dir"; then
26077 haveit=yes
26078 break
26079 fi
26080 done
26081 if test -z "$haveit"; then
26082 rpathdirs="$rpathdirs $dir"
26083 fi
26084 haveit=
26085 for x in $ltrpathdirs; do
26086 if test "X$x" = "X$dir"; then
26087 haveit=yes
26088 break
26089 fi
26090 done
26091 if test -z "$haveit"; then
26092 ltrpathdirs="$ltrpathdirs $dir"
26093 fi
26094 fi
26095 ;;
26096 -l*)
26097 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26098 ;;
26099 *.la)
26100 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26101 ;;
26102 *)
26103 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26104 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26105 ;;
26106 esac
26107 done
26108 fi
26109 else
26110 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26111 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26112 fi
26113 fi
26114 fi
26115 done
26116 done
26117 if test "X$rpathdirs" != "X"; then
26118 if test -n "$hardcode_libdir_separator"; then
26119 alldirs=
26120 for found_dir in $rpathdirs; do
26121 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26122 done
26123 acl_save_libdir="$libdir"
26124 libdir="$alldirs"
26125 eval flag=\"$hardcode_libdir_flag_spec\"
26126 libdir="$acl_save_libdir"
26127 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26128 else
26129 for found_dir in $rpathdirs; do
26130 acl_save_libdir="$libdir"
26131 libdir="$found_dir"
26132 eval flag=\"$hardcode_libdir_flag_spec\"
26133 libdir="$acl_save_libdir"
26134 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26135 done
26136 fi
26137 fi
26138 if test "X$ltrpathdirs" != "X"; then
26139 for found_dir in $ltrpathdirs; do
26140 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26141 done
26142 fi
26143
26144
26145
26146
26147
26148
26149
26150 am_save_CPPFLAGS="$CPPFLAGS"
26151
26152 for element in $INCICONV; do
26153 haveit=
26154 for x in $CPPFLAGS; do
26155
26156 acl_save_prefix="$prefix"
26157 prefix="$acl_final_prefix"
26158 acl_save_exec_prefix="$exec_prefix"
26159 exec_prefix="$acl_final_exec_prefix"
26160 eval x=\"$x\"
26161 exec_prefix="$acl_save_exec_prefix"
26162 prefix="$acl_save_prefix"
26163
26164 if test "X$x" = "X$element"; then
26165 haveit=yes
26166 break
26167 fi
26168 done
26169 if test -z "$haveit"; then
26170 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26171 fi
26172 done
26173
26174
26175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26176 $as_echo_n "checking for iconv... " >&6; }
26177 if test "${am_cv_func_iconv+set}" = set; then :
26178 $as_echo_n "(cached) " >&6
26179 else
26180
26181 am_cv_func_iconv="no, consider installing GNU libiconv"
26182 am_cv_lib_iconv=no
26183 if test x$gcc_no_link = xyes; then
26184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26185 fi
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26188 #include <stdlib.h>
26189 #include <iconv.h>
26190 int
26191 main ()
26192 {
26193 iconv_t cd = iconv_open("","");
26194 iconv(cd,NULL,NULL,NULL,NULL);
26195 iconv_close(cd);
26196 ;
26197 return 0;
26198 }
26199 _ACEOF
26200 if ac_fn_c_try_link "$LINENO"; then :
26201 am_cv_func_iconv=yes
26202 fi
26203 rm -f core conftest.err conftest.$ac_objext \
26204 conftest$ac_exeext conftest.$ac_ext
26205 if test "$am_cv_func_iconv" != yes; then
26206 am_save_LIBS="$LIBS"
26207 LIBS="$LIBS $LIBICONV"
26208 if test x$gcc_no_link = xyes; then
26209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26210 fi
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26213 #include <stdlib.h>
26214 #include <iconv.h>
26215 int
26216 main ()
26217 {
26218 iconv_t cd = iconv_open("","");
26219 iconv(cd,NULL,NULL,NULL,NULL);
26220 iconv_close(cd);
26221 ;
26222 return 0;
26223 }
26224 _ACEOF
26225 if ac_fn_c_try_link "$LINENO"; then :
26226 am_cv_lib_iconv=yes
26227 am_cv_func_iconv=yes
26228 fi
26229 rm -f core conftest.err conftest.$ac_objext \
26230 conftest$ac_exeext conftest.$ac_ext
26231 LIBS="$am_save_LIBS"
26232 fi
26233
26234 fi
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26236 $as_echo "$am_cv_func_iconv" >&6; }
26237 if test "$am_cv_func_iconv" = yes; then
26238
26239 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26240
26241 fi
26242 if test "$am_cv_lib_iconv" = yes; then
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26244 $as_echo_n "checking how to link with libiconv... " >&6; }
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26246 $as_echo "$LIBICONV" >&6; }
26247 else
26248 CPPFLAGS="$am_save_CPPFLAGS"
26249 LIBICONV=
26250 LTLIBICONV=
26251 fi
26252
26253
26254
26255 if test "$am_cv_func_iconv" = yes; then
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26257 $as_echo_n "checking for iconv declaration... " >&6; }
26258 if test "${am_cv_proto_iconv+set}" = set; then :
26259 $as_echo_n "(cached) " >&6
26260 else
26261
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264
26265 #include <stdlib.h>
26266 #include <iconv.h>
26267 extern
26268 #ifdef __cplusplus
26269 "C"
26270 #endif
26271 #if defined(__STDC__) || defined(__cplusplus)
26272 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26273 #else
26274 size_t iconv();
26275 #endif
26276
26277 int
26278 main ()
26279 {
26280
26281 ;
26282 return 0;
26283 }
26284 _ACEOF
26285 if ac_fn_c_try_compile "$LINENO"; then :
26286 am_cv_proto_iconv_arg1=""
26287 else
26288 am_cv_proto_iconv_arg1="const"
26289 fi
26290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26291 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);"
26292 fi
26293
26294 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26296 }$am_cv_proto_iconv" >&5
26297 $as_echo "${ac_t:-
26298 }$am_cv_proto_iconv" >&6; }
26299
26300 cat >>confdefs.h <<_ACEOF
26301 #define ICONV_CONST $am_cv_proto_iconv_arg1
26302 _ACEOF
26303
26304 fi
26305
26306
26307 else
26308
26309 # This lets us hard-code the functionality we know we'll have in the cross
26310 # target environment. "Let" is a sugar-coated word placed on an especially
26311 # dull and tedious hack, actually.
26312 #
26313 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26314 # that involve linking, can't be used:
26315 # "cannot open sim-crt0.o"
26316 # "cannot open crt0.o"
26317 # etc. All this is because there currently exists no unified, consistent
26318 # way for top level CC information to be passed down to target directories:
26319 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26320 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26321 # crosses can be removed.
26322
26323 # If Canadian cross, then don't pick up tools from the build directory.
26324 # Used only in GLIBCXX_EXPORT_INCLUDES.
26325 if test -n "$with_cross_host" &&
26326 test x"$build_alias" != x"$with_cross_host" &&
26327 test x"$build" != x"$target";
26328 then
26329 CANADIAN=yes
26330 else
26331 CANADIAN=no
26332 fi
26333
26334 # Construct crosses by hand, eliminating bits that need ld...
26335 # GLIBCXX_CHECK_MATH_SUPPORT
26336
26337 # First, test for "known" system libraries. We may be using newlib even
26338 # on a hosted environment.
26339 if test "x${with_newlib}" = "xyes"; then
26340 os_include_dir="os/newlib"
26341 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26342
26343
26344 # GLIBCXX_CHECK_STDLIB_SUPPORT
26345 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26346
26347
26348 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26349
26350 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26351
26352 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26353
26354 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26355
26356 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26357
26358 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26359
26360 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26361
26362 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26363
26364 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26365
26366 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26367
26368 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26369
26370 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26371
26372 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26373
26374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26375
26376 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26377
26378 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26379
26380 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26381
26382 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26383
26384 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26385
26386 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26387
26388 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26389
26390 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26391
26392
26393 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26394
26395 else
26396
26397 # Base decisions on target environment.
26398 case "${host}" in
26399 arm*-*-symbianelf*)
26400 # This is a freestanding configuration; there is nothing to do here.
26401 ;;
26402
26403 mips*-sde-elf*)
26404 # These definitions are for the SDE C library rather than newlib.
26405 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26406
26407
26408 # All these tests are for C++; save the language and the compiler flags.
26409 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26410 # found in GLIBCXX_CONFIGURE.
26411
26412 ac_ext=cpp
26413 ac_cpp='$CXXCPP $CPPFLAGS'
26414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26417
26418 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26419 ac_save_CXXFLAGS="$CXXFLAGS"
26420
26421 # Check for maintainer-mode bits.
26422 if test x"$USE_MAINTAINER_MODE" = xno; then
26423 WERROR=''
26424 else
26425 WERROR='-Werror'
26426 fi
26427
26428 # Check for -ffunction-sections -fdata-sections
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26430 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26431 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26433 /* end confdefs.h. */
26434 int foo; void bar() { };
26435 int
26436 main ()
26437 {
26438
26439 ;
26440 return 0;
26441 }
26442 _ACEOF
26443 if ac_fn_cxx_try_compile "$LINENO"; then :
26444 ac_fdsections=yes
26445 else
26446 ac_fdsections=no
26447 fi
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26449 if test "$ac_test_CXXFLAGS" = set; then
26450 CXXFLAGS="$ac_save_CXXFLAGS"
26451 else
26452 # this is the suspicious part
26453 CXXFLAGS=''
26454 fi
26455 if test x"$ac_fdsections" = x"yes"; then
26456 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26457 fi
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26459 $as_echo "$ac_fdsections" >&6; }
26460
26461 ac_ext=c
26462 ac_cpp='$CPP $CPPFLAGS'
26463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26466
26467
26468
26469
26470
26471 # If we're not using GNU ld, then there's no point in even trying these
26472 # tests. Check for that first. We should have already tested for gld
26473 # by now (in libtool), but require it now just to be safe...
26474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26476
26477
26478
26479 # The name set by libtool depends on the version of libtool. Shame on us
26480 # for depending on an impl detail, but c'est la vie. Older versions used
26481 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26482 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26483 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26484 # set (hence we're using an older libtool), then set it.
26485 if test x${with_gnu_ld+set} != xset; then
26486 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26487 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26488 with_gnu_ld=no
26489 else
26490 with_gnu_ld=$ac_cv_prog_gnu_ld
26491 fi
26492 fi
26493
26494 # Start by getting the version number. I think the libtool test already
26495 # does some of this, but throws away the result.
26496 glibcxx_ld_is_gold=no
26497 if test x"$with_gnu_ld" = x"yes"; then
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26499 $as_echo_n "checking for ld version... " >&6; }
26500
26501 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26502 glibcxx_ld_is_gold=yes
26503 fi
26504 ldver=`$LD --version 2>/dev/null |
26505 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'`
26506
26507 glibcxx_gnu_ld_version=`echo $ldver | \
26508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26510 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26511 fi
26512
26513 # Set --gc-sections.
26514 glibcxx_have_gc_sections=no
26515 if test "$glibcxx_ld_is_gold" = "yes"; then
26516 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26517 glibcxx_have_gc_sections=yes
26518 fi
26519 else
26520 glibcxx_gcsections_min_ld=21602
26521 if test x"$with_gnu_ld" = x"yes" &&
26522 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26523 glibcxx_have_gc_sections=yes
26524 fi
26525 fi
26526 if test "$glibcxx_have_gc_sections" = "yes"; then
26527 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26528 # NB: This flag only works reliably after 2.16.1. Configure tests
26529 # for this are difficult, so hard wire a value that should work.
26530
26531 ac_test_CFLAGS="${CFLAGS+set}"
26532 ac_save_CFLAGS="$CFLAGS"
26533 CFLAGS='-Wl,--gc-sections'
26534
26535 # Check for -Wl,--gc-sections
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26537 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26538 if test x$gcc_no_link = xyes; then
26539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26540 fi
26541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26542 /* end confdefs.h. */
26543 int one(void) { return 1; }
26544 int two(void) { return 2; }
26545
26546 int
26547 main ()
26548 {
26549 two();
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 if ac_fn_c_try_link "$LINENO"; then :
26555 ac_gcsections=yes
26556 else
26557 ac_gcsections=no
26558 fi
26559 rm -f core conftest.err conftest.$ac_objext \
26560 conftest$ac_exeext conftest.$ac_ext
26561 if test "$ac_gcsections" = "yes"; then
26562 rm -f conftest.c
26563 touch conftest.c
26564 if $CC -c conftest.c; then
26565 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26566 grep "Warning: gc-sections option ignored" > /dev/null; then
26567 ac_gcsections=no
26568 fi
26569 fi
26570 rm -f conftest.c conftest.o conftest
26571 fi
26572 if test "$ac_gcsections" = "yes"; then
26573 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26574 fi
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26576 $as_echo "$ac_gcsections" >&6; }
26577
26578 if test "$ac_test_CFLAGS" = set; then
26579 CFLAGS="$ac_save_CFLAGS"
26580 else
26581 # this is the suspicious part
26582 CFLAGS=''
26583 fi
26584 fi
26585
26586 # Set -z,relro.
26587 # Note this is only for shared objects.
26588 ac_ld_relro=no
26589 if test x"$with_gnu_ld" = x"yes"; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26591 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26592 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26593 if test -n "$cxx_z_relo"; then
26594 OPT_LDFLAGS="-Wl,-z,relro"
26595 ac_ld_relro=yes
26596 fi
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26598 $as_echo "$ac_ld_relro" >&6; }
26599 fi
26600
26601 # Set linker optimization flags.
26602 if test x"$with_gnu_ld" = x"yes"; then
26603 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26604 fi
26605
26606
26607
26608
26609
26610 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26611 ac_save_CXXFLAGS="$CXXFLAGS"
26612 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26613
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26615 $as_echo_n "checking for sin in -lm... " >&6; }
26616 if test "${ac_cv_lib_m_sin+set}" = set; then :
26617 $as_echo_n "(cached) " >&6
26618 else
26619 ac_check_lib_save_LIBS=$LIBS
26620 LIBS="-lm $LIBS"
26621 if test x$gcc_no_link = xyes; then
26622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26623 fi
26624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26625 /* end confdefs.h. */
26626
26627 /* Override any GCC internal prototype to avoid an error.
26628 Use char because int might match the return type of a GCC
26629 builtin and then its argument prototype would still apply. */
26630 #ifdef __cplusplus
26631 extern "C"
26632 #endif
26633 char sin ();
26634 int
26635 main ()
26636 {
26637 return sin ();
26638 ;
26639 return 0;
26640 }
26641 _ACEOF
26642 if ac_fn_c_try_link "$LINENO"; then :
26643 ac_cv_lib_m_sin=yes
26644 else
26645 ac_cv_lib_m_sin=no
26646 fi
26647 rm -f core conftest.err conftest.$ac_objext \
26648 conftest$ac_exeext conftest.$ac_ext
26649 LIBS=$ac_check_lib_save_LIBS
26650 fi
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26652 $as_echo "$ac_cv_lib_m_sin" >&6; }
26653 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26654 libm="-lm"
26655 fi
26656
26657 ac_save_LIBS="$LIBS"
26658 LIBS="$LIBS $libm"
26659
26660
26661
26662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26663 $as_echo_n "checking for isinf declaration... " >&6; }
26664 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26665 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26666 $as_echo_n "(cached) " >&6
26667 else
26668
26669
26670 ac_ext=cpp
26671 ac_cpp='$CXXCPP $CPPFLAGS'
26672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26675
26676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h. */
26678 #include <math.h>
26679 #ifdef HAVE_IEEEFP_H
26680 #include <ieeefp.h>
26681 #endif
26682
26683 int
26684 main ()
26685 {
26686 isinf(0);
26687 ;
26688 return 0;
26689 }
26690 _ACEOF
26691 if ac_fn_cxx_try_compile "$LINENO"; then :
26692 glibcxx_cv_func_isinf_use=yes
26693 else
26694 glibcxx_cv_func_isinf_use=no
26695 fi
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 ac_ext=c
26698 ac_cpp='$CPP $CPPFLAGS'
26699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26702
26703
26704 fi
26705
26706 fi
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26708 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26709
26710 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26711 for ac_func in isinf
26712 do :
26713 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26714 if test "x$ac_cv_func_isinf" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE_ISINF 1
26717 _ACEOF
26718
26719 fi
26720 done
26721
26722 else
26723
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26725 $as_echo_n "checking for _isinf declaration... " >&6; }
26726 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26727 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26728 $as_echo_n "(cached) " >&6
26729 else
26730
26731
26732 ac_ext=cpp
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26737
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26740 #include <math.h>
26741 #ifdef HAVE_IEEEFP_H
26742 #include <ieeefp.h>
26743 #endif
26744
26745 int
26746 main ()
26747 {
26748 _isinf(0);
26749 ;
26750 return 0;
26751 }
26752 _ACEOF
26753 if ac_fn_cxx_try_compile "$LINENO"; then :
26754 glibcxx_cv_func__isinf_use=yes
26755 else
26756 glibcxx_cv_func__isinf_use=no
26757 fi
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 ac_ext=c
26760 ac_cpp='$CPP $CPPFLAGS'
26761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26764
26765
26766 fi
26767
26768 fi
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26770 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26771
26772 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26773 for ac_func in _isinf
26774 do :
26775 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26776 if test "x$ac_cv_func__isinf" = x""yes; then :
26777 cat >>confdefs.h <<_ACEOF
26778 #define HAVE__ISINF 1
26779 _ACEOF
26780
26781 fi
26782 done
26783
26784 fi
26785 fi
26786
26787
26788
26789
26790
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26792 $as_echo_n "checking for isnan declaration... " >&6; }
26793 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26794 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26795 $as_echo_n "(cached) " >&6
26796 else
26797
26798
26799 ac_ext=cpp
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26804
26805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26806 /* end confdefs.h. */
26807 #include <math.h>
26808 #ifdef HAVE_IEEEFP_H
26809 #include <ieeefp.h>
26810 #endif
26811
26812 int
26813 main ()
26814 {
26815 isnan(0);
26816 ;
26817 return 0;
26818 }
26819 _ACEOF
26820 if ac_fn_cxx_try_compile "$LINENO"; then :
26821 glibcxx_cv_func_isnan_use=yes
26822 else
26823 glibcxx_cv_func_isnan_use=no
26824 fi
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26826 ac_ext=c
26827 ac_cpp='$CPP $CPPFLAGS'
26828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26831
26832
26833 fi
26834
26835 fi
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26837 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26838
26839 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26840 for ac_func in isnan
26841 do :
26842 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26843 if test "x$ac_cv_func_isnan" = x""yes; then :
26844 cat >>confdefs.h <<_ACEOF
26845 #define HAVE_ISNAN 1
26846 _ACEOF
26847
26848 fi
26849 done
26850
26851 else
26852
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26854 $as_echo_n "checking for _isnan declaration... " >&6; }
26855 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26856 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26857 $as_echo_n "(cached) " >&6
26858 else
26859
26860
26861 ac_ext=cpp
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26866
26867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26868 /* end confdefs.h. */
26869 #include <math.h>
26870 #ifdef HAVE_IEEEFP_H
26871 #include <ieeefp.h>
26872 #endif
26873
26874 int
26875 main ()
26876 {
26877 _isnan(0);
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 if ac_fn_cxx_try_compile "$LINENO"; then :
26883 glibcxx_cv_func__isnan_use=yes
26884 else
26885 glibcxx_cv_func__isnan_use=no
26886 fi
26887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26888 ac_ext=c
26889 ac_cpp='$CPP $CPPFLAGS'
26890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26893
26894
26895 fi
26896
26897 fi
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26899 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26900
26901 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26902 for ac_func in _isnan
26903 do :
26904 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26905 if test "x$ac_cv_func__isnan" = x""yes; then :
26906 cat >>confdefs.h <<_ACEOF
26907 #define HAVE__ISNAN 1
26908 _ACEOF
26909
26910 fi
26911 done
26912
26913 fi
26914 fi
26915
26916
26917
26918
26919
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26921 $as_echo_n "checking for finite declaration... " >&6; }
26922 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26923 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26926
26927
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 #ifdef HAVE_IEEEFP_H
26938 #include <ieeefp.h>
26939 #endif
26940
26941 int
26942 main ()
26943 {
26944 finite(0);
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 if ac_fn_cxx_try_compile "$LINENO"; then :
26950 glibcxx_cv_func_finite_use=yes
26951 else
26952 glibcxx_cv_func_finite_use=no
26953 fi
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955 ac_ext=c
26956 ac_cpp='$CPP $CPPFLAGS'
26957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26960
26961
26962 fi
26963
26964 fi
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26966 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26967
26968 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26969 for ac_func in finite
26970 do :
26971 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26972 if test "x$ac_cv_func_finite" = x""yes; then :
26973 cat >>confdefs.h <<_ACEOF
26974 #define HAVE_FINITE 1
26975 _ACEOF
26976
26977 fi
26978 done
26979
26980 else
26981
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26983 $as_echo_n "checking for _finite declaration... " >&6; }
26984 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26985 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26986 $as_echo_n "(cached) " >&6
26987 else
26988
26989
26990 ac_ext=cpp
26991 ac_cpp='$CXXCPP $CPPFLAGS'
26992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26995
26996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26997 /* end confdefs.h. */
26998 #include <math.h>
26999 #ifdef HAVE_IEEEFP_H
27000 #include <ieeefp.h>
27001 #endif
27002
27003 int
27004 main ()
27005 {
27006 _finite(0);
27007 ;
27008 return 0;
27009 }
27010 _ACEOF
27011 if ac_fn_cxx_try_compile "$LINENO"; then :
27012 glibcxx_cv_func__finite_use=yes
27013 else
27014 glibcxx_cv_func__finite_use=no
27015 fi
27016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27017 ac_ext=c
27018 ac_cpp='$CPP $CPPFLAGS'
27019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27022
27023
27024 fi
27025
27026 fi
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27028 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27029
27030 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27031 for ac_func in _finite
27032 do :
27033 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27034 if test "x$ac_cv_func__finite" = x""yes; then :
27035 cat >>confdefs.h <<_ACEOF
27036 #define HAVE__FINITE 1
27037 _ACEOF
27038
27039 fi
27040 done
27041
27042 fi
27043 fi
27044
27045
27046
27047
27048
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27050 $as_echo_n "checking for sincos declaration... " >&6; }
27051 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27052 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27053 $as_echo_n "(cached) " >&6
27054 else
27055
27056
27057 ac_ext=cpp
27058 ac_cpp='$CXXCPP $CPPFLAGS'
27059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27062
27063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27064 /* end confdefs.h. */
27065 #include <math.h>
27066 int
27067 main ()
27068 {
27069 sincos(0, 0, 0);
27070 ;
27071 return 0;
27072 }
27073 _ACEOF
27074 if ac_fn_cxx_try_compile "$LINENO"; then :
27075 glibcxx_cv_func_sincos_use=yes
27076 else
27077 glibcxx_cv_func_sincos_use=no
27078 fi
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080 ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085
27086
27087 fi
27088
27089 fi
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27091 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27092
27093 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27094 for ac_func in sincos
27095 do :
27096 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27097 if test "x$ac_cv_func_sincos" = x""yes; then :
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE_SINCOS 1
27100 _ACEOF
27101
27102 fi
27103 done
27104
27105 else
27106
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27108 $as_echo_n "checking for _sincos declaration... " >&6; }
27109 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27110 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27111 $as_echo_n "(cached) " >&6
27112 else
27113
27114
27115 ac_ext=cpp
27116 ac_cpp='$CXXCPP $CPPFLAGS'
27117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27120
27121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27122 /* end confdefs.h. */
27123 #include <math.h>
27124 int
27125 main ()
27126 {
27127 _sincos(0, 0, 0);
27128 ;
27129 return 0;
27130 }
27131 _ACEOF
27132 if ac_fn_cxx_try_compile "$LINENO"; then :
27133 glibcxx_cv_func__sincos_use=yes
27134 else
27135 glibcxx_cv_func__sincos_use=no
27136 fi
27137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27138 ac_ext=c
27139 ac_cpp='$CPP $CPPFLAGS'
27140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27143
27144
27145 fi
27146
27147 fi
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27149 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27150
27151 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27152 for ac_func in _sincos
27153 do :
27154 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27155 if test "x$ac_cv_func__sincos" = x""yes; then :
27156 cat >>confdefs.h <<_ACEOF
27157 #define HAVE__SINCOS 1
27158 _ACEOF
27159
27160 fi
27161 done
27162
27163 fi
27164 fi
27165
27166
27167
27168
27169
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27171 $as_echo_n "checking for fpclass declaration... " >&6; }
27172 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27173 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27174 $as_echo_n "(cached) " >&6
27175 else
27176
27177
27178 ac_ext=cpp
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27186 #include <math.h>
27187 #ifdef HAVE_IEEEFP_H
27188 #include <ieeefp.h>
27189 #endif
27190
27191 int
27192 main ()
27193 {
27194 fpclass(0);
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func_fpclass_use=yes
27201 else
27202 glibcxx_cv_func_fpclass_use=no
27203 fi
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 ac_ext=c
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27210
27211
27212 fi
27213
27214 fi
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27216 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27217
27218 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27219 for ac_func in fpclass
27220 do :
27221 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27222 if test "x$ac_cv_func_fpclass" = x""yes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE_FPCLASS 1
27225 _ACEOF
27226
27227 fi
27228 done
27229
27230 else
27231
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27233 $as_echo_n "checking for _fpclass declaration... " >&6; }
27234 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27235 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27236 $as_echo_n "(cached) " >&6
27237 else
27238
27239
27240 ac_ext=cpp
27241 ac_cpp='$CXXCPP $CPPFLAGS'
27242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27245
27246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h. */
27248 #include <math.h>
27249 #ifdef HAVE_IEEEFP_H
27250 #include <ieeefp.h>
27251 #endif
27252
27253 int
27254 main ()
27255 {
27256 _fpclass(0);
27257 ;
27258 return 0;
27259 }
27260 _ACEOF
27261 if ac_fn_cxx_try_compile "$LINENO"; then :
27262 glibcxx_cv_func__fpclass_use=yes
27263 else
27264 glibcxx_cv_func__fpclass_use=no
27265 fi
27266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27267 ac_ext=c
27268 ac_cpp='$CPP $CPPFLAGS'
27269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27272
27273
27274 fi
27275
27276 fi
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27278 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27279
27280 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27281 for ac_func in _fpclass
27282 do :
27283 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27284 if test "x$ac_cv_func__fpclass" = x""yes; then :
27285 cat >>confdefs.h <<_ACEOF
27286 #define HAVE__FPCLASS 1
27287 _ACEOF
27288
27289 fi
27290 done
27291
27292 fi
27293 fi
27294
27295
27296
27297
27298
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27300 $as_echo_n "checking for qfpclass declaration... " >&6; }
27301 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27302 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27303 $as_echo_n "(cached) " >&6
27304 else
27305
27306
27307 ac_ext=cpp
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27312
27313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 /* end confdefs.h. */
27315 #include <math.h>
27316 #ifdef HAVE_IEEEFP_H
27317 #include <ieeefp.h>
27318 #endif
27319
27320 int
27321 main ()
27322 {
27323 qfpclass(0);
27324 ;
27325 return 0;
27326 }
27327 _ACEOF
27328 if ac_fn_cxx_try_compile "$LINENO"; then :
27329 glibcxx_cv_func_qfpclass_use=yes
27330 else
27331 glibcxx_cv_func_qfpclass_use=no
27332 fi
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 ac_ext=c
27335 ac_cpp='$CPP $CPPFLAGS'
27336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27339
27340
27341 fi
27342
27343 fi
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27345 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27346
27347 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27348 for ac_func in qfpclass
27349 do :
27350 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27351 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27352 cat >>confdefs.h <<_ACEOF
27353 #define HAVE_QFPCLASS 1
27354 _ACEOF
27355
27356 fi
27357 done
27358
27359 else
27360
27361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27362 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27363 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27364 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27365 $as_echo_n "(cached) " >&6
27366 else
27367
27368
27369 ac_ext=cpp
27370 ac_cpp='$CXXCPP $CPPFLAGS'
27371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27374
27375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27376 /* end confdefs.h. */
27377 #include <math.h>
27378 #ifdef HAVE_IEEEFP_H
27379 #include <ieeefp.h>
27380 #endif
27381
27382 int
27383 main ()
27384 {
27385 _qfpclass(0);
27386 ;
27387 return 0;
27388 }
27389 _ACEOF
27390 if ac_fn_cxx_try_compile "$LINENO"; then :
27391 glibcxx_cv_func__qfpclass_use=yes
27392 else
27393 glibcxx_cv_func__qfpclass_use=no
27394 fi
27395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27396 ac_ext=c
27397 ac_cpp='$CPP $CPPFLAGS'
27398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27401
27402
27403 fi
27404
27405 fi
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27407 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27408
27409 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27410 for ac_func in _qfpclass
27411 do :
27412 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27413 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27414 cat >>confdefs.h <<_ACEOF
27415 #define HAVE__QFPCLASS 1
27416 _ACEOF
27417
27418 fi
27419 done
27420
27421 fi
27422 fi
27423
27424
27425
27426
27427
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27429 $as_echo_n "checking for hypot declaration... " >&6; }
27430 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27431 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27433 else
27434
27435
27436 ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 #include <math.h>
27445 int
27446 main ()
27447 {
27448 hypot(0, 0);
27449 ;
27450 return 0;
27451 }
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func_hypot_use=yes
27455 else
27456 glibcxx_cv_func_hypot_use=no
27457 fi
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27464
27465
27466 fi
27467
27468 fi
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27470 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27471
27472 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27473 for ac_func in hypot
27474 do :
27475 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27476 if test "x$ac_cv_func_hypot" = x""yes; then :
27477 cat >>confdefs.h <<_ACEOF
27478 #define HAVE_HYPOT 1
27479 _ACEOF
27480
27481 fi
27482 done
27483
27484 else
27485
27486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27487 $as_echo_n "checking for _hypot declaration... " >&6; }
27488 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27489 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27490 $as_echo_n "(cached) " >&6
27491 else
27492
27493
27494 ac_ext=cpp
27495 ac_cpp='$CXXCPP $CPPFLAGS'
27496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27499
27500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27501 /* end confdefs.h. */
27502 #include <math.h>
27503 int
27504 main ()
27505 {
27506 _hypot(0, 0);
27507 ;
27508 return 0;
27509 }
27510 _ACEOF
27511 if ac_fn_cxx_try_compile "$LINENO"; then :
27512 glibcxx_cv_func__hypot_use=yes
27513 else
27514 glibcxx_cv_func__hypot_use=no
27515 fi
27516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27517 ac_ext=c
27518 ac_cpp='$CPP $CPPFLAGS'
27519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27522
27523
27524 fi
27525
27526 fi
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27528 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27529
27530 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27531 for ac_func in _hypot
27532 do :
27533 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27534 if test "x$ac_cv_func__hypot" = x""yes; then :
27535 cat >>confdefs.h <<_ACEOF
27536 #define HAVE__HYPOT 1
27537 _ACEOF
27538
27539 fi
27540 done
27541
27542 fi
27543 fi
27544
27545
27546
27547
27548
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27550 $as_echo_n "checking for float trig functions... " >&6; }
27551 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27552 $as_echo_n "(cached) " >&6
27553 else
27554
27555
27556 ac_ext=cpp
27557 ac_cpp='$CXXCPP $CPPFLAGS'
27558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27561
27562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h. */
27564 #include <math.h>
27565 int
27566 main ()
27567 {
27568 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27569 ;
27570 return 0;
27571 }
27572 _ACEOF
27573 if ac_fn_cxx_try_compile "$LINENO"; then :
27574 glibcxx_cv_func_float_trig_use=yes
27575 else
27576 glibcxx_cv_func_float_trig_use=no
27577 fi
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27579 ac_ext=c
27580 ac_cpp='$CPP $CPPFLAGS'
27581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27584
27585 fi
27586
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27588 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27589 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27590 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27591 do :
27592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27594 eval as_val=\$$as_ac_var
27595 if test "x$as_val" = x""yes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27598 _ACEOF
27599
27600 fi
27601 done
27602
27603 else
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27605 $as_echo_n "checking for _float trig functions... " >&6; }
27606 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27609
27610
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27620 int
27621 main ()
27622 {
27623 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27624 ;
27625 return 0;
27626 }
27627 _ACEOF
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func__float_trig_use=yes
27630 else
27631 glibcxx_cv_func__float_trig_use=no
27632 fi
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 ac_ext=c
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27639
27640 fi
27641
27642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27643 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27644 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27645 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27646 do :
27647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27649 eval as_val=\$$as_ac_var
27650 if test "x$as_val" = x""yes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27653 _ACEOF
27654
27655 fi
27656 done
27657
27658 fi
27659 fi
27660
27661
27662
27663
27664
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27666 $as_echo_n "checking for float round functions... " >&6; }
27667 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27668 $as_echo_n "(cached) " >&6
27669 else
27670
27671
27672 ac_ext=cpp
27673 ac_cpp='$CXXCPP $CPPFLAGS'
27674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27677
27678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27679 /* end confdefs.h. */
27680 #include <math.h>
27681 int
27682 main ()
27683 {
27684 ceilf (0); floorf (0);
27685 ;
27686 return 0;
27687 }
27688 _ACEOF
27689 if ac_fn_cxx_try_compile "$LINENO"; then :
27690 glibcxx_cv_func_float_round_use=yes
27691 else
27692 glibcxx_cv_func_float_round_use=no
27693 fi
27694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27695 ac_ext=c
27696 ac_cpp='$CPP $CPPFLAGS'
27697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27700
27701 fi
27702
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27704 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27705 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27706 for ac_func in ceilf floorf
27707 do :
27708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27710 eval as_val=\$$as_ac_var
27711 if test "x$as_val" = x""yes; then :
27712 cat >>confdefs.h <<_ACEOF
27713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27714 _ACEOF
27715
27716 fi
27717 done
27718
27719 else
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27721 $as_echo_n "checking for _float round functions... " >&6; }
27722 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27723 $as_echo_n "(cached) " >&6
27724 else
27725
27726
27727 ac_ext=cpp
27728 ac_cpp='$CXXCPP $CPPFLAGS'
27729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27732
27733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27734 /* end confdefs.h. */
27735 #include <math.h>
27736 int
27737 main ()
27738 {
27739 _ceilf (0); _floorf (0);
27740 ;
27741 return 0;
27742 }
27743 _ACEOF
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745 glibcxx_cv_func__float_round_use=yes
27746 else
27747 glibcxx_cv_func__float_round_use=no
27748 fi
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_ext=c
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755
27756 fi
27757
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27759 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27760 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27761 for ac_func in _ceilf _floorf
27762 do :
27763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27765 eval as_val=\$$as_ac_var
27766 if test "x$as_val" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27769 _ACEOF
27770
27771 fi
27772 done
27773
27774 fi
27775 fi
27776
27777
27778
27779
27780
27781
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27783 $as_echo_n "checking for expf declaration... " >&6; }
27784 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27785 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27786 $as_echo_n "(cached) " >&6
27787 else
27788
27789
27790 ac_ext=cpp
27791 ac_cpp='$CXXCPP $CPPFLAGS'
27792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27795
27796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h. */
27798 #include <math.h>
27799 #ifdef HAVE_IEEEFP_H
27800 #include <ieeefp.h>
27801 #endif
27802
27803 int
27804 main ()
27805 {
27806 expf(0);
27807 ;
27808 return 0;
27809 }
27810 _ACEOF
27811 if ac_fn_cxx_try_compile "$LINENO"; then :
27812 glibcxx_cv_func_expf_use=yes
27813 else
27814 glibcxx_cv_func_expf_use=no
27815 fi
27816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27817 ac_ext=c
27818 ac_cpp='$CPP $CPPFLAGS'
27819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27822
27823
27824 fi
27825
27826 fi
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27828 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27829
27830 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27831 for ac_func in expf
27832 do :
27833 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27834 if test "x$ac_cv_func_expf" = x""yes; then :
27835 cat >>confdefs.h <<_ACEOF
27836 #define HAVE_EXPF 1
27837 _ACEOF
27838
27839 fi
27840 done
27841
27842 else
27843
27844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27845 $as_echo_n "checking for _expf declaration... " >&6; }
27846 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27847 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27848 $as_echo_n "(cached) " >&6
27849 else
27850
27851
27852 ac_ext=cpp
27853 ac_cpp='$CXXCPP $CPPFLAGS'
27854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27857
27858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27859 /* end confdefs.h. */
27860 #include <math.h>
27861 #ifdef HAVE_IEEEFP_H
27862 #include <ieeefp.h>
27863 #endif
27864
27865 int
27866 main ()
27867 {
27868 _expf(0);
27869 ;
27870 return 0;
27871 }
27872 _ACEOF
27873 if ac_fn_cxx_try_compile "$LINENO"; then :
27874 glibcxx_cv_func__expf_use=yes
27875 else
27876 glibcxx_cv_func__expf_use=no
27877 fi
27878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27879 ac_ext=c
27880 ac_cpp='$CPP $CPPFLAGS'
27881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27884
27885
27886 fi
27887
27888 fi
27889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27890 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27891
27892 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27893 for ac_func in _expf
27894 do :
27895 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27896 if test "x$ac_cv_func__expf" = x""yes; then :
27897 cat >>confdefs.h <<_ACEOF
27898 #define HAVE__EXPF 1
27899 _ACEOF
27900
27901 fi
27902 done
27903
27904 fi
27905 fi
27906
27907
27908
27909
27910
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27912 $as_echo_n "checking for isnanf declaration... " >&6; }
27913 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27914 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27915 $as_echo_n "(cached) " >&6
27916 else
27917
27918
27919 ac_ext=cpp
27920 ac_cpp='$CXXCPP $CPPFLAGS'
27921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27924
27925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27926 /* end confdefs.h. */
27927 #include <math.h>
27928 #ifdef HAVE_IEEEFP_H
27929 #include <ieeefp.h>
27930 #endif
27931
27932 int
27933 main ()
27934 {
27935 isnanf(0);
27936 ;
27937 return 0;
27938 }
27939 _ACEOF
27940 if ac_fn_cxx_try_compile "$LINENO"; then :
27941 glibcxx_cv_func_isnanf_use=yes
27942 else
27943 glibcxx_cv_func_isnanf_use=no
27944 fi
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 ac_ext=c
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27951
27952
27953 fi
27954
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27957 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27958
27959 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27960 for ac_func in isnanf
27961 do :
27962 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27963 if test "x$ac_cv_func_isnanf" = x""yes; then :
27964 cat >>confdefs.h <<_ACEOF
27965 #define HAVE_ISNANF 1
27966 _ACEOF
27967
27968 fi
27969 done
27970
27971 else
27972
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27974 $as_echo_n "checking for _isnanf declaration... " >&6; }
27975 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27976 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27977 $as_echo_n "(cached) " >&6
27978 else
27979
27980
27981 ac_ext=cpp
27982 ac_cpp='$CXXCPP $CPPFLAGS'
27983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986
27987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27989 #include <math.h>
27990 #ifdef HAVE_IEEEFP_H
27991 #include <ieeefp.h>
27992 #endif
27993
27994 int
27995 main ()
27996 {
27997 _isnanf(0);
27998 ;
27999 return 0;
28000 }
28001 _ACEOF
28002 if ac_fn_cxx_try_compile "$LINENO"; then :
28003 glibcxx_cv_func__isnanf_use=yes
28004 else
28005 glibcxx_cv_func__isnanf_use=no
28006 fi
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 ac_ext=c
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28013
28014
28015 fi
28016
28017 fi
28018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28019 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28020
28021 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28022 for ac_func in _isnanf
28023 do :
28024 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28025 if test "x$ac_cv_func__isnanf" = x""yes; then :
28026 cat >>confdefs.h <<_ACEOF
28027 #define HAVE__ISNANF 1
28028 _ACEOF
28029
28030 fi
28031 done
28032
28033 fi
28034 fi
28035
28036
28037
28038
28039
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28041 $as_echo_n "checking for isinff declaration... " >&6; }
28042 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28043 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28044 $as_echo_n "(cached) " >&6
28045 else
28046
28047
28048 ac_ext=cpp
28049 ac_cpp='$CXXCPP $CPPFLAGS'
28050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28053
28054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28055 /* end confdefs.h. */
28056 #include <math.h>
28057 #ifdef HAVE_IEEEFP_H
28058 #include <ieeefp.h>
28059 #endif
28060
28061 int
28062 main ()
28063 {
28064 isinff(0);
28065 ;
28066 return 0;
28067 }
28068 _ACEOF
28069 if ac_fn_cxx_try_compile "$LINENO"; then :
28070 glibcxx_cv_func_isinff_use=yes
28071 else
28072 glibcxx_cv_func_isinff_use=no
28073 fi
28074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28075 ac_ext=c
28076 ac_cpp='$CPP $CPPFLAGS'
28077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28080
28081
28082 fi
28083
28084 fi
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28086 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28087
28088 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28089 for ac_func in isinff
28090 do :
28091 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28092 if test "x$ac_cv_func_isinff" = x""yes; then :
28093 cat >>confdefs.h <<_ACEOF
28094 #define HAVE_ISINFF 1
28095 _ACEOF
28096
28097 fi
28098 done
28099
28100 else
28101
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28103 $as_echo_n "checking for _isinff declaration... " >&6; }
28104 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28105 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28106 $as_echo_n "(cached) " >&6
28107 else
28108
28109
28110 ac_ext=cpp
28111 ac_cpp='$CXXCPP $CPPFLAGS'
28112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28115
28116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28117 /* end confdefs.h. */
28118 #include <math.h>
28119 #ifdef HAVE_IEEEFP_H
28120 #include <ieeefp.h>
28121 #endif
28122
28123 int
28124 main ()
28125 {
28126 _isinff(0);
28127 ;
28128 return 0;
28129 }
28130 _ACEOF
28131 if ac_fn_cxx_try_compile "$LINENO"; then :
28132 glibcxx_cv_func__isinff_use=yes
28133 else
28134 glibcxx_cv_func__isinff_use=no
28135 fi
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 ac_ext=c
28138 ac_cpp='$CPP $CPPFLAGS'
28139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28142
28143
28144 fi
28145
28146 fi
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28148 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28149
28150 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28151 for ac_func in _isinff
28152 do :
28153 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28154 if test "x$ac_cv_func__isinff" = x""yes; then :
28155 cat >>confdefs.h <<_ACEOF
28156 #define HAVE__ISINFF 1
28157 _ACEOF
28158
28159 fi
28160 done
28161
28162 fi
28163 fi
28164
28165
28166
28167
28168
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28170 $as_echo_n "checking for atan2f declaration... " >&6; }
28171 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28172 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28173 $as_echo_n "(cached) " >&6
28174 else
28175
28176
28177 ac_ext=cpp
28178 ac_cpp='$CXXCPP $CPPFLAGS'
28179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28182
28183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h. */
28185 #include <math.h>
28186 int
28187 main ()
28188 {
28189 atan2f(0, 0);
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195 glibcxx_cv_func_atan2f_use=yes
28196 else
28197 glibcxx_cv_func_atan2f_use=no
28198 fi
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200 ac_ext=c
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205
28206
28207 fi
28208
28209 fi
28210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28211 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28212
28213 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28214 for ac_func in atan2f
28215 do :
28216 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28217 if test "x$ac_cv_func_atan2f" = x""yes; then :
28218 cat >>confdefs.h <<_ACEOF
28219 #define HAVE_ATAN2F 1
28220 _ACEOF
28221
28222 fi
28223 done
28224
28225 else
28226
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28228 $as_echo_n "checking for _atan2f declaration... " >&6; }
28229 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28230 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28231 $as_echo_n "(cached) " >&6
28232 else
28233
28234
28235 ac_ext=cpp
28236 ac_cpp='$CXXCPP $CPPFLAGS'
28237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28240
28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242 /* end confdefs.h. */
28243 #include <math.h>
28244 int
28245 main ()
28246 {
28247 _atan2f(0, 0);
28248 ;
28249 return 0;
28250 }
28251 _ACEOF
28252 if ac_fn_cxx_try_compile "$LINENO"; then :
28253 glibcxx_cv_func__atan2f_use=yes
28254 else
28255 glibcxx_cv_func__atan2f_use=no
28256 fi
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263
28264
28265 fi
28266
28267 fi
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28269 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28270
28271 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28272 for ac_func in _atan2f
28273 do :
28274 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28275 if test "x$ac_cv_func__atan2f" = x""yes; then :
28276 cat >>confdefs.h <<_ACEOF
28277 #define HAVE__ATAN2F 1
28278 _ACEOF
28279
28280 fi
28281 done
28282
28283 fi
28284 fi
28285
28286
28287
28288
28289
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28291 $as_echo_n "checking for fabsf declaration... " >&6; }
28292 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28293 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28294 $as_echo_n "(cached) " >&6
28295 else
28296
28297
28298 ac_ext=cpp
28299 ac_cpp='$CXXCPP $CPPFLAGS'
28300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28303
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28306 #include <math.h>
28307 #ifdef HAVE_IEEEFP_H
28308 #include <ieeefp.h>
28309 #endif
28310
28311 int
28312 main ()
28313 {
28314 fabsf(0);
28315 ;
28316 return 0;
28317 }
28318 _ACEOF
28319 if ac_fn_cxx_try_compile "$LINENO"; then :
28320 glibcxx_cv_func_fabsf_use=yes
28321 else
28322 glibcxx_cv_func_fabsf_use=no
28323 fi
28324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28325 ac_ext=c
28326 ac_cpp='$CPP $CPPFLAGS'
28327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28330
28331
28332 fi
28333
28334 fi
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28336 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28337
28338 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28339 for ac_func in fabsf
28340 do :
28341 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28342 if test "x$ac_cv_func_fabsf" = x""yes; then :
28343 cat >>confdefs.h <<_ACEOF
28344 #define HAVE_FABSF 1
28345 _ACEOF
28346
28347 fi
28348 done
28349
28350 else
28351
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28353 $as_echo_n "checking for _fabsf declaration... " >&6; }
28354 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28355 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28356 $as_echo_n "(cached) " >&6
28357 else
28358
28359
28360 ac_ext=cpp
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28365
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28368 #include <math.h>
28369 #ifdef HAVE_IEEEFP_H
28370 #include <ieeefp.h>
28371 #endif
28372
28373 int
28374 main ()
28375 {
28376 _fabsf(0);
28377 ;
28378 return 0;
28379 }
28380 _ACEOF
28381 if ac_fn_cxx_try_compile "$LINENO"; then :
28382 glibcxx_cv_func__fabsf_use=yes
28383 else
28384 glibcxx_cv_func__fabsf_use=no
28385 fi
28386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28387 ac_ext=c
28388 ac_cpp='$CPP $CPPFLAGS'
28389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392
28393
28394 fi
28395
28396 fi
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28398 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28399
28400 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28401 for ac_func in _fabsf
28402 do :
28403 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28404 if test "x$ac_cv_func__fabsf" = x""yes; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define HAVE__FABSF 1
28407 _ACEOF
28408
28409 fi
28410 done
28411
28412 fi
28413 fi
28414
28415
28416
28417
28418
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28420 $as_echo_n "checking for fmodf declaration... " >&6; }
28421 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28422 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28423 $as_echo_n "(cached) " >&6
28424 else
28425
28426
28427 ac_ext=cpp
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28432
28433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28434 /* end confdefs.h. */
28435 #include <math.h>
28436 int
28437 main ()
28438 {
28439 fmodf(0, 0);
28440 ;
28441 return 0;
28442 }
28443 _ACEOF
28444 if ac_fn_cxx_try_compile "$LINENO"; then :
28445 glibcxx_cv_func_fmodf_use=yes
28446 else
28447 glibcxx_cv_func_fmodf_use=no
28448 fi
28449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450 ac_ext=c
28451 ac_cpp='$CPP $CPPFLAGS'
28452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28455
28456
28457 fi
28458
28459 fi
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28461 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28462
28463 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28464 for ac_func in fmodf
28465 do :
28466 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28467 if test "x$ac_cv_func_fmodf" = x""yes; then :
28468 cat >>confdefs.h <<_ACEOF
28469 #define HAVE_FMODF 1
28470 _ACEOF
28471
28472 fi
28473 done
28474
28475 else
28476
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28478 $as_echo_n "checking for _fmodf declaration... " >&6; }
28479 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28480 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28481 $as_echo_n "(cached) " >&6
28482 else
28483
28484
28485 ac_ext=cpp
28486 ac_cpp='$CXXCPP $CPPFLAGS'
28487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28490
28491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28492 /* end confdefs.h. */
28493 #include <math.h>
28494 int
28495 main ()
28496 {
28497 _fmodf(0, 0);
28498 ;
28499 return 0;
28500 }
28501 _ACEOF
28502 if ac_fn_cxx_try_compile "$LINENO"; then :
28503 glibcxx_cv_func__fmodf_use=yes
28504 else
28505 glibcxx_cv_func__fmodf_use=no
28506 fi
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 ac_ext=c
28509 ac_cpp='$CPP $CPPFLAGS'
28510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28513
28514
28515 fi
28516
28517 fi
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28519 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28520
28521 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28522 for ac_func in _fmodf
28523 do :
28524 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28525 if test "x$ac_cv_func__fmodf" = x""yes; then :
28526 cat >>confdefs.h <<_ACEOF
28527 #define HAVE__FMODF 1
28528 _ACEOF
28529
28530 fi
28531 done
28532
28533 fi
28534 fi
28535
28536
28537
28538
28539
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28541 $as_echo_n "checking for frexpf declaration... " >&6; }
28542 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28543 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28544 $as_echo_n "(cached) " >&6
28545 else
28546
28547
28548 ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28553
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28556 #include <math.h>
28557 int
28558 main ()
28559 {
28560 frexpf(0, 0);
28561 ;
28562 return 0;
28563 }
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func_frexpf_use=yes
28567 else
28568 glibcxx_cv_func_frexpf_use=no
28569 fi
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571 ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28576
28577
28578 fi
28579
28580 fi
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28582 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28583
28584 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28585 for ac_func in frexpf
28586 do :
28587 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28588 if test "x$ac_cv_func_frexpf" = x""yes; then :
28589 cat >>confdefs.h <<_ACEOF
28590 #define HAVE_FREXPF 1
28591 _ACEOF
28592
28593 fi
28594 done
28595
28596 else
28597
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28599 $as_echo_n "checking for _frexpf declaration... " >&6; }
28600 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28601 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28602 $as_echo_n "(cached) " >&6
28603 else
28604
28605
28606 ac_ext=cpp
28607 ac_cpp='$CXXCPP $CPPFLAGS'
28608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28611
28612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28613 /* end confdefs.h. */
28614 #include <math.h>
28615 int
28616 main ()
28617 {
28618 _frexpf(0, 0);
28619 ;
28620 return 0;
28621 }
28622 _ACEOF
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624 glibcxx_cv_func__frexpf_use=yes
28625 else
28626 glibcxx_cv_func__frexpf_use=no
28627 fi
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629 ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635
28636 fi
28637
28638 fi
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28640 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28641
28642 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28643 for ac_func in _frexpf
28644 do :
28645 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28646 if test "x$ac_cv_func__frexpf" = x""yes; then :
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE__FREXPF 1
28649 _ACEOF
28650
28651 fi
28652 done
28653
28654 fi
28655 fi
28656
28657
28658
28659
28660
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28662 $as_echo_n "checking for hypotf declaration... " >&6; }
28663 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28664 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28665 $as_echo_n "(cached) " >&6
28666 else
28667
28668
28669 ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28674
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28677 #include <math.h>
28678 int
28679 main ()
28680 {
28681 hypotf(0, 0);
28682 ;
28683 return 0;
28684 }
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func_hypotf_use=yes
28688 else
28689 glibcxx_cv_func_hypotf_use=no
28690 fi
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28697
28698
28699 fi
28700
28701 fi
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28703 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28704
28705 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28706 for ac_func in hypotf
28707 do :
28708 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28709 if test "x$ac_cv_func_hypotf" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE_HYPOTF 1
28712 _ACEOF
28713
28714 fi
28715 done
28716
28717 else
28718
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28720 $as_echo_n "checking for _hypotf declaration... " >&6; }
28721 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28722 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28723 $as_echo_n "(cached) " >&6
28724 else
28725
28726
28727 ac_ext=cpp
28728 ac_cpp='$CXXCPP $CPPFLAGS'
28729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28732
28733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28734 /* end confdefs.h. */
28735 #include <math.h>
28736 int
28737 main ()
28738 {
28739 _hypotf(0, 0);
28740 ;
28741 return 0;
28742 }
28743 _ACEOF
28744 if ac_fn_cxx_try_compile "$LINENO"; then :
28745 glibcxx_cv_func__hypotf_use=yes
28746 else
28747 glibcxx_cv_func__hypotf_use=no
28748 fi
28749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28750 ac_ext=c
28751 ac_cpp='$CPP $CPPFLAGS'
28752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28755
28756
28757 fi
28758
28759 fi
28760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28761 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28762
28763 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28764 for ac_func in _hypotf
28765 do :
28766 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28767 if test "x$ac_cv_func__hypotf" = x""yes; then :
28768 cat >>confdefs.h <<_ACEOF
28769 #define HAVE__HYPOTF 1
28770 _ACEOF
28771
28772 fi
28773 done
28774
28775 fi
28776 fi
28777
28778
28779
28780
28781
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28783 $as_echo_n "checking for ldexpf declaration... " >&6; }
28784 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28785 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28786 $as_echo_n "(cached) " >&6
28787 else
28788
28789
28790 ac_ext=cpp
28791 ac_cpp='$CXXCPP $CPPFLAGS'
28792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28795
28796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28797 /* end confdefs.h. */
28798 #include <math.h>
28799 int
28800 main ()
28801 {
28802 ldexpf(0, 0);
28803 ;
28804 return 0;
28805 }
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808 glibcxx_cv_func_ldexpf_use=yes
28809 else
28810 glibcxx_cv_func_ldexpf_use=no
28811 fi
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813 ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28818
28819
28820 fi
28821
28822 fi
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28824 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28825
28826 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28827 for ac_func in ldexpf
28828 do :
28829 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28830 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28831 cat >>confdefs.h <<_ACEOF
28832 #define HAVE_LDEXPF 1
28833 _ACEOF
28834
28835 fi
28836 done
28837
28838 else
28839
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28841 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28842 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28843 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28844 $as_echo_n "(cached) " >&6
28845 else
28846
28847
28848 ac_ext=cpp
28849 ac_cpp='$CXXCPP $CPPFLAGS'
28850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28853
28854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h. */
28856 #include <math.h>
28857 int
28858 main ()
28859 {
28860 _ldexpf(0, 0);
28861 ;
28862 return 0;
28863 }
28864 _ACEOF
28865 if ac_fn_cxx_try_compile "$LINENO"; then :
28866 glibcxx_cv_func__ldexpf_use=yes
28867 else
28868 glibcxx_cv_func__ldexpf_use=no
28869 fi
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 ac_ext=c
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28876
28877
28878 fi
28879
28880 fi
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28882 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28883
28884 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28885 for ac_func in _ldexpf
28886 do :
28887 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28888 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28889 cat >>confdefs.h <<_ACEOF
28890 #define HAVE__LDEXPF 1
28891 _ACEOF
28892
28893 fi
28894 done
28895
28896 fi
28897 fi
28898
28899
28900
28901
28902
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28904 $as_echo_n "checking for logf declaration... " >&6; }
28905 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28906 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28907 $as_echo_n "(cached) " >&6
28908 else
28909
28910
28911 ac_ext=cpp
28912 ac_cpp='$CXXCPP $CPPFLAGS'
28913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28916
28917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28918 /* end confdefs.h. */
28919 #include <math.h>
28920 #ifdef HAVE_IEEEFP_H
28921 #include <ieeefp.h>
28922 #endif
28923
28924 int
28925 main ()
28926 {
28927 logf(0);
28928 ;
28929 return 0;
28930 }
28931 _ACEOF
28932 if ac_fn_cxx_try_compile "$LINENO"; then :
28933 glibcxx_cv_func_logf_use=yes
28934 else
28935 glibcxx_cv_func_logf_use=no
28936 fi
28937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28938 ac_ext=c
28939 ac_cpp='$CPP $CPPFLAGS'
28940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28943
28944
28945 fi
28946
28947 fi
28948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28949 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28950
28951 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28952 for ac_func in logf
28953 do :
28954 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28955 if test "x$ac_cv_func_logf" = x""yes; then :
28956 cat >>confdefs.h <<_ACEOF
28957 #define HAVE_LOGF 1
28958 _ACEOF
28959
28960 fi
28961 done
28962
28963 else
28964
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28966 $as_echo_n "checking for _logf declaration... " >&6; }
28967 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28968 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28969 $as_echo_n "(cached) " >&6
28970 else
28971
28972
28973 ac_ext=cpp
28974 ac_cpp='$CXXCPP $CPPFLAGS'
28975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28978
28979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28980 /* end confdefs.h. */
28981 #include <math.h>
28982 #ifdef HAVE_IEEEFP_H
28983 #include <ieeefp.h>
28984 #endif
28985
28986 int
28987 main ()
28988 {
28989 _logf(0);
28990 ;
28991 return 0;
28992 }
28993 _ACEOF
28994 if ac_fn_cxx_try_compile "$LINENO"; then :
28995 glibcxx_cv_func__logf_use=yes
28996 else
28997 glibcxx_cv_func__logf_use=no
28998 fi
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29000 ac_ext=c
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29005
29006
29007 fi
29008
29009 fi
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29011 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29012
29013 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29014 for ac_func in _logf
29015 do :
29016 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29017 if test "x$ac_cv_func__logf" = x""yes; then :
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE__LOGF 1
29020 _ACEOF
29021
29022 fi
29023 done
29024
29025 fi
29026 fi
29027
29028
29029
29030
29031
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29033 $as_echo_n "checking for log10f declaration... " >&6; }
29034 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29035 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29036 $as_echo_n "(cached) " >&6
29037 else
29038
29039
29040 ac_ext=cpp
29041 ac_cpp='$CXXCPP $CPPFLAGS'
29042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045
29046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29047 /* end confdefs.h. */
29048 #include <math.h>
29049 #ifdef HAVE_IEEEFP_H
29050 #include <ieeefp.h>
29051 #endif
29052
29053 int
29054 main ()
29055 {
29056 log10f(0);
29057 ;
29058 return 0;
29059 }
29060 _ACEOF
29061 if ac_fn_cxx_try_compile "$LINENO"; then :
29062 glibcxx_cv_func_log10f_use=yes
29063 else
29064 glibcxx_cv_func_log10f_use=no
29065 fi
29066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29067 ac_ext=c
29068 ac_cpp='$CPP $CPPFLAGS'
29069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29072
29073
29074 fi
29075
29076 fi
29077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29078 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29079
29080 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29081 for ac_func in log10f
29082 do :
29083 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29084 if test "x$ac_cv_func_log10f" = x""yes; then :
29085 cat >>confdefs.h <<_ACEOF
29086 #define HAVE_LOG10F 1
29087 _ACEOF
29088
29089 fi
29090 done
29091
29092 else
29093
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29095 $as_echo_n "checking for _log10f declaration... " >&6; }
29096 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29097 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29098 $as_echo_n "(cached) " >&6
29099 else
29100
29101
29102 ac_ext=cpp
29103 ac_cpp='$CXXCPP $CPPFLAGS'
29104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29107
29108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h. */
29110 #include <math.h>
29111 #ifdef HAVE_IEEEFP_H
29112 #include <ieeefp.h>
29113 #endif
29114
29115 int
29116 main ()
29117 {
29118 _log10f(0);
29119 ;
29120 return 0;
29121 }
29122 _ACEOF
29123 if ac_fn_cxx_try_compile "$LINENO"; then :
29124 glibcxx_cv_func__log10f_use=yes
29125 else
29126 glibcxx_cv_func__log10f_use=no
29127 fi
29128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29129 ac_ext=c
29130 ac_cpp='$CPP $CPPFLAGS'
29131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29134
29135
29136 fi
29137
29138 fi
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29140 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29141
29142 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29143 for ac_func in _log10f
29144 do :
29145 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29146 if test "x$ac_cv_func__log10f" = x""yes; then :
29147 cat >>confdefs.h <<_ACEOF
29148 #define HAVE__LOG10F 1
29149 _ACEOF
29150
29151 fi
29152 done
29153
29154 fi
29155 fi
29156
29157
29158
29159
29160
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29162 $as_echo_n "checking for modff declaration... " >&6; }
29163 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29164 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29165 $as_echo_n "(cached) " >&6
29166 else
29167
29168
29169 ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29174
29175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h. */
29177 #include <math.h>
29178 int
29179 main ()
29180 {
29181 modff(0, 0);
29182 ;
29183 return 0;
29184 }
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func_modff_use=yes
29188 else
29189 glibcxx_cv_func_modff_use=no
29190 fi
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198
29199 fi
29200
29201 fi
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29203 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29204
29205 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29206 for ac_func in modff
29207 do :
29208 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29209 if test "x$ac_cv_func_modff" = x""yes; then :
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE_MODFF 1
29212 _ACEOF
29213
29214 fi
29215 done
29216
29217 else
29218
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29220 $as_echo_n "checking for _modff declaration... " >&6; }
29221 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29222 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29223 $as_echo_n "(cached) " >&6
29224 else
29225
29226
29227 ac_ext=cpp
29228 ac_cpp='$CXXCPP $CPPFLAGS'
29229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29232
29233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h. */
29235 #include <math.h>
29236 int
29237 main ()
29238 {
29239 _modff(0, 0);
29240 ;
29241 return 0;
29242 }
29243 _ACEOF
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245 glibcxx_cv_func__modff_use=yes
29246 else
29247 glibcxx_cv_func__modff_use=no
29248 fi
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250 ac_ext=c
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29255
29256
29257 fi
29258
29259 fi
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29261 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29262
29263 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29264 for ac_func in _modff
29265 do :
29266 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29267 if test "x$ac_cv_func__modff" = x""yes; then :
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE__MODFF 1
29270 _ACEOF
29271
29272 fi
29273 done
29274
29275 fi
29276 fi
29277
29278
29279
29280
29281
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29283 $as_echo_n "checking for modf declaration... " >&6; }
29284 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29285 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29286 $as_echo_n "(cached) " >&6
29287 else
29288
29289
29290 ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295
29296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h. */
29298 #include <math.h>
29299 int
29300 main ()
29301 {
29302 modf(0, 0);
29303 ;
29304 return 0;
29305 }
29306 _ACEOF
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308 glibcxx_cv_func_modf_use=yes
29309 else
29310 glibcxx_cv_func_modf_use=no
29311 fi
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313 ac_ext=c
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29318
29319
29320 fi
29321
29322 fi
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29324 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29325
29326 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29327 for ac_func in modf
29328 do :
29329 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29330 if test "x$ac_cv_func_modf" = x""yes; then :
29331 cat >>confdefs.h <<_ACEOF
29332 #define HAVE_MODF 1
29333 _ACEOF
29334
29335 fi
29336 done
29337
29338 else
29339
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29341 $as_echo_n "checking for _modf declaration... " >&6; }
29342 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29343 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29344 $as_echo_n "(cached) " >&6
29345 else
29346
29347
29348 ac_ext=cpp
29349 ac_cpp='$CXXCPP $CPPFLAGS'
29350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29353
29354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29355 /* end confdefs.h. */
29356 #include <math.h>
29357 int
29358 main ()
29359 {
29360 _modf(0, 0);
29361 ;
29362 return 0;
29363 }
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func__modf_use=yes
29367 else
29368 glibcxx_cv_func__modf_use=no
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380 fi
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29382 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29383
29384 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29385 for ac_func in _modf
29386 do :
29387 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29388 if test "x$ac_cv_func__modf" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE__MODF 1
29391 _ACEOF
29392
29393 fi
29394 done
29395
29396 fi
29397 fi
29398
29399
29400
29401
29402
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29404 $as_echo_n "checking for powf declaration... " >&6; }
29405 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29406 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29407 $as_echo_n "(cached) " >&6
29408 else
29409
29410
29411 ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416
29417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h. */
29419 #include <math.h>
29420 int
29421 main ()
29422 {
29423 powf(0, 0);
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func_powf_use=yes
29430 else
29431 glibcxx_cv_func_powf_use=no
29432 fi
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443 fi
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29445 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29446
29447 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29448 for ac_func in powf
29449 do :
29450 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29451 if test "x$ac_cv_func_powf" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE_POWF 1
29454 _ACEOF
29455
29456 fi
29457 done
29458
29459 else
29460
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29462 $as_echo_n "checking for _powf declaration... " >&6; }
29463 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29464 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29465 $as_echo_n "(cached) " >&6
29466 else
29467
29468
29469 ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29474
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29477 #include <math.h>
29478 int
29479 main ()
29480 {
29481 _powf(0, 0);
29482 ;
29483 return 0;
29484 }
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487 glibcxx_cv_func__powf_use=yes
29488 else
29489 glibcxx_cv_func__powf_use=no
29490 fi
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497
29498
29499 fi
29500
29501 fi
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29503 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29504
29505 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29506 for ac_func in _powf
29507 do :
29508 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29509 if test "x$ac_cv_func__powf" = x""yes; then :
29510 cat >>confdefs.h <<_ACEOF
29511 #define HAVE__POWF 1
29512 _ACEOF
29513
29514 fi
29515 done
29516
29517 fi
29518 fi
29519
29520
29521
29522
29523
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29525 $as_echo_n "checking for sqrtf declaration... " >&6; }
29526 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29527 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29530
29531
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29541 #ifdef HAVE_IEEEFP_H
29542 #include <ieeefp.h>
29543 #endif
29544
29545 int
29546 main ()
29547 {
29548 sqrtf(0);
29549 ;
29550 return 0;
29551 }
29552 _ACEOF
29553 if ac_fn_cxx_try_compile "$LINENO"; then :
29554 glibcxx_cv_func_sqrtf_use=yes
29555 else
29556 glibcxx_cv_func_sqrtf_use=no
29557 fi
29558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29559 ac_ext=c
29560 ac_cpp='$CPP $CPPFLAGS'
29561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564
29565
29566 fi
29567
29568 fi
29569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29570 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29571
29572 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29573 for ac_func in sqrtf
29574 do :
29575 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29576 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29577 cat >>confdefs.h <<_ACEOF
29578 #define HAVE_SQRTF 1
29579 _ACEOF
29580
29581 fi
29582 done
29583
29584 else
29585
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29587 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29588 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29589 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29592
29593
29594 ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29599
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <math.h>
29603 #ifdef HAVE_IEEEFP_H
29604 #include <ieeefp.h>
29605 #endif
29606
29607 int
29608 main ()
29609 {
29610 _sqrtf(0);
29611 ;
29612 return 0;
29613 }
29614 _ACEOF
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616 glibcxx_cv_func__sqrtf_use=yes
29617 else
29618 glibcxx_cv_func__sqrtf_use=no
29619 fi
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621 ac_ext=c
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29626
29627
29628 fi
29629
29630 fi
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29632 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29633
29634 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29635 for ac_func in _sqrtf
29636 do :
29637 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29638 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE__SQRTF 1
29641 _ACEOF
29642
29643 fi
29644 done
29645
29646 fi
29647 fi
29648
29649
29650
29651
29652
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29654 $as_echo_n "checking for sincosf declaration... " >&6; }
29655 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29656 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29657 $as_echo_n "(cached) " >&6
29658 else
29659
29660
29661 ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29669 #include <math.h>
29670 int
29671 main ()
29672 {
29673 sincosf(0, 0, 0);
29674 ;
29675 return 0;
29676 }
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func_sincosf_use=yes
29680 else
29681 glibcxx_cv_func_sincosf_use=no
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689
29690
29691 fi
29692
29693 fi
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29695 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29696
29697 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29698 for ac_func in sincosf
29699 do :
29700 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29701 if test "x$ac_cv_func_sincosf" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE_SINCOSF 1
29704 _ACEOF
29705
29706 fi
29707 done
29708
29709 else
29710
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29712 $as_echo_n "checking for _sincosf declaration... " >&6; }
29713 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29714 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29717
29718
29719 ac_ext=cpp
29720 ac_cpp='$CXXCPP $CPPFLAGS'
29721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29724
29725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29726 /* end confdefs.h. */
29727 #include <math.h>
29728 int
29729 main ()
29730 {
29731 _sincosf(0, 0, 0);
29732 ;
29733 return 0;
29734 }
29735 _ACEOF
29736 if ac_fn_cxx_try_compile "$LINENO"; then :
29737 glibcxx_cv_func__sincosf_use=yes
29738 else
29739 glibcxx_cv_func__sincosf_use=no
29740 fi
29741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742 ac_ext=c
29743 ac_cpp='$CPP $CPPFLAGS'
29744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29747
29748
29749 fi
29750
29751 fi
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29753 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29754
29755 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29756 for ac_func in _sincosf
29757 do :
29758 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29759 if test "x$ac_cv_func__sincosf" = x""yes; then :
29760 cat >>confdefs.h <<_ACEOF
29761 #define HAVE__SINCOSF 1
29762 _ACEOF
29763
29764 fi
29765 done
29766
29767 fi
29768 fi
29769
29770
29771
29772
29773
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29775 $as_echo_n "checking for finitef declaration... " >&6; }
29776 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29777 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29778 $as_echo_n "(cached) " >&6
29779 else
29780
29781
29782 ac_ext=cpp
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29787
29788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29789 /* end confdefs.h. */
29790 #include <math.h>
29791 #ifdef HAVE_IEEEFP_H
29792 #include <ieeefp.h>
29793 #endif
29794
29795 int
29796 main ()
29797 {
29798 finitef(0);
29799 ;
29800 return 0;
29801 }
29802 _ACEOF
29803 if ac_fn_cxx_try_compile "$LINENO"; then :
29804 glibcxx_cv_func_finitef_use=yes
29805 else
29806 glibcxx_cv_func_finitef_use=no
29807 fi
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29809 ac_ext=c
29810 ac_cpp='$CPP $CPPFLAGS'
29811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814
29815
29816 fi
29817
29818 fi
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29820 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29821
29822 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29823 for ac_func in finitef
29824 do :
29825 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29826 if test "x$ac_cv_func_finitef" = x""yes; then :
29827 cat >>confdefs.h <<_ACEOF
29828 #define HAVE_FINITEF 1
29829 _ACEOF
29830
29831 fi
29832 done
29833
29834 else
29835
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29837 $as_echo_n "checking for _finitef declaration... " >&6; }
29838 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29839 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29840 $as_echo_n "(cached) " >&6
29841 else
29842
29843
29844 ac_ext=cpp
29845 ac_cpp='$CXXCPP $CPPFLAGS'
29846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29849
29850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851 /* end confdefs.h. */
29852 #include <math.h>
29853 #ifdef HAVE_IEEEFP_H
29854 #include <ieeefp.h>
29855 #endif
29856
29857 int
29858 main ()
29859 {
29860 _finitef(0);
29861 ;
29862 return 0;
29863 }
29864 _ACEOF
29865 if ac_fn_cxx_try_compile "$LINENO"; then :
29866 glibcxx_cv_func__finitef_use=yes
29867 else
29868 glibcxx_cv_func__finitef_use=no
29869 fi
29870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29871 ac_ext=c
29872 ac_cpp='$CPP $CPPFLAGS'
29873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29876
29877
29878 fi
29879
29880 fi
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29882 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29883
29884 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29885 for ac_func in _finitef
29886 do :
29887 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29888 if test "x$ac_cv_func__finitef" = x""yes; then :
29889 cat >>confdefs.h <<_ACEOF
29890 #define HAVE__FINITEF 1
29891 _ACEOF
29892
29893 fi
29894 done
29895
29896 fi
29897 fi
29898
29899
29900
29901
29902
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29904 $as_echo_n "checking for long double trig functions... " >&6; }
29905 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29907 else
29908
29909
29910 ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29915
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29918 #include <math.h>
29919 int
29920 main ()
29921 {
29922 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29923 ;
29924 return 0;
29925 }
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func_long_double_trig_use=yes
29929 else
29930 glibcxx_cv_func_long_double_trig_use=no
29931 fi
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29938
29939 fi
29940
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29942 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29943 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29944 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29945 do :
29946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29948 eval as_val=\$$as_ac_var
29949 if test "x$as_val" = x""yes; then :
29950 cat >>confdefs.h <<_ACEOF
29951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29952 _ACEOF
29953
29954 fi
29955 done
29956
29957 else
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29959 $as_echo_n "checking for _long double trig functions... " >&6; }
29960 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29963
29964
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 int
29975 main ()
29976 {
29977 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29978 ;
29979 return 0;
29980 }
29981 _ACEOF
29982 if ac_fn_cxx_try_compile "$LINENO"; then :
29983 glibcxx_cv_func__long_double_trig_use=yes
29984 else
29985 glibcxx_cv_func__long_double_trig_use=no
29986 fi
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29988 ac_ext=c
29989 ac_cpp='$CPP $CPPFLAGS'
29990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29993
29994 fi
29995
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29997 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29998 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29999 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30000 do :
30001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30003 eval as_val=\$$as_ac_var
30004 if test "x$as_val" = x""yes; then :
30005 cat >>confdefs.h <<_ACEOF
30006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30007 _ACEOF
30008
30009 fi
30010 done
30011
30012 fi
30013 fi
30014
30015
30016
30017
30018
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30020 $as_echo_n "checking for long double round functions... " >&6; }
30021 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30022 $as_echo_n "(cached) " >&6
30023 else
30024
30025
30026 ac_ext=cpp
30027 ac_cpp='$CXXCPP $CPPFLAGS'
30028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30031
30032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30034 #include <math.h>
30035 int
30036 main ()
30037 {
30038 ceill (0); floorl (0);
30039 ;
30040 return 0;
30041 }
30042 _ACEOF
30043 if ac_fn_cxx_try_compile "$LINENO"; then :
30044 glibcxx_cv_func_long_double_round_use=yes
30045 else
30046 glibcxx_cv_func_long_double_round_use=no
30047 fi
30048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30049 ac_ext=c
30050 ac_cpp='$CPP $CPPFLAGS'
30051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30054
30055 fi
30056
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30058 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30059 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30060 for ac_func in ceill floorl
30061 do :
30062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30064 eval as_val=\$$as_ac_var
30065 if test "x$as_val" = x""yes; then :
30066 cat >>confdefs.h <<_ACEOF
30067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30068 _ACEOF
30069
30070 fi
30071 done
30072
30073 else
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30075 $as_echo_n "checking for _long double round functions... " >&6; }
30076 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30077 $as_echo_n "(cached) " >&6
30078 else
30079
30080
30081 ac_ext=cpp
30082 ac_cpp='$CXXCPP $CPPFLAGS'
30083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30086
30087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30088 /* end confdefs.h. */
30089 #include <math.h>
30090 int
30091 main ()
30092 {
30093 _ceill (0); _floorl (0);
30094 ;
30095 return 0;
30096 }
30097 _ACEOF
30098 if ac_fn_cxx_try_compile "$LINENO"; then :
30099 glibcxx_cv_func__long_double_round_use=yes
30100 else
30101 glibcxx_cv_func__long_double_round_use=no
30102 fi
30103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30104 ac_ext=c
30105 ac_cpp='$CPP $CPPFLAGS'
30106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30109
30110 fi
30111
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30113 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30114 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30115 for ac_func in _ceill _floorl
30116 do :
30117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30119 eval as_val=\$$as_ac_var
30120 if test "x$as_val" = x""yes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30123 _ACEOF
30124
30125 fi
30126 done
30127
30128 fi
30129 fi
30130
30131
30132
30133
30134
30135
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30137 $as_echo_n "checking for isnanl declaration... " >&6; }
30138 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30139 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30141 else
30142
30143
30144 ac_ext=cpp
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30152 #include <math.h>
30153 #ifdef HAVE_IEEEFP_H
30154 #include <ieeefp.h>
30155 #endif
30156
30157 int
30158 main ()
30159 {
30160 isnanl(0);
30161 ;
30162 return 0;
30163 }
30164 _ACEOF
30165 if ac_fn_cxx_try_compile "$LINENO"; then :
30166 glibcxx_cv_func_isnanl_use=yes
30167 else
30168 glibcxx_cv_func_isnanl_use=no
30169 fi
30170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30171 ac_ext=c
30172 ac_cpp='$CPP $CPPFLAGS'
30173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30176
30177
30178 fi
30179
30180 fi
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30182 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30183
30184 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30185 for ac_func in isnanl
30186 do :
30187 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30188 if test "x$ac_cv_func_isnanl" = x""yes; then :
30189 cat >>confdefs.h <<_ACEOF
30190 #define HAVE_ISNANL 1
30191 _ACEOF
30192
30193 fi
30194 done
30195
30196 else
30197
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30199 $as_echo_n "checking for _isnanl declaration... " >&6; }
30200 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30201 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30202 $as_echo_n "(cached) " >&6
30203 else
30204
30205
30206 ac_ext=cpp
30207 ac_cpp='$CXXCPP $CPPFLAGS'
30208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30211
30212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30213 /* end confdefs.h. */
30214 #include <math.h>
30215 #ifdef HAVE_IEEEFP_H
30216 #include <ieeefp.h>
30217 #endif
30218
30219 int
30220 main ()
30221 {
30222 _isnanl(0);
30223 ;
30224 return 0;
30225 }
30226 _ACEOF
30227 if ac_fn_cxx_try_compile "$LINENO"; then :
30228 glibcxx_cv_func__isnanl_use=yes
30229 else
30230 glibcxx_cv_func__isnanl_use=no
30231 fi
30232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30233 ac_ext=c
30234 ac_cpp='$CPP $CPPFLAGS'
30235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30238
30239
30240 fi
30241
30242 fi
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30244 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30245
30246 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30247 for ac_func in _isnanl
30248 do :
30249 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30250 if test "x$ac_cv_func__isnanl" = x""yes; then :
30251 cat >>confdefs.h <<_ACEOF
30252 #define HAVE__ISNANL 1
30253 _ACEOF
30254
30255 fi
30256 done
30257
30258 fi
30259 fi
30260
30261
30262
30263
30264
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30266 $as_echo_n "checking for isinfl declaration... " >&6; }
30267 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30268 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30271
30272
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30282 #ifdef HAVE_IEEEFP_H
30283 #include <ieeefp.h>
30284 #endif
30285
30286 int
30287 main ()
30288 {
30289 isinfl(0);
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 if ac_fn_cxx_try_compile "$LINENO"; then :
30295 glibcxx_cv_func_isinfl_use=yes
30296 else
30297 glibcxx_cv_func_isinfl_use=no
30298 fi
30299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30300 ac_ext=c
30301 ac_cpp='$CPP $CPPFLAGS'
30302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30305
30306
30307 fi
30308
30309 fi
30310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30311 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30312
30313 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30314 for ac_func in isinfl
30315 do :
30316 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30317 if test "x$ac_cv_func_isinfl" = x""yes; then :
30318 cat >>confdefs.h <<_ACEOF
30319 #define HAVE_ISINFL 1
30320 _ACEOF
30321
30322 fi
30323 done
30324
30325 else
30326
30327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30328 $as_echo_n "checking for _isinfl declaration... " >&6; }
30329 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30330 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30331 $as_echo_n "(cached) " >&6
30332 else
30333
30334
30335 ac_ext=cpp
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30343 #include <math.h>
30344 #ifdef HAVE_IEEEFP_H
30345 #include <ieeefp.h>
30346 #endif
30347
30348 int
30349 main ()
30350 {
30351 _isinfl(0);
30352 ;
30353 return 0;
30354 }
30355 _ACEOF
30356 if ac_fn_cxx_try_compile "$LINENO"; then :
30357 glibcxx_cv_func__isinfl_use=yes
30358 else
30359 glibcxx_cv_func__isinfl_use=no
30360 fi
30361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30362 ac_ext=c
30363 ac_cpp='$CPP $CPPFLAGS'
30364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30367
30368
30369 fi
30370
30371 fi
30372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30373 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30374
30375 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30376 for ac_func in _isinfl
30377 do :
30378 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30379 if test "x$ac_cv_func__isinfl" = x""yes; then :
30380 cat >>confdefs.h <<_ACEOF
30381 #define HAVE__ISINFL 1
30382 _ACEOF
30383
30384 fi
30385 done
30386
30387 fi
30388 fi
30389
30390
30391
30392
30393
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30395 $as_echo_n "checking for atan2l declaration... " >&6; }
30396 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30397 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30398 $as_echo_n "(cached) " >&6
30399 else
30400
30401
30402 ac_ext=cpp
30403 ac_cpp='$CXXCPP $CPPFLAGS'
30404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30407
30408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30409 /* end confdefs.h. */
30410 #include <math.h>
30411 int
30412 main ()
30413 {
30414 atan2l(0, 0);
30415 ;
30416 return 0;
30417 }
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func_atan2l_use=yes
30421 else
30422 glibcxx_cv_func_atan2l_use=no
30423 fi
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430
30431
30432 fi
30433
30434 fi
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30436 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30437
30438 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30439 for ac_func in atan2l
30440 do :
30441 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30442 if test "x$ac_cv_func_atan2l" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE_ATAN2L 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450 else
30451
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30453 $as_echo_n "checking for _atan2l declaration... " >&6; }
30454 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30455 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30456 $as_echo_n "(cached) " >&6
30457 else
30458
30459
30460 ac_ext=cpp
30461 ac_cpp='$CXXCPP $CPPFLAGS'
30462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30465
30466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30467 /* end confdefs.h. */
30468 #include <math.h>
30469 int
30470 main ()
30471 {
30472 _atan2l(0, 0);
30473 ;
30474 return 0;
30475 }
30476 _ACEOF
30477 if ac_fn_cxx_try_compile "$LINENO"; then :
30478 glibcxx_cv_func__atan2l_use=yes
30479 else
30480 glibcxx_cv_func__atan2l_use=no
30481 fi
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483 ac_ext=c
30484 ac_cpp='$CPP $CPPFLAGS'
30485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30488
30489
30490 fi
30491
30492 fi
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30494 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30495
30496 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30497 for ac_func in _atan2l
30498 do :
30499 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30500 if test "x$ac_cv_func__atan2l" = x""yes; then :
30501 cat >>confdefs.h <<_ACEOF
30502 #define HAVE__ATAN2L 1
30503 _ACEOF
30504
30505 fi
30506 done
30507
30508 fi
30509 fi
30510
30511
30512
30513
30514
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30516 $as_echo_n "checking for expl declaration... " >&6; }
30517 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30518 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30519 $as_echo_n "(cached) " >&6
30520 else
30521
30522
30523 ac_ext=cpp
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30528
30529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30531 #include <math.h>
30532 #ifdef HAVE_IEEEFP_H
30533 #include <ieeefp.h>
30534 #endif
30535
30536 int
30537 main ()
30538 {
30539 expl(0);
30540 ;
30541 return 0;
30542 }
30543 _ACEOF
30544 if ac_fn_cxx_try_compile "$LINENO"; then :
30545 glibcxx_cv_func_expl_use=yes
30546 else
30547 glibcxx_cv_func_expl_use=no
30548 fi
30549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30550 ac_ext=c
30551 ac_cpp='$CPP $CPPFLAGS'
30552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30555
30556
30557 fi
30558
30559 fi
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30561 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30562
30563 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30564 for ac_func in expl
30565 do :
30566 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30567 if test "x$ac_cv_func_expl" = x""yes; then :
30568 cat >>confdefs.h <<_ACEOF
30569 #define HAVE_EXPL 1
30570 _ACEOF
30571
30572 fi
30573 done
30574
30575 else
30576
30577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30578 $as_echo_n "checking for _expl declaration... " >&6; }
30579 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30580 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30581 $as_echo_n "(cached) " >&6
30582 else
30583
30584
30585 ac_ext=cpp
30586 ac_cpp='$CXXCPP $CPPFLAGS'
30587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30590
30591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30592 /* end confdefs.h. */
30593 #include <math.h>
30594 #ifdef HAVE_IEEEFP_H
30595 #include <ieeefp.h>
30596 #endif
30597
30598 int
30599 main ()
30600 {
30601 _expl(0);
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 if ac_fn_cxx_try_compile "$LINENO"; then :
30607 glibcxx_cv_func__expl_use=yes
30608 else
30609 glibcxx_cv_func__expl_use=no
30610 fi
30611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30612 ac_ext=c
30613 ac_cpp='$CPP $CPPFLAGS'
30614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30617
30618
30619 fi
30620
30621 fi
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30623 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30624
30625 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30626 for ac_func in _expl
30627 do :
30628 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30629 if test "x$ac_cv_func__expl" = x""yes; then :
30630 cat >>confdefs.h <<_ACEOF
30631 #define HAVE__EXPL 1
30632 _ACEOF
30633
30634 fi
30635 done
30636
30637 fi
30638 fi
30639
30640
30641
30642
30643
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30645 $as_echo_n "checking for fabsl declaration... " >&6; }
30646 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30647 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30650
30651
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30661 #ifdef HAVE_IEEEFP_H
30662 #include <ieeefp.h>
30663 #endif
30664
30665 int
30666 main ()
30667 {
30668 fabsl(0);
30669 ;
30670 return 0;
30671 }
30672 _ACEOF
30673 if ac_fn_cxx_try_compile "$LINENO"; then :
30674 glibcxx_cv_func_fabsl_use=yes
30675 else
30676 glibcxx_cv_func_fabsl_use=no
30677 fi
30678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30679 ac_ext=c
30680 ac_cpp='$CPP $CPPFLAGS'
30681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30684
30685
30686 fi
30687
30688 fi
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30690 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30691
30692 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30693 for ac_func in fabsl
30694 do :
30695 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30696 if test "x$ac_cv_func_fabsl" = x""yes; then :
30697 cat >>confdefs.h <<_ACEOF
30698 #define HAVE_FABSL 1
30699 _ACEOF
30700
30701 fi
30702 done
30703
30704 else
30705
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30707 $as_echo_n "checking for _fabsl declaration... " >&6; }
30708 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30709 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30710 $as_echo_n "(cached) " >&6
30711 else
30712
30713
30714 ac_ext=cpp
30715 ac_cpp='$CXXCPP $CPPFLAGS'
30716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30719
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722 #include <math.h>
30723 #ifdef HAVE_IEEEFP_H
30724 #include <ieeefp.h>
30725 #endif
30726
30727 int
30728 main ()
30729 {
30730 _fabsl(0);
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 if ac_fn_cxx_try_compile "$LINENO"; then :
30736 glibcxx_cv_func__fabsl_use=yes
30737 else
30738 glibcxx_cv_func__fabsl_use=no
30739 fi
30740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30741 ac_ext=c
30742 ac_cpp='$CPP $CPPFLAGS'
30743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30746
30747
30748 fi
30749
30750 fi
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30752 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30753
30754 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30755 for ac_func in _fabsl
30756 do :
30757 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30758 if test "x$ac_cv_func__fabsl" = x""yes; then :
30759 cat >>confdefs.h <<_ACEOF
30760 #define HAVE__FABSL 1
30761 _ACEOF
30762
30763 fi
30764 done
30765
30766 fi
30767 fi
30768
30769
30770
30771
30772
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30774 $as_echo_n "checking for fmodl declaration... " >&6; }
30775 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30776 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30777 $as_echo_n "(cached) " >&6
30778 else
30779
30780
30781 ac_ext=cpp
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h. */
30789 #include <math.h>
30790 int
30791 main ()
30792 {
30793 fmodl(0, 0);
30794 ;
30795 return 0;
30796 }
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func_fmodl_use=yes
30800 else
30801 glibcxx_cv_func_fmodl_use=no
30802 fi
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30809
30810
30811 fi
30812
30813 fi
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30815 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30816
30817 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30818 for ac_func in fmodl
30819 do :
30820 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30821 if test "x$ac_cv_func_fmodl" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE_FMODL 1
30824 _ACEOF
30825
30826 fi
30827 done
30828
30829 else
30830
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30832 $as_echo_n "checking for _fmodl declaration... " >&6; }
30833 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30834 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30835 $as_echo_n "(cached) " >&6
30836 else
30837
30838
30839 ac_ext=cpp
30840 ac_cpp='$CXXCPP $CPPFLAGS'
30841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844
30845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30846 /* end confdefs.h. */
30847 #include <math.h>
30848 int
30849 main ()
30850 {
30851 _fmodl(0, 0);
30852 ;
30853 return 0;
30854 }
30855 _ACEOF
30856 if ac_fn_cxx_try_compile "$LINENO"; then :
30857 glibcxx_cv_func__fmodl_use=yes
30858 else
30859 glibcxx_cv_func__fmodl_use=no
30860 fi
30861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30862 ac_ext=c
30863 ac_cpp='$CPP $CPPFLAGS'
30864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30867
30868
30869 fi
30870
30871 fi
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30873 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30874
30875 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30876 for ac_func in _fmodl
30877 do :
30878 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30879 if test "x$ac_cv_func__fmodl" = x""yes; then :
30880 cat >>confdefs.h <<_ACEOF
30881 #define HAVE__FMODL 1
30882 _ACEOF
30883
30884 fi
30885 done
30886
30887 fi
30888 fi
30889
30890
30891
30892
30893
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30895 $as_echo_n "checking for frexpl declaration... " >&6; }
30896 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30897 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30900
30901
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30911 int
30912 main ()
30913 {
30914 frexpl(0, 0);
30915 ;
30916 return 0;
30917 }
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func_frexpl_use=yes
30921 else
30922 glibcxx_cv_func_frexpl_use=no
30923 fi
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30930
30931
30932 fi
30933
30934 fi
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30936 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30937
30938 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30939 for ac_func in frexpl
30940 do :
30941 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30942 if test "x$ac_cv_func_frexpl" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE_FREXPL 1
30945 _ACEOF
30946
30947 fi
30948 done
30949
30950 else
30951
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30953 $as_echo_n "checking for _frexpl declaration... " >&6; }
30954 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30955 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30956 $as_echo_n "(cached) " >&6
30957 else
30958
30959
30960 ac_ext=cpp
30961 ac_cpp='$CXXCPP $CPPFLAGS'
30962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30965
30966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967 /* end confdefs.h. */
30968 #include <math.h>
30969 int
30970 main ()
30971 {
30972 _frexpl(0, 0);
30973 ;
30974 return 0;
30975 }
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978 glibcxx_cv_func__frexpl_use=yes
30979 else
30980 glibcxx_cv_func__frexpl_use=no
30981 fi
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983 ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30988
30989
30990 fi
30991
30992 fi
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30994 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30995
30996 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30997 for ac_func in _frexpl
30998 do :
30999 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31000 if test "x$ac_cv_func__frexpl" = x""yes; then :
31001 cat >>confdefs.h <<_ACEOF
31002 #define HAVE__FREXPL 1
31003 _ACEOF
31004
31005 fi
31006 done
31007
31008 fi
31009 fi
31010
31011
31012
31013
31014
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31016 $as_echo_n "checking for hypotl declaration... " >&6; }
31017 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31018 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31020 else
31021
31022
31023 ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31031 #include <math.h>
31032 int
31033 main ()
31034 {
31035 hypotl(0, 0);
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func_hypotl_use=yes
31042 else
31043 glibcxx_cv_func_hypotl_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055 fi
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31057 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31058
31059 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31060 for ac_func in hypotl
31061 do :
31062 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31063 if test "x$ac_cv_func_hypotl" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE_HYPOTL 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071 else
31072
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31074 $as_echo_n "checking for _hypotl declaration... " >&6; }
31075 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31076 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31077 $as_echo_n "(cached) " >&6
31078 else
31079
31080
31081 ac_ext=cpp
31082 ac_cpp='$CXXCPP $CPPFLAGS'
31083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31086
31087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088 /* end confdefs.h. */
31089 #include <math.h>
31090 int
31091 main ()
31092 {
31093 _hypotl(0, 0);
31094 ;
31095 return 0;
31096 }
31097 _ACEOF
31098 if ac_fn_cxx_try_compile "$LINENO"; then :
31099 glibcxx_cv_func__hypotl_use=yes
31100 else
31101 glibcxx_cv_func__hypotl_use=no
31102 fi
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31104 ac_ext=c
31105 ac_cpp='$CPP $CPPFLAGS'
31106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31109
31110
31111 fi
31112
31113 fi
31114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31115 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31116
31117 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31118 for ac_func in _hypotl
31119 do :
31120 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31121 if test "x$ac_cv_func__hypotl" = x""yes; then :
31122 cat >>confdefs.h <<_ACEOF
31123 #define HAVE__HYPOTL 1
31124 _ACEOF
31125
31126 fi
31127 done
31128
31129 fi
31130 fi
31131
31132
31133
31134
31135
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31137 $as_echo_n "checking for ldexpl declaration... " >&6; }
31138 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31139 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31142
31143
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31153 int
31154 main ()
31155 {
31156 ldexpl(0, 0);
31157 ;
31158 return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func_ldexpl_use=yes
31163 else
31164 glibcxx_cv_func_ldexpl_use=no
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175
31176 fi
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31178 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31179
31180 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31181 for ac_func in ldexpl
31182 do :
31183 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31184 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE_LDEXPL 1
31187 _ACEOF
31188
31189 fi
31190 done
31191
31192 else
31193
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31195 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31196 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31197 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31198 $as_echo_n "(cached) " >&6
31199 else
31200
31201
31202 ac_ext=cpp
31203 ac_cpp='$CXXCPP $CPPFLAGS'
31204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31207
31208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31209 /* end confdefs.h. */
31210 #include <math.h>
31211 int
31212 main ()
31213 {
31214 _ldexpl(0, 0);
31215 ;
31216 return 0;
31217 }
31218 _ACEOF
31219 if ac_fn_cxx_try_compile "$LINENO"; then :
31220 glibcxx_cv_func__ldexpl_use=yes
31221 else
31222 glibcxx_cv_func__ldexpl_use=no
31223 fi
31224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31225 ac_ext=c
31226 ac_cpp='$CPP $CPPFLAGS'
31227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31230
31231
31232 fi
31233
31234 fi
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31236 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31237
31238 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31239 for ac_func in _ldexpl
31240 do :
31241 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31242 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31243 cat >>confdefs.h <<_ACEOF
31244 #define HAVE__LDEXPL 1
31245 _ACEOF
31246
31247 fi
31248 done
31249
31250 fi
31251 fi
31252
31253
31254
31255
31256
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31258 $as_echo_n "checking for logl declaration... " >&6; }
31259 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31260 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31261 $as_echo_n "(cached) " >&6
31262 else
31263
31264
31265 ac_ext=cpp
31266 ac_cpp='$CXXCPP $CPPFLAGS'
31267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31270
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31273 #include <math.h>
31274 #ifdef HAVE_IEEEFP_H
31275 #include <ieeefp.h>
31276 #endif
31277
31278 int
31279 main ()
31280 {
31281 logl(0);
31282 ;
31283 return 0;
31284 }
31285 _ACEOF
31286 if ac_fn_cxx_try_compile "$LINENO"; then :
31287 glibcxx_cv_func_logl_use=yes
31288 else
31289 glibcxx_cv_func_logl_use=no
31290 fi
31291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31292 ac_ext=c
31293 ac_cpp='$CPP $CPPFLAGS'
31294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31297
31298
31299 fi
31300
31301 fi
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31303 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31304
31305 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31306 for ac_func in logl
31307 do :
31308 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31309 if test "x$ac_cv_func_logl" = x""yes; then :
31310 cat >>confdefs.h <<_ACEOF
31311 #define HAVE_LOGL 1
31312 _ACEOF
31313
31314 fi
31315 done
31316
31317 else
31318
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31320 $as_echo_n "checking for _logl declaration... " >&6; }
31321 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31322 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31323 $as_echo_n "(cached) " >&6
31324 else
31325
31326
31327 ac_ext=cpp
31328 ac_cpp='$CXXCPP $CPPFLAGS'
31329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31332
31333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31335 #include <math.h>
31336 #ifdef HAVE_IEEEFP_H
31337 #include <ieeefp.h>
31338 #endif
31339
31340 int
31341 main ()
31342 {
31343 _logl(0);
31344 ;
31345 return 0;
31346 }
31347 _ACEOF
31348 if ac_fn_cxx_try_compile "$LINENO"; then :
31349 glibcxx_cv_func__logl_use=yes
31350 else
31351 glibcxx_cv_func__logl_use=no
31352 fi
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354 ac_ext=c
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31359
31360
31361 fi
31362
31363 fi
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31365 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31366
31367 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31368 for ac_func in _logl
31369 do :
31370 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31371 if test "x$ac_cv_func__logl" = x""yes; then :
31372 cat >>confdefs.h <<_ACEOF
31373 #define HAVE__LOGL 1
31374 _ACEOF
31375
31376 fi
31377 done
31378
31379 fi
31380 fi
31381
31382
31383
31384
31385
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31387 $as_echo_n "checking for log10l declaration... " >&6; }
31388 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31389 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31390 $as_echo_n "(cached) " >&6
31391 else
31392
31393
31394 ac_ext=cpp
31395 ac_cpp='$CXXCPP $CPPFLAGS'
31396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31399
31400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31402 #include <math.h>
31403 #ifdef HAVE_IEEEFP_H
31404 #include <ieeefp.h>
31405 #endif
31406
31407 int
31408 main ()
31409 {
31410 log10l(0);
31411 ;
31412 return 0;
31413 }
31414 _ACEOF
31415 if ac_fn_cxx_try_compile "$LINENO"; then :
31416 glibcxx_cv_func_log10l_use=yes
31417 else
31418 glibcxx_cv_func_log10l_use=no
31419 fi
31420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31421 ac_ext=c
31422 ac_cpp='$CPP $CPPFLAGS'
31423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31426
31427
31428 fi
31429
31430 fi
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31432 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31433
31434 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31435 for ac_func in log10l
31436 do :
31437 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31438 if test "x$ac_cv_func_log10l" = x""yes; then :
31439 cat >>confdefs.h <<_ACEOF
31440 #define HAVE_LOG10L 1
31441 _ACEOF
31442
31443 fi
31444 done
31445
31446 else
31447
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31449 $as_echo_n "checking for _log10l declaration... " >&6; }
31450 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31451 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31452 $as_echo_n "(cached) " >&6
31453 else
31454
31455
31456 ac_ext=cpp
31457 ac_cpp='$CXXCPP $CPPFLAGS'
31458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31461
31462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31463 /* end confdefs.h. */
31464 #include <math.h>
31465 #ifdef HAVE_IEEEFP_H
31466 #include <ieeefp.h>
31467 #endif
31468
31469 int
31470 main ()
31471 {
31472 _log10l(0);
31473 ;
31474 return 0;
31475 }
31476 _ACEOF
31477 if ac_fn_cxx_try_compile "$LINENO"; then :
31478 glibcxx_cv_func__log10l_use=yes
31479 else
31480 glibcxx_cv_func__log10l_use=no
31481 fi
31482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31483 ac_ext=c
31484 ac_cpp='$CPP $CPPFLAGS'
31485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31488
31489
31490 fi
31491
31492 fi
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31494 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31495
31496 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31497 for ac_func in _log10l
31498 do :
31499 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31500 if test "x$ac_cv_func__log10l" = x""yes; then :
31501 cat >>confdefs.h <<_ACEOF
31502 #define HAVE__LOG10L 1
31503 _ACEOF
31504
31505 fi
31506 done
31507
31508 fi
31509 fi
31510
31511
31512
31513
31514
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31516 $as_echo_n "checking for modfl declaration... " >&6; }
31517 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31518 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31519 $as_echo_n "(cached) " >&6
31520 else
31521
31522
31523 ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31528
31529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h. */
31531 #include <math.h>
31532 int
31533 main ()
31534 {
31535 modfl(0, 0);
31536 ;
31537 return 0;
31538 }
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func_modfl_use=yes
31542 else
31543 glibcxx_cv_func_modfl_use=no
31544 fi
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551
31552
31553 fi
31554
31555 fi
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31557 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31558
31559 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31560 for ac_func in modfl
31561 do :
31562 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31563 if test "x$ac_cv_func_modfl" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE_MODFL 1
31566 _ACEOF
31567
31568 fi
31569 done
31570
31571 else
31572
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31574 $as_echo_n "checking for _modfl declaration... " >&6; }
31575 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31576 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31577 $as_echo_n "(cached) " >&6
31578 else
31579
31580
31581 ac_ext=cpp
31582 ac_cpp='$CXXCPP $CPPFLAGS'
31583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31586
31587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31588 /* end confdefs.h. */
31589 #include <math.h>
31590 int
31591 main ()
31592 {
31593 _modfl(0, 0);
31594 ;
31595 return 0;
31596 }
31597 _ACEOF
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599 glibcxx_cv_func__modfl_use=yes
31600 else
31601 glibcxx_cv_func__modfl_use=no
31602 fi
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 ac_ext=c
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31609
31610
31611 fi
31612
31613 fi
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31615 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31616
31617 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31618 for ac_func in _modfl
31619 do :
31620 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31621 if test "x$ac_cv_func__modfl" = x""yes; then :
31622 cat >>confdefs.h <<_ACEOF
31623 #define HAVE__MODFL 1
31624 _ACEOF
31625
31626 fi
31627 done
31628
31629 fi
31630 fi
31631
31632
31633
31634
31635
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31637 $as_echo_n "checking for powl declaration... " >&6; }
31638 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31639 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31642
31643
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31653 int
31654 main ()
31655 {
31656 powl(0, 0);
31657 ;
31658 return 0;
31659 }
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func_powl_use=yes
31663 else
31664 glibcxx_cv_func_powl_use=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672
31673
31674 fi
31675
31676 fi
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31678 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31679
31680 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31681 for ac_func in powl
31682 do :
31683 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31684 if test "x$ac_cv_func_powl" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE_POWL 1
31687 _ACEOF
31688
31689 fi
31690 done
31691
31692 else
31693
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31695 $as_echo_n "checking for _powl declaration... " >&6; }
31696 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31697 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31698 $as_echo_n "(cached) " >&6
31699 else
31700
31701
31702 ac_ext=cpp
31703 ac_cpp='$CXXCPP $CPPFLAGS'
31704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31707
31708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31709 /* end confdefs.h. */
31710 #include <math.h>
31711 int
31712 main ()
31713 {
31714 _powl(0, 0);
31715 ;
31716 return 0;
31717 }
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720 glibcxx_cv_func__powl_use=yes
31721 else
31722 glibcxx_cv_func__powl_use=no
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725 ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31730
31731
31732 fi
31733
31734 fi
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31736 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31737
31738 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31739 for ac_func in _powl
31740 do :
31741 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31742 if test "x$ac_cv_func__powl" = x""yes; then :
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE__POWL 1
31745 _ACEOF
31746
31747 fi
31748 done
31749
31750 fi
31751 fi
31752
31753
31754
31755
31756
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31758 $as_echo_n "checking for sqrtl declaration... " >&6; }
31759 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31760 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31763
31764
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31774 #ifdef HAVE_IEEEFP_H
31775 #include <ieeefp.h>
31776 #endif
31777
31778 int
31779 main ()
31780 {
31781 sqrtl(0);
31782 ;
31783 return 0;
31784 }
31785 _ACEOF
31786 if ac_fn_cxx_try_compile "$LINENO"; then :
31787 glibcxx_cv_func_sqrtl_use=yes
31788 else
31789 glibcxx_cv_func_sqrtl_use=no
31790 fi
31791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31792 ac_ext=c
31793 ac_cpp='$CPP $CPPFLAGS'
31794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31797
31798
31799 fi
31800
31801 fi
31802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31803 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31804
31805 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31806 for ac_func in sqrtl
31807 do :
31808 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31809 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31810 cat >>confdefs.h <<_ACEOF
31811 #define HAVE_SQRTL 1
31812 _ACEOF
31813
31814 fi
31815 done
31816
31817 else
31818
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31820 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31821 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31822 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31825
31826
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31836 #ifdef HAVE_IEEEFP_H
31837 #include <ieeefp.h>
31838 #endif
31839
31840 int
31841 main ()
31842 {
31843 _sqrtl(0);
31844 ;
31845 return 0;
31846 }
31847 _ACEOF
31848 if ac_fn_cxx_try_compile "$LINENO"; then :
31849 glibcxx_cv_func__sqrtl_use=yes
31850 else
31851 glibcxx_cv_func__sqrtl_use=no
31852 fi
31853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31854 ac_ext=c
31855 ac_cpp='$CPP $CPPFLAGS'
31856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31859
31860
31861 fi
31862
31863 fi
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31865 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31866
31867 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31868 for ac_func in _sqrtl
31869 do :
31870 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31871 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31872 cat >>confdefs.h <<_ACEOF
31873 #define HAVE__SQRTL 1
31874 _ACEOF
31875
31876 fi
31877 done
31878
31879 fi
31880 fi
31881
31882
31883
31884
31885
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31887 $as_echo_n "checking for sincosl declaration... " >&6; }
31888 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31889 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31890 $as_echo_n "(cached) " >&6
31891 else
31892
31893
31894 ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899
31900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h. */
31902 #include <math.h>
31903 int
31904 main ()
31905 {
31906 sincosl(0, 0, 0);
31907 ;
31908 return 0;
31909 }
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func_sincosl_use=yes
31913 else
31914 glibcxx_cv_func_sincosl_use=no
31915 fi
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922
31923
31924 fi
31925
31926 fi
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31928 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31929
31930 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31931 for ac_func in sincosl
31932 do :
31933 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31934 if test "x$ac_cv_func_sincosl" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE_SINCOSL 1
31937 _ACEOF
31938
31939 fi
31940 done
31941
31942 else
31943
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31945 $as_echo_n "checking for _sincosl declaration... " >&6; }
31946 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31947 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31948 $as_echo_n "(cached) " >&6
31949 else
31950
31951
31952 ac_ext=cpp
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31957
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31960 #include <math.h>
31961 int
31962 main ()
31963 {
31964 _sincosl(0, 0, 0);
31965 ;
31966 return 0;
31967 }
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func__sincosl_use=yes
31971 else
31972 glibcxx_cv_func__sincosl_use=no
31973 fi
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980
31981
31982 fi
31983
31984 fi
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31986 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31987
31988 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31989 for ac_func in _sincosl
31990 do :
31991 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31992 if test "x$ac_cv_func__sincosl" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE__SINCOSL 1
31995 _ACEOF
31996
31997 fi
31998 done
31999
32000 fi
32001 fi
32002
32003
32004
32005
32006
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32008 $as_echo_n "checking for finitel declaration... " >&6; }
32009 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32010 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32011 $as_echo_n "(cached) " >&6
32012 else
32013
32014
32015 ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020
32021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h. */
32023 #include <math.h>
32024 #ifdef HAVE_IEEEFP_H
32025 #include <ieeefp.h>
32026 #endif
32027
32028 int
32029 main ()
32030 {
32031 finitel(0);
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 if ac_fn_cxx_try_compile "$LINENO"; then :
32037 glibcxx_cv_func_finitel_use=yes
32038 else
32039 glibcxx_cv_func_finitel_use=no
32040 fi
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32042 ac_ext=c
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047
32048
32049 fi
32050
32051 fi
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32053 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32054
32055 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32056 for ac_func in finitel
32057 do :
32058 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32059 if test "x$ac_cv_func_finitel" = x""yes; then :
32060 cat >>confdefs.h <<_ACEOF
32061 #define HAVE_FINITEL 1
32062 _ACEOF
32063
32064 fi
32065 done
32066
32067 else
32068
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32070 $as_echo_n "checking for _finitel declaration... " >&6; }
32071 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32072 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32075
32076
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32082
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32089
32090 int
32091 main ()
32092 {
32093 _finitel(0);
32094 ;
32095 return 0;
32096 }
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func__finitel_use=yes
32100 else
32101 glibcxx_cv_func__finitel_use=no
32102 fi
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32109
32110
32111 fi
32112
32113 fi
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32115 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32116
32117 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32118 for ac_func in _finitel
32119 do :
32120 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32121 if test "x$ac_cv_func__finitel" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE__FINITEL 1
32124 _ACEOF
32125
32126 fi
32127 done
32128
32129 fi
32130 fi
32131
32132
32133
32134
32135 LIBS="$ac_save_LIBS"
32136 CXXFLAGS="$ac_save_CXXFLAGS"
32137
32138
32139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32140 ac_save_CXXFLAGS="$CXXFLAGS"
32141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32142
32143
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32145 $as_echo_n "checking for strtold declaration... " >&6; }
32146 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32147 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32148 $as_echo_n "(cached) " >&6
32149 else
32150
32151
32152 ac_ext=cpp
32153 ac_cpp='$CXXCPP $CPPFLAGS'
32154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32157
32158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32159 /* end confdefs.h. */
32160 #include <stdlib.h>
32161 int
32162 main ()
32163 {
32164 strtold(0, 0);
32165 ;
32166 return 0;
32167 }
32168 _ACEOF
32169 if ac_fn_cxx_try_compile "$LINENO"; then :
32170 glibcxx_cv_func_strtold_use=yes
32171 else
32172 glibcxx_cv_func_strtold_use=no
32173 fi
32174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32175 ac_ext=c
32176 ac_cpp='$CPP $CPPFLAGS'
32177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32180
32181
32182 fi
32183
32184 fi
32185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32186 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32187 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32188 for ac_func in strtold
32189 do :
32190 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32191 if test "x$ac_cv_func_strtold" = x""yes; then :
32192 cat >>confdefs.h <<_ACEOF
32193 #define HAVE_STRTOLD 1
32194 _ACEOF
32195
32196 fi
32197 done
32198
32199 fi
32200
32201
32202
32203
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32205 $as_echo_n "checking for strtof declaration... " >&6; }
32206 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32207 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32208 $as_echo_n "(cached) " >&6
32209 else
32210
32211
32212 ac_ext=cpp
32213 ac_cpp='$CXXCPP $CPPFLAGS'
32214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32217
32218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32219 /* end confdefs.h. */
32220 #include <stdlib.h>
32221 int
32222 main ()
32223 {
32224 strtof(0, 0);
32225 ;
32226 return 0;
32227 }
32228 _ACEOF
32229 if ac_fn_cxx_try_compile "$LINENO"; then :
32230 glibcxx_cv_func_strtof_use=yes
32231 else
32232 glibcxx_cv_func_strtof_use=no
32233 fi
32234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32235 ac_ext=c
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32240
32241
32242 fi
32243
32244 fi
32245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32246 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32247 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32248 for ac_func in strtof
32249 do :
32250 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32251 if test "x$ac_cv_func_strtof" = x""yes; then :
32252 cat >>confdefs.h <<_ACEOF
32253 #define HAVE_STRTOF 1
32254 _ACEOF
32255
32256 fi
32257 done
32258
32259 fi
32260
32261
32262
32263
32264 CXXFLAGS="$ac_save_CXXFLAGS"
32265
32266
32267 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32268
32269 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32270
32271 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32272
32273 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32274
32275
32276 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32277
32278 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32279
32280 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32281
32282 ;;
32283
32284 *-aix*)
32285
32286 # If we're not using GNU ld, then there's no point in even trying these
32287 # tests. Check for that first. We should have already tested for gld
32288 # by now (in libtool), but require it now just to be safe...
32289 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32290 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32291
32292
32293
32294 # The name set by libtool depends on the version of libtool. Shame on us
32295 # for depending on an impl detail, but c'est la vie. Older versions used
32296 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32297 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32298 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32299 # set (hence we're using an older libtool), then set it.
32300 if test x${with_gnu_ld+set} != xset; then
32301 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32302 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32303 with_gnu_ld=no
32304 else
32305 with_gnu_ld=$ac_cv_prog_gnu_ld
32306 fi
32307 fi
32308
32309 # Start by getting the version number. I think the libtool test already
32310 # does some of this, but throws away the result.
32311 glibcxx_ld_is_gold=no
32312 if test x"$with_gnu_ld" = x"yes"; then
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32314 $as_echo_n "checking for ld version... " >&6; }
32315
32316 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32317 glibcxx_ld_is_gold=yes
32318 fi
32319 ldver=`$LD --version 2>/dev/null |
32320 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'`
32321
32322 glibcxx_gnu_ld_version=`echo $ldver | \
32323 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32325 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32326 fi
32327
32328 # Set --gc-sections.
32329 glibcxx_have_gc_sections=no
32330 if test "$glibcxx_ld_is_gold" = "yes"; then
32331 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32332 glibcxx_have_gc_sections=yes
32333 fi
32334 else
32335 glibcxx_gcsections_min_ld=21602
32336 if test x"$with_gnu_ld" = x"yes" &&
32337 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32338 glibcxx_have_gc_sections=yes
32339 fi
32340 fi
32341 if test "$glibcxx_have_gc_sections" = "yes"; then
32342 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32343 # NB: This flag only works reliably after 2.16.1. Configure tests
32344 # for this are difficult, so hard wire a value that should work.
32345
32346 ac_test_CFLAGS="${CFLAGS+set}"
32347 ac_save_CFLAGS="$CFLAGS"
32348 CFLAGS='-Wl,--gc-sections'
32349
32350 # Check for -Wl,--gc-sections
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32352 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32353 if test x$gcc_no_link = xyes; then
32354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32355 fi
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 int one(void) { return 1; }
32359 int two(void) { return 2; }
32360
32361 int
32362 main ()
32363 {
32364 two();
32365 ;
32366 return 0;
32367 }
32368 _ACEOF
32369 if ac_fn_c_try_link "$LINENO"; then :
32370 ac_gcsections=yes
32371 else
32372 ac_gcsections=no
32373 fi
32374 rm -f core conftest.err conftest.$ac_objext \
32375 conftest$ac_exeext conftest.$ac_ext
32376 if test "$ac_gcsections" = "yes"; then
32377 rm -f conftest.c
32378 touch conftest.c
32379 if $CC -c conftest.c; then
32380 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32381 grep "Warning: gc-sections option ignored" > /dev/null; then
32382 ac_gcsections=no
32383 fi
32384 fi
32385 rm -f conftest.c conftest.o conftest
32386 fi
32387 if test "$ac_gcsections" = "yes"; then
32388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32389 fi
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32391 $as_echo "$ac_gcsections" >&6; }
32392
32393 if test "$ac_test_CFLAGS" = set; then
32394 CFLAGS="$ac_save_CFLAGS"
32395 else
32396 # this is the suspicious part
32397 CFLAGS=''
32398 fi
32399 fi
32400
32401 # Set -z,relro.
32402 # Note this is only for shared objects.
32403 ac_ld_relro=no
32404 if test x"$with_gnu_ld" = x"yes"; then
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32406 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32407 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32408 if test -n "$cxx_z_relo"; then
32409 OPT_LDFLAGS="-Wl,-z,relro"
32410 ac_ld_relro=yes
32411 fi
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32413 $as_echo "$ac_ld_relro" >&6; }
32414 fi
32415
32416 # Set linker optimization flags.
32417 if test x"$with_gnu_ld" = x"yes"; then
32418 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32419 fi
32420
32421
32422
32423
32424
32425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32426 ac_save_CXXFLAGS="$CXXFLAGS"
32427 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32428
32429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32430 $as_echo_n "checking for sin in -lm... " >&6; }
32431 if test "${ac_cv_lib_m_sin+set}" = set; then :
32432 $as_echo_n "(cached) " >&6
32433 else
32434 ac_check_lib_save_LIBS=$LIBS
32435 LIBS="-lm $LIBS"
32436 if test x$gcc_no_link = xyes; then
32437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32438 fi
32439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32440 /* end confdefs.h. */
32441
32442 /* Override any GCC internal prototype to avoid an error.
32443 Use char because int might match the return type of a GCC
32444 builtin and then its argument prototype would still apply. */
32445 #ifdef __cplusplus
32446 extern "C"
32447 #endif
32448 char sin ();
32449 int
32450 main ()
32451 {
32452 return sin ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 if ac_fn_c_try_link "$LINENO"; then :
32458 ac_cv_lib_m_sin=yes
32459 else
32460 ac_cv_lib_m_sin=no
32461 fi
32462 rm -f core conftest.err conftest.$ac_objext \
32463 conftest$ac_exeext conftest.$ac_ext
32464 LIBS=$ac_check_lib_save_LIBS
32465 fi
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32467 $as_echo "$ac_cv_lib_m_sin" >&6; }
32468 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32469 libm="-lm"
32470 fi
32471
32472 ac_save_LIBS="$LIBS"
32473 LIBS="$LIBS $libm"
32474
32475
32476
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32478 $as_echo_n "checking for isinf declaration... " >&6; }
32479 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32480 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32481 $as_echo_n "(cached) " >&6
32482 else
32483
32484
32485 ac_ext=cpp
32486 ac_cpp='$CXXCPP $CPPFLAGS'
32487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32490
32491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32492 /* end confdefs.h. */
32493 #include <math.h>
32494 #ifdef HAVE_IEEEFP_H
32495 #include <ieeefp.h>
32496 #endif
32497
32498 int
32499 main ()
32500 {
32501 isinf(0);
32502 ;
32503 return 0;
32504 }
32505 _ACEOF
32506 if ac_fn_cxx_try_compile "$LINENO"; then :
32507 glibcxx_cv_func_isinf_use=yes
32508 else
32509 glibcxx_cv_func_isinf_use=no
32510 fi
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512 ac_ext=c
32513 ac_cpp='$CPP $CPPFLAGS'
32514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32517
32518
32519 fi
32520
32521 fi
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32523 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32524
32525 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32526 for ac_func in isinf
32527 do :
32528 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32529 if test "x$ac_cv_func_isinf" = x""yes; then :
32530 cat >>confdefs.h <<_ACEOF
32531 #define HAVE_ISINF 1
32532 _ACEOF
32533
32534 fi
32535 done
32536
32537 else
32538
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32540 $as_echo_n "checking for _isinf declaration... " >&6; }
32541 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32542 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32545
32546
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32552
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <math.h>
32556 #ifdef HAVE_IEEEFP_H
32557 #include <ieeefp.h>
32558 #endif
32559
32560 int
32561 main ()
32562 {
32563 _isinf(0);
32564 ;
32565 return 0;
32566 }
32567 _ACEOF
32568 if ac_fn_cxx_try_compile "$LINENO"; then :
32569 glibcxx_cv_func__isinf_use=yes
32570 else
32571 glibcxx_cv_func__isinf_use=no
32572 fi
32573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32574 ac_ext=c
32575 ac_cpp='$CPP $CPPFLAGS'
32576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32579
32580
32581 fi
32582
32583 fi
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32585 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32586
32587 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32588 for ac_func in _isinf
32589 do :
32590 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32591 if test "x$ac_cv_func__isinf" = x""yes; then :
32592 cat >>confdefs.h <<_ACEOF
32593 #define HAVE__ISINF 1
32594 _ACEOF
32595
32596 fi
32597 done
32598
32599 fi
32600 fi
32601
32602
32603
32604
32605
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32607 $as_echo_n "checking for isnan declaration... " >&6; }
32608 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32609 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32610 $as_echo_n "(cached) " >&6
32611 else
32612
32613
32614 ac_ext=cpp
32615 ac_cpp='$CXXCPP $CPPFLAGS'
32616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32619
32620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32621 /* end confdefs.h. */
32622 #include <math.h>
32623 #ifdef HAVE_IEEEFP_H
32624 #include <ieeefp.h>
32625 #endif
32626
32627 int
32628 main ()
32629 {
32630 isnan(0);
32631 ;
32632 return 0;
32633 }
32634 _ACEOF
32635 if ac_fn_cxx_try_compile "$LINENO"; then :
32636 glibcxx_cv_func_isnan_use=yes
32637 else
32638 glibcxx_cv_func_isnan_use=no
32639 fi
32640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32641 ac_ext=c
32642 ac_cpp='$CPP $CPPFLAGS'
32643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32646
32647
32648 fi
32649
32650 fi
32651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32652 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32653
32654 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32655 for ac_func in isnan
32656 do :
32657 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32658 if test "x$ac_cv_func_isnan" = x""yes; then :
32659 cat >>confdefs.h <<_ACEOF
32660 #define HAVE_ISNAN 1
32661 _ACEOF
32662
32663 fi
32664 done
32665
32666 else
32667
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32669 $as_echo_n "checking for _isnan declaration... " >&6; }
32670 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32671 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32672 $as_echo_n "(cached) " >&6
32673 else
32674
32675
32676 ac_ext=cpp
32677 ac_cpp='$CXXCPP $CPPFLAGS'
32678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32681
32682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32683 /* end confdefs.h. */
32684 #include <math.h>
32685 #ifdef HAVE_IEEEFP_H
32686 #include <ieeefp.h>
32687 #endif
32688
32689 int
32690 main ()
32691 {
32692 _isnan(0);
32693 ;
32694 return 0;
32695 }
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698 glibcxx_cv_func__isnan_use=yes
32699 else
32700 glibcxx_cv_func__isnan_use=no
32701 fi
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703 ac_ext=c
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32708
32709
32710 fi
32711
32712 fi
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32714 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32715
32716 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32717 for ac_func in _isnan
32718 do :
32719 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32720 if test "x$ac_cv_func__isnan" = x""yes; then :
32721 cat >>confdefs.h <<_ACEOF
32722 #define HAVE__ISNAN 1
32723 _ACEOF
32724
32725 fi
32726 done
32727
32728 fi
32729 fi
32730
32731
32732
32733
32734
32735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32736 $as_echo_n "checking for finite declaration... " >&6; }
32737 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32738 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32739 $as_echo_n "(cached) " >&6
32740 else
32741
32742
32743 ac_ext=cpp
32744 ac_cpp='$CXXCPP $CPPFLAGS'
32745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32748
32749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32750 /* end confdefs.h. */
32751 #include <math.h>
32752 #ifdef HAVE_IEEEFP_H
32753 #include <ieeefp.h>
32754 #endif
32755
32756 int
32757 main ()
32758 {
32759 finite(0);
32760 ;
32761 return 0;
32762 }
32763 _ACEOF
32764 if ac_fn_cxx_try_compile "$LINENO"; then :
32765 glibcxx_cv_func_finite_use=yes
32766 else
32767 glibcxx_cv_func_finite_use=no
32768 fi
32769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32770 ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32775
32776
32777 fi
32778
32779 fi
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32781 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32782
32783 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32784 for ac_func in finite
32785 do :
32786 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32787 if test "x$ac_cv_func_finite" = x""yes; then :
32788 cat >>confdefs.h <<_ACEOF
32789 #define HAVE_FINITE 1
32790 _ACEOF
32791
32792 fi
32793 done
32794
32795 else
32796
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32798 $as_echo_n "checking for _finite declaration... " >&6; }
32799 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32800 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32801 $as_echo_n "(cached) " >&6
32802 else
32803
32804
32805 ac_ext=cpp
32806 ac_cpp='$CXXCPP $CPPFLAGS'
32807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32810
32811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32812 /* end confdefs.h. */
32813 #include <math.h>
32814 #ifdef HAVE_IEEEFP_H
32815 #include <ieeefp.h>
32816 #endif
32817
32818 int
32819 main ()
32820 {
32821 _finite(0);
32822 ;
32823 return 0;
32824 }
32825 _ACEOF
32826 if ac_fn_cxx_try_compile "$LINENO"; then :
32827 glibcxx_cv_func__finite_use=yes
32828 else
32829 glibcxx_cv_func__finite_use=no
32830 fi
32831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832 ac_ext=c
32833 ac_cpp='$CPP $CPPFLAGS'
32834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32837
32838
32839 fi
32840
32841 fi
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32843 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32844
32845 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32846 for ac_func in _finite
32847 do :
32848 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32849 if test "x$ac_cv_func__finite" = x""yes; then :
32850 cat >>confdefs.h <<_ACEOF
32851 #define HAVE__FINITE 1
32852 _ACEOF
32853
32854 fi
32855 done
32856
32857 fi
32858 fi
32859
32860
32861
32862
32863
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32865 $as_echo_n "checking for sincos declaration... " >&6; }
32866 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32867 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32868 $as_echo_n "(cached) " >&6
32869 else
32870
32871
32872 ac_ext=cpp
32873 ac_cpp='$CXXCPP $CPPFLAGS'
32874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32877
32878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32879 /* end confdefs.h. */
32880 #include <math.h>
32881 int
32882 main ()
32883 {
32884 sincos(0, 0, 0);
32885 ;
32886 return 0;
32887 }
32888 _ACEOF
32889 if ac_fn_cxx_try_compile "$LINENO"; then :
32890 glibcxx_cv_func_sincos_use=yes
32891 else
32892 glibcxx_cv_func_sincos_use=no
32893 fi
32894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32895 ac_ext=c
32896 ac_cpp='$CPP $CPPFLAGS'
32897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32900
32901
32902 fi
32903
32904 fi
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32906 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32907
32908 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32909 for ac_func in sincos
32910 do :
32911 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32912 if test "x$ac_cv_func_sincos" = x""yes; then :
32913 cat >>confdefs.h <<_ACEOF
32914 #define HAVE_SINCOS 1
32915 _ACEOF
32916
32917 fi
32918 done
32919
32920 else
32921
32922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32923 $as_echo_n "checking for _sincos declaration... " >&6; }
32924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32926 $as_echo_n "(cached) " >&6
32927 else
32928
32929
32930 ac_ext=cpp
32931 ac_cpp='$CXXCPP $CPPFLAGS'
32932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32935
32936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32937 /* end confdefs.h. */
32938 #include <math.h>
32939 int
32940 main ()
32941 {
32942 _sincos(0, 0, 0);
32943 ;
32944 return 0;
32945 }
32946 _ACEOF
32947 if ac_fn_cxx_try_compile "$LINENO"; then :
32948 glibcxx_cv_func__sincos_use=yes
32949 else
32950 glibcxx_cv_func__sincos_use=no
32951 fi
32952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32953 ac_ext=c
32954 ac_cpp='$CPP $CPPFLAGS'
32955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32958
32959
32960 fi
32961
32962 fi
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32964 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32965
32966 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32967 for ac_func in _sincos
32968 do :
32969 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32970 if test "x$ac_cv_func__sincos" = x""yes; then :
32971 cat >>confdefs.h <<_ACEOF
32972 #define HAVE__SINCOS 1
32973 _ACEOF
32974
32975 fi
32976 done
32977
32978 fi
32979 fi
32980
32981
32982
32983
32984
32985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32986 $as_echo_n "checking for fpclass declaration... " >&6; }
32987 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32988 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32989 $as_echo_n "(cached) " >&6
32990 else
32991
32992
32993 ac_ext=cpp
32994 ac_cpp='$CXXCPP $CPPFLAGS'
32995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32998
32999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33000 /* end confdefs.h. */
33001 #include <math.h>
33002 #ifdef HAVE_IEEEFP_H
33003 #include <ieeefp.h>
33004 #endif
33005
33006 int
33007 main ()
33008 {
33009 fpclass(0);
33010 ;
33011 return 0;
33012 }
33013 _ACEOF
33014 if ac_fn_cxx_try_compile "$LINENO"; then :
33015 glibcxx_cv_func_fpclass_use=yes
33016 else
33017 glibcxx_cv_func_fpclass_use=no
33018 fi
33019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33020 ac_ext=c
33021 ac_cpp='$CPP $CPPFLAGS'
33022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33025
33026
33027 fi
33028
33029 fi
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33031 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33032
33033 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33034 for ac_func in fpclass
33035 do :
33036 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33037 if test "x$ac_cv_func_fpclass" = x""yes; then :
33038 cat >>confdefs.h <<_ACEOF
33039 #define HAVE_FPCLASS 1
33040 _ACEOF
33041
33042 fi
33043 done
33044
33045 else
33046
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33048 $as_echo_n "checking for _fpclass declaration... " >&6; }
33049 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33050 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33051 $as_echo_n "(cached) " >&6
33052 else
33053
33054
33055 ac_ext=cpp
33056 ac_cpp='$CXXCPP $CPPFLAGS'
33057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33060
33061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33062 /* end confdefs.h. */
33063 #include <math.h>
33064 #ifdef HAVE_IEEEFP_H
33065 #include <ieeefp.h>
33066 #endif
33067
33068 int
33069 main ()
33070 {
33071 _fpclass(0);
33072 ;
33073 return 0;
33074 }
33075 _ACEOF
33076 if ac_fn_cxx_try_compile "$LINENO"; then :
33077 glibcxx_cv_func__fpclass_use=yes
33078 else
33079 glibcxx_cv_func__fpclass_use=no
33080 fi
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33082 ac_ext=c
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33087
33088
33089 fi
33090
33091 fi
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33093 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33094
33095 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33096 for ac_func in _fpclass
33097 do :
33098 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33099 if test "x$ac_cv_func__fpclass" = x""yes; then :
33100 cat >>confdefs.h <<_ACEOF
33101 #define HAVE__FPCLASS 1
33102 _ACEOF
33103
33104 fi
33105 done
33106
33107 fi
33108 fi
33109
33110
33111
33112
33113
33114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33115 $as_echo_n "checking for qfpclass declaration... " >&6; }
33116 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33117 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33118 $as_echo_n "(cached) " >&6
33119 else
33120
33121
33122 ac_ext=cpp
33123 ac_cpp='$CXXCPP $CPPFLAGS'
33124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33127
33128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33129 /* end confdefs.h. */
33130 #include <math.h>
33131 #ifdef HAVE_IEEEFP_H
33132 #include <ieeefp.h>
33133 #endif
33134
33135 int
33136 main ()
33137 {
33138 qfpclass(0);
33139 ;
33140 return 0;
33141 }
33142 _ACEOF
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144 glibcxx_cv_func_qfpclass_use=yes
33145 else
33146 glibcxx_cv_func_qfpclass_use=no
33147 fi
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33149 ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33154
33155
33156 fi
33157
33158 fi
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33160 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33161
33162 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33163 for ac_func in qfpclass
33164 do :
33165 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33166 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33167 cat >>confdefs.h <<_ACEOF
33168 #define HAVE_QFPCLASS 1
33169 _ACEOF
33170
33171 fi
33172 done
33173
33174 else
33175
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33177 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33178 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33179 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33180 $as_echo_n "(cached) " >&6
33181 else
33182
33183
33184 ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33189
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33192 #include <math.h>
33193 #ifdef HAVE_IEEEFP_H
33194 #include <ieeefp.h>
33195 #endif
33196
33197 int
33198 main ()
33199 {
33200 _qfpclass(0);
33201 ;
33202 return 0;
33203 }
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func__qfpclass_use=yes
33207 else
33208 glibcxx_cv_func__qfpclass_use=no
33209 fi
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33216
33217
33218 fi
33219
33220 fi
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33222 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33223
33224 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33225 for ac_func in _qfpclass
33226 do :
33227 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33228 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE__QFPCLASS 1
33231 _ACEOF
33232
33233 fi
33234 done
33235
33236 fi
33237 fi
33238
33239
33240
33241
33242
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33244 $as_echo_n "checking for hypot declaration... " >&6; }
33245 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33246 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33248 else
33249
33250
33251 ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33256
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 #include <math.h>
33260 int
33261 main ()
33262 {
33263 hypot(0, 0);
33264 ;
33265 return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func_hypot_use=yes
33270 else
33271 glibcxx_cv_func_hypot_use=no
33272 fi
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33279
33280
33281 fi
33282
33283 fi
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33285 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33286
33287 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33288 for ac_func in hypot
33289 do :
33290 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33291 if test "x$ac_cv_func_hypot" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE_HYPOT 1
33294 _ACEOF
33295
33296 fi
33297 done
33298
33299 else
33300
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33302 $as_echo_n "checking for _hypot declaration... " >&6; }
33303 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33304 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33307
33308
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33314
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33318 int
33319 main ()
33320 {
33321 _hypot(0, 0);
33322 ;
33323 return 0;
33324 }
33325 _ACEOF
33326 if ac_fn_cxx_try_compile "$LINENO"; then :
33327 glibcxx_cv_func__hypot_use=yes
33328 else
33329 glibcxx_cv_func__hypot_use=no
33330 fi
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33332 ac_ext=c
33333 ac_cpp='$CPP $CPPFLAGS'
33334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33337
33338
33339 fi
33340
33341 fi
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33343 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33344
33345 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33346 for ac_func in _hypot
33347 do :
33348 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33349 if test "x$ac_cv_func__hypot" = x""yes; then :
33350 cat >>confdefs.h <<_ACEOF
33351 #define HAVE__HYPOT 1
33352 _ACEOF
33353
33354 fi
33355 done
33356
33357 fi
33358 fi
33359
33360
33361
33362
33363
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33365 $as_echo_n "checking for float trig functions... " >&6; }
33366 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33367 $as_echo_n "(cached) " >&6
33368 else
33369
33370
33371 ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33379 #include <math.h>
33380 int
33381 main ()
33382 {
33383 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33384 ;
33385 return 0;
33386 }
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func_float_trig_use=yes
33390 else
33391 glibcxx_cv_func_float_trig_use=no
33392 fi
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394 ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399
33400 fi
33401
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33403 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33404 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33405 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33406 do :
33407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33409 eval as_val=\$$as_ac_var
33410 if test "x$as_val" = x""yes; then :
33411 cat >>confdefs.h <<_ACEOF
33412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33413 _ACEOF
33414
33415 fi
33416 done
33417
33418 else
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33420 $as_echo_n "checking for _float trig functions... " >&6; }
33421 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33424
33425
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33431
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <math.h>
33435 int
33436 main ()
33437 {
33438 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33439 ;
33440 return 0;
33441 }
33442 _ACEOF
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func__float_trig_use=yes
33445 else
33446 glibcxx_cv_func__float_trig_use=no
33447 fi
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33449 ac_ext=c
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33454
33455 fi
33456
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33458 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33459 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33460 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33461 do :
33462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33464 eval as_val=\$$as_ac_var
33465 if test "x$as_val" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33468 _ACEOF
33469
33470 fi
33471 done
33472
33473 fi
33474 fi
33475
33476
33477
33478
33479
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33481 $as_echo_n "checking for float round functions... " >&6; }
33482 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33483 $as_echo_n "(cached) " >&6
33484 else
33485
33486
33487 ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33492
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33495 #include <math.h>
33496 int
33497 main ()
33498 {
33499 ceilf (0); floorf (0);
33500 ;
33501 return 0;
33502 }
33503 _ACEOF
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505 glibcxx_cv_func_float_round_use=yes
33506 else
33507 glibcxx_cv_func_float_round_use=no
33508 fi
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510 ac_ext=c
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33515
33516 fi
33517
33518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33519 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33520 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33521 for ac_func in ceilf floorf
33522 do :
33523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33525 eval as_val=\$$as_ac_var
33526 if test "x$as_val" = x""yes; then :
33527 cat >>confdefs.h <<_ACEOF
33528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33529 _ACEOF
33530
33531 fi
33532 done
33533
33534 else
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33536 $as_echo_n "checking for _float round functions... " >&6; }
33537 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33540
33541
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33547
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33551 int
33552 main ()
33553 {
33554 _ceilf (0); _floorf (0);
33555 ;
33556 return 0;
33557 }
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func__float_round_use=yes
33561 else
33562 glibcxx_cv_func__float_round_use=no
33563 fi
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33570
33571 fi
33572
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33574 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33575 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33576 for ac_func in _ceilf _floorf
33577 do :
33578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33580 eval as_val=\$$as_ac_var
33581 if test "x$as_val" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33584 _ACEOF
33585
33586 fi
33587 done
33588
33589 fi
33590 fi
33591
33592
33593
33594
33595
33596
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33598 $as_echo_n "checking for expf declaration... " >&6; }
33599 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33600 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33601 $as_echo_n "(cached) " >&6
33602 else
33603
33604
33605 ac_ext=cpp
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33610
33611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h. */
33613 #include <math.h>
33614 #ifdef HAVE_IEEEFP_H
33615 #include <ieeefp.h>
33616 #endif
33617
33618 int
33619 main ()
33620 {
33621 expf(0);
33622 ;
33623 return 0;
33624 }
33625 _ACEOF
33626 if ac_fn_cxx_try_compile "$LINENO"; then :
33627 glibcxx_cv_func_expf_use=yes
33628 else
33629 glibcxx_cv_func_expf_use=no
33630 fi
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632 ac_ext=c
33633 ac_cpp='$CPP $CPPFLAGS'
33634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33637
33638
33639 fi
33640
33641 fi
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33643 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33644
33645 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33646 for ac_func in expf
33647 do :
33648 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33649 if test "x$ac_cv_func_expf" = x""yes; then :
33650 cat >>confdefs.h <<_ACEOF
33651 #define HAVE_EXPF 1
33652 _ACEOF
33653
33654 fi
33655 done
33656
33657 else
33658
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33660 $as_echo_n "checking for _expf declaration... " >&6; }
33661 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33662 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33663 $as_echo_n "(cached) " >&6
33664 else
33665
33666
33667 ac_ext=cpp
33668 ac_cpp='$CXXCPP $CPPFLAGS'
33669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33672
33673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33674 /* end confdefs.h. */
33675 #include <math.h>
33676 #ifdef HAVE_IEEEFP_H
33677 #include <ieeefp.h>
33678 #endif
33679
33680 int
33681 main ()
33682 {
33683 _expf(0);
33684 ;
33685 return 0;
33686 }
33687 _ACEOF
33688 if ac_fn_cxx_try_compile "$LINENO"; then :
33689 glibcxx_cv_func__expf_use=yes
33690 else
33691 glibcxx_cv_func__expf_use=no
33692 fi
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694 ac_ext=c
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699
33700
33701 fi
33702
33703 fi
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33705 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33706
33707 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33708 for ac_func in _expf
33709 do :
33710 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33711 if test "x$ac_cv_func__expf" = x""yes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE__EXPF 1
33714 _ACEOF
33715
33716 fi
33717 done
33718
33719 fi
33720 fi
33721
33722
33723
33724
33725
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33727 $as_echo_n "checking for isnanf declaration... " >&6; }
33728 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33729 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33730 $as_echo_n "(cached) " >&6
33731 else
33732
33733
33734 ac_ext=cpp
33735 ac_cpp='$CXXCPP $CPPFLAGS'
33736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33739
33740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33741 /* end confdefs.h. */
33742 #include <math.h>
33743 #ifdef HAVE_IEEEFP_H
33744 #include <ieeefp.h>
33745 #endif
33746
33747 int
33748 main ()
33749 {
33750 isnanf(0);
33751 ;
33752 return 0;
33753 }
33754 _ACEOF
33755 if ac_fn_cxx_try_compile "$LINENO"; then :
33756 glibcxx_cv_func_isnanf_use=yes
33757 else
33758 glibcxx_cv_func_isnanf_use=no
33759 fi
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33761 ac_ext=c
33762 ac_cpp='$CPP $CPPFLAGS'
33763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33766
33767
33768 fi
33769
33770 fi
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33772 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33773
33774 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33775 for ac_func in isnanf
33776 do :
33777 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33778 if test "x$ac_cv_func_isnanf" = x""yes; then :
33779 cat >>confdefs.h <<_ACEOF
33780 #define HAVE_ISNANF 1
33781 _ACEOF
33782
33783 fi
33784 done
33785
33786 else
33787
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33789 $as_echo_n "checking for _isnanf declaration... " >&6; }
33790 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33791 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33792 $as_echo_n "(cached) " >&6
33793 else
33794
33795
33796 ac_ext=cpp
33797 ac_cpp='$CXXCPP $CPPFLAGS'
33798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33801
33802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33803 /* end confdefs.h. */
33804 #include <math.h>
33805 #ifdef HAVE_IEEEFP_H
33806 #include <ieeefp.h>
33807 #endif
33808
33809 int
33810 main ()
33811 {
33812 _isnanf(0);
33813 ;
33814 return 0;
33815 }
33816 _ACEOF
33817 if ac_fn_cxx_try_compile "$LINENO"; then :
33818 glibcxx_cv_func__isnanf_use=yes
33819 else
33820 glibcxx_cv_func__isnanf_use=no
33821 fi
33822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33823 ac_ext=c
33824 ac_cpp='$CPP $CPPFLAGS'
33825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33828
33829
33830 fi
33831
33832 fi
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33834 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33835
33836 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33837 for ac_func in _isnanf
33838 do :
33839 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33840 if test "x$ac_cv_func__isnanf" = x""yes; then :
33841 cat >>confdefs.h <<_ACEOF
33842 #define HAVE__ISNANF 1
33843 _ACEOF
33844
33845 fi
33846 done
33847
33848 fi
33849 fi
33850
33851
33852
33853
33854
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33856 $as_echo_n "checking for isinff declaration... " >&6; }
33857 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33858 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33859 $as_echo_n "(cached) " >&6
33860 else
33861
33862
33863 ac_ext=cpp
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33868
33869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h. */
33871 #include <math.h>
33872 #ifdef HAVE_IEEEFP_H
33873 #include <ieeefp.h>
33874 #endif
33875
33876 int
33877 main ()
33878 {
33879 isinff(0);
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 if ac_fn_cxx_try_compile "$LINENO"; then :
33885 glibcxx_cv_func_isinff_use=yes
33886 else
33887 glibcxx_cv_func_isinff_use=no
33888 fi
33889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33890 ac_ext=c
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33895
33896
33897 fi
33898
33899 fi
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33901 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33902
33903 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33904 for ac_func in isinff
33905 do :
33906 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33907 if test "x$ac_cv_func_isinff" = x""yes; then :
33908 cat >>confdefs.h <<_ACEOF
33909 #define HAVE_ISINFF 1
33910 _ACEOF
33911
33912 fi
33913 done
33914
33915 else
33916
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33918 $as_echo_n "checking for _isinff declaration... " >&6; }
33919 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33920 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33921 $as_echo_n "(cached) " >&6
33922 else
33923
33924
33925 ac_ext=cpp
33926 ac_cpp='$CXXCPP $CPPFLAGS'
33927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33930
33931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33932 /* end confdefs.h. */
33933 #include <math.h>
33934 #ifdef HAVE_IEEEFP_H
33935 #include <ieeefp.h>
33936 #endif
33937
33938 int
33939 main ()
33940 {
33941 _isinff(0);
33942 ;
33943 return 0;
33944 }
33945 _ACEOF
33946 if ac_fn_cxx_try_compile "$LINENO"; then :
33947 glibcxx_cv_func__isinff_use=yes
33948 else
33949 glibcxx_cv_func__isinff_use=no
33950 fi
33951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33952 ac_ext=c
33953 ac_cpp='$CPP $CPPFLAGS'
33954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33957
33958
33959 fi
33960
33961 fi
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33963 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33964
33965 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33966 for ac_func in _isinff
33967 do :
33968 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33969 if test "x$ac_cv_func__isinff" = x""yes; then :
33970 cat >>confdefs.h <<_ACEOF
33971 #define HAVE__ISINFF 1
33972 _ACEOF
33973
33974 fi
33975 done
33976
33977 fi
33978 fi
33979
33980
33981
33982
33983
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33985 $as_echo_n "checking for atan2f declaration... " >&6; }
33986 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33987 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33988 $as_echo_n "(cached) " >&6
33989 else
33990
33991
33992 ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997
33998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h. */
34000 #include <math.h>
34001 int
34002 main ()
34003 {
34004 atan2f(0, 0);
34005 ;
34006 return 0;
34007 }
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010 glibcxx_cv_func_atan2f_use=yes
34011 else
34012 glibcxx_cv_func_atan2f_use=no
34013 fi
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015 ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34020
34021
34022 fi
34023
34024 fi
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34026 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34027
34028 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34029 for ac_func in atan2f
34030 do :
34031 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34032 if test "x$ac_cv_func_atan2f" = x""yes; then :
34033 cat >>confdefs.h <<_ACEOF
34034 #define HAVE_ATAN2F 1
34035 _ACEOF
34036
34037 fi
34038 done
34039
34040 else
34041
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34043 $as_echo_n "checking for _atan2f declaration... " >&6; }
34044 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34045 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34046 $as_echo_n "(cached) " >&6
34047 else
34048
34049
34050 ac_ext=cpp
34051 ac_cpp='$CXXCPP $CPPFLAGS'
34052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34055
34056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34057 /* end confdefs.h. */
34058 #include <math.h>
34059 int
34060 main ()
34061 {
34062 _atan2f(0, 0);
34063 ;
34064 return 0;
34065 }
34066 _ACEOF
34067 if ac_fn_cxx_try_compile "$LINENO"; then :
34068 glibcxx_cv_func__atan2f_use=yes
34069 else
34070 glibcxx_cv_func__atan2f_use=no
34071 fi
34072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34073 ac_ext=c
34074 ac_cpp='$CPP $CPPFLAGS'
34075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34078
34079
34080 fi
34081
34082 fi
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34084 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34085
34086 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34087 for ac_func in _atan2f
34088 do :
34089 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34090 if test "x$ac_cv_func__atan2f" = x""yes; then :
34091 cat >>confdefs.h <<_ACEOF
34092 #define HAVE__ATAN2F 1
34093 _ACEOF
34094
34095 fi
34096 done
34097
34098 fi
34099 fi
34100
34101
34102
34103
34104
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34106 $as_echo_n "checking for fabsf declaration... " >&6; }
34107 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34108 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34109 $as_echo_n "(cached) " >&6
34110 else
34111
34112
34113 ac_ext=cpp
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34118
34119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h. */
34121 #include <math.h>
34122 #ifdef HAVE_IEEEFP_H
34123 #include <ieeefp.h>
34124 #endif
34125
34126 int
34127 main ()
34128 {
34129 fabsf(0);
34130 ;
34131 return 0;
34132 }
34133 _ACEOF
34134 if ac_fn_cxx_try_compile "$LINENO"; then :
34135 glibcxx_cv_func_fabsf_use=yes
34136 else
34137 glibcxx_cv_func_fabsf_use=no
34138 fi
34139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34140 ac_ext=c
34141 ac_cpp='$CPP $CPPFLAGS'
34142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34145
34146
34147 fi
34148
34149 fi
34150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34151 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34152
34153 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34154 for ac_func in fabsf
34155 do :
34156 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34157 if test "x$ac_cv_func_fabsf" = x""yes; then :
34158 cat >>confdefs.h <<_ACEOF
34159 #define HAVE_FABSF 1
34160 _ACEOF
34161
34162 fi
34163 done
34164
34165 else
34166
34167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34168 $as_echo_n "checking for _fabsf declaration... " >&6; }
34169 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34170 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34171 $as_echo_n "(cached) " >&6
34172 else
34173
34174
34175 ac_ext=cpp
34176 ac_cpp='$CXXCPP $CPPFLAGS'
34177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34180
34181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34182 /* end confdefs.h. */
34183 #include <math.h>
34184 #ifdef HAVE_IEEEFP_H
34185 #include <ieeefp.h>
34186 #endif
34187
34188 int
34189 main ()
34190 {
34191 _fabsf(0);
34192 ;
34193 return 0;
34194 }
34195 _ACEOF
34196 if ac_fn_cxx_try_compile "$LINENO"; then :
34197 glibcxx_cv_func__fabsf_use=yes
34198 else
34199 glibcxx_cv_func__fabsf_use=no
34200 fi
34201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34202 ac_ext=c
34203 ac_cpp='$CPP $CPPFLAGS'
34204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34207
34208
34209 fi
34210
34211 fi
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34213 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34214
34215 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34216 for ac_func in _fabsf
34217 do :
34218 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34219 if test "x$ac_cv_func__fabsf" = x""yes; then :
34220 cat >>confdefs.h <<_ACEOF
34221 #define HAVE__FABSF 1
34222 _ACEOF
34223
34224 fi
34225 done
34226
34227 fi
34228 fi
34229
34230
34231
34232
34233
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34235 $as_echo_n "checking for fmodf declaration... " >&6; }
34236 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34237 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34238 $as_echo_n "(cached) " >&6
34239 else
34240
34241
34242 ac_ext=cpp
34243 ac_cpp='$CXXCPP $CPPFLAGS'
34244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34247
34248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249 /* end confdefs.h. */
34250 #include <math.h>
34251 int
34252 main ()
34253 {
34254 fmodf(0, 0);
34255 ;
34256 return 0;
34257 }
34258 _ACEOF
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260 glibcxx_cv_func_fmodf_use=yes
34261 else
34262 glibcxx_cv_func_fmodf_use=no
34263 fi
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34270
34271
34272 fi
34273
34274 fi
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34276 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34277
34278 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34279 for ac_func in fmodf
34280 do :
34281 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34282 if test "x$ac_cv_func_fmodf" = x""yes; then :
34283 cat >>confdefs.h <<_ACEOF
34284 #define HAVE_FMODF 1
34285 _ACEOF
34286
34287 fi
34288 done
34289
34290 else
34291
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34293 $as_echo_n "checking for _fmodf declaration... " >&6; }
34294 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34295 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34296 $as_echo_n "(cached) " >&6
34297 else
34298
34299
34300 ac_ext=cpp
34301 ac_cpp='$CXXCPP $CPPFLAGS'
34302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34305
34306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34307 /* end confdefs.h. */
34308 #include <math.h>
34309 int
34310 main ()
34311 {
34312 _fmodf(0, 0);
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 if ac_fn_cxx_try_compile "$LINENO"; then :
34318 glibcxx_cv_func__fmodf_use=yes
34319 else
34320 glibcxx_cv_func__fmodf_use=no
34321 fi
34322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34323 ac_ext=c
34324 ac_cpp='$CPP $CPPFLAGS'
34325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34328
34329
34330 fi
34331
34332 fi
34333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34334 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34335
34336 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34337 for ac_func in _fmodf
34338 do :
34339 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34340 if test "x$ac_cv_func__fmodf" = x""yes; then :
34341 cat >>confdefs.h <<_ACEOF
34342 #define HAVE__FMODF 1
34343 _ACEOF
34344
34345 fi
34346 done
34347
34348 fi
34349 fi
34350
34351
34352
34353
34354
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34356 $as_echo_n "checking for frexpf declaration... " >&6; }
34357 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34358 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34359 $as_echo_n "(cached) " >&6
34360 else
34361
34362
34363 ac_ext=cpp
34364 ac_cpp='$CXXCPP $CPPFLAGS'
34365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34368
34369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34370 /* end confdefs.h. */
34371 #include <math.h>
34372 int
34373 main ()
34374 {
34375 frexpf(0, 0);
34376 ;
34377 return 0;
34378 }
34379 _ACEOF
34380 if ac_fn_cxx_try_compile "$LINENO"; then :
34381 glibcxx_cv_func_frexpf_use=yes
34382 else
34383 glibcxx_cv_func_frexpf_use=no
34384 fi
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386 ac_ext=c
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34391
34392
34393 fi
34394
34395 fi
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34397 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34398
34399 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34400 for ac_func in frexpf
34401 do :
34402 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34403 if test "x$ac_cv_func_frexpf" = x""yes; then :
34404 cat >>confdefs.h <<_ACEOF
34405 #define HAVE_FREXPF 1
34406 _ACEOF
34407
34408 fi
34409 done
34410
34411 else
34412
34413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34414 $as_echo_n "checking for _frexpf declaration... " >&6; }
34415 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34416 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34417 $as_echo_n "(cached) " >&6
34418 else
34419
34420
34421 ac_ext=cpp
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34426
34427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34428 /* end confdefs.h. */
34429 #include <math.h>
34430 int
34431 main ()
34432 {
34433 _frexpf(0, 0);
34434 ;
34435 return 0;
34436 }
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439 glibcxx_cv_func__frexpf_use=yes
34440 else
34441 glibcxx_cv_func__frexpf_use=no
34442 fi
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444 ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449
34450
34451 fi
34452
34453 fi
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34455 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34456
34457 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34458 for ac_func in _frexpf
34459 do :
34460 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34461 if test "x$ac_cv_func__frexpf" = x""yes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE__FREXPF 1
34464 _ACEOF
34465
34466 fi
34467 done
34468
34469 fi
34470 fi
34471
34472
34473
34474
34475
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34477 $as_echo_n "checking for hypotf declaration... " >&6; }
34478 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34479 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34480 $as_echo_n "(cached) " >&6
34481 else
34482
34483
34484 ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489
34490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h. */
34492 #include <math.h>
34493 int
34494 main ()
34495 {
34496 hypotf(0, 0);
34497 ;
34498 return 0;
34499 }
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func_hypotf_use=yes
34503 else
34504 glibcxx_cv_func_hypotf_use=no
34505 fi
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512
34513
34514 fi
34515
34516 fi
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34518 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34519
34520 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34521 for ac_func in hypotf
34522 do :
34523 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34524 if test "x$ac_cv_func_hypotf" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE_HYPOTF 1
34527 _ACEOF
34528
34529 fi
34530 done
34531
34532 else
34533
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34535 $as_echo_n "checking for _hypotf declaration... " >&6; }
34536 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34537 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34538 $as_echo_n "(cached) " >&6
34539 else
34540
34541
34542 ac_ext=cpp
34543 ac_cpp='$CXXCPP $CPPFLAGS'
34544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34547
34548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34549 /* end confdefs.h. */
34550 #include <math.h>
34551 int
34552 main ()
34553 {
34554 _hypotf(0, 0);
34555 ;
34556 return 0;
34557 }
34558 _ACEOF
34559 if ac_fn_cxx_try_compile "$LINENO"; then :
34560 glibcxx_cv_func__hypotf_use=yes
34561 else
34562 glibcxx_cv_func__hypotf_use=no
34563 fi
34564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34565 ac_ext=c
34566 ac_cpp='$CPP $CPPFLAGS'
34567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570
34571
34572 fi
34573
34574 fi
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34576 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34577
34578 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34579 for ac_func in _hypotf
34580 do :
34581 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34582 if test "x$ac_cv_func__hypotf" = x""yes; then :
34583 cat >>confdefs.h <<_ACEOF
34584 #define HAVE__HYPOTF 1
34585 _ACEOF
34586
34587 fi
34588 done
34589
34590 fi
34591 fi
34592
34593
34594
34595
34596
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34598 $as_echo_n "checking for ldexpf declaration... " >&6; }
34599 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34600 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34601 $as_echo_n "(cached) " >&6
34602 else
34603
34604
34605 ac_ext=cpp
34606 ac_cpp='$CXXCPP $CPPFLAGS'
34607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34610
34611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34612 /* end confdefs.h. */
34613 #include <math.h>
34614 int
34615 main ()
34616 {
34617 ldexpf(0, 0);
34618 ;
34619 return 0;
34620 }
34621 _ACEOF
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623 glibcxx_cv_func_ldexpf_use=yes
34624 else
34625 glibcxx_cv_func_ldexpf_use=no
34626 fi
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628 ac_ext=c
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34633
34634
34635 fi
34636
34637 fi
34638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34639 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34640
34641 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34642 for ac_func in ldexpf
34643 do :
34644 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34645 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34646 cat >>confdefs.h <<_ACEOF
34647 #define HAVE_LDEXPF 1
34648 _ACEOF
34649
34650 fi
34651 done
34652
34653 else
34654
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34656 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34657 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34658 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34659 $as_echo_n "(cached) " >&6
34660 else
34661
34662
34663 ac_ext=cpp
34664 ac_cpp='$CXXCPP $CPPFLAGS'
34665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34668
34669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34670 /* end confdefs.h. */
34671 #include <math.h>
34672 int
34673 main ()
34674 {
34675 _ldexpf(0, 0);
34676 ;
34677 return 0;
34678 }
34679 _ACEOF
34680 if ac_fn_cxx_try_compile "$LINENO"; then :
34681 glibcxx_cv_func__ldexpf_use=yes
34682 else
34683 glibcxx_cv_func__ldexpf_use=no
34684 fi
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691
34692
34693 fi
34694
34695 fi
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34697 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34698
34699 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34700 for ac_func in _ldexpf
34701 do :
34702 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34703 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34704 cat >>confdefs.h <<_ACEOF
34705 #define HAVE__LDEXPF 1
34706 _ACEOF
34707
34708 fi
34709 done
34710
34711 fi
34712 fi
34713
34714
34715
34716
34717
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34719 $as_echo_n "checking for logf declaration... " >&6; }
34720 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34721 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34722 $as_echo_n "(cached) " >&6
34723 else
34724
34725
34726 ac_ext=cpp
34727 ac_cpp='$CXXCPP $CPPFLAGS'
34728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34731
34732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34733 /* end confdefs.h. */
34734 #include <math.h>
34735 #ifdef HAVE_IEEEFP_H
34736 #include <ieeefp.h>
34737 #endif
34738
34739 int
34740 main ()
34741 {
34742 logf(0);
34743 ;
34744 return 0;
34745 }
34746 _ACEOF
34747 if ac_fn_cxx_try_compile "$LINENO"; then :
34748 glibcxx_cv_func_logf_use=yes
34749 else
34750 glibcxx_cv_func_logf_use=no
34751 fi
34752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34753 ac_ext=c
34754 ac_cpp='$CPP $CPPFLAGS'
34755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34758
34759
34760 fi
34761
34762 fi
34763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34764 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34765
34766 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34767 for ac_func in logf
34768 do :
34769 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34770 if test "x$ac_cv_func_logf" = x""yes; then :
34771 cat >>confdefs.h <<_ACEOF
34772 #define HAVE_LOGF 1
34773 _ACEOF
34774
34775 fi
34776 done
34777
34778 else
34779
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34781 $as_echo_n "checking for _logf declaration... " >&6; }
34782 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34783 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34784 $as_echo_n "(cached) " >&6
34785 else
34786
34787
34788 ac_ext=cpp
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34793
34794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795 /* end confdefs.h. */
34796 #include <math.h>
34797 #ifdef HAVE_IEEEFP_H
34798 #include <ieeefp.h>
34799 #endif
34800
34801 int
34802 main ()
34803 {
34804 _logf(0);
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func__logf_use=yes
34811 else
34812 glibcxx_cv_func__logf_use=no
34813 fi
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821
34822 fi
34823
34824 fi
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34826 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34827
34828 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34829 for ac_func in _logf
34830 do :
34831 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34832 if test "x$ac_cv_func__logf" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE__LOGF 1
34835 _ACEOF
34836
34837 fi
34838 done
34839
34840 fi
34841 fi
34842
34843
34844
34845
34846
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34848 $as_echo_n "checking for log10f declaration... " >&6; }
34849 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34850 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34851 $as_echo_n "(cached) " >&6
34852 else
34853
34854
34855 ac_ext=cpp
34856 ac_cpp='$CXXCPP $CPPFLAGS'
34857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34860
34861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 /* end confdefs.h. */
34863 #include <math.h>
34864 #ifdef HAVE_IEEEFP_H
34865 #include <ieeefp.h>
34866 #endif
34867
34868 int
34869 main ()
34870 {
34871 log10f(0);
34872 ;
34873 return 0;
34874 }
34875 _ACEOF
34876 if ac_fn_cxx_try_compile "$LINENO"; then :
34877 glibcxx_cv_func_log10f_use=yes
34878 else
34879 glibcxx_cv_func_log10f_use=no
34880 fi
34881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34882 ac_ext=c
34883 ac_cpp='$CPP $CPPFLAGS'
34884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34887
34888
34889 fi
34890
34891 fi
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34893 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34894
34895 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34896 for ac_func in log10f
34897 do :
34898 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34899 if test "x$ac_cv_func_log10f" = x""yes; then :
34900 cat >>confdefs.h <<_ACEOF
34901 #define HAVE_LOG10F 1
34902 _ACEOF
34903
34904 fi
34905 done
34906
34907 else
34908
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34910 $as_echo_n "checking for _log10f declaration... " >&6; }
34911 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34912 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34913 $as_echo_n "(cached) " >&6
34914 else
34915
34916
34917 ac_ext=cpp
34918 ac_cpp='$CXXCPP $CPPFLAGS'
34919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34922
34923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924 /* end confdefs.h. */
34925 #include <math.h>
34926 #ifdef HAVE_IEEEFP_H
34927 #include <ieeefp.h>
34928 #endif
34929
34930 int
34931 main ()
34932 {
34933 _log10f(0);
34934 ;
34935 return 0;
34936 }
34937 _ACEOF
34938 if ac_fn_cxx_try_compile "$LINENO"; then :
34939 glibcxx_cv_func__log10f_use=yes
34940 else
34941 glibcxx_cv_func__log10f_use=no
34942 fi
34943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34944 ac_ext=c
34945 ac_cpp='$CPP $CPPFLAGS'
34946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949
34950
34951 fi
34952
34953 fi
34954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34955 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34956
34957 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34958 for ac_func in _log10f
34959 do :
34960 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34961 if test "x$ac_cv_func__log10f" = x""yes; then :
34962 cat >>confdefs.h <<_ACEOF
34963 #define HAVE__LOG10F 1
34964 _ACEOF
34965
34966 fi
34967 done
34968
34969 fi
34970 fi
34971
34972
34973
34974
34975
34976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34977 $as_echo_n "checking for modff declaration... " >&6; }
34978 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34979 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34980 $as_echo_n "(cached) " >&6
34981 else
34982
34983
34984 ac_ext=cpp
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34989
34990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h. */
34992 #include <math.h>
34993 int
34994 main ()
34995 {
34996 modff(0, 0);
34997 ;
34998 return 0;
34999 }
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002 glibcxx_cv_func_modff_use=yes
35003 else
35004 glibcxx_cv_func_modff_use=no
35005 fi
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007 ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012
35013
35014 fi
35015
35016 fi
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35018 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35019
35020 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35021 for ac_func in modff
35022 do :
35023 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35024 if test "x$ac_cv_func_modff" = x""yes; then :
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE_MODFF 1
35027 _ACEOF
35028
35029 fi
35030 done
35031
35032 else
35033
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35035 $as_echo_n "checking for _modff declaration... " >&6; }
35036 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35037 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35038 $as_echo_n "(cached) " >&6
35039 else
35040
35041
35042 ac_ext=cpp
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35047
35048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35049 /* end confdefs.h. */
35050 #include <math.h>
35051 int
35052 main ()
35053 {
35054 _modff(0, 0);
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func__modff_use=yes
35061 else
35062 glibcxx_cv_func__modff_use=no
35063 fi
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070
35071
35072 fi
35073
35074 fi
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35076 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35077
35078 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35079 for ac_func in _modff
35080 do :
35081 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35082 if test "x$ac_cv_func__modff" = x""yes; then :
35083 cat >>confdefs.h <<_ACEOF
35084 #define HAVE__MODFF 1
35085 _ACEOF
35086
35087 fi
35088 done
35089
35090 fi
35091 fi
35092
35093
35094
35095
35096
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35098 $as_echo_n "checking for modf declaration... " >&6; }
35099 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35100 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35101 $as_echo_n "(cached) " >&6
35102 else
35103
35104
35105 ac_ext=cpp
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110
35111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h. */
35113 #include <math.h>
35114 int
35115 main ()
35116 {
35117 modf(0, 0);
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123 glibcxx_cv_func_modf_use=yes
35124 else
35125 glibcxx_cv_func_modf_use=no
35126 fi
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128 ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35133
35134
35135 fi
35136
35137 fi
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35139 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35140
35141 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35142 for ac_func in modf
35143 do :
35144 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35145 if test "x$ac_cv_func_modf" = x""yes; then :
35146 cat >>confdefs.h <<_ACEOF
35147 #define HAVE_MODF 1
35148 _ACEOF
35149
35150 fi
35151 done
35152
35153 else
35154
35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35156 $as_echo_n "checking for _modf declaration... " >&6; }
35157 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35158 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35159 $as_echo_n "(cached) " >&6
35160 else
35161
35162
35163 ac_ext=cpp
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35168
35169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35171 #include <math.h>
35172 int
35173 main ()
35174 {
35175 _modf(0, 0);
35176 ;
35177 return 0;
35178 }
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func__modf_use=yes
35182 else
35183 glibcxx_cv_func__modf_use=no
35184 fi
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191
35192
35193 fi
35194
35195 fi
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35197 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35198
35199 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35200 for ac_func in _modf
35201 do :
35202 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35203 if test "x$ac_cv_func__modf" = x""yes; then :
35204 cat >>confdefs.h <<_ACEOF
35205 #define HAVE__MODF 1
35206 _ACEOF
35207
35208 fi
35209 done
35210
35211 fi
35212 fi
35213
35214
35215
35216
35217
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35219 $as_echo_n "checking for powf declaration... " >&6; }
35220 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35221 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35223 else
35224
35225
35226 ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35231
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35234 #include <math.h>
35235 int
35236 main ()
35237 {
35238 powf(0, 0);
35239 ;
35240 return 0;
35241 }
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244 glibcxx_cv_func_powf_use=yes
35245 else
35246 glibcxx_cv_func_powf_use=no
35247 fi
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249 ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254
35255
35256 fi
35257
35258 fi
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35260 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35261
35262 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35263 for ac_func in powf
35264 do :
35265 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35266 if test "x$ac_cv_func_powf" = x""yes; then :
35267 cat >>confdefs.h <<_ACEOF
35268 #define HAVE_POWF 1
35269 _ACEOF
35270
35271 fi
35272 done
35273
35274 else
35275
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35277 $as_echo_n "checking for _powf declaration... " >&6; }
35278 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35279 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35280 $as_echo_n "(cached) " >&6
35281 else
35282
35283
35284 ac_ext=cpp
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289
35290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35291 /* end confdefs.h. */
35292 #include <math.h>
35293 int
35294 main ()
35295 {
35296 _powf(0, 0);
35297 ;
35298 return 0;
35299 }
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302 glibcxx_cv_func__powf_use=yes
35303 else
35304 glibcxx_cv_func__powf_use=no
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307 ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312
35313
35314 fi
35315
35316 fi
35317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35318 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35319
35320 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35321 for ac_func in _powf
35322 do :
35323 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35324 if test "x$ac_cv_func__powf" = x""yes; then :
35325 cat >>confdefs.h <<_ACEOF
35326 #define HAVE__POWF 1
35327 _ACEOF
35328
35329 fi
35330 done
35331
35332 fi
35333 fi
35334
35335
35336
35337
35338
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35340 $as_echo_n "checking for sqrtf declaration... " >&6; }
35341 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35342 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35343 $as_echo_n "(cached) " >&6
35344 else
35345
35346
35347 ac_ext=cpp
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352
35353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h. */
35355 #include <math.h>
35356 #ifdef HAVE_IEEEFP_H
35357 #include <ieeefp.h>
35358 #endif
35359
35360 int
35361 main ()
35362 {
35363 sqrtf(0);
35364 ;
35365 return 0;
35366 }
35367 _ACEOF
35368 if ac_fn_cxx_try_compile "$LINENO"; then :
35369 glibcxx_cv_func_sqrtf_use=yes
35370 else
35371 glibcxx_cv_func_sqrtf_use=no
35372 fi
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374 ac_ext=c
35375 ac_cpp='$CPP $CPPFLAGS'
35376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35379
35380
35381 fi
35382
35383 fi
35384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35385 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35386
35387 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35388 for ac_func in sqrtf
35389 do :
35390 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35391 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35392 cat >>confdefs.h <<_ACEOF
35393 #define HAVE_SQRTF 1
35394 _ACEOF
35395
35396 fi
35397 done
35398
35399 else
35400
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35402 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35403 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35404 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35405 $as_echo_n "(cached) " >&6
35406 else
35407
35408
35409 ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 #include <math.h>
35418 #ifdef HAVE_IEEEFP_H
35419 #include <ieeefp.h>
35420 #endif
35421
35422 int
35423 main ()
35424 {
35425 _sqrtf(0);
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 if ac_fn_cxx_try_compile "$LINENO"; then :
35431 glibcxx_cv_func__sqrtf_use=yes
35432 else
35433 glibcxx_cv_func__sqrtf_use=no
35434 fi
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 ac_ext=c
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35441
35442
35443 fi
35444
35445 fi
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35447 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35448
35449 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35450 for ac_func in _sqrtf
35451 do :
35452 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35453 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35454 cat >>confdefs.h <<_ACEOF
35455 #define HAVE__SQRTF 1
35456 _ACEOF
35457
35458 fi
35459 done
35460
35461 fi
35462 fi
35463
35464
35465
35466
35467
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35469 $as_echo_n "checking for sincosf declaration... " >&6; }
35470 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35471 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35472 $as_echo_n "(cached) " >&6
35473 else
35474
35475
35476 ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h. */
35484 #include <math.h>
35485 int
35486 main ()
35487 {
35488 sincosf(0, 0, 0);
35489 ;
35490 return 0;
35491 }
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494 glibcxx_cv_func_sincosf_use=yes
35495 else
35496 glibcxx_cv_func_sincosf_use=no
35497 fi
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499 ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504
35505
35506 fi
35507
35508 fi
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35510 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35511
35512 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35513 for ac_func in sincosf
35514 do :
35515 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35516 if test "x$ac_cv_func_sincosf" = x""yes; then :
35517 cat >>confdefs.h <<_ACEOF
35518 #define HAVE_SINCOSF 1
35519 _ACEOF
35520
35521 fi
35522 done
35523
35524 else
35525
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35527 $as_echo_n "checking for _sincosf declaration... " >&6; }
35528 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35529 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35530 $as_echo_n "(cached) " >&6
35531 else
35532
35533
35534 ac_ext=cpp
35535 ac_cpp='$CXXCPP $CPPFLAGS'
35536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35539
35540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35541 /* end confdefs.h. */
35542 #include <math.h>
35543 int
35544 main ()
35545 {
35546 _sincosf(0, 0, 0);
35547 ;
35548 return 0;
35549 }
35550 _ACEOF
35551 if ac_fn_cxx_try_compile "$LINENO"; then :
35552 glibcxx_cv_func__sincosf_use=yes
35553 else
35554 glibcxx_cv_func__sincosf_use=no
35555 fi
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35557 ac_ext=c
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35562
35563
35564 fi
35565
35566 fi
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35568 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35569
35570 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35571 for ac_func in _sincosf
35572 do :
35573 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35574 if test "x$ac_cv_func__sincosf" = x""yes; then :
35575 cat >>confdefs.h <<_ACEOF
35576 #define HAVE__SINCOSF 1
35577 _ACEOF
35578
35579 fi
35580 done
35581
35582 fi
35583 fi
35584
35585
35586
35587
35588
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35590 $as_echo_n "checking for finitef declaration... " >&6; }
35591 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35592 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35593 $as_echo_n "(cached) " >&6
35594 else
35595
35596
35597 ac_ext=cpp
35598 ac_cpp='$CXXCPP $CPPFLAGS'
35599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602
35603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35604 /* end confdefs.h. */
35605 #include <math.h>
35606 #ifdef HAVE_IEEEFP_H
35607 #include <ieeefp.h>
35608 #endif
35609
35610 int
35611 main ()
35612 {
35613 finitef(0);
35614 ;
35615 return 0;
35616 }
35617 _ACEOF
35618 if ac_fn_cxx_try_compile "$LINENO"; then :
35619 glibcxx_cv_func_finitef_use=yes
35620 else
35621 glibcxx_cv_func_finitef_use=no
35622 fi
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35624 ac_ext=c
35625 ac_cpp='$CPP $CPPFLAGS'
35626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629
35630
35631 fi
35632
35633 fi
35634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35635 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35636
35637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35638 for ac_func in finitef
35639 do :
35640 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35641 if test "x$ac_cv_func_finitef" = x""yes; then :
35642 cat >>confdefs.h <<_ACEOF
35643 #define HAVE_FINITEF 1
35644 _ACEOF
35645
35646 fi
35647 done
35648
35649 else
35650
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35652 $as_echo_n "checking for _finitef declaration... " >&6; }
35653 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35654 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35655 $as_echo_n "(cached) " >&6
35656 else
35657
35658
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35664
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35667 #include <math.h>
35668 #ifdef HAVE_IEEEFP_H
35669 #include <ieeefp.h>
35670 #endif
35671
35672 int
35673 main ()
35674 {
35675 _finitef(0);
35676 ;
35677 return 0;
35678 }
35679 _ACEOF
35680 if ac_fn_cxx_try_compile "$LINENO"; then :
35681 glibcxx_cv_func__finitef_use=yes
35682 else
35683 glibcxx_cv_func__finitef_use=no
35684 fi
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35686 ac_ext=c
35687 ac_cpp='$CPP $CPPFLAGS'
35688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35691
35692
35693 fi
35694
35695 fi
35696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35697 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35698
35699 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35700 for ac_func in _finitef
35701 do :
35702 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35703 if test "x$ac_cv_func__finitef" = x""yes; then :
35704 cat >>confdefs.h <<_ACEOF
35705 #define HAVE__FINITEF 1
35706 _ACEOF
35707
35708 fi
35709 done
35710
35711 fi
35712 fi
35713
35714
35715
35716
35717
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35719 $as_echo_n "checking for long double trig functions... " >&6; }
35720 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35721 $as_echo_n "(cached) " >&6
35722 else
35723
35724
35725 ac_ext=cpp
35726 ac_cpp='$CXXCPP $CPPFLAGS'
35727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35730
35731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35732 /* end confdefs.h. */
35733 #include <math.h>
35734 int
35735 main ()
35736 {
35737 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35738 ;
35739 return 0;
35740 }
35741 _ACEOF
35742 if ac_fn_cxx_try_compile "$LINENO"; then :
35743 glibcxx_cv_func_long_double_trig_use=yes
35744 else
35745 glibcxx_cv_func_long_double_trig_use=no
35746 fi
35747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35748 ac_ext=c
35749 ac_cpp='$CPP $CPPFLAGS'
35750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35753
35754 fi
35755
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35757 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35758 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35759 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35760 do :
35761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35763 eval as_val=\$$as_ac_var
35764 if test "x$as_val" = x""yes; then :
35765 cat >>confdefs.h <<_ACEOF
35766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35767 _ACEOF
35768
35769 fi
35770 done
35771
35772 else
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35774 $as_echo_n "checking for _long double trig functions... " >&6; }
35775 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35778
35779
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 int
35790 main ()
35791 {
35792 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35793 ;
35794 return 0;
35795 }
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func__long_double_trig_use=yes
35799 else
35800 glibcxx_cv_func__long_double_trig_use=no
35801 fi
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808
35809 fi
35810
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35812 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35814 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35815 do :
35816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35818 eval as_val=\$$as_ac_var
35819 if test "x$as_val" = x""yes; then :
35820 cat >>confdefs.h <<_ACEOF
35821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 _ACEOF
35823
35824 fi
35825 done
35826
35827 fi
35828 fi
35829
35830
35831
35832
35833
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35835 $as_echo_n "checking for long double round functions... " >&6; }
35836 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35837 $as_echo_n "(cached) " >&6
35838 else
35839
35840
35841 ac_ext=cpp
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35848 /* end confdefs.h. */
35849 #include <math.h>
35850 int
35851 main ()
35852 {
35853 ceill (0); floorl (0);
35854 ;
35855 return 0;
35856 }
35857 _ACEOF
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859 glibcxx_cv_func_long_double_round_use=yes
35860 else
35861 glibcxx_cv_func_long_double_round_use=no
35862 fi
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 ac_ext=c
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35869
35870 fi
35871
35872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35873 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35874 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35875 for ac_func in ceill floorl
35876 do :
35877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35879 eval as_val=\$$as_ac_var
35880 if test "x$as_val" = x""yes; then :
35881 cat >>confdefs.h <<_ACEOF
35882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35883 _ACEOF
35884
35885 fi
35886 done
35887
35888 else
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35890 $as_echo_n "checking for _long double round functions... " >&6; }
35891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35892 $as_echo_n "(cached) " >&6
35893 else
35894
35895
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901
35902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35903 /* end confdefs.h. */
35904 #include <math.h>
35905 int
35906 main ()
35907 {
35908 _ceill (0); _floorl (0);
35909 ;
35910 return 0;
35911 }
35912 _ACEOF
35913 if ac_fn_cxx_try_compile "$LINENO"; then :
35914 glibcxx_cv_func__long_double_round_use=yes
35915 else
35916 glibcxx_cv_func__long_double_round_use=no
35917 fi
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35919 ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924
35925 fi
35926
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35928 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35929 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35930 for ac_func in _ceill _floorl
35931 do :
35932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35934 eval as_val=\$$as_ac_var
35935 if test "x$as_val" = x""yes; then :
35936 cat >>confdefs.h <<_ACEOF
35937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35938 _ACEOF
35939
35940 fi
35941 done
35942
35943 fi
35944 fi
35945
35946
35947
35948
35949
35950
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35952 $as_echo_n "checking for isnanl declaration... " >&6; }
35953 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35954 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35957
35958
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35968 #ifdef HAVE_IEEEFP_H
35969 #include <ieeefp.h>
35970 #endif
35971
35972 int
35973 main ()
35974 {
35975 isnanl(0);
35976 ;
35977 return 0;
35978 }
35979 _ACEOF
35980 if ac_fn_cxx_try_compile "$LINENO"; then :
35981 glibcxx_cv_func_isnanl_use=yes
35982 else
35983 glibcxx_cv_func_isnanl_use=no
35984 fi
35985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35986 ac_ext=c
35987 ac_cpp='$CPP $CPPFLAGS'
35988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35991
35992
35993 fi
35994
35995 fi
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35997 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35998
35999 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36000 for ac_func in isnanl
36001 do :
36002 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36003 if test "x$ac_cv_func_isnanl" = x""yes; then :
36004 cat >>confdefs.h <<_ACEOF
36005 #define HAVE_ISNANL 1
36006 _ACEOF
36007
36008 fi
36009 done
36010
36011 else
36012
36013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36014 $as_echo_n "checking for _isnanl declaration... " >&6; }
36015 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36016 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36017 $as_echo_n "(cached) " >&6
36018 else
36019
36020
36021 ac_ext=cpp
36022 ac_cpp='$CXXCPP $CPPFLAGS'
36023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36026
36027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36028 /* end confdefs.h. */
36029 #include <math.h>
36030 #ifdef HAVE_IEEEFP_H
36031 #include <ieeefp.h>
36032 #endif
36033
36034 int
36035 main ()
36036 {
36037 _isnanl(0);
36038 ;
36039 return 0;
36040 }
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func__isnanl_use=yes
36044 else
36045 glibcxx_cv_func__isnanl_use=no
36046 fi
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053
36054
36055 fi
36056
36057 fi
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36059 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36060
36061 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36062 for ac_func in _isnanl
36063 do :
36064 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36065 if test "x$ac_cv_func__isnanl" = x""yes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE__ISNANL 1
36068 _ACEOF
36069
36070 fi
36071 done
36072
36073 fi
36074 fi
36075
36076
36077
36078
36079
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36081 $as_echo_n "checking for isinfl declaration... " >&6; }
36082 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36083 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36086
36087
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36097 #ifdef HAVE_IEEEFP_H
36098 #include <ieeefp.h>
36099 #endif
36100
36101 int
36102 main ()
36103 {
36104 isinfl(0);
36105 ;
36106 return 0;
36107 }
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func_isinfl_use=yes
36111 else
36112 glibcxx_cv_func_isinfl_use=no
36113 fi
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120
36121
36122 fi
36123
36124 fi
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36126 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36127
36128 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36129 for ac_func in isinfl
36130 do :
36131 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36132 if test "x$ac_cv_func_isinfl" = x""yes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE_ISINFL 1
36135 _ACEOF
36136
36137 fi
36138 done
36139
36140 else
36141
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36143 $as_echo_n "checking for _isinfl declaration... " >&6; }
36144 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36145 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36146 $as_echo_n "(cached) " >&6
36147 else
36148
36149
36150 ac_ext=cpp
36151 ac_cpp='$CXXCPP $CPPFLAGS'
36152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155
36156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36157 /* end confdefs.h. */
36158 #include <math.h>
36159 #ifdef HAVE_IEEEFP_H
36160 #include <ieeefp.h>
36161 #endif
36162
36163 int
36164 main ()
36165 {
36166 _isinfl(0);
36167 ;
36168 return 0;
36169 }
36170 _ACEOF
36171 if ac_fn_cxx_try_compile "$LINENO"; then :
36172 glibcxx_cv_func__isinfl_use=yes
36173 else
36174 glibcxx_cv_func__isinfl_use=no
36175 fi
36176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36177 ac_ext=c
36178 ac_cpp='$CPP $CPPFLAGS'
36179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36182
36183
36184 fi
36185
36186 fi
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36188 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36189
36190 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36191 for ac_func in _isinfl
36192 do :
36193 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36194 if test "x$ac_cv_func__isinfl" = x""yes; then :
36195 cat >>confdefs.h <<_ACEOF
36196 #define HAVE__ISINFL 1
36197 _ACEOF
36198
36199 fi
36200 done
36201
36202 fi
36203 fi
36204
36205
36206
36207
36208
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36210 $as_echo_n "checking for atan2l declaration... " >&6; }
36211 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36212 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36215
36216
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36222
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36226 int
36227 main ()
36228 {
36229 atan2l(0, 0);
36230 ;
36231 return 0;
36232 }
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func_atan2l_use=yes
36236 else
36237 glibcxx_cv_func_atan2l_use=no
36238 fi
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246
36247 fi
36248
36249 fi
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36251 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36252
36253 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36254 for ac_func in atan2l
36255 do :
36256 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36257 if test "x$ac_cv_func_atan2l" = x""yes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE_ATAN2L 1
36260 _ACEOF
36261
36262 fi
36263 done
36264
36265 else
36266
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36268 $as_echo_n "checking for _atan2l declaration... " >&6; }
36269 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36270 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36271 $as_echo_n "(cached) " >&6
36272 else
36273
36274
36275 ac_ext=cpp
36276 ac_cpp='$CXXCPP $CPPFLAGS'
36277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280
36281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282 /* end confdefs.h. */
36283 #include <math.h>
36284 int
36285 main ()
36286 {
36287 _atan2l(0, 0);
36288 ;
36289 return 0;
36290 }
36291 _ACEOF
36292 if ac_fn_cxx_try_compile "$LINENO"; then :
36293 glibcxx_cv_func__atan2l_use=yes
36294 else
36295 glibcxx_cv_func__atan2l_use=no
36296 fi
36297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298 ac_ext=c
36299 ac_cpp='$CPP $CPPFLAGS'
36300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303
36304
36305 fi
36306
36307 fi
36308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36309 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36310
36311 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36312 for ac_func in _atan2l
36313 do :
36314 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36315 if test "x$ac_cv_func__atan2l" = x""yes; then :
36316 cat >>confdefs.h <<_ACEOF
36317 #define HAVE__ATAN2L 1
36318 _ACEOF
36319
36320 fi
36321 done
36322
36323 fi
36324 fi
36325
36326
36327
36328
36329
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36331 $as_echo_n "checking for expl declaration... " >&6; }
36332 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36333 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36334 $as_echo_n "(cached) " >&6
36335 else
36336
36337
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36346 #include <math.h>
36347 #ifdef HAVE_IEEEFP_H
36348 #include <ieeefp.h>
36349 #endif
36350
36351 int
36352 main ()
36353 {
36354 expl(0);
36355 ;
36356 return 0;
36357 }
36358 _ACEOF
36359 if ac_fn_cxx_try_compile "$LINENO"; then :
36360 glibcxx_cv_func_expl_use=yes
36361 else
36362 glibcxx_cv_func_expl_use=no
36363 fi
36364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36365 ac_ext=c
36366 ac_cpp='$CPP $CPPFLAGS'
36367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36370
36371
36372 fi
36373
36374 fi
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36376 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36377
36378 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36379 for ac_func in expl
36380 do :
36381 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36382 if test "x$ac_cv_func_expl" = x""yes; then :
36383 cat >>confdefs.h <<_ACEOF
36384 #define HAVE_EXPL 1
36385 _ACEOF
36386
36387 fi
36388 done
36389
36390 else
36391
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36393 $as_echo_n "checking for _expl declaration... " >&6; }
36394 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36395 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36396 $as_echo_n "(cached) " >&6
36397 else
36398
36399
36400 ac_ext=cpp
36401 ac_cpp='$CXXCPP $CPPFLAGS'
36402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405
36406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36407 /* end confdefs.h. */
36408 #include <math.h>
36409 #ifdef HAVE_IEEEFP_H
36410 #include <ieeefp.h>
36411 #endif
36412
36413 int
36414 main ()
36415 {
36416 _expl(0);
36417 ;
36418 return 0;
36419 }
36420 _ACEOF
36421 if ac_fn_cxx_try_compile "$LINENO"; then :
36422 glibcxx_cv_func__expl_use=yes
36423 else
36424 glibcxx_cv_func__expl_use=no
36425 fi
36426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36427 ac_ext=c
36428 ac_cpp='$CPP $CPPFLAGS'
36429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36432
36433
36434 fi
36435
36436 fi
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36438 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36439
36440 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36441 for ac_func in _expl
36442 do :
36443 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36444 if test "x$ac_cv_func__expl" = x""yes; then :
36445 cat >>confdefs.h <<_ACEOF
36446 #define HAVE__EXPL 1
36447 _ACEOF
36448
36449 fi
36450 done
36451
36452 fi
36453 fi
36454
36455
36456
36457
36458
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36460 $as_echo_n "checking for fabsl declaration... " >&6; }
36461 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36462 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36463 $as_echo_n "(cached) " >&6
36464 else
36465
36466
36467 ac_ext=cpp
36468 ac_cpp='$CXXCPP $CPPFLAGS'
36469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472
36473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36474 /* end confdefs.h. */
36475 #include <math.h>
36476 #ifdef HAVE_IEEEFP_H
36477 #include <ieeefp.h>
36478 #endif
36479
36480 int
36481 main ()
36482 {
36483 fabsl(0);
36484 ;
36485 return 0;
36486 }
36487 _ACEOF
36488 if ac_fn_cxx_try_compile "$LINENO"; then :
36489 glibcxx_cv_func_fabsl_use=yes
36490 else
36491 glibcxx_cv_func_fabsl_use=no
36492 fi
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494 ac_ext=c
36495 ac_cpp='$CPP $CPPFLAGS'
36496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36499
36500
36501 fi
36502
36503 fi
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36505 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36506
36507 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36508 for ac_func in fabsl
36509 do :
36510 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36511 if test "x$ac_cv_func_fabsl" = x""yes; then :
36512 cat >>confdefs.h <<_ACEOF
36513 #define HAVE_FABSL 1
36514 _ACEOF
36515
36516 fi
36517 done
36518
36519 else
36520
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36522 $as_echo_n "checking for _fabsl declaration... " >&6; }
36523 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36524 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36525 $as_echo_n "(cached) " >&6
36526 else
36527
36528
36529 ac_ext=cpp
36530 ac_cpp='$CXXCPP $CPPFLAGS'
36531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36534
36535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36536 /* end confdefs.h. */
36537 #include <math.h>
36538 #ifdef HAVE_IEEEFP_H
36539 #include <ieeefp.h>
36540 #endif
36541
36542 int
36543 main ()
36544 {
36545 _fabsl(0);
36546 ;
36547 return 0;
36548 }
36549 _ACEOF
36550 if ac_fn_cxx_try_compile "$LINENO"; then :
36551 glibcxx_cv_func__fabsl_use=yes
36552 else
36553 glibcxx_cv_func__fabsl_use=no
36554 fi
36555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36556 ac_ext=c
36557 ac_cpp='$CPP $CPPFLAGS'
36558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36561
36562
36563 fi
36564
36565 fi
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36567 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36568
36569 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36570 for ac_func in _fabsl
36571 do :
36572 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36573 if test "x$ac_cv_func__fabsl" = x""yes; then :
36574 cat >>confdefs.h <<_ACEOF
36575 #define HAVE__FABSL 1
36576 _ACEOF
36577
36578 fi
36579 done
36580
36581 fi
36582 fi
36583
36584
36585
36586
36587
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36589 $as_echo_n "checking for fmodl declaration... " >&6; }
36590 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36591 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36592 $as_echo_n "(cached) " >&6
36593 else
36594
36595
36596 ac_ext=cpp
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36601
36602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h. */
36604 #include <math.h>
36605 int
36606 main ()
36607 {
36608 fmodl(0, 0);
36609 ;
36610 return 0;
36611 }
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func_fmodl_use=yes
36615 else
36616 glibcxx_cv_func_fmodl_use=no
36617 fi
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619 ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624
36625
36626 fi
36627
36628 fi
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36630 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36631
36632 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36633 for ac_func in fmodl
36634 do :
36635 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36636 if test "x$ac_cv_func_fmodl" = x""yes; then :
36637 cat >>confdefs.h <<_ACEOF
36638 #define HAVE_FMODL 1
36639 _ACEOF
36640
36641 fi
36642 done
36643
36644 else
36645
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36647 $as_echo_n "checking for _fmodl declaration... " >&6; }
36648 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36649 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36650 $as_echo_n "(cached) " >&6
36651 else
36652
36653
36654 ac_ext=cpp
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36659
36660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36661 /* end confdefs.h. */
36662 #include <math.h>
36663 int
36664 main ()
36665 {
36666 _fmodl(0, 0);
36667 ;
36668 return 0;
36669 }
36670 _ACEOF
36671 if ac_fn_cxx_try_compile "$LINENO"; then :
36672 glibcxx_cv_func__fmodl_use=yes
36673 else
36674 glibcxx_cv_func__fmodl_use=no
36675 fi
36676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36677 ac_ext=c
36678 ac_cpp='$CPP $CPPFLAGS'
36679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36682
36683
36684 fi
36685
36686 fi
36687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36688 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36689
36690 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36691 for ac_func in _fmodl
36692 do :
36693 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36694 if test "x$ac_cv_func__fmodl" = x""yes; then :
36695 cat >>confdefs.h <<_ACEOF
36696 #define HAVE__FMODL 1
36697 _ACEOF
36698
36699 fi
36700 done
36701
36702 fi
36703 fi
36704
36705
36706
36707
36708
36709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36710 $as_echo_n "checking for frexpl declaration... " >&6; }
36711 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36712 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36713 $as_echo_n "(cached) " >&6
36714 else
36715
36716
36717 ac_ext=cpp
36718 ac_cpp='$CXXCPP $CPPFLAGS'
36719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722
36723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36724 /* end confdefs.h. */
36725 #include <math.h>
36726 int
36727 main ()
36728 {
36729 frexpl(0, 0);
36730 ;
36731 return 0;
36732 }
36733 _ACEOF
36734 if ac_fn_cxx_try_compile "$LINENO"; then :
36735 glibcxx_cv_func_frexpl_use=yes
36736 else
36737 glibcxx_cv_func_frexpl_use=no
36738 fi
36739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36740 ac_ext=c
36741 ac_cpp='$CPP $CPPFLAGS'
36742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745
36746
36747 fi
36748
36749 fi
36750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36751 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36752
36753 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36754 for ac_func in frexpl
36755 do :
36756 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36757 if test "x$ac_cv_func_frexpl" = x""yes; then :
36758 cat >>confdefs.h <<_ACEOF
36759 #define HAVE_FREXPL 1
36760 _ACEOF
36761
36762 fi
36763 done
36764
36765 else
36766
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36768 $as_echo_n "checking for _frexpl declaration... " >&6; }
36769 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36770 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36771 $as_echo_n "(cached) " >&6
36772 else
36773
36774
36775 ac_ext=cpp
36776 ac_cpp='$CXXCPP $CPPFLAGS'
36777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36780
36781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36782 /* end confdefs.h. */
36783 #include <math.h>
36784 int
36785 main ()
36786 {
36787 _frexpl(0, 0);
36788 ;
36789 return 0;
36790 }
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func__frexpl_use=yes
36794 else
36795 glibcxx_cv_func__frexpl_use=no
36796 fi
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804
36805 fi
36806
36807 fi
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36809 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36810
36811 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36812 for ac_func in _frexpl
36813 do :
36814 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36815 if test "x$ac_cv_func__frexpl" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE__FREXPL 1
36818 _ACEOF
36819
36820 fi
36821 done
36822
36823 fi
36824 fi
36825
36826
36827
36828
36829
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36831 $as_echo_n "checking for hypotl declaration... " >&6; }
36832 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36833 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36835 else
36836
36837
36838 ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36846 #include <math.h>
36847 int
36848 main ()
36849 {
36850 hypotl(0, 0);
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func_hypotl_use=yes
36857 else
36858 glibcxx_cv_func_hypotl_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870 fi
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36872 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36873
36874 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36875 for ac_func in hypotl
36876 do :
36877 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36878 if test "x$ac_cv_func_hypotl" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE_HYPOTL 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886 else
36887
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36889 $as_echo_n "checking for _hypotl declaration... " >&6; }
36890 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36891 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36893 else
36894
36895
36896 ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901
36902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h. */
36904 #include <math.h>
36905 int
36906 main ()
36907 {
36908 _hypotl(0, 0);
36909 ;
36910 return 0;
36911 }
36912 _ACEOF
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914 glibcxx_cv_func__hypotl_use=yes
36915 else
36916 glibcxx_cv_func__hypotl_use=no
36917 fi
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36919 ac_ext=c
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924
36925
36926 fi
36927
36928 fi
36929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36930 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36931
36932 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36933 for ac_func in _hypotl
36934 do :
36935 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36936 if test "x$ac_cv_func__hypotl" = x""yes; then :
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE__HYPOTL 1
36939 _ACEOF
36940
36941 fi
36942 done
36943
36944 fi
36945 fi
36946
36947
36948
36949
36950
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36952 $as_echo_n "checking for ldexpl declaration... " >&6; }
36953 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36954 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36956 else
36957
36958
36959 ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36967 #include <math.h>
36968 int
36969 main ()
36970 {
36971 ldexpl(0, 0);
36972 ;
36973 return 0;
36974 }
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func_ldexpl_use=yes
36978 else
36979 glibcxx_cv_func_ldexpl_use=no
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987
36988
36989 fi
36990
36991 fi
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36993 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36994
36995 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36996 for ac_func in ldexpl
36997 do :
36998 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36999 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE_LDEXPL 1
37002 _ACEOF
37003
37004 fi
37005 done
37006
37007 else
37008
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37010 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37011 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37012 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37013 $as_echo_n "(cached) " >&6
37014 else
37015
37016
37017 ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37025 #include <math.h>
37026 int
37027 main ()
37028 {
37029 _ldexpl(0, 0);
37030 ;
37031 return 0;
37032 }
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func__ldexpl_use=yes
37036 else
37037 glibcxx_cv_func__ldexpl_use=no
37038 fi
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045
37046
37047 fi
37048
37049 fi
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37051 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37052
37053 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37054 for ac_func in _ldexpl
37055 do :
37056 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37057 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE__LDEXPL 1
37060 _ACEOF
37061
37062 fi
37063 done
37064
37065 fi
37066 fi
37067
37068
37069
37070
37071
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37073 $as_echo_n "checking for logl declaration... " >&6; }
37074 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37075 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37078
37079
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37085
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37089 #ifdef HAVE_IEEEFP_H
37090 #include <ieeefp.h>
37091 #endif
37092
37093 int
37094 main ()
37095 {
37096 logl(0);
37097 ;
37098 return 0;
37099 }
37100 _ACEOF
37101 if ac_fn_cxx_try_compile "$LINENO"; then :
37102 glibcxx_cv_func_logl_use=yes
37103 else
37104 glibcxx_cv_func_logl_use=no
37105 fi
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37107 ac_ext=c
37108 ac_cpp='$CPP $CPPFLAGS'
37109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112
37113
37114 fi
37115
37116 fi
37117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37118 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37119
37120 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37121 for ac_func in logl
37122 do :
37123 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37124 if test "x$ac_cv_func_logl" = x""yes; then :
37125 cat >>confdefs.h <<_ACEOF
37126 #define HAVE_LOGL 1
37127 _ACEOF
37128
37129 fi
37130 done
37131
37132 else
37133
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37135 $as_echo_n "checking for _logl declaration... " >&6; }
37136 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37137 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37140
37141
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37151 #ifdef HAVE_IEEEFP_H
37152 #include <ieeefp.h>
37153 #endif
37154
37155 int
37156 main ()
37157 {
37158 _logl(0);
37159 ;
37160 return 0;
37161 }
37162 _ACEOF
37163 if ac_fn_cxx_try_compile "$LINENO"; then :
37164 glibcxx_cv_func__logl_use=yes
37165 else
37166 glibcxx_cv_func__logl_use=no
37167 fi
37168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37169 ac_ext=c
37170 ac_cpp='$CPP $CPPFLAGS'
37171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37174
37175
37176 fi
37177
37178 fi
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37180 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37181
37182 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37183 for ac_func in _logl
37184 do :
37185 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37186 if test "x$ac_cv_func__logl" = x""yes; then :
37187 cat >>confdefs.h <<_ACEOF
37188 #define HAVE__LOGL 1
37189 _ACEOF
37190
37191 fi
37192 done
37193
37194 fi
37195 fi
37196
37197
37198
37199
37200
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37202 $as_echo_n "checking for log10l declaration... " >&6; }
37203 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37204 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37205 $as_echo_n "(cached) " >&6
37206 else
37207
37208
37209 ac_ext=cpp
37210 ac_cpp='$CXXCPP $CPPFLAGS'
37211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37214
37215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37216 /* end confdefs.h. */
37217 #include <math.h>
37218 #ifdef HAVE_IEEEFP_H
37219 #include <ieeefp.h>
37220 #endif
37221
37222 int
37223 main ()
37224 {
37225 log10l(0);
37226 ;
37227 return 0;
37228 }
37229 _ACEOF
37230 if ac_fn_cxx_try_compile "$LINENO"; then :
37231 glibcxx_cv_func_log10l_use=yes
37232 else
37233 glibcxx_cv_func_log10l_use=no
37234 fi
37235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37236 ac_ext=c
37237 ac_cpp='$CPP $CPPFLAGS'
37238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241
37242
37243 fi
37244
37245 fi
37246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37247 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37248
37249 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37250 for ac_func in log10l
37251 do :
37252 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37253 if test "x$ac_cv_func_log10l" = x""yes; then :
37254 cat >>confdefs.h <<_ACEOF
37255 #define HAVE_LOG10L 1
37256 _ACEOF
37257
37258 fi
37259 done
37260
37261 else
37262
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37264 $as_echo_n "checking for _log10l declaration... " >&6; }
37265 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37266 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37267 $as_echo_n "(cached) " >&6
37268 else
37269
37270
37271 ac_ext=cpp
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37276
37277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37278 /* end confdefs.h. */
37279 #include <math.h>
37280 #ifdef HAVE_IEEEFP_H
37281 #include <ieeefp.h>
37282 #endif
37283
37284 int
37285 main ()
37286 {
37287 _log10l(0);
37288 ;
37289 return 0;
37290 }
37291 _ACEOF
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293 glibcxx_cv_func__log10l_use=yes
37294 else
37295 glibcxx_cv_func__log10l_use=no
37296 fi
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298 ac_ext=c
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37303
37304
37305 fi
37306
37307 fi
37308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37309 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37310
37311 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37312 for ac_func in _log10l
37313 do :
37314 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37315 if test "x$ac_cv_func__log10l" = x""yes; then :
37316 cat >>confdefs.h <<_ACEOF
37317 #define HAVE__LOG10L 1
37318 _ACEOF
37319
37320 fi
37321 done
37322
37323 fi
37324 fi
37325
37326
37327
37328
37329
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37331 $as_echo_n "checking for modfl declaration... " >&6; }
37332 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37333 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37334 $as_echo_n "(cached) " >&6
37335 else
37336
37337
37338 ac_ext=cpp
37339 ac_cpp='$CXXCPP $CPPFLAGS'
37340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37343
37344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h. */
37346 #include <math.h>
37347 int
37348 main ()
37349 {
37350 modfl(0, 0);
37351 ;
37352 return 0;
37353 }
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356 glibcxx_cv_func_modfl_use=yes
37357 else
37358 glibcxx_cv_func_modfl_use=no
37359 fi
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361 ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366
37367
37368 fi
37369
37370 fi
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37372 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37373
37374 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37375 for ac_func in modfl
37376 do :
37377 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37378 if test "x$ac_cv_func_modfl" = x""yes; then :
37379 cat >>confdefs.h <<_ACEOF
37380 #define HAVE_MODFL 1
37381 _ACEOF
37382
37383 fi
37384 done
37385
37386 else
37387
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37389 $as_echo_n "checking for _modfl declaration... " >&6; }
37390 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37391 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37392 $as_echo_n "(cached) " >&6
37393 else
37394
37395
37396 ac_ext=cpp
37397 ac_cpp='$CXXCPP $CPPFLAGS'
37398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37401
37402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 /* end confdefs.h. */
37404 #include <math.h>
37405 int
37406 main ()
37407 {
37408 _modfl(0, 0);
37409 ;
37410 return 0;
37411 }
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func__modfl_use=yes
37415 else
37416 glibcxx_cv_func__modfl_use=no
37417 fi
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428 fi
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37430 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37431
37432 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37433 for ac_func in _modfl
37434 do :
37435 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37436 if test "x$ac_cv_func__modfl" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE__MODFL 1
37439 _ACEOF
37440
37441 fi
37442 done
37443
37444 fi
37445 fi
37446
37447
37448
37449
37450
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37452 $as_echo_n "checking for powl declaration... " >&6; }
37453 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37454 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37455 $as_echo_n "(cached) " >&6
37456 else
37457
37458
37459 ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37464
37465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h. */
37467 #include <math.h>
37468 int
37469 main ()
37470 {
37471 powl(0, 0);
37472 ;
37473 return 0;
37474 }
37475 _ACEOF
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477 glibcxx_cv_func_powl_use=yes
37478 else
37479 glibcxx_cv_func_powl_use=no
37480 fi
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37482 ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487
37488
37489 fi
37490
37491 fi
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37493 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37494
37495 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37496 for ac_func in powl
37497 do :
37498 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37499 if test "x$ac_cv_func_powl" = x""yes; then :
37500 cat >>confdefs.h <<_ACEOF
37501 #define HAVE_POWL 1
37502 _ACEOF
37503
37504 fi
37505 done
37506
37507 else
37508
37509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37510 $as_echo_n "checking for _powl declaration... " >&6; }
37511 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37512 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37513 $as_echo_n "(cached) " >&6
37514 else
37515
37516
37517 ac_ext=cpp
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522
37523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h. */
37525 #include <math.h>
37526 int
37527 main ()
37528 {
37529 _powl(0, 0);
37530 ;
37531 return 0;
37532 }
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__powl_use=yes
37536 else
37537 glibcxx_cv_func__powl_use=no
37538 fi
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540 ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545
37546
37547 fi
37548
37549 fi
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37551 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37552
37553 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37554 for ac_func in _powl
37555 do :
37556 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37557 if test "x$ac_cv_func__powl" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE__POWL 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565 fi
37566 fi
37567
37568
37569
37570
37571
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37573 $as_echo_n "checking for sqrtl declaration... " >&6; }
37574 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37575 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37578
37579
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37589 #ifdef HAVE_IEEEFP_H
37590 #include <ieeefp.h>
37591 #endif
37592
37593 int
37594 main ()
37595 {
37596 sqrtl(0);
37597 ;
37598 return 0;
37599 }
37600 _ACEOF
37601 if ac_fn_cxx_try_compile "$LINENO"; then :
37602 glibcxx_cv_func_sqrtl_use=yes
37603 else
37604 glibcxx_cv_func_sqrtl_use=no
37605 fi
37606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37607 ac_ext=c
37608 ac_cpp='$CPP $CPPFLAGS'
37609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37612
37613
37614 fi
37615
37616 fi
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37618 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37619
37620 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37621 for ac_func in sqrtl
37622 do :
37623 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37624 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37625 cat >>confdefs.h <<_ACEOF
37626 #define HAVE_SQRTL 1
37627 _ACEOF
37628
37629 fi
37630 done
37631
37632 else
37633
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37635 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37636 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37637 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37639 else
37640
37641
37642 ac_ext=cpp
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37647
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37650 #include <math.h>
37651 #ifdef HAVE_IEEEFP_H
37652 #include <ieeefp.h>
37653 #endif
37654
37655 int
37656 main ()
37657 {
37658 _sqrtl(0);
37659 ;
37660 return 0;
37661 }
37662 _ACEOF
37663 if ac_fn_cxx_try_compile "$LINENO"; then :
37664 glibcxx_cv_func__sqrtl_use=yes
37665 else
37666 glibcxx_cv_func__sqrtl_use=no
37667 fi
37668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37669 ac_ext=c
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37674
37675
37676 fi
37677
37678 fi
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37680 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37681
37682 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37683 for ac_func in _sqrtl
37684 do :
37685 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37686 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37687 cat >>confdefs.h <<_ACEOF
37688 #define HAVE__SQRTL 1
37689 _ACEOF
37690
37691 fi
37692 done
37693
37694 fi
37695 fi
37696
37697
37698
37699
37700
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37702 $as_echo_n "checking for sincosl declaration... " >&6; }
37703 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37704 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37705 $as_echo_n "(cached) " >&6
37706 else
37707
37708
37709 ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37717 #include <math.h>
37718 int
37719 main ()
37720 {
37721 sincosl(0, 0, 0);
37722 ;
37723 return 0;
37724 }
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727 glibcxx_cv_func_sincosl_use=yes
37728 else
37729 glibcxx_cv_func_sincosl_use=no
37730 fi
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732 ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737
37738
37739 fi
37740
37741 fi
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37743 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37744
37745 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37746 for ac_func in sincosl
37747 do :
37748 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37749 if test "x$ac_cv_func_sincosl" = x""yes; then :
37750 cat >>confdefs.h <<_ACEOF
37751 #define HAVE_SINCOSL 1
37752 _ACEOF
37753
37754 fi
37755 done
37756
37757 else
37758
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37760 $as_echo_n "checking for _sincosl declaration... " >&6; }
37761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37763 $as_echo_n "(cached) " >&6
37764 else
37765
37766
37767 ac_ext=cpp
37768 ac_cpp='$CXXCPP $CPPFLAGS'
37769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37772
37773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37774 /* end confdefs.h. */
37775 #include <math.h>
37776 int
37777 main ()
37778 {
37779 _sincosl(0, 0, 0);
37780 ;
37781 return 0;
37782 }
37783 _ACEOF
37784 if ac_fn_cxx_try_compile "$LINENO"; then :
37785 glibcxx_cv_func__sincosl_use=yes
37786 else
37787 glibcxx_cv_func__sincosl_use=no
37788 fi
37789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37790 ac_ext=c
37791 ac_cpp='$CPP $CPPFLAGS'
37792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37795
37796
37797 fi
37798
37799 fi
37800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37801 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37802
37803 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37804 for ac_func in _sincosl
37805 do :
37806 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37807 if test "x$ac_cv_func__sincosl" = x""yes; then :
37808 cat >>confdefs.h <<_ACEOF
37809 #define HAVE__SINCOSL 1
37810 _ACEOF
37811
37812 fi
37813 done
37814
37815 fi
37816 fi
37817
37818
37819
37820
37821
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37823 $as_echo_n "checking for finitel declaration... " >&6; }
37824 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37825 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37826 $as_echo_n "(cached) " >&6
37827 else
37828
37829
37830 ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h. */
37838 #include <math.h>
37839 #ifdef HAVE_IEEEFP_H
37840 #include <ieeefp.h>
37841 #endif
37842
37843 int
37844 main ()
37845 {
37846 finitel(0);
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 if ac_fn_cxx_try_compile "$LINENO"; then :
37852 glibcxx_cv_func_finitel_use=yes
37853 else
37854 glibcxx_cv_func_finitel_use=no
37855 fi
37856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37857 ac_ext=c
37858 ac_cpp='$CPP $CPPFLAGS'
37859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37862
37863
37864 fi
37865
37866 fi
37867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37868 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37869
37870 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37871 for ac_func in finitel
37872 do :
37873 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37874 if test "x$ac_cv_func_finitel" = x""yes; then :
37875 cat >>confdefs.h <<_ACEOF
37876 #define HAVE_FINITEL 1
37877 _ACEOF
37878
37879 fi
37880 done
37881
37882 else
37883
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37885 $as_echo_n "checking for _finitel declaration... " >&6; }
37886 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37887 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37888 $as_echo_n "(cached) " >&6
37889 else
37890
37891
37892 ac_ext=cpp
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37897
37898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h. */
37900 #include <math.h>
37901 #ifdef HAVE_IEEEFP_H
37902 #include <ieeefp.h>
37903 #endif
37904
37905 int
37906 main ()
37907 {
37908 _finitel(0);
37909 ;
37910 return 0;
37911 }
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func__finitel_use=yes
37915 else
37916 glibcxx_cv_func__finitel_use=no
37917 fi
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37924
37925
37926 fi
37927
37928 fi
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37930 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37931
37932 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37933 for ac_func in _finitel
37934 do :
37935 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37936 if test "x$ac_cv_func__finitel" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE__FINITEL 1
37939 _ACEOF
37940
37941 fi
37942 done
37943
37944 fi
37945 fi
37946
37947
37948
37949
37950 LIBS="$ac_save_LIBS"
37951 CXXFLAGS="$ac_save_CXXFLAGS"
37952
37953
37954 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37955 ac_save_CXXFLAGS="$CXXFLAGS"
37956 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37957
37958
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37960 $as_echo_n "checking for strtold declaration... " >&6; }
37961 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37962 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37965
37966
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37972
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <stdlib.h>
37976 int
37977 main ()
37978 {
37979 strtold(0, 0);
37980 ;
37981 return 0;
37982 }
37983 _ACEOF
37984 if ac_fn_cxx_try_compile "$LINENO"; then :
37985 glibcxx_cv_func_strtold_use=yes
37986 else
37987 glibcxx_cv_func_strtold_use=no
37988 fi
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37990 ac_ext=c
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37995
37996
37997 fi
37998
37999 fi
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38001 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38002 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38003 for ac_func in strtold
38004 do :
38005 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38006 if test "x$ac_cv_func_strtold" = x""yes; then :
38007 cat >>confdefs.h <<_ACEOF
38008 #define HAVE_STRTOLD 1
38009 _ACEOF
38010
38011 fi
38012 done
38013
38014 fi
38015
38016
38017
38018
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38020 $as_echo_n "checking for strtof declaration... " >&6; }
38021 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38022 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38023 $as_echo_n "(cached) " >&6
38024 else
38025
38026
38027 ac_ext=cpp
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032
38033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38034 /* end confdefs.h. */
38035 #include <stdlib.h>
38036 int
38037 main ()
38038 {
38039 strtof(0, 0);
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 if ac_fn_cxx_try_compile "$LINENO"; then :
38045 glibcxx_cv_func_strtof_use=yes
38046 else
38047 glibcxx_cv_func_strtof_use=no
38048 fi
38049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38050 ac_ext=c
38051 ac_cpp='$CPP $CPPFLAGS'
38052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38055
38056
38057 fi
38058
38059 fi
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38061 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38062 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38063 for ac_func in strtof
38064 do :
38065 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38066 if test "x$ac_cv_func_strtof" = x""yes; then :
38067 cat >>confdefs.h <<_ACEOF
38068 #define HAVE_STRTOF 1
38069 _ACEOF
38070
38071 fi
38072 done
38073
38074 fi
38075
38076
38077
38078
38079 CXXFLAGS="$ac_save_CXXFLAGS"
38080
38081 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38082
38083 # We don't yet support AIX's TLS ABI.
38084 #GCC_CHECK_TLS
38085
38086
38087
38088
38089
38090 am_save_CPPFLAGS="$CPPFLAGS"
38091
38092 for element in $INCICONV; do
38093 haveit=
38094 for x in $CPPFLAGS; do
38095
38096 acl_save_prefix="$prefix"
38097 prefix="$acl_final_prefix"
38098 acl_save_exec_prefix="$exec_prefix"
38099 exec_prefix="$acl_final_exec_prefix"
38100 eval x=\"$x\"
38101 exec_prefix="$acl_save_exec_prefix"
38102 prefix="$acl_save_prefix"
38103
38104 if test "X$x" = "X$element"; then
38105 haveit=yes
38106 break
38107 fi
38108 done
38109 if test -z "$haveit"; then
38110 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38111 fi
38112 done
38113
38114
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38116 $as_echo_n "checking for iconv... " >&6; }
38117 if test "${am_cv_func_iconv+set}" = set; then :
38118 $as_echo_n "(cached) " >&6
38119 else
38120
38121 am_cv_func_iconv="no, consider installing GNU libiconv"
38122 am_cv_lib_iconv=no
38123 if test x$gcc_no_link = xyes; then
38124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38125 fi
38126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38127 /* end confdefs.h. */
38128 #include <stdlib.h>
38129 #include <iconv.h>
38130 int
38131 main ()
38132 {
38133 iconv_t cd = iconv_open("","");
38134 iconv(cd,NULL,NULL,NULL,NULL);
38135 iconv_close(cd);
38136 ;
38137 return 0;
38138 }
38139 _ACEOF
38140 if ac_fn_c_try_link "$LINENO"; then :
38141 am_cv_func_iconv=yes
38142 fi
38143 rm -f core conftest.err conftest.$ac_objext \
38144 conftest$ac_exeext conftest.$ac_ext
38145 if test "$am_cv_func_iconv" != yes; then
38146 am_save_LIBS="$LIBS"
38147 LIBS="$LIBS $LIBICONV"
38148 if test x$gcc_no_link = xyes; then
38149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38150 fi
38151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38152 /* end confdefs.h. */
38153 #include <stdlib.h>
38154 #include <iconv.h>
38155 int
38156 main ()
38157 {
38158 iconv_t cd = iconv_open("","");
38159 iconv(cd,NULL,NULL,NULL,NULL);
38160 iconv_close(cd);
38161 ;
38162 return 0;
38163 }
38164 _ACEOF
38165 if ac_fn_c_try_link "$LINENO"; then :
38166 am_cv_lib_iconv=yes
38167 am_cv_func_iconv=yes
38168 fi
38169 rm -f core conftest.err conftest.$ac_objext \
38170 conftest$ac_exeext conftest.$ac_ext
38171 LIBS="$am_save_LIBS"
38172 fi
38173
38174 fi
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38176 $as_echo "$am_cv_func_iconv" >&6; }
38177 if test "$am_cv_func_iconv" = yes; then
38178
38179 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38180
38181 fi
38182 if test "$am_cv_lib_iconv" = yes; then
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38184 $as_echo_n "checking how to link with libiconv... " >&6; }
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38186 $as_echo "$LIBICONV" >&6; }
38187 else
38188 CPPFLAGS="$am_save_CPPFLAGS"
38189 LIBICONV=
38190 LTLIBICONV=
38191 fi
38192
38193
38194
38195 if test "$am_cv_func_iconv" = yes; then
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38197 $as_echo_n "checking for iconv declaration... " >&6; }
38198 if test "${am_cv_proto_iconv+set}" = set; then :
38199 $as_echo_n "(cached) " >&6
38200 else
38201
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38204
38205 #include <stdlib.h>
38206 #include <iconv.h>
38207 extern
38208 #ifdef __cplusplus
38209 "C"
38210 #endif
38211 #if defined(__STDC__) || defined(__cplusplus)
38212 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38213 #else
38214 size_t iconv();
38215 #endif
38216
38217 int
38218 main ()
38219 {
38220
38221 ;
38222 return 0;
38223 }
38224 _ACEOF
38225 if ac_fn_c_try_compile "$LINENO"; then :
38226 am_cv_proto_iconv_arg1=""
38227 else
38228 am_cv_proto_iconv_arg1="const"
38229 fi
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38231 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);"
38232 fi
38233
38234 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38236 }$am_cv_proto_iconv" >&5
38237 $as_echo "${ac_t:-
38238 }$am_cv_proto_iconv" >&6; }
38239
38240 cat >>confdefs.h <<_ACEOF
38241 #define ICONV_CONST $am_cv_proto_iconv_arg1
38242 _ACEOF
38243
38244 fi
38245
38246 ;;
38247
38248 *-darwin*)
38249 # Darwin versions vary, but the linker should work in a cross environment,
38250 # so we just check for all the features here.
38251 # Check for available headers.
38252
38253 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38254
38255 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38256 ac_save_CXXFLAGS="$CXXFLAGS"
38257 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38258
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38260 $as_echo_n "checking for sin in -lm... " >&6; }
38261 if test "${ac_cv_lib_m_sin+set}" = set; then :
38262 $as_echo_n "(cached) " >&6
38263 else
38264 ac_check_lib_save_LIBS=$LIBS
38265 LIBS="-lm $LIBS"
38266 if test x$gcc_no_link = xyes; then
38267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38268 fi
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38271
38272 /* Override any GCC internal prototype to avoid an error.
38273 Use char because int might match the return type of a GCC
38274 builtin and then its argument prototype would still apply. */
38275 #ifdef __cplusplus
38276 extern "C"
38277 #endif
38278 char sin ();
38279 int
38280 main ()
38281 {
38282 return sin ();
38283 ;
38284 return 0;
38285 }
38286 _ACEOF
38287 if ac_fn_c_try_link "$LINENO"; then :
38288 ac_cv_lib_m_sin=yes
38289 else
38290 ac_cv_lib_m_sin=no
38291 fi
38292 rm -f core conftest.err conftest.$ac_objext \
38293 conftest$ac_exeext conftest.$ac_ext
38294 LIBS=$ac_check_lib_save_LIBS
38295 fi
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38297 $as_echo "$ac_cv_lib_m_sin" >&6; }
38298 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38299 libm="-lm"
38300 fi
38301
38302 ac_save_LIBS="$LIBS"
38303 LIBS="$LIBS $libm"
38304
38305
38306
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38308 $as_echo_n "checking for isinf declaration... " >&6; }
38309 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38310 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38311 $as_echo_n "(cached) " >&6
38312 else
38313
38314
38315 ac_ext=cpp
38316 ac_cpp='$CXXCPP $CPPFLAGS'
38317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38320
38321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38322 /* end confdefs.h. */
38323 #include <math.h>
38324 #ifdef HAVE_IEEEFP_H
38325 #include <ieeefp.h>
38326 #endif
38327
38328 int
38329 main ()
38330 {
38331 isinf(0);
38332 ;
38333 return 0;
38334 }
38335 _ACEOF
38336 if ac_fn_cxx_try_compile "$LINENO"; then :
38337 glibcxx_cv_func_isinf_use=yes
38338 else
38339 glibcxx_cv_func_isinf_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_isinf_use" >&5
38353 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38354
38355 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38356 for ac_func in isinf
38357 do :
38358 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38359 if test "x$ac_cv_func_isinf" = x""yes; then :
38360 cat >>confdefs.h <<_ACEOF
38361 #define HAVE_ISINF 1
38362 _ACEOF
38363
38364 fi
38365 done
38366
38367 else
38368
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38370 $as_echo_n "checking for _isinf declaration... " >&6; }
38371 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38372 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38373 $as_echo_n "(cached) " >&6
38374 else
38375
38376
38377 ac_ext=cpp
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38382
38383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38384 /* end confdefs.h. */
38385 #include <math.h>
38386 #ifdef HAVE_IEEEFP_H
38387 #include <ieeefp.h>
38388 #endif
38389
38390 int
38391 main ()
38392 {
38393 _isinf(0);
38394 ;
38395 return 0;
38396 }
38397 _ACEOF
38398 if ac_fn_cxx_try_compile "$LINENO"; then :
38399 glibcxx_cv_func__isinf_use=yes
38400 else
38401 glibcxx_cv_func__isinf_use=no
38402 fi
38403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38404 ac_ext=c
38405 ac_cpp='$CPP $CPPFLAGS'
38406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38409
38410
38411 fi
38412
38413 fi
38414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38415 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38416
38417 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38418 for ac_func in _isinf
38419 do :
38420 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38421 if test "x$ac_cv_func__isinf" = x""yes; then :
38422 cat >>confdefs.h <<_ACEOF
38423 #define HAVE__ISINF 1
38424 _ACEOF
38425
38426 fi
38427 done
38428
38429 fi
38430 fi
38431
38432
38433
38434
38435
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38437 $as_echo_n "checking for isnan declaration... " >&6; }
38438 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38439 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38440 $as_echo_n "(cached) " >&6
38441 else
38442
38443
38444 ac_ext=cpp
38445 ac_cpp='$CXXCPP $CPPFLAGS'
38446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38449
38450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38451 /* end confdefs.h. */
38452 #include <math.h>
38453 #ifdef HAVE_IEEEFP_H
38454 #include <ieeefp.h>
38455 #endif
38456
38457 int
38458 main ()
38459 {
38460 isnan(0);
38461 ;
38462 return 0;
38463 }
38464 _ACEOF
38465 if ac_fn_cxx_try_compile "$LINENO"; then :
38466 glibcxx_cv_func_isnan_use=yes
38467 else
38468 glibcxx_cv_func_isnan_use=no
38469 fi
38470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38471 ac_ext=c
38472 ac_cpp='$CPP $CPPFLAGS'
38473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38476
38477
38478 fi
38479
38480 fi
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38482 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38483
38484 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38485 for ac_func in isnan
38486 do :
38487 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38488 if test "x$ac_cv_func_isnan" = x""yes; then :
38489 cat >>confdefs.h <<_ACEOF
38490 #define HAVE_ISNAN 1
38491 _ACEOF
38492
38493 fi
38494 done
38495
38496 else
38497
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38499 $as_echo_n "checking for _isnan declaration... " >&6; }
38500 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38501 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38502 $as_echo_n "(cached) " >&6
38503 else
38504
38505
38506 ac_ext=cpp
38507 ac_cpp='$CXXCPP $CPPFLAGS'
38508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38511
38512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38513 /* end confdefs.h. */
38514 #include <math.h>
38515 #ifdef HAVE_IEEEFP_H
38516 #include <ieeefp.h>
38517 #endif
38518
38519 int
38520 main ()
38521 {
38522 _isnan(0);
38523 ;
38524 return 0;
38525 }
38526 _ACEOF
38527 if ac_fn_cxx_try_compile "$LINENO"; then :
38528 glibcxx_cv_func__isnan_use=yes
38529 else
38530 glibcxx_cv_func__isnan_use=no
38531 fi
38532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38533 ac_ext=c
38534 ac_cpp='$CPP $CPPFLAGS'
38535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38538
38539
38540 fi
38541
38542 fi
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38544 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38545
38546 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38547 for ac_func in _isnan
38548 do :
38549 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38550 if test "x$ac_cv_func__isnan" = x""yes; then :
38551 cat >>confdefs.h <<_ACEOF
38552 #define HAVE__ISNAN 1
38553 _ACEOF
38554
38555 fi
38556 done
38557
38558 fi
38559 fi
38560
38561
38562
38563
38564
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38566 $as_echo_n "checking for finite declaration... " >&6; }
38567 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38568 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38569 $as_echo_n "(cached) " >&6
38570 else
38571
38572
38573 ac_ext=cpp
38574 ac_cpp='$CXXCPP $CPPFLAGS'
38575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38578
38579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580 /* end confdefs.h. */
38581 #include <math.h>
38582 #ifdef HAVE_IEEEFP_H
38583 #include <ieeefp.h>
38584 #endif
38585
38586 int
38587 main ()
38588 {
38589 finite(0);
38590 ;
38591 return 0;
38592 }
38593 _ACEOF
38594 if ac_fn_cxx_try_compile "$LINENO"; then :
38595 glibcxx_cv_func_finite_use=yes
38596 else
38597 glibcxx_cv_func_finite_use=no
38598 fi
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38605
38606
38607 fi
38608
38609 fi
38610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38611 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38612
38613 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38614 for ac_func in finite
38615 do :
38616 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38617 if test "x$ac_cv_func_finite" = x""yes; then :
38618 cat >>confdefs.h <<_ACEOF
38619 #define HAVE_FINITE 1
38620 _ACEOF
38621
38622 fi
38623 done
38624
38625 else
38626
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38628 $as_echo_n "checking for _finite declaration... " >&6; }
38629 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38630 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38631 $as_echo_n "(cached) " >&6
38632 else
38633
38634
38635 ac_ext=cpp
38636 ac_cpp='$CXXCPP $CPPFLAGS'
38637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640
38641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38642 /* end confdefs.h. */
38643 #include <math.h>
38644 #ifdef HAVE_IEEEFP_H
38645 #include <ieeefp.h>
38646 #endif
38647
38648 int
38649 main ()
38650 {
38651 _finite(0);
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 if ac_fn_cxx_try_compile "$LINENO"; then :
38657 glibcxx_cv_func__finite_use=yes
38658 else
38659 glibcxx_cv_func__finite_use=no
38660 fi
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38662 ac_ext=c
38663 ac_cpp='$CPP $CPPFLAGS'
38664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38667
38668
38669 fi
38670
38671 fi
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38673 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38674
38675 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38676 for ac_func in _finite
38677 do :
38678 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38679 if test "x$ac_cv_func__finite" = x""yes; then :
38680 cat >>confdefs.h <<_ACEOF
38681 #define HAVE__FINITE 1
38682 _ACEOF
38683
38684 fi
38685 done
38686
38687 fi
38688 fi
38689
38690
38691
38692
38693
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38695 $as_echo_n "checking for sincos declaration... " >&6; }
38696 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38697 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 int
38712 main ()
38713 {
38714 sincos(0, 0, 0);
38715 ;
38716 return 0;
38717 }
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func_sincos_use=yes
38721 else
38722 glibcxx_cv_func_sincos_use=no
38723 fi
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38730
38731
38732 fi
38733
38734 fi
38735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38736 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38737
38738 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38739 for ac_func in sincos
38740 do :
38741 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38742 if test "x$ac_cv_func_sincos" = x""yes; then :
38743 cat >>confdefs.h <<_ACEOF
38744 #define HAVE_SINCOS 1
38745 _ACEOF
38746
38747 fi
38748 done
38749
38750 else
38751
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38753 $as_echo_n "checking for _sincos declaration... " >&6; }
38754 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38755 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38756 $as_echo_n "(cached) " >&6
38757 else
38758
38759
38760 ac_ext=cpp
38761 ac_cpp='$CXXCPP $CPPFLAGS'
38762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38765
38766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38767 /* end confdefs.h. */
38768 #include <math.h>
38769 int
38770 main ()
38771 {
38772 _sincos(0, 0, 0);
38773 ;
38774 return 0;
38775 }
38776 _ACEOF
38777 if ac_fn_cxx_try_compile "$LINENO"; then :
38778 glibcxx_cv_func__sincos_use=yes
38779 else
38780 glibcxx_cv_func__sincos_use=no
38781 fi
38782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38783 ac_ext=c
38784 ac_cpp='$CPP $CPPFLAGS'
38785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38788
38789
38790 fi
38791
38792 fi
38793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38794 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38795
38796 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38797 for ac_func in _sincos
38798 do :
38799 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38800 if test "x$ac_cv_func__sincos" = x""yes; then :
38801 cat >>confdefs.h <<_ACEOF
38802 #define HAVE__SINCOS 1
38803 _ACEOF
38804
38805 fi
38806 done
38807
38808 fi
38809 fi
38810
38811
38812
38813
38814
38815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38816 $as_echo_n "checking for fpclass declaration... " >&6; }
38817 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38818 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38819 $as_echo_n "(cached) " >&6
38820 else
38821
38822
38823 ac_ext=cpp
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38828
38829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38831 #include <math.h>
38832 #ifdef HAVE_IEEEFP_H
38833 #include <ieeefp.h>
38834 #endif
38835
38836 int
38837 main ()
38838 {
38839 fpclass(0);
38840 ;
38841 return 0;
38842 }
38843 _ACEOF
38844 if ac_fn_cxx_try_compile "$LINENO"; then :
38845 glibcxx_cv_func_fpclass_use=yes
38846 else
38847 glibcxx_cv_func_fpclass_use=no
38848 fi
38849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38850 ac_ext=c
38851 ac_cpp='$CPP $CPPFLAGS'
38852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38855
38856
38857 fi
38858
38859 fi
38860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38861 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38862
38863 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38864 for ac_func in fpclass
38865 do :
38866 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38867 if test "x$ac_cv_func_fpclass" = x""yes; then :
38868 cat >>confdefs.h <<_ACEOF
38869 #define HAVE_FPCLASS 1
38870 _ACEOF
38871
38872 fi
38873 done
38874
38875 else
38876
38877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38878 $as_echo_n "checking for _fpclass declaration... " >&6; }
38879 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38880 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38881 $as_echo_n "(cached) " >&6
38882 else
38883
38884
38885 ac_ext=cpp
38886 ac_cpp='$CXXCPP $CPPFLAGS'
38887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38890
38891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38892 /* end confdefs.h. */
38893 #include <math.h>
38894 #ifdef HAVE_IEEEFP_H
38895 #include <ieeefp.h>
38896 #endif
38897
38898 int
38899 main ()
38900 {
38901 _fpclass(0);
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 if ac_fn_cxx_try_compile "$LINENO"; then :
38907 glibcxx_cv_func__fpclass_use=yes
38908 else
38909 glibcxx_cv_func__fpclass_use=no
38910 fi
38911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38912 ac_ext=c
38913 ac_cpp='$CPP $CPPFLAGS'
38914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38917
38918
38919 fi
38920
38921 fi
38922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38923 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38924
38925 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38926 for ac_func in _fpclass
38927 do :
38928 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38929 if test "x$ac_cv_func__fpclass" = x""yes; then :
38930 cat >>confdefs.h <<_ACEOF
38931 #define HAVE__FPCLASS 1
38932 _ACEOF
38933
38934 fi
38935 done
38936
38937 fi
38938 fi
38939
38940
38941
38942
38943
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38945 $as_echo_n "checking for qfpclass declaration... " >&6; }
38946 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38947 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38948 $as_echo_n "(cached) " >&6
38949 else
38950
38951
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38960 #include <math.h>
38961 #ifdef HAVE_IEEEFP_H
38962 #include <ieeefp.h>
38963 #endif
38964
38965 int
38966 main ()
38967 {
38968 qfpclass(0);
38969 ;
38970 return 0;
38971 }
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func_qfpclass_use=yes
38975 else
38976 glibcxx_cv_func_qfpclass_use=no
38977 fi
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984
38985
38986 fi
38987
38988 fi
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38990 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38991
38992 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38993 for ac_func in qfpclass
38994 do :
38995 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38996 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE_QFPCLASS 1
38999 _ACEOF
39000
39001 fi
39002 done
39003
39004 else
39005
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39007 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39008 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39009 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39010 $as_echo_n "(cached) " >&6
39011 else
39012
39013
39014 ac_ext=cpp
39015 ac_cpp='$CXXCPP $CPPFLAGS'
39016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39019
39020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39021 /* end confdefs.h. */
39022 #include <math.h>
39023 #ifdef HAVE_IEEEFP_H
39024 #include <ieeefp.h>
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 _qfpclass(0);
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 if ac_fn_cxx_try_compile "$LINENO"; then :
39036 glibcxx_cv_func__qfpclass_use=yes
39037 else
39038 glibcxx_cv_func__qfpclass_use=no
39039 fi
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39041 ac_ext=c
39042 ac_cpp='$CPP $CPPFLAGS'
39043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39046
39047
39048 fi
39049
39050 fi
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39052 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39053
39054 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39055 for ac_func in _qfpclass
39056 do :
39057 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39058 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39059 cat >>confdefs.h <<_ACEOF
39060 #define HAVE__QFPCLASS 1
39061 _ACEOF
39062
39063 fi
39064 done
39065
39066 fi
39067 fi
39068
39069
39070
39071
39072
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39074 $as_echo_n "checking for hypot declaration... " >&6; }
39075 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39076 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 int
39091 main ()
39092 {
39093 hypot(0, 0);
39094 ;
39095 return 0;
39096 }
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func_hypot_use=yes
39100 else
39101 glibcxx_cv_func_hypot_use=no
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39109
39110
39111 fi
39112
39113 fi
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39115 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39116
39117 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39118 for ac_func in hypot
39119 do :
39120 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39121 if test "x$ac_cv_func_hypot" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE_HYPOT 1
39124 _ACEOF
39125
39126 fi
39127 done
39128
39129 else
39130
39131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39132 $as_echo_n "checking for _hypot declaration... " >&6; }
39133 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39134 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39135 $as_echo_n "(cached) " >&6
39136 else
39137
39138
39139 ac_ext=cpp
39140 ac_cpp='$CXXCPP $CPPFLAGS'
39141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39144
39145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39146 /* end confdefs.h. */
39147 #include <math.h>
39148 int
39149 main ()
39150 {
39151 _hypot(0, 0);
39152 ;
39153 return 0;
39154 }
39155 _ACEOF
39156 if ac_fn_cxx_try_compile "$LINENO"; then :
39157 glibcxx_cv_func__hypot_use=yes
39158 else
39159 glibcxx_cv_func__hypot_use=no
39160 fi
39161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39162 ac_ext=c
39163 ac_cpp='$CPP $CPPFLAGS'
39164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39167
39168
39169 fi
39170
39171 fi
39172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39173 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39174
39175 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39176 for ac_func in _hypot
39177 do :
39178 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39179 if test "x$ac_cv_func__hypot" = x""yes; then :
39180 cat >>confdefs.h <<_ACEOF
39181 #define HAVE__HYPOT 1
39182 _ACEOF
39183
39184 fi
39185 done
39186
39187 fi
39188 fi
39189
39190
39191
39192
39193
39194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39195 $as_echo_n "checking for float trig functions... " >&6; }
39196 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39197 $as_echo_n "(cached) " >&6
39198 else
39199
39200
39201 ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39206
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39209 #include <math.h>
39210 int
39211 main ()
39212 {
39213 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39214 ;
39215 return 0;
39216 }
39217 _ACEOF
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func_float_trig_use=yes
39220 else
39221 glibcxx_cv_func_float_trig_use=no
39222 fi
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39224 ac_ext=c
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229
39230 fi
39231
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39233 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39234 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39235 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39236 do :
39237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39239 eval as_val=\$$as_ac_var
39240 if test "x$as_val" = x""yes; then :
39241 cat >>confdefs.h <<_ACEOF
39242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39243 _ACEOF
39244
39245 fi
39246 done
39247
39248 else
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39250 $as_echo_n "checking for _float trig functions... " >&6; }
39251 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39253 else
39254
39255
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39264 #include <math.h>
39265 int
39266 main ()
39267 {
39268 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39269 ;
39270 return 0;
39271 }
39272 _ACEOF
39273 if ac_fn_cxx_try_compile "$LINENO"; then :
39274 glibcxx_cv_func__float_trig_use=yes
39275 else
39276 glibcxx_cv_func__float_trig_use=no
39277 fi
39278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39279 ac_ext=c
39280 ac_cpp='$CPP $CPPFLAGS'
39281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39284
39285 fi
39286
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39288 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39289 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39290 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39291 do :
39292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39294 eval as_val=\$$as_ac_var
39295 if test "x$as_val" = x""yes; then :
39296 cat >>confdefs.h <<_ACEOF
39297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39298 _ACEOF
39299
39300 fi
39301 done
39302
39303 fi
39304 fi
39305
39306
39307
39308
39309
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39311 $as_echo_n "checking for float round functions... " >&6; }
39312 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39313 $as_echo_n "(cached) " >&6
39314 else
39315
39316
39317 ac_ext=cpp
39318 ac_cpp='$CXXCPP $CPPFLAGS'
39319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39322
39323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39324 /* end confdefs.h. */
39325 #include <math.h>
39326 int
39327 main ()
39328 {
39329 ceilf (0); floorf (0);
39330 ;
39331 return 0;
39332 }
39333 _ACEOF
39334 if ac_fn_cxx_try_compile "$LINENO"; then :
39335 glibcxx_cv_func_float_round_use=yes
39336 else
39337 glibcxx_cv_func_float_round_use=no
39338 fi
39339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39340 ac_ext=c
39341 ac_cpp='$CPP $CPPFLAGS'
39342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39345
39346 fi
39347
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39349 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39350 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39351 for ac_func in ceilf floorf
39352 do :
39353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39355 eval as_val=\$$as_ac_var
39356 if test "x$as_val" = x""yes; then :
39357 cat >>confdefs.h <<_ACEOF
39358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39359 _ACEOF
39360
39361 fi
39362 done
39363
39364 else
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39366 $as_echo_n "checking for _float round functions... " >&6; }
39367 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39368 $as_echo_n "(cached) " >&6
39369 else
39370
39371
39372 ac_ext=cpp
39373 ac_cpp='$CXXCPP $CPPFLAGS'
39374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39377
39378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39379 /* end confdefs.h. */
39380 #include <math.h>
39381 int
39382 main ()
39383 {
39384 _ceilf (0); _floorf (0);
39385 ;
39386 return 0;
39387 }
39388 _ACEOF
39389 if ac_fn_cxx_try_compile "$LINENO"; then :
39390 glibcxx_cv_func__float_round_use=yes
39391 else
39392 glibcxx_cv_func__float_round_use=no
39393 fi
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400
39401 fi
39402
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39404 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39405 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39406 for ac_func in _ceilf _floorf
39407 do :
39408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39410 eval as_val=\$$as_ac_var
39411 if test "x$as_val" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39414 _ACEOF
39415
39416 fi
39417 done
39418
39419 fi
39420 fi
39421
39422
39423
39424
39425
39426
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39428 $as_echo_n "checking for expf declaration... " >&6; }
39429 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39430 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39431 $as_echo_n "(cached) " >&6
39432 else
39433
39434
39435 ac_ext=cpp
39436 ac_cpp='$CXXCPP $CPPFLAGS'
39437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39440
39441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 /* end confdefs.h. */
39443 #include <math.h>
39444 #ifdef HAVE_IEEEFP_H
39445 #include <ieeefp.h>
39446 #endif
39447
39448 int
39449 main ()
39450 {
39451 expf(0);
39452 ;
39453 return 0;
39454 }
39455 _ACEOF
39456 if ac_fn_cxx_try_compile "$LINENO"; then :
39457 glibcxx_cv_func_expf_use=yes
39458 else
39459 glibcxx_cv_func_expf_use=no
39460 fi
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39462 ac_ext=c
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467
39468
39469 fi
39470
39471 fi
39472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39473 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39474
39475 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39476 for ac_func in expf
39477 do :
39478 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39479 if test "x$ac_cv_func_expf" = x""yes; then :
39480 cat >>confdefs.h <<_ACEOF
39481 #define HAVE_EXPF 1
39482 _ACEOF
39483
39484 fi
39485 done
39486
39487 else
39488
39489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39490 $as_echo_n "checking for _expf declaration... " >&6; }
39491 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39492 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39493 $as_echo_n "(cached) " >&6
39494 else
39495
39496
39497 ac_ext=cpp
39498 ac_cpp='$CXXCPP $CPPFLAGS'
39499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39502
39503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39504 /* end confdefs.h. */
39505 #include <math.h>
39506 #ifdef HAVE_IEEEFP_H
39507 #include <ieeefp.h>
39508 #endif
39509
39510 int
39511 main ()
39512 {
39513 _expf(0);
39514 ;
39515 return 0;
39516 }
39517 _ACEOF
39518 if ac_fn_cxx_try_compile "$LINENO"; then :
39519 glibcxx_cv_func__expf_use=yes
39520 else
39521 glibcxx_cv_func__expf_use=no
39522 fi
39523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39524 ac_ext=c
39525 ac_cpp='$CPP $CPPFLAGS'
39526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39529
39530
39531 fi
39532
39533 fi
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39535 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39536
39537 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39538 for ac_func in _expf
39539 do :
39540 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39541 if test "x$ac_cv_func__expf" = x""yes; then :
39542 cat >>confdefs.h <<_ACEOF
39543 #define HAVE__EXPF 1
39544 _ACEOF
39545
39546 fi
39547 done
39548
39549 fi
39550 fi
39551
39552
39553
39554
39555
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39557 $as_echo_n "checking for isnanf declaration... " >&6; }
39558 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39559 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39560 $as_echo_n "(cached) " >&6
39561 else
39562
39563
39564 ac_ext=cpp
39565 ac_cpp='$CXXCPP $CPPFLAGS'
39566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39569
39570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39571 /* end confdefs.h. */
39572 #include <math.h>
39573 #ifdef HAVE_IEEEFP_H
39574 #include <ieeefp.h>
39575 #endif
39576
39577 int
39578 main ()
39579 {
39580 isnanf(0);
39581 ;
39582 return 0;
39583 }
39584 _ACEOF
39585 if ac_fn_cxx_try_compile "$LINENO"; then :
39586 glibcxx_cv_func_isnanf_use=yes
39587 else
39588 glibcxx_cv_func_isnanf_use=no
39589 fi
39590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39591 ac_ext=c
39592 ac_cpp='$CPP $CPPFLAGS'
39593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39596
39597
39598 fi
39599
39600 fi
39601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39602 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39603
39604 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39605 for ac_func in isnanf
39606 do :
39607 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39608 if test "x$ac_cv_func_isnanf" = x""yes; then :
39609 cat >>confdefs.h <<_ACEOF
39610 #define HAVE_ISNANF 1
39611 _ACEOF
39612
39613 fi
39614 done
39615
39616 else
39617
39618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39619 $as_echo_n "checking for _isnanf declaration... " >&6; }
39620 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39621 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39622 $as_echo_n "(cached) " >&6
39623 else
39624
39625
39626 ac_ext=cpp
39627 ac_cpp='$CXXCPP $CPPFLAGS'
39628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39631
39632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633 /* end confdefs.h. */
39634 #include <math.h>
39635 #ifdef HAVE_IEEEFP_H
39636 #include <ieeefp.h>
39637 #endif
39638
39639 int
39640 main ()
39641 {
39642 _isnanf(0);
39643 ;
39644 return 0;
39645 }
39646 _ACEOF
39647 if ac_fn_cxx_try_compile "$LINENO"; then :
39648 glibcxx_cv_func__isnanf_use=yes
39649 else
39650 glibcxx_cv_func__isnanf_use=no
39651 fi
39652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39653 ac_ext=c
39654 ac_cpp='$CPP $CPPFLAGS'
39655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39658
39659
39660 fi
39661
39662 fi
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39664 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39665
39666 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39667 for ac_func in _isnanf
39668 do :
39669 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39670 if test "x$ac_cv_func__isnanf" = x""yes; then :
39671 cat >>confdefs.h <<_ACEOF
39672 #define HAVE__ISNANF 1
39673 _ACEOF
39674
39675 fi
39676 done
39677
39678 fi
39679 fi
39680
39681
39682
39683
39684
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39686 $as_echo_n "checking for isinff declaration... " >&6; }
39687 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39688 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39689 $as_echo_n "(cached) " >&6
39690 else
39691
39692
39693 ac_ext=cpp
39694 ac_cpp='$CXXCPP $CPPFLAGS'
39695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39698
39699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39700 /* end confdefs.h. */
39701 #include <math.h>
39702 #ifdef HAVE_IEEEFP_H
39703 #include <ieeefp.h>
39704 #endif
39705
39706 int
39707 main ()
39708 {
39709 isinff(0);
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func_isinff_use=yes
39716 else
39717 glibcxx_cv_func_isinff_use=no
39718 fi
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 ac_ext=c
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39725
39726
39727 fi
39728
39729 fi
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39731 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39732
39733 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39734 for ac_func in isinff
39735 do :
39736 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39737 if test "x$ac_cv_func_isinff" = x""yes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE_ISINFF 1
39740 _ACEOF
39741
39742 fi
39743 done
39744
39745 else
39746
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39748 $as_echo_n "checking for _isinff declaration... " >&6; }
39749 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39750 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39751 $as_echo_n "(cached) " >&6
39752 else
39753
39754
39755 ac_ext=cpp
39756 ac_cpp='$CXXCPP $CPPFLAGS'
39757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39760
39761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39762 /* end confdefs.h. */
39763 #include <math.h>
39764 #ifdef HAVE_IEEEFP_H
39765 #include <ieeefp.h>
39766 #endif
39767
39768 int
39769 main ()
39770 {
39771 _isinff(0);
39772 ;
39773 return 0;
39774 }
39775 _ACEOF
39776 if ac_fn_cxx_try_compile "$LINENO"; then :
39777 glibcxx_cv_func__isinff_use=yes
39778 else
39779 glibcxx_cv_func__isinff_use=no
39780 fi
39781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39782 ac_ext=c
39783 ac_cpp='$CPP $CPPFLAGS'
39784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39787
39788
39789 fi
39790
39791 fi
39792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39793 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39794
39795 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39796 for ac_func in _isinff
39797 do :
39798 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39799 if test "x$ac_cv_func__isinff" = x""yes; then :
39800 cat >>confdefs.h <<_ACEOF
39801 #define HAVE__ISINFF 1
39802 _ACEOF
39803
39804 fi
39805 done
39806
39807 fi
39808 fi
39809
39810
39811
39812
39813
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39815 $as_echo_n "checking for atan2f declaration... " >&6; }
39816 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39817 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39820
39821
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39831 int
39832 main ()
39833 {
39834 atan2f(0, 0);
39835 ;
39836 return 0;
39837 }
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func_atan2f_use=yes
39841 else
39842 glibcxx_cv_func_atan2f_use=no
39843 fi
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850
39851
39852 fi
39853
39854 fi
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39856 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39857
39858 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39859 for ac_func in atan2f
39860 do :
39861 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39862 if test "x$ac_cv_func_atan2f" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE_ATAN2F 1
39865 _ACEOF
39866
39867 fi
39868 done
39869
39870 else
39871
39872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39873 $as_echo_n "checking for _atan2f declaration... " >&6; }
39874 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39875 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39876 $as_echo_n "(cached) " >&6
39877 else
39878
39879
39880 ac_ext=cpp
39881 ac_cpp='$CXXCPP $CPPFLAGS'
39882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39885
39886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39887 /* end confdefs.h. */
39888 #include <math.h>
39889 int
39890 main ()
39891 {
39892 _atan2f(0, 0);
39893 ;
39894 return 0;
39895 }
39896 _ACEOF
39897 if ac_fn_cxx_try_compile "$LINENO"; then :
39898 glibcxx_cv_func__atan2f_use=yes
39899 else
39900 glibcxx_cv_func__atan2f_use=no
39901 fi
39902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39903 ac_ext=c
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39908
39909
39910 fi
39911
39912 fi
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39914 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39915
39916 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39917 for ac_func in _atan2f
39918 do :
39919 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39920 if test "x$ac_cv_func__atan2f" = x""yes; then :
39921 cat >>confdefs.h <<_ACEOF
39922 #define HAVE__ATAN2F 1
39923 _ACEOF
39924
39925 fi
39926 done
39927
39928 fi
39929 fi
39930
39931
39932
39933
39934
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39936 $as_echo_n "checking for fabsf declaration... " >&6; }
39937 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39938 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39939 $as_echo_n "(cached) " >&6
39940 else
39941
39942
39943 ac_ext=cpp
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39948
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39951 #include <math.h>
39952 #ifdef HAVE_IEEEFP_H
39953 #include <ieeefp.h>
39954 #endif
39955
39956 int
39957 main ()
39958 {
39959 fabsf(0);
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 if ac_fn_cxx_try_compile "$LINENO"; then :
39965 glibcxx_cv_func_fabsf_use=yes
39966 else
39967 glibcxx_cv_func_fabsf_use=no
39968 fi
39969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39970 ac_ext=c
39971 ac_cpp='$CPP $CPPFLAGS'
39972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39975
39976
39977 fi
39978
39979 fi
39980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39981 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39982
39983 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39984 for ac_func in fabsf
39985 do :
39986 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39987 if test "x$ac_cv_func_fabsf" = x""yes; then :
39988 cat >>confdefs.h <<_ACEOF
39989 #define HAVE_FABSF 1
39990 _ACEOF
39991
39992 fi
39993 done
39994
39995 else
39996
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39998 $as_echo_n "checking for _fabsf declaration... " >&6; }
39999 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40000 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40001 $as_echo_n "(cached) " >&6
40002 else
40003
40004
40005 ac_ext=cpp
40006 ac_cpp='$CXXCPP $CPPFLAGS'
40007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40010
40011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40012 /* end confdefs.h. */
40013 #include <math.h>
40014 #ifdef HAVE_IEEEFP_H
40015 #include <ieeefp.h>
40016 #endif
40017
40018 int
40019 main ()
40020 {
40021 _fabsf(0);
40022 ;
40023 return 0;
40024 }
40025 _ACEOF
40026 if ac_fn_cxx_try_compile "$LINENO"; then :
40027 glibcxx_cv_func__fabsf_use=yes
40028 else
40029 glibcxx_cv_func__fabsf_use=no
40030 fi
40031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40032 ac_ext=c
40033 ac_cpp='$CPP $CPPFLAGS'
40034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037
40038
40039 fi
40040
40041 fi
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40043 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40044
40045 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40046 for ac_func in _fabsf
40047 do :
40048 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40049 if test "x$ac_cv_func__fabsf" = x""yes; then :
40050 cat >>confdefs.h <<_ACEOF
40051 #define HAVE__FABSF 1
40052 _ACEOF
40053
40054 fi
40055 done
40056
40057 fi
40058 fi
40059
40060
40061
40062
40063
40064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40065 $as_echo_n "checking for fmodf declaration... " >&6; }
40066 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40067 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40068 $as_echo_n "(cached) " >&6
40069 else
40070
40071
40072 ac_ext=cpp
40073 ac_cpp='$CXXCPP $CPPFLAGS'
40074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40077
40078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40079 /* end confdefs.h. */
40080 #include <math.h>
40081 int
40082 main ()
40083 {
40084 fmodf(0, 0);
40085 ;
40086 return 0;
40087 }
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func_fmodf_use=yes
40091 else
40092 glibcxx_cv_func_fmodf_use=no
40093 fi
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095 ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40100
40101
40102 fi
40103
40104 fi
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40106 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40107
40108 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40109 for ac_func in fmodf
40110 do :
40111 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40112 if test "x$ac_cv_func_fmodf" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE_FMODF 1
40115 _ACEOF
40116
40117 fi
40118 done
40119
40120 else
40121
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40123 $as_echo_n "checking for _fmodf declaration... " >&6; }
40124 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40125 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40126 $as_echo_n "(cached) " >&6
40127 else
40128
40129
40130 ac_ext=cpp
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40138 #include <math.h>
40139 int
40140 main ()
40141 {
40142 _fmodf(0, 0);
40143 ;
40144 return 0;
40145 }
40146 _ACEOF
40147 if ac_fn_cxx_try_compile "$LINENO"; then :
40148 glibcxx_cv_func__fmodf_use=yes
40149 else
40150 glibcxx_cv_func__fmodf_use=no
40151 fi
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40153 ac_ext=c
40154 ac_cpp='$CPP $CPPFLAGS'
40155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40158
40159
40160 fi
40161
40162 fi
40163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40164 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40165
40166 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40167 for ac_func in _fmodf
40168 do :
40169 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40170 if test "x$ac_cv_func__fmodf" = x""yes; then :
40171 cat >>confdefs.h <<_ACEOF
40172 #define HAVE__FMODF 1
40173 _ACEOF
40174
40175 fi
40176 done
40177
40178 fi
40179 fi
40180
40181
40182
40183
40184
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40186 $as_echo_n "checking for frexpf declaration... " >&6; }
40187 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40188 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40191
40192
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40198
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40202 int
40203 main ()
40204 {
40205 frexpf(0, 0);
40206 ;
40207 return 0;
40208 }
40209 _ACEOF
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211 glibcxx_cv_func_frexpf_use=yes
40212 else
40213 glibcxx_cv_func_frexpf_use=no
40214 fi
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40216 ac_ext=c
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40221
40222
40223 fi
40224
40225 fi
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40227 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40228
40229 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40230 for ac_func in frexpf
40231 do :
40232 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40233 if test "x$ac_cv_func_frexpf" = x""yes; then :
40234 cat >>confdefs.h <<_ACEOF
40235 #define HAVE_FREXPF 1
40236 _ACEOF
40237
40238 fi
40239 done
40240
40241 else
40242
40243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40244 $as_echo_n "checking for _frexpf declaration... " >&6; }
40245 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40246 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40247 $as_echo_n "(cached) " >&6
40248 else
40249
40250
40251 ac_ext=cpp
40252 ac_cpp='$CXXCPP $CPPFLAGS'
40253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40256
40257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40258 /* end confdefs.h. */
40259 #include <math.h>
40260 int
40261 main ()
40262 {
40263 _frexpf(0, 0);
40264 ;
40265 return 0;
40266 }
40267 _ACEOF
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269 glibcxx_cv_func__frexpf_use=yes
40270 else
40271 glibcxx_cv_func__frexpf_use=no
40272 fi
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274 ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279
40280
40281 fi
40282
40283 fi
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40285 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40286
40287 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40288 for ac_func in _frexpf
40289 do :
40290 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40291 if test "x$ac_cv_func__frexpf" = x""yes; then :
40292 cat >>confdefs.h <<_ACEOF
40293 #define HAVE__FREXPF 1
40294 _ACEOF
40295
40296 fi
40297 done
40298
40299 fi
40300 fi
40301
40302
40303
40304
40305
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40307 $as_echo_n "checking for hypotf declaration... " >&6; }
40308 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40309 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40310 $as_echo_n "(cached) " >&6
40311 else
40312
40313
40314 ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h. */
40322 #include <math.h>
40323 int
40324 main ()
40325 {
40326 hypotf(0, 0);
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func_hypotf_use=yes
40333 else
40334 glibcxx_cv_func_hypotf_use=no
40335 fi
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337 ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40342
40343
40344 fi
40345
40346 fi
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40348 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40349
40350 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40351 for ac_func in hypotf
40352 do :
40353 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40354 if test "x$ac_cv_func_hypotf" = x""yes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE_HYPOTF 1
40357 _ACEOF
40358
40359 fi
40360 done
40361
40362 else
40363
40364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40365 $as_echo_n "checking for _hypotf declaration... " >&6; }
40366 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40367 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40368 $as_echo_n "(cached) " >&6
40369 else
40370
40371
40372 ac_ext=cpp
40373 ac_cpp='$CXXCPP $CPPFLAGS'
40374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377
40378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40379 /* end confdefs.h. */
40380 #include <math.h>
40381 int
40382 main ()
40383 {
40384 _hypotf(0, 0);
40385 ;
40386 return 0;
40387 }
40388 _ACEOF
40389 if ac_fn_cxx_try_compile "$LINENO"; then :
40390 glibcxx_cv_func__hypotf_use=yes
40391 else
40392 glibcxx_cv_func__hypotf_use=no
40393 fi
40394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40395 ac_ext=c
40396 ac_cpp='$CPP $CPPFLAGS'
40397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40400
40401
40402 fi
40403
40404 fi
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40406 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40407
40408 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40409 for ac_func in _hypotf
40410 do :
40411 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40412 if test "x$ac_cv_func__hypotf" = x""yes; then :
40413 cat >>confdefs.h <<_ACEOF
40414 #define HAVE__HYPOTF 1
40415 _ACEOF
40416
40417 fi
40418 done
40419
40420 fi
40421 fi
40422
40423
40424
40425
40426
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40428 $as_echo_n "checking for ldexpf declaration... " >&6; }
40429 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40430 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40431 $as_echo_n "(cached) " >&6
40432 else
40433
40434
40435 ac_ext=cpp
40436 ac_cpp='$CXXCPP $CPPFLAGS'
40437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40440
40441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40442 /* end confdefs.h. */
40443 #include <math.h>
40444 int
40445 main ()
40446 {
40447 ldexpf(0, 0);
40448 ;
40449 return 0;
40450 }
40451 _ACEOF
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453 glibcxx_cv_func_ldexpf_use=yes
40454 else
40455 glibcxx_cv_func_ldexpf_use=no
40456 fi
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458 ac_ext=c
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463
40464
40465 fi
40466
40467 fi
40468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40469 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40470
40471 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40472 for ac_func in ldexpf
40473 do :
40474 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40475 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40476 cat >>confdefs.h <<_ACEOF
40477 #define HAVE_LDEXPF 1
40478 _ACEOF
40479
40480 fi
40481 done
40482
40483 else
40484
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40486 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40487 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40488 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40489 $as_echo_n "(cached) " >&6
40490 else
40491
40492
40493 ac_ext=cpp
40494 ac_cpp='$CXXCPP $CPPFLAGS'
40495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40498
40499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40500 /* end confdefs.h. */
40501 #include <math.h>
40502 int
40503 main ()
40504 {
40505 _ldexpf(0, 0);
40506 ;
40507 return 0;
40508 }
40509 _ACEOF
40510 if ac_fn_cxx_try_compile "$LINENO"; then :
40511 glibcxx_cv_func__ldexpf_use=yes
40512 else
40513 glibcxx_cv_func__ldexpf_use=no
40514 fi
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516 ac_ext=c
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40521
40522
40523 fi
40524
40525 fi
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40527 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40528
40529 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40530 for ac_func in _ldexpf
40531 do :
40532 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40533 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40534 cat >>confdefs.h <<_ACEOF
40535 #define HAVE__LDEXPF 1
40536 _ACEOF
40537
40538 fi
40539 done
40540
40541 fi
40542 fi
40543
40544
40545
40546
40547
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40549 $as_echo_n "checking for logf declaration... " >&6; }
40550 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40551 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40552 $as_echo_n "(cached) " >&6
40553 else
40554
40555
40556 ac_ext=cpp
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40561
40562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40563 /* end confdefs.h. */
40564 #include <math.h>
40565 #ifdef HAVE_IEEEFP_H
40566 #include <ieeefp.h>
40567 #endif
40568
40569 int
40570 main ()
40571 {
40572 logf(0);
40573 ;
40574 return 0;
40575 }
40576 _ACEOF
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func_logf_use=yes
40579 else
40580 glibcxx_cv_func_logf_use=no
40581 fi
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40583 ac_ext=c
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40588
40589
40590 fi
40591
40592 fi
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40594 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40595
40596 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40597 for ac_func in logf
40598 do :
40599 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40600 if test "x$ac_cv_func_logf" = x""yes; then :
40601 cat >>confdefs.h <<_ACEOF
40602 #define HAVE_LOGF 1
40603 _ACEOF
40604
40605 fi
40606 done
40607
40608 else
40609
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40611 $as_echo_n "checking for _logf declaration... " >&6; }
40612 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40613 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40614 $as_echo_n "(cached) " >&6
40615 else
40616
40617
40618 ac_ext=cpp
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623
40624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625 /* end confdefs.h. */
40626 #include <math.h>
40627 #ifdef HAVE_IEEEFP_H
40628 #include <ieeefp.h>
40629 #endif
40630
40631 int
40632 main ()
40633 {
40634 _logf(0);
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 if ac_fn_cxx_try_compile "$LINENO"; then :
40640 glibcxx_cv_func__logf_use=yes
40641 else
40642 glibcxx_cv_func__logf_use=no
40643 fi
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645 ac_ext=c
40646 ac_cpp='$CPP $CPPFLAGS'
40647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650
40651
40652 fi
40653
40654 fi
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40656 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40657
40658 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40659 for ac_func in _logf
40660 do :
40661 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40662 if test "x$ac_cv_func__logf" = x""yes; then :
40663 cat >>confdefs.h <<_ACEOF
40664 #define HAVE__LOGF 1
40665 _ACEOF
40666
40667 fi
40668 done
40669
40670 fi
40671 fi
40672
40673
40674
40675
40676
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40678 $as_echo_n "checking for log10f declaration... " >&6; }
40679 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40680 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40681 $as_echo_n "(cached) " >&6
40682 else
40683
40684
40685 ac_ext=cpp
40686 ac_cpp='$CXXCPP $CPPFLAGS'
40687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40690
40691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40692 /* end confdefs.h. */
40693 #include <math.h>
40694 #ifdef HAVE_IEEEFP_H
40695 #include <ieeefp.h>
40696 #endif
40697
40698 int
40699 main ()
40700 {
40701 log10f(0);
40702 ;
40703 return 0;
40704 }
40705 _ACEOF
40706 if ac_fn_cxx_try_compile "$LINENO"; then :
40707 glibcxx_cv_func_log10f_use=yes
40708 else
40709 glibcxx_cv_func_log10f_use=no
40710 fi
40711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40712 ac_ext=c
40713 ac_cpp='$CPP $CPPFLAGS'
40714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40717
40718
40719 fi
40720
40721 fi
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40723 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40724
40725 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40726 for ac_func in log10f
40727 do :
40728 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40729 if test "x$ac_cv_func_log10f" = x""yes; then :
40730 cat >>confdefs.h <<_ACEOF
40731 #define HAVE_LOG10F 1
40732 _ACEOF
40733
40734 fi
40735 done
40736
40737 else
40738
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40740 $as_echo_n "checking for _log10f declaration... " >&6; }
40741 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40742 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40743 $as_echo_n "(cached) " >&6
40744 else
40745
40746
40747 ac_ext=cpp
40748 ac_cpp='$CXXCPP $CPPFLAGS'
40749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40752
40753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40754 /* end confdefs.h. */
40755 #include <math.h>
40756 #ifdef HAVE_IEEEFP_H
40757 #include <ieeefp.h>
40758 #endif
40759
40760 int
40761 main ()
40762 {
40763 _log10f(0);
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 if ac_fn_cxx_try_compile "$LINENO"; then :
40769 glibcxx_cv_func__log10f_use=yes
40770 else
40771 glibcxx_cv_func__log10f_use=no
40772 fi
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40774 ac_ext=c
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40779
40780
40781 fi
40782
40783 fi
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40785 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40786
40787 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40788 for ac_func in _log10f
40789 do :
40790 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40791 if test "x$ac_cv_func__log10f" = x""yes; then :
40792 cat >>confdefs.h <<_ACEOF
40793 #define HAVE__LOG10F 1
40794 _ACEOF
40795
40796 fi
40797 done
40798
40799 fi
40800 fi
40801
40802
40803
40804
40805
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40807 $as_echo_n "checking for modff declaration... " >&6; }
40808 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40809 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40810 $as_echo_n "(cached) " >&6
40811 else
40812
40813
40814 ac_ext=cpp
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40819
40820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h. */
40822 #include <math.h>
40823 int
40824 main ()
40825 {
40826 modff(0, 0);
40827 ;
40828 return 0;
40829 }
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832 glibcxx_cv_func_modff_use=yes
40833 else
40834 glibcxx_cv_func_modff_use=no
40835 fi
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837 ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842
40843
40844 fi
40845
40846 fi
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40848 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40849
40850 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40851 for ac_func in modff
40852 do :
40853 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40854 if test "x$ac_cv_func_modff" = x""yes; then :
40855 cat >>confdefs.h <<_ACEOF
40856 #define HAVE_MODFF 1
40857 _ACEOF
40858
40859 fi
40860 done
40861
40862 else
40863
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40865 $as_echo_n "checking for _modff declaration... " >&6; }
40866 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40867 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40870
40871
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40877
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40881 int
40882 main ()
40883 {
40884 _modff(0, 0);
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func__modff_use=yes
40891 else
40892 glibcxx_cv_func__modff_use=no
40893 fi
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40895 ac_ext=c
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40900
40901
40902 fi
40903
40904 fi
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40906 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40907
40908 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40909 for ac_func in _modff
40910 do :
40911 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40912 if test "x$ac_cv_func__modff" = x""yes; then :
40913 cat >>confdefs.h <<_ACEOF
40914 #define HAVE__MODFF 1
40915 _ACEOF
40916
40917 fi
40918 done
40919
40920 fi
40921 fi
40922
40923
40924
40925
40926
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40928 $as_echo_n "checking for modf declaration... " >&6; }
40929 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40930 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40933
40934
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40944 int
40945 main ()
40946 {
40947 modf(0, 0);
40948 ;
40949 return 0;
40950 }
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func_modf_use=yes
40954 else
40955 glibcxx_cv_func_modf_use=no
40956 fi
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958 ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963
40964
40965 fi
40966
40967 fi
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40969 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40970
40971 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40972 for ac_func in modf
40973 do :
40974 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40975 if test "x$ac_cv_func_modf" = x""yes; then :
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE_MODF 1
40978 _ACEOF
40979
40980 fi
40981 done
40982
40983 else
40984
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40986 $as_echo_n "checking for _modf declaration... " >&6; }
40987 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40988 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40989 $as_echo_n "(cached) " >&6
40990 else
40991
40992
40993 ac_ext=cpp
40994 ac_cpp='$CXXCPP $CPPFLAGS'
40995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40998
40999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41000 /* end confdefs.h. */
41001 #include <math.h>
41002 int
41003 main ()
41004 {
41005 _modf(0, 0);
41006 ;
41007 return 0;
41008 }
41009 _ACEOF
41010 if ac_fn_cxx_try_compile "$LINENO"; then :
41011 glibcxx_cv_func__modf_use=yes
41012 else
41013 glibcxx_cv_func__modf_use=no
41014 fi
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41016 ac_ext=c
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021
41022
41023 fi
41024
41025 fi
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41027 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41028
41029 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41030 for ac_func in _modf
41031 do :
41032 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41033 if test "x$ac_cv_func__modf" = x""yes; then :
41034 cat >>confdefs.h <<_ACEOF
41035 #define HAVE__MODF 1
41036 _ACEOF
41037
41038 fi
41039 done
41040
41041 fi
41042 fi
41043
41044
41045
41046
41047
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41049 $as_echo_n "checking for powf declaration... " >&6; }
41050 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41051 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41052 $as_echo_n "(cached) " >&6
41053 else
41054
41055
41056 ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061
41062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h. */
41064 #include <math.h>
41065 int
41066 main ()
41067 {
41068 powf(0, 0);
41069 ;
41070 return 0;
41071 }
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func_powf_use=yes
41075 else
41076 glibcxx_cv_func_powf_use=no
41077 fi
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084
41085
41086 fi
41087
41088 fi
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41090 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41091
41092 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41093 for ac_func in powf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41096 if test "x$ac_cv_func_powf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE_POWF 1
41099 _ACEOF
41100
41101 fi
41102 done
41103
41104 else
41105
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41107 $as_echo_n "checking for _powf declaration... " >&6; }
41108 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41109 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41110 $as_echo_n "(cached) " >&6
41111 else
41112
41113
41114 ac_ext=cpp
41115 ac_cpp='$CXXCPP $CPPFLAGS'
41116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41119
41120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41121 /* end confdefs.h. */
41122 #include <math.h>
41123 int
41124 main ()
41125 {
41126 _powf(0, 0);
41127 ;
41128 return 0;
41129 }
41130 _ACEOF
41131 if ac_fn_cxx_try_compile "$LINENO"; then :
41132 glibcxx_cv_func__powf_use=yes
41133 else
41134 glibcxx_cv_func__powf_use=no
41135 fi
41136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41137 ac_ext=c
41138 ac_cpp='$CPP $CPPFLAGS'
41139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41142
41143
41144 fi
41145
41146 fi
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41148 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41149
41150 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41151 for ac_func in _powf
41152 do :
41153 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41154 if test "x$ac_cv_func__powf" = x""yes; then :
41155 cat >>confdefs.h <<_ACEOF
41156 #define HAVE__POWF 1
41157 _ACEOF
41158
41159 fi
41160 done
41161
41162 fi
41163 fi
41164
41165
41166
41167
41168
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41170 $as_echo_n "checking for sqrtf declaration... " >&6; }
41171 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41172 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41173 $as_echo_n "(cached) " >&6
41174 else
41175
41176
41177 ac_ext=cpp
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41182
41183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h. */
41185 #include <math.h>
41186 #ifdef HAVE_IEEEFP_H
41187 #include <ieeefp.h>
41188 #endif
41189
41190 int
41191 main ()
41192 {
41193 sqrtf(0);
41194 ;
41195 return 0;
41196 }
41197 _ACEOF
41198 if ac_fn_cxx_try_compile "$LINENO"; then :
41199 glibcxx_cv_func_sqrtf_use=yes
41200 else
41201 glibcxx_cv_func_sqrtf_use=no
41202 fi
41203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41204 ac_ext=c
41205 ac_cpp='$CPP $CPPFLAGS'
41206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41209
41210
41211 fi
41212
41213 fi
41214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41215 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41216
41217 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41218 for ac_func in sqrtf
41219 do :
41220 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41221 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41222 cat >>confdefs.h <<_ACEOF
41223 #define HAVE_SQRTF 1
41224 _ACEOF
41225
41226 fi
41227 done
41228
41229 else
41230
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41232 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41233 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41234 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41235 $as_echo_n "(cached) " >&6
41236 else
41237
41238
41239 ac_ext=cpp
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41244
41245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h. */
41247 #include <math.h>
41248 #ifdef HAVE_IEEEFP_H
41249 #include <ieeefp.h>
41250 #endif
41251
41252 int
41253 main ()
41254 {
41255 _sqrtf(0);
41256 ;
41257 return 0;
41258 }
41259 _ACEOF
41260 if ac_fn_cxx_try_compile "$LINENO"; then :
41261 glibcxx_cv_func__sqrtf_use=yes
41262 else
41263 glibcxx_cv_func__sqrtf_use=no
41264 fi
41265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41266 ac_ext=c
41267 ac_cpp='$CPP $CPPFLAGS'
41268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41271
41272
41273 fi
41274
41275 fi
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41277 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41278
41279 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41280 for ac_func in _sqrtf
41281 do :
41282 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41283 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41284 cat >>confdefs.h <<_ACEOF
41285 #define HAVE__SQRTF 1
41286 _ACEOF
41287
41288 fi
41289 done
41290
41291 fi
41292 fi
41293
41294
41295
41296
41297
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41299 $as_echo_n "checking for sincosf declaration... " >&6; }
41300 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41301 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41302 $as_echo_n "(cached) " >&6
41303 else
41304
41305
41306 ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311
41312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h. */
41314 #include <math.h>
41315 int
41316 main ()
41317 {
41318 sincosf(0, 0, 0);
41319 ;
41320 return 0;
41321 }
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func_sincosf_use=yes
41325 else
41326 glibcxx_cv_func_sincosf_use=no
41327 fi
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334
41335
41336 fi
41337
41338 fi
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41340 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41341
41342 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41343 for ac_func in sincosf
41344 do :
41345 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41346 if test "x$ac_cv_func_sincosf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE_SINCOSF 1
41349 _ACEOF
41350
41351 fi
41352 done
41353
41354 else
41355
41356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41357 $as_echo_n "checking for _sincosf declaration... " >&6; }
41358 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41359 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41360 $as_echo_n "(cached) " >&6
41361 else
41362
41363
41364 ac_ext=cpp
41365 ac_cpp='$CXXCPP $CPPFLAGS'
41366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41369
41370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41371 /* end confdefs.h. */
41372 #include <math.h>
41373 int
41374 main ()
41375 {
41376 _sincosf(0, 0, 0);
41377 ;
41378 return 0;
41379 }
41380 _ACEOF
41381 if ac_fn_cxx_try_compile "$LINENO"; then :
41382 glibcxx_cv_func__sincosf_use=yes
41383 else
41384 glibcxx_cv_func__sincosf_use=no
41385 fi
41386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41387 ac_ext=c
41388 ac_cpp='$CPP $CPPFLAGS'
41389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41392
41393
41394 fi
41395
41396 fi
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41398 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41399
41400 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41401 for ac_func in _sincosf
41402 do :
41403 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41404 if test "x$ac_cv_func__sincosf" = x""yes; then :
41405 cat >>confdefs.h <<_ACEOF
41406 #define HAVE__SINCOSF 1
41407 _ACEOF
41408
41409 fi
41410 done
41411
41412 fi
41413 fi
41414
41415
41416
41417
41418
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41420 $as_echo_n "checking for finitef declaration... " >&6; }
41421 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41422 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41423 $as_echo_n "(cached) " >&6
41424 else
41425
41426
41427 ac_ext=cpp
41428 ac_cpp='$CXXCPP $CPPFLAGS'
41429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41432
41433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41434 /* end confdefs.h. */
41435 #include <math.h>
41436 #ifdef HAVE_IEEEFP_H
41437 #include <ieeefp.h>
41438 #endif
41439
41440 int
41441 main ()
41442 {
41443 finitef(0);
41444 ;
41445 return 0;
41446 }
41447 _ACEOF
41448 if ac_fn_cxx_try_compile "$LINENO"; then :
41449 glibcxx_cv_func_finitef_use=yes
41450 else
41451 glibcxx_cv_func_finitef_use=no
41452 fi
41453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41454 ac_ext=c
41455 ac_cpp='$CPP $CPPFLAGS'
41456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41459
41460
41461 fi
41462
41463 fi
41464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41465 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41466
41467 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41468 for ac_func in finitef
41469 do :
41470 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41471 if test "x$ac_cv_func_finitef" = x""yes; then :
41472 cat >>confdefs.h <<_ACEOF
41473 #define HAVE_FINITEF 1
41474 _ACEOF
41475
41476 fi
41477 done
41478
41479 else
41480
41481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41482 $as_echo_n "checking for _finitef declaration... " >&6; }
41483 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41484 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41485 $as_echo_n "(cached) " >&6
41486 else
41487
41488
41489 ac_ext=cpp
41490 ac_cpp='$CXXCPP $CPPFLAGS'
41491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41494
41495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41496 /* end confdefs.h. */
41497 #include <math.h>
41498 #ifdef HAVE_IEEEFP_H
41499 #include <ieeefp.h>
41500 #endif
41501
41502 int
41503 main ()
41504 {
41505 _finitef(0);
41506 ;
41507 return 0;
41508 }
41509 _ACEOF
41510 if ac_fn_cxx_try_compile "$LINENO"; then :
41511 glibcxx_cv_func__finitef_use=yes
41512 else
41513 glibcxx_cv_func__finitef_use=no
41514 fi
41515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41516 ac_ext=c
41517 ac_cpp='$CPP $CPPFLAGS'
41518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41521
41522
41523 fi
41524
41525 fi
41526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41527 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41528
41529 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41530 for ac_func in _finitef
41531 do :
41532 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41533 if test "x$ac_cv_func__finitef" = x""yes; then :
41534 cat >>confdefs.h <<_ACEOF
41535 #define HAVE__FINITEF 1
41536 _ACEOF
41537
41538 fi
41539 done
41540
41541 fi
41542 fi
41543
41544
41545
41546
41547
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41549 $as_echo_n "checking for long double trig functions... " >&6; }
41550 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41551 $as_echo_n "(cached) " >&6
41552 else
41553
41554
41555 ac_ext=cpp
41556 ac_cpp='$CXXCPP $CPPFLAGS'
41557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41560
41561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41562 /* end confdefs.h. */
41563 #include <math.h>
41564 int
41565 main ()
41566 {
41567 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41568 ;
41569 return 0;
41570 }
41571 _ACEOF
41572 if ac_fn_cxx_try_compile "$LINENO"; then :
41573 glibcxx_cv_func_long_double_trig_use=yes
41574 else
41575 glibcxx_cv_func_long_double_trig_use=no
41576 fi
41577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41578 ac_ext=c
41579 ac_cpp='$CPP $CPPFLAGS'
41580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41583
41584 fi
41585
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41587 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41588 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41589 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41590 do :
41591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41593 eval as_val=\$$as_ac_var
41594 if test "x$as_val" = x""yes; then :
41595 cat >>confdefs.h <<_ACEOF
41596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41597 _ACEOF
41598
41599 fi
41600 done
41601
41602 else
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41604 $as_echo_n "checking for _long double trig functions... " >&6; }
41605 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41607 else
41608
41609
41610 ac_ext=cpp
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41615
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41618 #include <math.h>
41619 int
41620 main ()
41621 {
41622 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41623 ;
41624 return 0;
41625 }
41626 _ACEOF
41627 if ac_fn_cxx_try_compile "$LINENO"; then :
41628 glibcxx_cv_func__long_double_trig_use=yes
41629 else
41630 glibcxx_cv_func__long_double_trig_use=no
41631 fi
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41633 ac_ext=c
41634 ac_cpp='$CPP $CPPFLAGS'
41635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638
41639 fi
41640
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41642 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41643 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41644 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41645 do :
41646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41648 eval as_val=\$$as_ac_var
41649 if test "x$as_val" = x""yes; then :
41650 cat >>confdefs.h <<_ACEOF
41651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41652 _ACEOF
41653
41654 fi
41655 done
41656
41657 fi
41658 fi
41659
41660
41661
41662
41663
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41665 $as_echo_n "checking for long double round functions... " >&6; }
41666 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41667 $as_echo_n "(cached) " >&6
41668 else
41669
41670
41671 ac_ext=cpp
41672 ac_cpp='$CXXCPP $CPPFLAGS'
41673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41676
41677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41678 /* end confdefs.h. */
41679 #include <math.h>
41680 int
41681 main ()
41682 {
41683 ceill (0); floorl (0);
41684 ;
41685 return 0;
41686 }
41687 _ACEOF
41688 if ac_fn_cxx_try_compile "$LINENO"; then :
41689 glibcxx_cv_func_long_double_round_use=yes
41690 else
41691 glibcxx_cv_func_long_double_round_use=no
41692 fi
41693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41694 ac_ext=c
41695 ac_cpp='$CPP $CPPFLAGS'
41696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41699
41700 fi
41701
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41703 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41704 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41705 for ac_func in ceill floorl
41706 do :
41707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41709 eval as_val=\$$as_ac_var
41710 if test "x$as_val" = x""yes; then :
41711 cat >>confdefs.h <<_ACEOF
41712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41713 _ACEOF
41714
41715 fi
41716 done
41717
41718 else
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41720 $as_echo_n "checking for _long double round functions... " >&6; }
41721 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41722 $as_echo_n "(cached) " >&6
41723 else
41724
41725
41726 ac_ext=cpp
41727 ac_cpp='$CXXCPP $CPPFLAGS'
41728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41731
41732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41733 /* end confdefs.h. */
41734 #include <math.h>
41735 int
41736 main ()
41737 {
41738 _ceill (0); _floorl (0);
41739 ;
41740 return 0;
41741 }
41742 _ACEOF
41743 if ac_fn_cxx_try_compile "$LINENO"; then :
41744 glibcxx_cv_func__long_double_round_use=yes
41745 else
41746 glibcxx_cv_func__long_double_round_use=no
41747 fi
41748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41749 ac_ext=c
41750 ac_cpp='$CPP $CPPFLAGS'
41751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41754
41755 fi
41756
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41758 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41759 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41760 for ac_func in _ceill _floorl
41761 do :
41762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41764 eval as_val=\$$as_ac_var
41765 if test "x$as_val" = x""yes; then :
41766 cat >>confdefs.h <<_ACEOF
41767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41768 _ACEOF
41769
41770 fi
41771 done
41772
41773 fi
41774 fi
41775
41776
41777
41778
41779
41780
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41782 $as_echo_n "checking for isnanl declaration... " >&6; }
41783 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41784 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41785 $as_echo_n "(cached) " >&6
41786 else
41787
41788
41789 ac_ext=cpp
41790 ac_cpp='$CXXCPP $CPPFLAGS'
41791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41794
41795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41796 /* end confdefs.h. */
41797 #include <math.h>
41798 #ifdef HAVE_IEEEFP_H
41799 #include <ieeefp.h>
41800 #endif
41801
41802 int
41803 main ()
41804 {
41805 isnanl(0);
41806 ;
41807 return 0;
41808 }
41809 _ACEOF
41810 if ac_fn_cxx_try_compile "$LINENO"; then :
41811 glibcxx_cv_func_isnanl_use=yes
41812 else
41813 glibcxx_cv_func_isnanl_use=no
41814 fi
41815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41816 ac_ext=c
41817 ac_cpp='$CPP $CPPFLAGS'
41818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41821
41822
41823 fi
41824
41825 fi
41826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41827 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41828
41829 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41830 for ac_func in isnanl
41831 do :
41832 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41833 if test "x$ac_cv_func_isnanl" = x""yes; then :
41834 cat >>confdefs.h <<_ACEOF
41835 #define HAVE_ISNANL 1
41836 _ACEOF
41837
41838 fi
41839 done
41840
41841 else
41842
41843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41844 $as_echo_n "checking for _isnanl declaration... " >&6; }
41845 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41846 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41847 $as_echo_n "(cached) " >&6
41848 else
41849
41850
41851 ac_ext=cpp
41852 ac_cpp='$CXXCPP $CPPFLAGS'
41853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41856
41857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41858 /* end confdefs.h. */
41859 #include <math.h>
41860 #ifdef HAVE_IEEEFP_H
41861 #include <ieeefp.h>
41862 #endif
41863
41864 int
41865 main ()
41866 {
41867 _isnanl(0);
41868 ;
41869 return 0;
41870 }
41871 _ACEOF
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873 glibcxx_cv_func__isnanl_use=yes
41874 else
41875 glibcxx_cv_func__isnanl_use=no
41876 fi
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41878 ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883
41884
41885 fi
41886
41887 fi
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41889 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41890
41891 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41892 for ac_func in _isnanl
41893 do :
41894 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41895 if test "x$ac_cv_func__isnanl" = x""yes; then :
41896 cat >>confdefs.h <<_ACEOF
41897 #define HAVE__ISNANL 1
41898 _ACEOF
41899
41900 fi
41901 done
41902
41903 fi
41904 fi
41905
41906
41907
41908
41909
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41911 $as_echo_n "checking for isinfl declaration... " >&6; }
41912 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41913 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41916
41917
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41927 #ifdef HAVE_IEEEFP_H
41928 #include <ieeefp.h>
41929 #endif
41930
41931 int
41932 main ()
41933 {
41934 isinfl(0);
41935 ;
41936 return 0;
41937 }
41938 _ACEOF
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func_isinfl_use=yes
41941 else
41942 glibcxx_cv_func_isinfl_use=no
41943 fi
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41950
41951
41952 fi
41953
41954 fi
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41956 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41957
41958 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41959 for ac_func in isinfl
41960 do :
41961 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41962 if test "x$ac_cv_func_isinfl" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE_ISINFL 1
41965 _ACEOF
41966
41967 fi
41968 done
41969
41970 else
41971
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41973 $as_echo_n "checking for _isinfl declaration... " >&6; }
41974 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41975 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41976 $as_echo_n "(cached) " >&6
41977 else
41978
41979
41980 ac_ext=cpp
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41985
41986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41987 /* end confdefs.h. */
41988 #include <math.h>
41989 #ifdef HAVE_IEEEFP_H
41990 #include <ieeefp.h>
41991 #endif
41992
41993 int
41994 main ()
41995 {
41996 _isinfl(0);
41997 ;
41998 return 0;
41999 }
42000 _ACEOF
42001 if ac_fn_cxx_try_compile "$LINENO"; then :
42002 glibcxx_cv_func__isinfl_use=yes
42003 else
42004 glibcxx_cv_func__isinfl_use=no
42005 fi
42006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42007 ac_ext=c
42008 ac_cpp='$CPP $CPPFLAGS'
42009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42012
42013
42014 fi
42015
42016 fi
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42018 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42019
42020 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42021 for ac_func in _isinfl
42022 do :
42023 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42024 if test "x$ac_cv_func__isinfl" = x""yes; then :
42025 cat >>confdefs.h <<_ACEOF
42026 #define HAVE__ISINFL 1
42027 _ACEOF
42028
42029 fi
42030 done
42031
42032 fi
42033 fi
42034
42035
42036
42037
42038
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42040 $as_echo_n "checking for atan2l declaration... " >&6; }
42041 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42042 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42043 $as_echo_n "(cached) " >&6
42044 else
42045
42046
42047 ac_ext=cpp
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42052
42053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h. */
42055 #include <math.h>
42056 int
42057 main ()
42058 {
42059 atan2l(0, 0);
42060 ;
42061 return 0;
42062 }
42063 _ACEOF
42064 if ac_fn_cxx_try_compile "$LINENO"; then :
42065 glibcxx_cv_func_atan2l_use=yes
42066 else
42067 glibcxx_cv_func_atan2l_use=no
42068 fi
42069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42070 ac_ext=c
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42075
42076
42077 fi
42078
42079 fi
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42081 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42082
42083 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42084 for ac_func in atan2l
42085 do :
42086 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42087 if test "x$ac_cv_func_atan2l" = x""yes; then :
42088 cat >>confdefs.h <<_ACEOF
42089 #define HAVE_ATAN2L 1
42090 _ACEOF
42091
42092 fi
42093 done
42094
42095 else
42096
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42098 $as_echo_n "checking for _atan2l declaration... " >&6; }
42099 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42100 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42101 $as_echo_n "(cached) " >&6
42102 else
42103
42104
42105 ac_ext=cpp
42106 ac_cpp='$CXXCPP $CPPFLAGS'
42107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42110
42111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42112 /* end confdefs.h. */
42113 #include <math.h>
42114 int
42115 main ()
42116 {
42117 _atan2l(0, 0);
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 if ac_fn_cxx_try_compile "$LINENO"; then :
42123 glibcxx_cv_func__atan2l_use=yes
42124 else
42125 glibcxx_cv_func__atan2l_use=no
42126 fi
42127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42128 ac_ext=c
42129 ac_cpp='$CPP $CPPFLAGS'
42130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42133
42134
42135 fi
42136
42137 fi
42138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42139 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42140
42141 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42142 for ac_func in _atan2l
42143 do :
42144 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42145 if test "x$ac_cv_func__atan2l" = x""yes; then :
42146 cat >>confdefs.h <<_ACEOF
42147 #define HAVE__ATAN2L 1
42148 _ACEOF
42149
42150 fi
42151 done
42152
42153 fi
42154 fi
42155
42156
42157
42158
42159
42160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42161 $as_echo_n "checking for expl declaration... " >&6; }
42162 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42163 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42164 $as_echo_n "(cached) " >&6
42165 else
42166
42167
42168 ac_ext=cpp
42169 ac_cpp='$CXXCPP $CPPFLAGS'
42170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42173
42174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42175 /* end confdefs.h. */
42176 #include <math.h>
42177 #ifdef HAVE_IEEEFP_H
42178 #include <ieeefp.h>
42179 #endif
42180
42181 int
42182 main ()
42183 {
42184 expl(0);
42185 ;
42186 return 0;
42187 }
42188 _ACEOF
42189 if ac_fn_cxx_try_compile "$LINENO"; then :
42190 glibcxx_cv_func_expl_use=yes
42191 else
42192 glibcxx_cv_func_expl_use=no
42193 fi
42194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42195 ac_ext=c
42196 ac_cpp='$CPP $CPPFLAGS'
42197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42200
42201
42202 fi
42203
42204 fi
42205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42206 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42207
42208 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42209 for ac_func in expl
42210 do :
42211 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42212 if test "x$ac_cv_func_expl" = x""yes; then :
42213 cat >>confdefs.h <<_ACEOF
42214 #define HAVE_EXPL 1
42215 _ACEOF
42216
42217 fi
42218 done
42219
42220 else
42221
42222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42223 $as_echo_n "checking for _expl declaration... " >&6; }
42224 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42225 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42226 $as_echo_n "(cached) " >&6
42227 else
42228
42229
42230 ac_ext=cpp
42231 ac_cpp='$CXXCPP $CPPFLAGS'
42232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42235
42236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42237 /* end confdefs.h. */
42238 #include <math.h>
42239 #ifdef HAVE_IEEEFP_H
42240 #include <ieeefp.h>
42241 #endif
42242
42243 int
42244 main ()
42245 {
42246 _expl(0);
42247 ;
42248 return 0;
42249 }
42250 _ACEOF
42251 if ac_fn_cxx_try_compile "$LINENO"; then :
42252 glibcxx_cv_func__expl_use=yes
42253 else
42254 glibcxx_cv_func__expl_use=no
42255 fi
42256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42257 ac_ext=c
42258 ac_cpp='$CPP $CPPFLAGS'
42259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42262
42263
42264 fi
42265
42266 fi
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42268 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42269
42270 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42271 for ac_func in _expl
42272 do :
42273 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42274 if test "x$ac_cv_func__expl" = x""yes; then :
42275 cat >>confdefs.h <<_ACEOF
42276 #define HAVE__EXPL 1
42277 _ACEOF
42278
42279 fi
42280 done
42281
42282 fi
42283 fi
42284
42285
42286
42287
42288
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42290 $as_echo_n "checking for fabsl declaration... " >&6; }
42291 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42292 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42293 $as_echo_n "(cached) " >&6
42294 else
42295
42296
42297 ac_ext=cpp
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42302
42303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h. */
42305 #include <math.h>
42306 #ifdef HAVE_IEEEFP_H
42307 #include <ieeefp.h>
42308 #endif
42309
42310 int
42311 main ()
42312 {
42313 fabsl(0);
42314 ;
42315 return 0;
42316 }
42317 _ACEOF
42318 if ac_fn_cxx_try_compile "$LINENO"; then :
42319 glibcxx_cv_func_fabsl_use=yes
42320 else
42321 glibcxx_cv_func_fabsl_use=no
42322 fi
42323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42324 ac_ext=c
42325 ac_cpp='$CPP $CPPFLAGS'
42326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42329
42330
42331 fi
42332
42333 fi
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42335 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42336
42337 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42338 for ac_func in fabsl
42339 do :
42340 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42341 if test "x$ac_cv_func_fabsl" = x""yes; then :
42342 cat >>confdefs.h <<_ACEOF
42343 #define HAVE_FABSL 1
42344 _ACEOF
42345
42346 fi
42347 done
42348
42349 else
42350
42351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42352 $as_echo_n "checking for _fabsl declaration... " >&6; }
42353 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42354 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42355 $as_echo_n "(cached) " >&6
42356 else
42357
42358
42359 ac_ext=cpp
42360 ac_cpp='$CXXCPP $CPPFLAGS'
42361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42364
42365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42366 /* end confdefs.h. */
42367 #include <math.h>
42368 #ifdef HAVE_IEEEFP_H
42369 #include <ieeefp.h>
42370 #endif
42371
42372 int
42373 main ()
42374 {
42375 _fabsl(0);
42376 ;
42377 return 0;
42378 }
42379 _ACEOF
42380 if ac_fn_cxx_try_compile "$LINENO"; then :
42381 glibcxx_cv_func__fabsl_use=yes
42382 else
42383 glibcxx_cv_func__fabsl_use=no
42384 fi
42385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42386 ac_ext=c
42387 ac_cpp='$CPP $CPPFLAGS'
42388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42391
42392
42393 fi
42394
42395 fi
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42397 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42398
42399 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42400 for ac_func in _fabsl
42401 do :
42402 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42403 if test "x$ac_cv_func__fabsl" = x""yes; then :
42404 cat >>confdefs.h <<_ACEOF
42405 #define HAVE__FABSL 1
42406 _ACEOF
42407
42408 fi
42409 done
42410
42411 fi
42412 fi
42413
42414
42415
42416
42417
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42419 $as_echo_n "checking for fmodl declaration... " >&6; }
42420 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42421 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42422 $as_echo_n "(cached) " >&6
42423 else
42424
42425
42426 ac_ext=cpp
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42431
42432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 /* end confdefs.h. */
42434 #include <math.h>
42435 int
42436 main ()
42437 {
42438 fmodl(0, 0);
42439 ;
42440 return 0;
42441 }
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func_fmodl_use=yes
42445 else
42446 glibcxx_cv_func_fmodl_use=no
42447 fi
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42454
42455
42456 fi
42457
42458 fi
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42460 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42461
42462 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42463 for ac_func in fmodl
42464 do :
42465 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42466 if test "x$ac_cv_func_fmodl" = x""yes; then :
42467 cat >>confdefs.h <<_ACEOF
42468 #define HAVE_FMODL 1
42469 _ACEOF
42470
42471 fi
42472 done
42473
42474 else
42475
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42477 $as_echo_n "checking for _fmodl declaration... " >&6; }
42478 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42479 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42480 $as_echo_n "(cached) " >&6
42481 else
42482
42483
42484 ac_ext=cpp
42485 ac_cpp='$CXXCPP $CPPFLAGS'
42486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42489
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42491 /* end confdefs.h. */
42492 #include <math.h>
42493 int
42494 main ()
42495 {
42496 _fmodl(0, 0);
42497 ;
42498 return 0;
42499 }
42500 _ACEOF
42501 if ac_fn_cxx_try_compile "$LINENO"; then :
42502 glibcxx_cv_func__fmodl_use=yes
42503 else
42504 glibcxx_cv_func__fmodl_use=no
42505 fi
42506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42507 ac_ext=c
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42512
42513
42514 fi
42515
42516 fi
42517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42518 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42519
42520 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42521 for ac_func in _fmodl
42522 do :
42523 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42524 if test "x$ac_cv_func__fmodl" = x""yes; then :
42525 cat >>confdefs.h <<_ACEOF
42526 #define HAVE__FMODL 1
42527 _ACEOF
42528
42529 fi
42530 done
42531
42532 fi
42533 fi
42534
42535
42536
42537
42538
42539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42540 $as_echo_n "checking for frexpl declaration... " >&6; }
42541 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42542 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42543 $as_echo_n "(cached) " >&6
42544 else
42545
42546
42547 ac_ext=cpp
42548 ac_cpp='$CXXCPP $CPPFLAGS'
42549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42552
42553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42554 /* end confdefs.h. */
42555 #include <math.h>
42556 int
42557 main ()
42558 {
42559 frexpl(0, 0);
42560 ;
42561 return 0;
42562 }
42563 _ACEOF
42564 if ac_fn_cxx_try_compile "$LINENO"; then :
42565 glibcxx_cv_func_frexpl_use=yes
42566 else
42567 glibcxx_cv_func_frexpl_use=no
42568 fi
42569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42570 ac_ext=c
42571 ac_cpp='$CPP $CPPFLAGS'
42572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42575
42576
42577 fi
42578
42579 fi
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42581 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42582
42583 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42584 for ac_func in frexpl
42585 do :
42586 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42587 if test "x$ac_cv_func_frexpl" = x""yes; then :
42588 cat >>confdefs.h <<_ACEOF
42589 #define HAVE_FREXPL 1
42590 _ACEOF
42591
42592 fi
42593 done
42594
42595 else
42596
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42598 $as_echo_n "checking for _frexpl declaration... " >&6; }
42599 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42600 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42601 $as_echo_n "(cached) " >&6
42602 else
42603
42604
42605 ac_ext=cpp
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h. */
42613 #include <math.h>
42614 int
42615 main ()
42616 {
42617 _frexpl(0, 0);
42618 ;
42619 return 0;
42620 }
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623 glibcxx_cv_func__frexpl_use=yes
42624 else
42625 glibcxx_cv_func__frexpl_use=no
42626 fi
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628 ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633
42634
42635 fi
42636
42637 fi
42638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42639 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42640
42641 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42642 for ac_func in _frexpl
42643 do :
42644 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42645 if test "x$ac_cv_func__frexpl" = x""yes; then :
42646 cat >>confdefs.h <<_ACEOF
42647 #define HAVE__FREXPL 1
42648 _ACEOF
42649
42650 fi
42651 done
42652
42653 fi
42654 fi
42655
42656
42657
42658
42659
42660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42661 $as_echo_n "checking for hypotl declaration... " >&6; }
42662 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42663 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42664 $as_echo_n "(cached) " >&6
42665 else
42666
42667
42668 ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42673
42674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h. */
42676 #include <math.h>
42677 int
42678 main ()
42679 {
42680 hypotl(0, 0);
42681 ;
42682 return 0;
42683 }
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func_hypotl_use=yes
42687 else
42688 glibcxx_cv_func_hypotl_use=no
42689 fi
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696
42697
42698 fi
42699
42700 fi
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42702 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42703
42704 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42705 for ac_func in hypotl
42706 do :
42707 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42708 if test "x$ac_cv_func_hypotl" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE_HYPOTL 1
42711 _ACEOF
42712
42713 fi
42714 done
42715
42716 else
42717
42718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42719 $as_echo_n "checking for _hypotl declaration... " >&6; }
42720 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42721 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42722 $as_echo_n "(cached) " >&6
42723 else
42724
42725
42726 ac_ext=cpp
42727 ac_cpp='$CXXCPP $CPPFLAGS'
42728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42731
42732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42733 /* end confdefs.h. */
42734 #include <math.h>
42735 int
42736 main ()
42737 {
42738 _hypotl(0, 0);
42739 ;
42740 return 0;
42741 }
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func__hypotl_use=yes
42745 else
42746 glibcxx_cv_func__hypotl_use=no
42747 fi
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749 ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754
42755
42756 fi
42757
42758 fi
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42760 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42761
42762 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42763 for ac_func in _hypotl
42764 do :
42765 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42766 if test "x$ac_cv_func__hypotl" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE__HYPOTL 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774 fi
42775 fi
42776
42777
42778
42779
42780
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42782 $as_echo_n "checking for ldexpl declaration... " >&6; }
42783 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42784 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42787
42788
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42798 int
42799 main ()
42800 {
42801 ldexpl(0, 0);
42802 ;
42803 return 0;
42804 }
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func_ldexpl_use=yes
42808 else
42809 glibcxx_cv_func_ldexpl_use=no
42810 fi
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817
42818
42819 fi
42820
42821 fi
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42823 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42824
42825 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42826 for ac_func in ldexpl
42827 do :
42828 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42829 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE_LDEXPL 1
42832 _ACEOF
42833
42834 fi
42835 done
42836
42837 else
42838
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42840 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42841 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42842 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42843 $as_echo_n "(cached) " >&6
42844 else
42845
42846
42847 ac_ext=cpp
42848 ac_cpp='$CXXCPP $CPPFLAGS'
42849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42852
42853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42854 /* end confdefs.h. */
42855 #include <math.h>
42856 int
42857 main ()
42858 {
42859 _ldexpl(0, 0);
42860 ;
42861 return 0;
42862 }
42863 _ACEOF
42864 if ac_fn_cxx_try_compile "$LINENO"; then :
42865 glibcxx_cv_func__ldexpl_use=yes
42866 else
42867 glibcxx_cv_func__ldexpl_use=no
42868 fi
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42870 ac_ext=c
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42875
42876
42877 fi
42878
42879 fi
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42881 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42882
42883 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42884 for ac_func in _ldexpl
42885 do :
42886 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42887 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42888 cat >>confdefs.h <<_ACEOF
42889 #define HAVE__LDEXPL 1
42890 _ACEOF
42891
42892 fi
42893 done
42894
42895 fi
42896 fi
42897
42898
42899
42900
42901
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42903 $as_echo_n "checking for logl declaration... " >&6; }
42904 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42905 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42906 $as_echo_n "(cached) " >&6
42907 else
42908
42909
42910 ac_ext=cpp
42911 ac_cpp='$CXXCPP $CPPFLAGS'
42912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42915
42916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42917 /* end confdefs.h. */
42918 #include <math.h>
42919 #ifdef HAVE_IEEEFP_H
42920 #include <ieeefp.h>
42921 #endif
42922
42923 int
42924 main ()
42925 {
42926 logl(0);
42927 ;
42928 return 0;
42929 }
42930 _ACEOF
42931 if ac_fn_cxx_try_compile "$LINENO"; then :
42932 glibcxx_cv_func_logl_use=yes
42933 else
42934 glibcxx_cv_func_logl_use=no
42935 fi
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937 ac_ext=c
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42942
42943
42944 fi
42945
42946 fi
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42948 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42949
42950 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42951 for ac_func in logl
42952 do :
42953 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42954 if test "x$ac_cv_func_logl" = x""yes; then :
42955 cat >>confdefs.h <<_ACEOF
42956 #define HAVE_LOGL 1
42957 _ACEOF
42958
42959 fi
42960 done
42961
42962 else
42963
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42965 $as_echo_n "checking for _logl declaration... " >&6; }
42966 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42967 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42968 $as_echo_n "(cached) " >&6
42969 else
42970
42971
42972 ac_ext=cpp
42973 ac_cpp='$CXXCPP $CPPFLAGS'
42974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42977
42978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42979 /* end confdefs.h. */
42980 #include <math.h>
42981 #ifdef HAVE_IEEEFP_H
42982 #include <ieeefp.h>
42983 #endif
42984
42985 int
42986 main ()
42987 {
42988 _logl(0);
42989 ;
42990 return 0;
42991 }
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func__logl_use=yes
42995 else
42996 glibcxx_cv_func__logl_use=no
42997 fi
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999 ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43004
43005
43006 fi
43007
43008 fi
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43010 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43011
43012 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43013 for ac_func in _logl
43014 do :
43015 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43016 if test "x$ac_cv_func__logl" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE__LOGL 1
43019 _ACEOF
43020
43021 fi
43022 done
43023
43024 fi
43025 fi
43026
43027
43028
43029
43030
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43032 $as_echo_n "checking for log10l declaration... " >&6; }
43033 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43034 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43037
43038
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 log10l(0);
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_log10l_use=yes
43062 else
43063 glibcxx_cv_func_log10l_use=no
43064 fi
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43071
43072
43073 fi
43074
43075 fi
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43077 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43078
43079 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43080 for ac_func in log10l
43081 do :
43082 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43083 if test "x$ac_cv_func_log10l" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_LOG10L 1
43086 _ACEOF
43087
43088 fi
43089 done
43090
43091 else
43092
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43094 $as_echo_n "checking for _log10l declaration... " >&6; }
43095 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43096 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43099
43100
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43110 #ifdef HAVE_IEEEFP_H
43111 #include <ieeefp.h>
43112 #endif
43113
43114 int
43115 main ()
43116 {
43117 _log10l(0);
43118 ;
43119 return 0;
43120 }
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func__log10l_use=yes
43124 else
43125 glibcxx_cv_func__log10l_use=no
43126 fi
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136
43137 fi
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43139 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43140
43141 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43142 for ac_func in _log10l
43143 do :
43144 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43145 if test "x$ac_cv_func__log10l" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE__LOG10L 1
43148 _ACEOF
43149
43150 fi
43151 done
43152
43153 fi
43154 fi
43155
43156
43157
43158
43159
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43161 $as_echo_n "checking for modfl declaration... " >&6; }
43162 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43163 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43166
43167
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43177 int
43178 main ()
43179 {
43180 modfl(0, 0);
43181 ;
43182 return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_modfl_use=yes
43187 else
43188 glibcxx_cv_func_modfl_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200 fi
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43202 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43203
43204 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43205 for ac_func in modfl
43206 do :
43207 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43208 if test "x$ac_cv_func_modfl" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_MODFL 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216 else
43217
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43219 $as_echo_n "checking for _modfl declaration... " >&6; }
43220 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43221 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238 _modfl(0, 0);
43239 ;
43240 return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func__modfl_use=yes
43245 else
43246 glibcxx_cv_func__modfl_use=no
43247 fi
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258 fi
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43260 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43261
43262 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43263 for ac_func in _modfl
43264 do :
43265 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43266 if test "x$ac_cv_func__modfl" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE__MODFL 1
43269 _ACEOF
43270
43271 fi
43272 done
43273
43274 fi
43275 fi
43276
43277
43278
43279
43280
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43282 $as_echo_n "checking for powl declaration... " >&6; }
43283 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43284 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43298 int
43299 main ()
43300 {
43301 powl(0, 0);
43302 ;
43303 return 0;
43304 }
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func_powl_use=yes
43308 else
43309 glibcxx_cv_func_powl_use=no
43310 fi
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317
43318
43319 fi
43320
43321 fi
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43323 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43324
43325 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43326 for ac_func in powl
43327 do :
43328 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43329 if test "x$ac_cv_func_powl" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE_POWL 1
43332 _ACEOF
43333
43334 fi
43335 done
43336
43337 else
43338
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43340 $as_echo_n "checking for _powl declaration... " >&6; }
43341 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43342 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43343 $as_echo_n "(cached) " >&6
43344 else
43345
43346
43347 ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43355 #include <math.h>
43356 int
43357 main ()
43358 {
43359 _powl(0, 0);
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__powl_use=yes
43366 else
43367 glibcxx_cv_func__powl_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379 fi
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43381 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43382
43383 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43384 for ac_func in _powl
43385 do :
43386 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43387 if test "x$ac_cv_func__powl" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__POWL 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395 fi
43396 fi
43397
43398
43399
43400
43401
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43403 $as_echo_n "checking for sqrtl declaration... " >&6; }
43404 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43405 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43408
43409
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43419 #ifdef HAVE_IEEEFP_H
43420 #include <ieeefp.h>
43421 #endif
43422
43423 int
43424 main ()
43425 {
43426 sqrtl(0);
43427 ;
43428 return 0;
43429 }
43430 _ACEOF
43431 if ac_fn_cxx_try_compile "$LINENO"; then :
43432 glibcxx_cv_func_sqrtl_use=yes
43433 else
43434 glibcxx_cv_func_sqrtl_use=no
43435 fi
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 ac_ext=c
43438 ac_cpp='$CPP $CPPFLAGS'
43439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442
43443
43444 fi
43445
43446 fi
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43448 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43449
43450 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43451 for ac_func in sqrtl
43452 do :
43453 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43454 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43455 cat >>confdefs.h <<_ACEOF
43456 #define HAVE_SQRTL 1
43457 _ACEOF
43458
43459 fi
43460 done
43461
43462 else
43463
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43465 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43466 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43467 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43468 $as_echo_n "(cached) " >&6
43469 else
43470
43471
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43477
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43480 #include <math.h>
43481 #ifdef HAVE_IEEEFP_H
43482 #include <ieeefp.h>
43483 #endif
43484
43485 int
43486 main ()
43487 {
43488 _sqrtl(0);
43489 ;
43490 return 0;
43491 }
43492 _ACEOF
43493 if ac_fn_cxx_try_compile "$LINENO"; then :
43494 glibcxx_cv_func__sqrtl_use=yes
43495 else
43496 glibcxx_cv_func__sqrtl_use=no
43497 fi
43498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43499 ac_ext=c
43500 ac_cpp='$CPP $CPPFLAGS'
43501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43504
43505
43506 fi
43507
43508 fi
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43510 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43511
43512 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43513 for ac_func in _sqrtl
43514 do :
43515 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43516 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43517 cat >>confdefs.h <<_ACEOF
43518 #define HAVE__SQRTL 1
43519 _ACEOF
43520
43521 fi
43522 done
43523
43524 fi
43525 fi
43526
43527
43528
43529
43530
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43532 $as_echo_n "checking for sincosl declaration... " >&6; }
43533 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43534 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43535 $as_echo_n "(cached) " >&6
43536 else
43537
43538
43539 ac_ext=cpp
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544
43545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h. */
43547 #include <math.h>
43548 int
43549 main ()
43550 {
43551 sincosl(0, 0, 0);
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func_sincosl_use=yes
43558 else
43559 glibcxx_cv_func_sincosl_use=no
43560 fi
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567
43568
43569 fi
43570
43571 fi
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43573 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43574
43575 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43576 for ac_func in sincosl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43579 if test "x$ac_cv_func_sincosl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE_SINCOSL 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587 else
43588
43589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43590 $as_echo_n "checking for _sincosl declaration... " >&6; }
43591 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43592 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43593 $as_echo_n "(cached) " >&6
43594 else
43595
43596
43597 ac_ext=cpp
43598 ac_cpp='$CXXCPP $CPPFLAGS'
43599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43602
43603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43604 /* end confdefs.h. */
43605 #include <math.h>
43606 int
43607 main ()
43608 {
43609 _sincosl(0, 0, 0);
43610 ;
43611 return 0;
43612 }
43613 _ACEOF
43614 if ac_fn_cxx_try_compile "$LINENO"; then :
43615 glibcxx_cv_func__sincosl_use=yes
43616 else
43617 glibcxx_cv_func__sincosl_use=no
43618 fi
43619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43620 ac_ext=c
43621 ac_cpp='$CPP $CPPFLAGS'
43622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43625
43626
43627 fi
43628
43629 fi
43630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43631 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43632
43633 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43634 for ac_func in _sincosl
43635 do :
43636 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43637 if test "x$ac_cv_func__sincosl" = x""yes; then :
43638 cat >>confdefs.h <<_ACEOF
43639 #define HAVE__SINCOSL 1
43640 _ACEOF
43641
43642 fi
43643 done
43644
43645 fi
43646 fi
43647
43648
43649
43650
43651
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43653 $as_echo_n "checking for finitel declaration... " >&6; }
43654 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43655 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43658
43659
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43669 #ifdef HAVE_IEEEFP_H
43670 #include <ieeefp.h>
43671 #endif
43672
43673 int
43674 main ()
43675 {
43676 finitel(0);
43677 ;
43678 return 0;
43679 }
43680 _ACEOF
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682 glibcxx_cv_func_finitel_use=yes
43683 else
43684 glibcxx_cv_func_finitel_use=no
43685 fi
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43687 ac_ext=c
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43692
43693
43694 fi
43695
43696 fi
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43698 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43699
43700 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43701 for ac_func in finitel
43702 do :
43703 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43704 if test "x$ac_cv_func_finitel" = x""yes; then :
43705 cat >>confdefs.h <<_ACEOF
43706 #define HAVE_FINITEL 1
43707 _ACEOF
43708
43709 fi
43710 done
43711
43712 else
43713
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43715 $as_echo_n "checking for _finitel declaration... " >&6; }
43716 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43717 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43718 $as_echo_n "(cached) " >&6
43719 else
43720
43721
43722 ac_ext=cpp
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43727
43728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43729 /* end confdefs.h. */
43730 #include <math.h>
43731 #ifdef HAVE_IEEEFP_H
43732 #include <ieeefp.h>
43733 #endif
43734
43735 int
43736 main ()
43737 {
43738 _finitel(0);
43739 ;
43740 return 0;
43741 }
43742 _ACEOF
43743 if ac_fn_cxx_try_compile "$LINENO"; then :
43744 glibcxx_cv_func__finitel_use=yes
43745 else
43746 glibcxx_cv_func__finitel_use=no
43747 fi
43748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43749 ac_ext=c
43750 ac_cpp='$CPP $CPPFLAGS'
43751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43754
43755
43756 fi
43757
43758 fi
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43760 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43761
43762 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43763 for ac_func in _finitel
43764 do :
43765 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43766 if test "x$ac_cv_func__finitel" = x""yes; then :
43767 cat >>confdefs.h <<_ACEOF
43768 #define HAVE__FINITEL 1
43769 _ACEOF
43770
43771 fi
43772 done
43773
43774 fi
43775 fi
43776
43777
43778
43779
43780 LIBS="$ac_save_LIBS"
43781 CXXFLAGS="$ac_save_CXXFLAGS"
43782
43783
43784 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43785 ac_save_CXXFLAGS="$CXXFLAGS"
43786 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43787
43788
43789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43790 $as_echo_n "checking for strtold declaration... " >&6; }
43791 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43792 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43793 $as_echo_n "(cached) " >&6
43794 else
43795
43796
43797 ac_ext=cpp
43798 ac_cpp='$CXXCPP $CPPFLAGS'
43799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802
43803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43804 /* end confdefs.h. */
43805 #include <stdlib.h>
43806 int
43807 main ()
43808 {
43809 strtold(0, 0);
43810 ;
43811 return 0;
43812 }
43813 _ACEOF
43814 if ac_fn_cxx_try_compile "$LINENO"; then :
43815 glibcxx_cv_func_strtold_use=yes
43816 else
43817 glibcxx_cv_func_strtold_use=no
43818 fi
43819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43820 ac_ext=c
43821 ac_cpp='$CPP $CPPFLAGS'
43822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43825
43826
43827 fi
43828
43829 fi
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43831 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43832 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43833 for ac_func in strtold
43834 do :
43835 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43836 if test "x$ac_cv_func_strtold" = x""yes; then :
43837 cat >>confdefs.h <<_ACEOF
43838 #define HAVE_STRTOLD 1
43839 _ACEOF
43840
43841 fi
43842 done
43843
43844 fi
43845
43846
43847
43848
43849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43850 $as_echo_n "checking for strtof declaration... " >&6; }
43851 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43852 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43853 $as_echo_n "(cached) " >&6
43854 else
43855
43856
43857 ac_ext=cpp
43858 ac_cpp='$CXXCPP $CPPFLAGS'
43859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862
43863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43864 /* end confdefs.h. */
43865 #include <stdlib.h>
43866 int
43867 main ()
43868 {
43869 strtof(0, 0);
43870 ;
43871 return 0;
43872 }
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func_strtof_use=yes
43876 else
43877 glibcxx_cv_func_strtof_use=no
43878 fi
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43885
43886
43887 fi
43888
43889 fi
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43891 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43892 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43893 for ac_func in strtof
43894 do :
43895 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43896 if test "x$ac_cv_func_strtof" = x""yes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_STRTOF 1
43899 _ACEOF
43900
43901 fi
43902 done
43903
43904 fi
43905
43906
43907
43908
43909 CXXFLAGS="$ac_save_CXXFLAGS"
43910
43911 ;;
43912
43913 *djgpp)
43914 # GLIBCXX_CHECK_MATH_SUPPORT
43915 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43916
43917 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43918
43919 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43920
43921 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43922
43923 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43924
43925 ;;
43926
43927 *-freebsd*)
43928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43929
43930
43931 # If we're not using GNU ld, then there's no point in even trying these
43932 # tests. Check for that first. We should have already tested for gld
43933 # by now (in libtool), but require it now just to be safe...
43934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43936
43937
43938
43939 # The name set by libtool depends on the version of libtool. Shame on us
43940 # for depending on an impl detail, but c'est la vie. Older versions used
43941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43944 # set (hence we're using an older libtool), then set it.
43945 if test x${with_gnu_ld+set} != xset; then
43946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43948 with_gnu_ld=no
43949 else
43950 with_gnu_ld=$ac_cv_prog_gnu_ld
43951 fi
43952 fi
43953
43954 # Start by getting the version number. I think the libtool test already
43955 # does some of this, but throws away the result.
43956 glibcxx_ld_is_gold=no
43957 if test x"$with_gnu_ld" = x"yes"; then
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43959 $as_echo_n "checking for ld version... " >&6; }
43960
43961 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43962 glibcxx_ld_is_gold=yes
43963 fi
43964 ldver=`$LD --version 2>/dev/null |
43965 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'`
43966
43967 glibcxx_gnu_ld_version=`echo $ldver | \
43968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43970 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43971 fi
43972
43973 # Set --gc-sections.
43974 glibcxx_have_gc_sections=no
43975 if test "$glibcxx_ld_is_gold" = "yes"; then
43976 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43977 glibcxx_have_gc_sections=yes
43978 fi
43979 else
43980 glibcxx_gcsections_min_ld=21602
43981 if test x"$with_gnu_ld" = x"yes" &&
43982 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43983 glibcxx_have_gc_sections=yes
43984 fi
43985 fi
43986 if test "$glibcxx_have_gc_sections" = "yes"; then
43987 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43988 # NB: This flag only works reliably after 2.16.1. Configure tests
43989 # for this are difficult, so hard wire a value that should work.
43990
43991 ac_test_CFLAGS="${CFLAGS+set}"
43992 ac_save_CFLAGS="$CFLAGS"
43993 CFLAGS='-Wl,--gc-sections'
43994
43995 # Check for -Wl,--gc-sections
43996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43997 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43998 if test x$gcc_no_link = xyes; then
43999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44000 fi
44001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44002 /* end confdefs.h. */
44003 int one(void) { return 1; }
44004 int two(void) { return 2; }
44005
44006 int
44007 main ()
44008 {
44009 two();
44010 ;
44011 return 0;
44012 }
44013 _ACEOF
44014 if ac_fn_c_try_link "$LINENO"; then :
44015 ac_gcsections=yes
44016 else
44017 ac_gcsections=no
44018 fi
44019 rm -f core conftest.err conftest.$ac_objext \
44020 conftest$ac_exeext conftest.$ac_ext
44021 if test "$ac_gcsections" = "yes"; then
44022 rm -f conftest.c
44023 touch conftest.c
44024 if $CC -c conftest.c; then
44025 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44026 grep "Warning: gc-sections option ignored" > /dev/null; then
44027 ac_gcsections=no
44028 fi
44029 fi
44030 rm -f conftest.c conftest.o conftest
44031 fi
44032 if test "$ac_gcsections" = "yes"; then
44033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44034 fi
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44036 $as_echo "$ac_gcsections" >&6; }
44037
44038 if test "$ac_test_CFLAGS" = set; then
44039 CFLAGS="$ac_save_CFLAGS"
44040 else
44041 # this is the suspicious part
44042 CFLAGS=''
44043 fi
44044 fi
44045
44046 # Set -z,relro.
44047 # Note this is only for shared objects.
44048 ac_ld_relro=no
44049 if test x"$with_gnu_ld" = x"yes"; then
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44051 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44052 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44053 if test -n "$cxx_z_relo"; then
44054 OPT_LDFLAGS="-Wl,-z,relro"
44055 ac_ld_relro=yes
44056 fi
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44058 $as_echo "$ac_ld_relro" >&6; }
44059 fi
44060
44061 # Set linker optimization flags.
44062 if test x"$with_gnu_ld" = x"yes"; then
44063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44064 fi
44065
44066
44067
44068
44069 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44070
44071 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44072
44073 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44074
44075 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44076
44077 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44078
44079 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44080
44081 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44082
44083 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44084
44085 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44086
44087
44088 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44089
44090 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44091
44092 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44093
44094 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44095
44096 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44097
44098 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44099
44100 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44101
44102 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44103
44104 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44105
44106 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44107
44108 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44109
44110 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44111
44112 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44113
44114 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44115
44116 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44117
44118 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44119
44120 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44121
44122 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44123
44124 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44125
44126 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44127
44128 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44129
44130 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44131
44132 if test x"long_double_math_on_this_cpu" = x"yes"; then
44133 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44134
44135 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44136
44137 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44138
44139 fi
44140 ;;
44141 *-hpux*)
44142 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44143
44144
44145 # If we're not using GNU ld, then there's no point in even trying these
44146 # tests. Check for that first. We should have already tested for gld
44147 # by now (in libtool), but require it now just to be safe...
44148 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44149 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44150
44151
44152
44153 # The name set by libtool depends on the version of libtool. Shame on us
44154 # for depending on an impl detail, but c'est la vie. Older versions used
44155 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44156 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44157 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44158 # set (hence we're using an older libtool), then set it.
44159 if test x${with_gnu_ld+set} != xset; then
44160 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44161 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44162 with_gnu_ld=no
44163 else
44164 with_gnu_ld=$ac_cv_prog_gnu_ld
44165 fi
44166 fi
44167
44168 # Start by getting the version number. I think the libtool test already
44169 # does some of this, but throws away the result.
44170 glibcxx_ld_is_gold=no
44171 if test x"$with_gnu_ld" = x"yes"; then
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44173 $as_echo_n "checking for ld version... " >&6; }
44174
44175 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44176 glibcxx_ld_is_gold=yes
44177 fi
44178 ldver=`$LD --version 2>/dev/null |
44179 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'`
44180
44181 glibcxx_gnu_ld_version=`echo $ldver | \
44182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44184 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44185 fi
44186
44187 # Set --gc-sections.
44188 glibcxx_have_gc_sections=no
44189 if test "$glibcxx_ld_is_gold" = "yes"; then
44190 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44191 glibcxx_have_gc_sections=yes
44192 fi
44193 else
44194 glibcxx_gcsections_min_ld=21602
44195 if test x"$with_gnu_ld" = x"yes" &&
44196 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44197 glibcxx_have_gc_sections=yes
44198 fi
44199 fi
44200 if test "$glibcxx_have_gc_sections" = "yes"; then
44201 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44202 # NB: This flag only works reliably after 2.16.1. Configure tests
44203 # for this are difficult, so hard wire a value that should work.
44204
44205 ac_test_CFLAGS="${CFLAGS+set}"
44206 ac_save_CFLAGS="$CFLAGS"
44207 CFLAGS='-Wl,--gc-sections'
44208
44209 # Check for -Wl,--gc-sections
44210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44211 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44212 if test x$gcc_no_link = xyes; then
44213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44214 fi
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 int one(void) { return 1; }
44218 int two(void) { return 2; }
44219
44220 int
44221 main ()
44222 {
44223 two();
44224 ;
44225 return 0;
44226 }
44227 _ACEOF
44228 if ac_fn_c_try_link "$LINENO"; then :
44229 ac_gcsections=yes
44230 else
44231 ac_gcsections=no
44232 fi
44233 rm -f core conftest.err conftest.$ac_objext \
44234 conftest$ac_exeext conftest.$ac_ext
44235 if test "$ac_gcsections" = "yes"; then
44236 rm -f conftest.c
44237 touch conftest.c
44238 if $CC -c conftest.c; then
44239 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44240 grep "Warning: gc-sections option ignored" > /dev/null; then
44241 ac_gcsections=no
44242 fi
44243 fi
44244 rm -f conftest.c conftest.o conftest
44245 fi
44246 if test "$ac_gcsections" = "yes"; then
44247 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44248 fi
44249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44250 $as_echo "$ac_gcsections" >&6; }
44251
44252 if test "$ac_test_CFLAGS" = set; then
44253 CFLAGS="$ac_save_CFLAGS"
44254 else
44255 # this is the suspicious part
44256 CFLAGS=''
44257 fi
44258 fi
44259
44260 # Set -z,relro.
44261 # Note this is only for shared objects.
44262 ac_ld_relro=no
44263 if test x"$with_gnu_ld" = x"yes"; then
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44265 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44266 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44267 if test -n "$cxx_z_relo"; then
44268 OPT_LDFLAGS="-Wl,-z,relro"
44269 ac_ld_relro=yes
44270 fi
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44272 $as_echo "$ac_ld_relro" >&6; }
44273 fi
44274
44275 # Set linker optimization flags.
44276 if test x"$with_gnu_ld" = x"yes"; then
44277 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44278 fi
44279
44280
44281
44282
44283
44284 # GLIBCXX_CHECK_MATH_SUPPORT
44285 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44286
44287 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44288
44289 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44290
44291 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44292
44293 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44294
44295 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44296
44297 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44298
44299 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44300
44301 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44302
44303 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44304
44305 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44306
44307 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44308
44309 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44310
44311 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44312
44313 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44314
44315 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44316
44317 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44318
44319 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44320
44321 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44322
44323 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44324
44325 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44326
44327
44328 # GLIBCXX_CHECK_STDLIB_SUPPORT
44329 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44330
44331
44332
44333
44334 # Check whether --enable-tls was given.
44335 if test "${enable_tls+set}" = set; then :
44336 enableval=$enable_tls;
44337 case "$enableval" in
44338 yes|no) ;;
44339 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44340 esac
44341
44342 else
44343 enable_tls=yes
44344 fi
44345
44346
44347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44348 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44349 if test "${gcc_cv_have_tls+set}" = set; then :
44350 $as_echo_n "(cached) " >&6
44351 else
44352
44353 if test "$cross_compiling" = yes; then :
44354 if test x$gcc_no_link = xyes; then
44355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44356 fi
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 __thread int a; int b; int main() { return a = b; }
44360 _ACEOF
44361 if ac_fn_c_try_link "$LINENO"; then :
44362 chktls_save_LDFLAGS="$LDFLAGS"
44363 case $host in
44364 *-*-linux*)
44365 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44366 ;;
44367 esac
44368 chktls_save_CFLAGS="$CFLAGS"
44369 CFLAGS="-fPIC $CFLAGS"
44370 if test x$gcc_no_link = xyes; then
44371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44372 fi
44373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44374 /* end confdefs.h. */
44375 int f() { return 0; }
44376 _ACEOF
44377 if ac_fn_c_try_link "$LINENO"; then :
44378 if test x$gcc_no_link = xyes; then
44379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44380 fi
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h. */
44383 __thread int a; int b; int f() { return a = b; }
44384 _ACEOF
44385 if ac_fn_c_try_link "$LINENO"; then :
44386 gcc_cv_have_tls=yes
44387 else
44388 gcc_cv_have_tls=no
44389 fi
44390 rm -f core conftest.err conftest.$ac_objext \
44391 conftest$ac_exeext conftest.$ac_ext
44392 else
44393 gcc_cv_have_tls=yes
44394 fi
44395 rm -f core conftest.err conftest.$ac_objext \
44396 conftest$ac_exeext conftest.$ac_ext
44397 CFLAGS="$chktls_save_CFLAGS"
44398 LDFLAGS="$chktls_save_LDFLAGS"
44399 else
44400 gcc_cv_have_tls=no
44401 fi
44402 rm -f core conftest.err conftest.$ac_objext \
44403 conftest$ac_exeext conftest.$ac_ext
44404
44405
44406 else
44407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44408 /* end confdefs.h. */
44409 __thread int a; int b; int main() { return a = b; }
44410 _ACEOF
44411 if ac_fn_c_try_run "$LINENO"; then :
44412 chktls_save_LDFLAGS="$LDFLAGS"
44413 LDFLAGS="-static $LDFLAGS"
44414 if test x$gcc_no_link = xyes; then
44415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44416 fi
44417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44418 /* end confdefs.h. */
44419 int main() { return 0; }
44420 _ACEOF
44421 if ac_fn_c_try_link "$LINENO"; then :
44422 if test "$cross_compiling" = yes; then :
44423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44425 as_fn_error "cannot run test program while cross compiling
44426 See \`config.log' for more details." "$LINENO" 5; }
44427 else
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 __thread int a; int b; int main() { return a = b; }
44431 _ACEOF
44432 if ac_fn_c_try_run "$LINENO"; then :
44433 gcc_cv_have_tls=yes
44434 else
44435 gcc_cv_have_tls=no
44436 fi
44437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44438 conftest.$ac_objext conftest.beam conftest.$ac_ext
44439 fi
44440
44441 else
44442 gcc_cv_have_tls=yes
44443 fi
44444 rm -f core conftest.err conftest.$ac_objext \
44445 conftest$ac_exeext conftest.$ac_ext
44446 LDFLAGS="$chktls_save_LDFLAGS"
44447 if test $gcc_cv_have_tls = yes; then
44448 chktls_save_CFLAGS="$CFLAGS"
44449 thread_CFLAGS=failed
44450 for flag in '' '-pthread' '-lpthread'; do
44451 CFLAGS="$flag $chktls_save_CFLAGS"
44452 if test x$gcc_no_link = xyes; then
44453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44454 fi
44455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44456 /* end confdefs.h. */
44457 #include <pthread.h>
44458 void *g(void *d) { return NULL; }
44459 int
44460 main ()
44461 {
44462 pthread_t t; pthread_create(&t,NULL,g,NULL);
44463 ;
44464 return 0;
44465 }
44466 _ACEOF
44467 if ac_fn_c_try_link "$LINENO"; then :
44468 thread_CFLAGS="$flag"
44469 fi
44470 rm -f core conftest.err conftest.$ac_objext \
44471 conftest$ac_exeext conftest.$ac_ext
44472 if test "X$thread_CFLAGS" != Xfailed; then
44473 break
44474 fi
44475 done
44476 CFLAGS="$chktls_save_CFLAGS"
44477 if test "X$thread_CFLAGS" != Xfailed; then
44478 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44479 if test "$cross_compiling" = yes; then :
44480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44482 as_fn_error "cannot run test program while cross compiling
44483 See \`config.log' for more details." "$LINENO" 5; }
44484 else
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <pthread.h>
44488 __thread int a;
44489 static int *volatile a_in_other_thread;
44490 static void *
44491 thread_func (void *arg)
44492 {
44493 a_in_other_thread = &a;
44494 return (void *)0;
44495 }
44496 int
44497 main ()
44498 {
44499 pthread_t thread;
44500 void *thread_retval;
44501 int *volatile a_in_main_thread;
44502 a_in_main_thread = &a;
44503 if (pthread_create (&thread, (pthread_attr_t *)0,
44504 thread_func, (void *)0))
44505 return 0;
44506 if (pthread_join (thread, &thread_retval))
44507 return 0;
44508 return (a_in_other_thread == a_in_main_thread);
44509 ;
44510 return 0;
44511 }
44512 _ACEOF
44513 if ac_fn_c_try_run "$LINENO"; then :
44514 gcc_cv_have_tls=yes
44515 else
44516 gcc_cv_have_tls=no
44517 fi
44518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44519 conftest.$ac_objext conftest.beam conftest.$ac_ext
44520 fi
44521
44522 CFLAGS="$chktls_save_CFLAGS"
44523 fi
44524 fi
44525 else
44526 gcc_cv_have_tls=no
44527 fi
44528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44529 conftest.$ac_objext conftest.beam conftest.$ac_ext
44530 fi
44531
44532 fi
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44534 $as_echo "$gcc_cv_have_tls" >&6; }
44535 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44536
44537 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44538
44539 fi
44540 case "$target" in
44541 *-hpux10*)
44542 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44543
44544 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44545
44546 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44547
44548 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44549
44550 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44551
44552 ;;
44553 esac
44554 ;;
44555 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44556
44557 # All these tests are for C++; save the language and the compiler flags.
44558 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44559 # found in GLIBCXX_CONFIGURE.
44560
44561 ac_ext=cpp
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566
44567 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44568 ac_save_CXXFLAGS="$CXXFLAGS"
44569
44570 # Check for maintainer-mode bits.
44571 if test x"$USE_MAINTAINER_MODE" = xno; then
44572 WERROR=''
44573 else
44574 WERROR='-Werror'
44575 fi
44576
44577 # Check for -ffunction-sections -fdata-sections
44578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44579 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44580 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44582 /* end confdefs.h. */
44583 int foo; void bar() { };
44584 int
44585 main ()
44586 {
44587
44588 ;
44589 return 0;
44590 }
44591 _ACEOF
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44593 ac_fdsections=yes
44594 else
44595 ac_fdsections=no
44596 fi
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 if test "$ac_test_CXXFLAGS" = set; then
44599 CXXFLAGS="$ac_save_CXXFLAGS"
44600 else
44601 # this is the suspicious part
44602 CXXFLAGS=''
44603 fi
44604 if test x"$ac_fdsections" = x"yes"; then
44605 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44606 fi
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44608 $as_echo "$ac_fdsections" >&6; }
44609
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
44618
44619
44620 # If we're not using GNU ld, then there's no point in even trying these
44621 # tests. Check for that first. We should have already tested for gld
44622 # by now (in libtool), but require it now just to be safe...
44623 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44624 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44625
44626
44627
44628 # The name set by libtool depends on the version of libtool. Shame on us
44629 # for depending on an impl detail, but c'est la vie. Older versions used
44630 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44631 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44632 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44633 # set (hence we're using an older libtool), then set it.
44634 if test x${with_gnu_ld+set} != xset; then
44635 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44636 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44637 with_gnu_ld=no
44638 else
44639 with_gnu_ld=$ac_cv_prog_gnu_ld
44640 fi
44641 fi
44642
44643 # Start by getting the version number. I think the libtool test already
44644 # does some of this, but throws away the result.
44645 glibcxx_ld_is_gold=no
44646 if test x"$with_gnu_ld" = x"yes"; then
44647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44648 $as_echo_n "checking for ld version... " >&6; }
44649
44650 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44651 glibcxx_ld_is_gold=yes
44652 fi
44653 ldver=`$LD --version 2>/dev/null |
44654 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'`
44655
44656 glibcxx_gnu_ld_version=`echo $ldver | \
44657 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44659 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44660 fi
44661
44662 # Set --gc-sections.
44663 glibcxx_have_gc_sections=no
44664 if test "$glibcxx_ld_is_gold" = "yes"; then
44665 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44666 glibcxx_have_gc_sections=yes
44667 fi
44668 else
44669 glibcxx_gcsections_min_ld=21602
44670 if test x"$with_gnu_ld" = x"yes" &&
44671 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44672 glibcxx_have_gc_sections=yes
44673 fi
44674 fi
44675 if test "$glibcxx_have_gc_sections" = "yes"; then
44676 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44677 # NB: This flag only works reliably after 2.16.1. Configure tests
44678 # for this are difficult, so hard wire a value that should work.
44679
44680 ac_test_CFLAGS="${CFLAGS+set}"
44681 ac_save_CFLAGS="$CFLAGS"
44682 CFLAGS='-Wl,--gc-sections'
44683
44684 # Check for -Wl,--gc-sections
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44686 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44687 if test x$gcc_no_link = xyes; then
44688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44689 fi
44690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* end confdefs.h. */
44692 int one(void) { return 1; }
44693 int two(void) { return 2; }
44694
44695 int
44696 main ()
44697 {
44698 two();
44699 ;
44700 return 0;
44701 }
44702 _ACEOF
44703 if ac_fn_c_try_link "$LINENO"; then :
44704 ac_gcsections=yes
44705 else
44706 ac_gcsections=no
44707 fi
44708 rm -f core conftest.err conftest.$ac_objext \
44709 conftest$ac_exeext conftest.$ac_ext
44710 if test "$ac_gcsections" = "yes"; then
44711 rm -f conftest.c
44712 touch conftest.c
44713 if $CC -c conftest.c; then
44714 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44715 grep "Warning: gc-sections option ignored" > /dev/null; then
44716 ac_gcsections=no
44717 fi
44718 fi
44719 rm -f conftest.c conftest.o conftest
44720 fi
44721 if test "$ac_gcsections" = "yes"; then
44722 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44723 fi
44724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44725 $as_echo "$ac_gcsections" >&6; }
44726
44727 if test "$ac_test_CFLAGS" = set; then
44728 CFLAGS="$ac_save_CFLAGS"
44729 else
44730 # this is the suspicious part
44731 CFLAGS=''
44732 fi
44733 fi
44734
44735 # Set -z,relro.
44736 # Note this is only for shared objects.
44737 ac_ld_relro=no
44738 if test x"$with_gnu_ld" = x"yes"; then
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44740 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44741 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44742 if test -n "$cxx_z_relo"; then
44743 OPT_LDFLAGS="-Wl,-z,relro"
44744 ac_ld_relro=yes
44745 fi
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44747 $as_echo "$ac_ld_relro" >&6; }
44748 fi
44749
44750 # Set linker optimization flags.
44751 if test x"$with_gnu_ld" = x"yes"; then
44752 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44753 fi
44754
44755
44756
44757
44758
44759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44760 ac_save_CXXFLAGS="$CXXFLAGS"
44761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44762
44763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44764 $as_echo_n "checking for sin in -lm... " >&6; }
44765 if test "${ac_cv_lib_m_sin+set}" = set; then :
44766 $as_echo_n "(cached) " >&6
44767 else
44768 ac_check_lib_save_LIBS=$LIBS
44769 LIBS="-lm $LIBS"
44770 if test x$gcc_no_link = xyes; then
44771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44772 fi
44773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h. */
44775
44776 /* Override any GCC internal prototype to avoid an error.
44777 Use char because int might match the return type of a GCC
44778 builtin and then its argument prototype would still apply. */
44779 #ifdef __cplusplus
44780 extern "C"
44781 #endif
44782 char sin ();
44783 int
44784 main ()
44785 {
44786 return sin ();
44787 ;
44788 return 0;
44789 }
44790 _ACEOF
44791 if ac_fn_c_try_link "$LINENO"; then :
44792 ac_cv_lib_m_sin=yes
44793 else
44794 ac_cv_lib_m_sin=no
44795 fi
44796 rm -f core conftest.err conftest.$ac_objext \
44797 conftest$ac_exeext conftest.$ac_ext
44798 LIBS=$ac_check_lib_save_LIBS
44799 fi
44800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44801 $as_echo "$ac_cv_lib_m_sin" >&6; }
44802 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44803 libm="-lm"
44804 fi
44805
44806 ac_save_LIBS="$LIBS"
44807 LIBS="$LIBS $libm"
44808
44809
44810
44811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44812 $as_echo_n "checking for isinf declaration... " >&6; }
44813 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44814 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44815 $as_echo_n "(cached) " >&6
44816 else
44817
44818
44819 ac_ext=cpp
44820 ac_cpp='$CXXCPP $CPPFLAGS'
44821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44824
44825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44826 /* end confdefs.h. */
44827 #include <math.h>
44828 #ifdef HAVE_IEEEFP_H
44829 #include <ieeefp.h>
44830 #endif
44831
44832 int
44833 main ()
44834 {
44835 isinf(0);
44836 ;
44837 return 0;
44838 }
44839 _ACEOF
44840 if ac_fn_cxx_try_compile "$LINENO"; then :
44841 glibcxx_cv_func_isinf_use=yes
44842 else
44843 glibcxx_cv_func_isinf_use=no
44844 fi
44845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44846 ac_ext=c
44847 ac_cpp='$CPP $CPPFLAGS'
44848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44851
44852
44853 fi
44854
44855 fi
44856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44857 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44858
44859 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44860 for ac_func in isinf
44861 do :
44862 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44863 if test "x$ac_cv_func_isinf" = x""yes; then :
44864 cat >>confdefs.h <<_ACEOF
44865 #define HAVE_ISINF 1
44866 _ACEOF
44867
44868 fi
44869 done
44870
44871 else
44872
44873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44874 $as_echo_n "checking for _isinf declaration... " >&6; }
44875 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44876 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44877 $as_echo_n "(cached) " >&6
44878 else
44879
44880
44881 ac_ext=cpp
44882 ac_cpp='$CXXCPP $CPPFLAGS'
44883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44886
44887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44888 /* end confdefs.h. */
44889 #include <math.h>
44890 #ifdef HAVE_IEEEFP_H
44891 #include <ieeefp.h>
44892 #endif
44893
44894 int
44895 main ()
44896 {
44897 _isinf(0);
44898 ;
44899 return 0;
44900 }
44901 _ACEOF
44902 if ac_fn_cxx_try_compile "$LINENO"; then :
44903 glibcxx_cv_func__isinf_use=yes
44904 else
44905 glibcxx_cv_func__isinf_use=no
44906 fi
44907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44908 ac_ext=c
44909 ac_cpp='$CPP $CPPFLAGS'
44910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44913
44914
44915 fi
44916
44917 fi
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44919 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44920
44921 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44922 for ac_func in _isinf
44923 do :
44924 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44925 if test "x$ac_cv_func__isinf" = x""yes; then :
44926 cat >>confdefs.h <<_ACEOF
44927 #define HAVE__ISINF 1
44928 _ACEOF
44929
44930 fi
44931 done
44932
44933 fi
44934 fi
44935
44936
44937
44938
44939
44940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44941 $as_echo_n "checking for isnan declaration... " >&6; }
44942 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44943 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44944 $as_echo_n "(cached) " >&6
44945 else
44946
44947
44948 ac_ext=cpp
44949 ac_cpp='$CXXCPP $CPPFLAGS'
44950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44953
44954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44955 /* end confdefs.h. */
44956 #include <math.h>
44957 #ifdef HAVE_IEEEFP_H
44958 #include <ieeefp.h>
44959 #endif
44960
44961 int
44962 main ()
44963 {
44964 isnan(0);
44965 ;
44966 return 0;
44967 }
44968 _ACEOF
44969 if ac_fn_cxx_try_compile "$LINENO"; then :
44970 glibcxx_cv_func_isnan_use=yes
44971 else
44972 glibcxx_cv_func_isnan_use=no
44973 fi
44974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44975 ac_ext=c
44976 ac_cpp='$CPP $CPPFLAGS'
44977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44980
44981
44982 fi
44983
44984 fi
44985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44986 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44987
44988 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44989 for ac_func in isnan
44990 do :
44991 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44992 if test "x$ac_cv_func_isnan" = x""yes; then :
44993 cat >>confdefs.h <<_ACEOF
44994 #define HAVE_ISNAN 1
44995 _ACEOF
44996
44997 fi
44998 done
44999
45000 else
45001
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45003 $as_echo_n "checking for _isnan declaration... " >&6; }
45004 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45005 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45006 $as_echo_n "(cached) " >&6
45007 else
45008
45009
45010 ac_ext=cpp
45011 ac_cpp='$CXXCPP $CPPFLAGS'
45012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45015
45016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45017 /* end confdefs.h. */
45018 #include <math.h>
45019 #ifdef HAVE_IEEEFP_H
45020 #include <ieeefp.h>
45021 #endif
45022
45023 int
45024 main ()
45025 {
45026 _isnan(0);
45027 ;
45028 return 0;
45029 }
45030 _ACEOF
45031 if ac_fn_cxx_try_compile "$LINENO"; then :
45032 glibcxx_cv_func__isnan_use=yes
45033 else
45034 glibcxx_cv_func__isnan_use=no
45035 fi
45036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45037 ac_ext=c
45038 ac_cpp='$CPP $CPPFLAGS'
45039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45042
45043
45044 fi
45045
45046 fi
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45048 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45049
45050 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45051 for ac_func in _isnan
45052 do :
45053 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45054 if test "x$ac_cv_func__isnan" = x""yes; then :
45055 cat >>confdefs.h <<_ACEOF
45056 #define HAVE__ISNAN 1
45057 _ACEOF
45058
45059 fi
45060 done
45061
45062 fi
45063 fi
45064
45065
45066
45067
45068
45069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45070 $as_echo_n "checking for finite declaration... " >&6; }
45071 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45072 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45073 $as_echo_n "(cached) " >&6
45074 else
45075
45076
45077 ac_ext=cpp
45078 ac_cpp='$CXXCPP $CPPFLAGS'
45079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082
45083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45084 /* end confdefs.h. */
45085 #include <math.h>
45086 #ifdef HAVE_IEEEFP_H
45087 #include <ieeefp.h>
45088 #endif
45089
45090 int
45091 main ()
45092 {
45093 finite(0);
45094 ;
45095 return 0;
45096 }
45097 _ACEOF
45098 if ac_fn_cxx_try_compile "$LINENO"; then :
45099 glibcxx_cv_func_finite_use=yes
45100 else
45101 glibcxx_cv_func_finite_use=no
45102 fi
45103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104 ac_ext=c
45105 ac_cpp='$CPP $CPPFLAGS'
45106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45109
45110
45111 fi
45112
45113 fi
45114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45115 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45116
45117 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45118 for ac_func in finite
45119 do :
45120 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45121 if test "x$ac_cv_func_finite" = x""yes; then :
45122 cat >>confdefs.h <<_ACEOF
45123 #define HAVE_FINITE 1
45124 _ACEOF
45125
45126 fi
45127 done
45128
45129 else
45130
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45132 $as_echo_n "checking for _finite declaration... " >&6; }
45133 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45134 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45135 $as_echo_n "(cached) " >&6
45136 else
45137
45138
45139 ac_ext=cpp
45140 ac_cpp='$CXXCPP $CPPFLAGS'
45141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45144
45145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45146 /* end confdefs.h. */
45147 #include <math.h>
45148 #ifdef HAVE_IEEEFP_H
45149 #include <ieeefp.h>
45150 #endif
45151
45152 int
45153 main ()
45154 {
45155 _finite(0);
45156 ;
45157 return 0;
45158 }
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func__finite_use=yes
45162 else
45163 glibcxx_cv_func__finite_use=no
45164 fi
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45171
45172
45173 fi
45174
45175 fi
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45177 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45178
45179 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45180 for ac_func in _finite
45181 do :
45182 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45183 if test "x$ac_cv_func__finite" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE__FINITE 1
45186 _ACEOF
45187
45188 fi
45189 done
45190
45191 fi
45192 fi
45193
45194
45195
45196
45197
45198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45199 $as_echo_n "checking for sincos declaration... " >&6; }
45200 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45201 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45202 $as_echo_n "(cached) " >&6
45203 else
45204
45205
45206 ac_ext=cpp
45207 ac_cpp='$CXXCPP $CPPFLAGS'
45208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45211
45212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45213 /* end confdefs.h. */
45214 #include <math.h>
45215 int
45216 main ()
45217 {
45218 sincos(0, 0, 0);
45219 ;
45220 return 0;
45221 }
45222 _ACEOF
45223 if ac_fn_cxx_try_compile "$LINENO"; then :
45224 glibcxx_cv_func_sincos_use=yes
45225 else
45226 glibcxx_cv_func_sincos_use=no
45227 fi
45228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45229 ac_ext=c
45230 ac_cpp='$CPP $CPPFLAGS'
45231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45234
45235
45236 fi
45237
45238 fi
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45240 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45241
45242 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45243 for ac_func in sincos
45244 do :
45245 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45246 if test "x$ac_cv_func_sincos" = x""yes; then :
45247 cat >>confdefs.h <<_ACEOF
45248 #define HAVE_SINCOS 1
45249 _ACEOF
45250
45251 fi
45252 done
45253
45254 else
45255
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45257 $as_echo_n "checking for _sincos declaration... " >&6; }
45258 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45259 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45260 $as_echo_n "(cached) " >&6
45261 else
45262
45263
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 #include <math.h>
45273 int
45274 main ()
45275 {
45276 _sincos(0, 0, 0);
45277 ;
45278 return 0;
45279 }
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func__sincos_use=yes
45283 else
45284 glibcxx_cv_func__sincos_use=no
45285 fi
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45292
45293
45294 fi
45295
45296 fi
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45298 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45299
45300 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45301 for ac_func in _sincos
45302 do :
45303 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45304 if test "x$ac_cv_func__sincos" = x""yes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE__SINCOS 1
45307 _ACEOF
45308
45309 fi
45310 done
45311
45312 fi
45313 fi
45314
45315
45316
45317
45318
45319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45320 $as_echo_n "checking for fpclass declaration... " >&6; }
45321 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45322 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45323 $as_echo_n "(cached) " >&6
45324 else
45325
45326
45327 ac_ext=cpp
45328 ac_cpp='$CXXCPP $CPPFLAGS'
45329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45332
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45335 #include <math.h>
45336 #ifdef HAVE_IEEEFP_H
45337 #include <ieeefp.h>
45338 #endif
45339
45340 int
45341 main ()
45342 {
45343 fpclass(0);
45344 ;
45345 return 0;
45346 }
45347 _ACEOF
45348 if ac_fn_cxx_try_compile "$LINENO"; then :
45349 glibcxx_cv_func_fpclass_use=yes
45350 else
45351 glibcxx_cv_func_fpclass_use=no
45352 fi
45353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45354 ac_ext=c
45355 ac_cpp='$CPP $CPPFLAGS'
45356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45359
45360
45361 fi
45362
45363 fi
45364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45365 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45366
45367 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45368 for ac_func in fpclass
45369 do :
45370 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45371 if test "x$ac_cv_func_fpclass" = x""yes; then :
45372 cat >>confdefs.h <<_ACEOF
45373 #define HAVE_FPCLASS 1
45374 _ACEOF
45375
45376 fi
45377 done
45378
45379 else
45380
45381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45382 $as_echo_n "checking for _fpclass declaration... " >&6; }
45383 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45384 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45385 $as_echo_n "(cached) " >&6
45386 else
45387
45388
45389 ac_ext=cpp
45390 ac_cpp='$CXXCPP $CPPFLAGS'
45391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45394
45395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45396 /* end confdefs.h. */
45397 #include <math.h>
45398 #ifdef HAVE_IEEEFP_H
45399 #include <ieeefp.h>
45400 #endif
45401
45402 int
45403 main ()
45404 {
45405 _fpclass(0);
45406 ;
45407 return 0;
45408 }
45409 _ACEOF
45410 if ac_fn_cxx_try_compile "$LINENO"; then :
45411 glibcxx_cv_func__fpclass_use=yes
45412 else
45413 glibcxx_cv_func__fpclass_use=no
45414 fi
45415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45416 ac_ext=c
45417 ac_cpp='$CPP $CPPFLAGS'
45418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45421
45422
45423 fi
45424
45425 fi
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45427 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45428
45429 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45430 for ac_func in _fpclass
45431 do :
45432 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45433 if test "x$ac_cv_func__fpclass" = x""yes; then :
45434 cat >>confdefs.h <<_ACEOF
45435 #define HAVE__FPCLASS 1
45436 _ACEOF
45437
45438 fi
45439 done
45440
45441 fi
45442 fi
45443
45444
45445
45446
45447
45448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45449 $as_echo_n "checking for qfpclass declaration... " >&6; }
45450 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45451 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45452 $as_echo_n "(cached) " >&6
45453 else
45454
45455
45456 ac_ext=cpp
45457 ac_cpp='$CXXCPP $CPPFLAGS'
45458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45461
45462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45463 /* end confdefs.h. */
45464 #include <math.h>
45465 #ifdef HAVE_IEEEFP_H
45466 #include <ieeefp.h>
45467 #endif
45468
45469 int
45470 main ()
45471 {
45472 qfpclass(0);
45473 ;
45474 return 0;
45475 }
45476 _ACEOF
45477 if ac_fn_cxx_try_compile "$LINENO"; then :
45478 glibcxx_cv_func_qfpclass_use=yes
45479 else
45480 glibcxx_cv_func_qfpclass_use=no
45481 fi
45482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45483 ac_ext=c
45484 ac_cpp='$CPP $CPPFLAGS'
45485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45488
45489
45490 fi
45491
45492 fi
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45494 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45495
45496 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45497 for ac_func in qfpclass
45498 do :
45499 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45500 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45501 cat >>confdefs.h <<_ACEOF
45502 #define HAVE_QFPCLASS 1
45503 _ACEOF
45504
45505 fi
45506 done
45507
45508 else
45509
45510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45511 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45512 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45513 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45514 $as_echo_n "(cached) " >&6
45515 else
45516
45517
45518 ac_ext=cpp
45519 ac_cpp='$CXXCPP $CPPFLAGS'
45520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45523
45524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45525 /* end confdefs.h. */
45526 #include <math.h>
45527 #ifdef HAVE_IEEEFP_H
45528 #include <ieeefp.h>
45529 #endif
45530
45531 int
45532 main ()
45533 {
45534 _qfpclass(0);
45535 ;
45536 return 0;
45537 }
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func__qfpclass_use=yes
45541 else
45542 glibcxx_cv_func__qfpclass_use=no
45543 fi
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45550
45551
45552 fi
45553
45554 fi
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45556 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45557
45558 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45559 for ac_func in _qfpclass
45560 do :
45561 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45562 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE__QFPCLASS 1
45565 _ACEOF
45566
45567 fi
45568 done
45569
45570 fi
45571 fi
45572
45573
45574
45575
45576
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45578 $as_echo_n "checking for hypot declaration... " >&6; }
45579 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45580 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45583
45584
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45590
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45594 int
45595 main ()
45596 {
45597 hypot(0, 0);
45598 ;
45599 return 0;
45600 }
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func_hypot_use=yes
45604 else
45605 glibcxx_cv_func_hypot_use=no
45606 fi
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613
45614
45615 fi
45616
45617 fi
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45619 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45620
45621 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45622 for ac_func in hypot
45623 do :
45624 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45625 if test "x$ac_cv_func_hypot" = x""yes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE_HYPOT 1
45628 _ACEOF
45629
45630 fi
45631 done
45632
45633 else
45634
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45636 $as_echo_n "checking for _hypot declaration... " >&6; }
45637 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45638 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45641
45642
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45648
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45652 int
45653 main ()
45654 {
45655 _hypot(0, 0);
45656 ;
45657 return 0;
45658 }
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__hypot_use=yes
45662 else
45663 glibcxx_cv_func__hypot_use=no
45664 fi
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45671
45672
45673 fi
45674
45675 fi
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45677 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45678
45679 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45680 for ac_func in _hypot
45681 do :
45682 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45683 if test "x$ac_cv_func__hypot" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__HYPOT 1
45686 _ACEOF
45687
45688 fi
45689 done
45690
45691 fi
45692 fi
45693
45694
45695
45696
45697
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45699 $as_echo_n "checking for float trig functions... " >&6; }
45700 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45701 $as_echo_n "(cached) " >&6
45702 else
45703
45704
45705 ac_ext=cpp
45706 ac_cpp='$CXXCPP $CPPFLAGS'
45707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45710
45711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45712 /* end confdefs.h. */
45713 #include <math.h>
45714 int
45715 main ()
45716 {
45717 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45718 ;
45719 return 0;
45720 }
45721 _ACEOF
45722 if ac_fn_cxx_try_compile "$LINENO"; then :
45723 glibcxx_cv_func_float_trig_use=yes
45724 else
45725 glibcxx_cv_func_float_trig_use=no
45726 fi
45727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45728 ac_ext=c
45729 ac_cpp='$CPP $CPPFLAGS'
45730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733
45734 fi
45735
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45737 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45738 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45739 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45740 do :
45741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45743 eval as_val=\$$as_ac_var
45744 if test "x$as_val" = x""yes; then :
45745 cat >>confdefs.h <<_ACEOF
45746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45747 _ACEOF
45748
45749 fi
45750 done
45751
45752 else
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45754 $as_echo_n "checking for _float trig functions... " >&6; }
45755 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45758
45759
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45765
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45769 int
45770 main ()
45771 {
45772 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45773 ;
45774 return 0;
45775 }
45776 _ACEOF
45777 if ac_fn_cxx_try_compile "$LINENO"; then :
45778 glibcxx_cv_func__float_trig_use=yes
45779 else
45780 glibcxx_cv_func__float_trig_use=no
45781 fi
45782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45783 ac_ext=c
45784 ac_cpp='$CPP $CPPFLAGS'
45785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45788
45789 fi
45790
45791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45792 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45793 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45794 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45795 do :
45796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45798 eval as_val=\$$as_ac_var
45799 if test "x$as_val" = x""yes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45802 _ACEOF
45803
45804 fi
45805 done
45806
45807 fi
45808 fi
45809
45810
45811
45812
45813
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45815 $as_echo_n "checking for float round functions... " >&6; }
45816 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45817 $as_echo_n "(cached) " >&6
45818 else
45819
45820
45821 ac_ext=cpp
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45826
45827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45828 /* end confdefs.h. */
45829 #include <math.h>
45830 int
45831 main ()
45832 {
45833 ceilf (0); floorf (0);
45834 ;
45835 return 0;
45836 }
45837 _ACEOF
45838 if ac_fn_cxx_try_compile "$LINENO"; then :
45839 glibcxx_cv_func_float_round_use=yes
45840 else
45841 glibcxx_cv_func_float_round_use=no
45842 fi
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45849
45850 fi
45851
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45853 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45854 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45855 for ac_func in ceilf floorf
45856 do :
45857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45859 eval as_val=\$$as_ac_var
45860 if test "x$as_val" = x""yes; then :
45861 cat >>confdefs.h <<_ACEOF
45862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45863 _ACEOF
45864
45865 fi
45866 done
45867
45868 else
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45870 $as_echo_n "checking for _float round functions... " >&6; }
45871 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45872 $as_echo_n "(cached) " >&6
45873 else
45874
45875
45876 ac_ext=cpp
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45881
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45884 #include <math.h>
45885 int
45886 main ()
45887 {
45888 _ceilf (0); _floorf (0);
45889 ;
45890 return 0;
45891 }
45892 _ACEOF
45893 if ac_fn_cxx_try_compile "$LINENO"; then :
45894 glibcxx_cv_func__float_round_use=yes
45895 else
45896 glibcxx_cv_func__float_round_use=no
45897 fi
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 ac_ext=c
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45904
45905 fi
45906
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45908 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45909 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45910 for ac_func in _ceilf _floorf
45911 do :
45912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45914 eval as_val=\$$as_ac_var
45915 if test "x$as_val" = x""yes; then :
45916 cat >>confdefs.h <<_ACEOF
45917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45918 _ACEOF
45919
45920 fi
45921 done
45922
45923 fi
45924 fi
45925
45926
45927
45928
45929
45930
45931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45932 $as_echo_n "checking for expf declaration... " >&6; }
45933 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45934 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45935 $as_echo_n "(cached) " >&6
45936 else
45937
45938
45939 ac_ext=cpp
45940 ac_cpp='$CXXCPP $CPPFLAGS'
45941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45944
45945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h. */
45947 #include <math.h>
45948 #ifdef HAVE_IEEEFP_H
45949 #include <ieeefp.h>
45950 #endif
45951
45952 int
45953 main ()
45954 {
45955 expf(0);
45956 ;
45957 return 0;
45958 }
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func_expf_use=yes
45962 else
45963 glibcxx_cv_func_expf_use=no
45964 fi
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45971
45972
45973 fi
45974
45975 fi
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45977 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45978
45979 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45980 for ac_func in expf
45981 do :
45982 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45983 if test "x$ac_cv_func_expf" = x""yes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE_EXPF 1
45986 _ACEOF
45987
45988 fi
45989 done
45990
45991 else
45992
45993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45994 $as_echo_n "checking for _expf declaration... " >&6; }
45995 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45996 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45997 $as_echo_n "(cached) " >&6
45998 else
45999
46000
46001 ac_ext=cpp
46002 ac_cpp='$CXXCPP $CPPFLAGS'
46003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46006
46007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46008 /* end confdefs.h. */
46009 #include <math.h>
46010 #ifdef HAVE_IEEEFP_H
46011 #include <ieeefp.h>
46012 #endif
46013
46014 int
46015 main ()
46016 {
46017 _expf(0);
46018 ;
46019 return 0;
46020 }
46021 _ACEOF
46022 if ac_fn_cxx_try_compile "$LINENO"; then :
46023 glibcxx_cv_func__expf_use=yes
46024 else
46025 glibcxx_cv_func__expf_use=no
46026 fi
46027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46028 ac_ext=c
46029 ac_cpp='$CPP $CPPFLAGS'
46030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46033
46034
46035 fi
46036
46037 fi
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46039 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46040
46041 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46042 for ac_func in _expf
46043 do :
46044 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46045 if test "x$ac_cv_func__expf" = x""yes; then :
46046 cat >>confdefs.h <<_ACEOF
46047 #define HAVE__EXPF 1
46048 _ACEOF
46049
46050 fi
46051 done
46052
46053 fi
46054 fi
46055
46056
46057
46058
46059
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46061 $as_echo_n "checking for isnanf declaration... " >&6; }
46062 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46063 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46064 $as_echo_n "(cached) " >&6
46065 else
46066
46067
46068 ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073
46074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h. */
46076 #include <math.h>
46077 #ifdef HAVE_IEEEFP_H
46078 #include <ieeefp.h>
46079 #endif
46080
46081 int
46082 main ()
46083 {
46084 isnanf(0);
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func_isnanf_use=yes
46091 else
46092 glibcxx_cv_func_isnanf_use=no
46093 fi
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095 ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46100
46101
46102 fi
46103
46104 fi
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46106 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46107
46108 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46109 for ac_func in isnanf
46110 do :
46111 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46112 if test "x$ac_cv_func_isnanf" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE_ISNANF 1
46115 _ACEOF
46116
46117 fi
46118 done
46119
46120 else
46121
46122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46123 $as_echo_n "checking for _isnanf declaration... " >&6; }
46124 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46125 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46126 $as_echo_n "(cached) " >&6
46127 else
46128
46129
46130 ac_ext=cpp
46131 ac_cpp='$CXXCPP $CPPFLAGS'
46132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46135
46136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46137 /* end confdefs.h. */
46138 #include <math.h>
46139 #ifdef HAVE_IEEEFP_H
46140 #include <ieeefp.h>
46141 #endif
46142
46143 int
46144 main ()
46145 {
46146 _isnanf(0);
46147 ;
46148 return 0;
46149 }
46150 _ACEOF
46151 if ac_fn_cxx_try_compile "$LINENO"; then :
46152 glibcxx_cv_func__isnanf_use=yes
46153 else
46154 glibcxx_cv_func__isnanf_use=no
46155 fi
46156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46157 ac_ext=c
46158 ac_cpp='$CPP $CPPFLAGS'
46159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46162
46163
46164 fi
46165
46166 fi
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46168 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46169
46170 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46171 for ac_func in _isnanf
46172 do :
46173 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46174 if test "x$ac_cv_func__isnanf" = x""yes; then :
46175 cat >>confdefs.h <<_ACEOF
46176 #define HAVE__ISNANF 1
46177 _ACEOF
46178
46179 fi
46180 done
46181
46182 fi
46183 fi
46184
46185
46186
46187
46188
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46190 $as_echo_n "checking for isinff declaration... " >&6; }
46191 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46192 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46194 else
46195
46196
46197 ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 #include <math.h>
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46208 #endif
46209
46210 int
46211 main ()
46212 {
46213 isinff(0);
46214 ;
46215 return 0;
46216 }
46217 _ACEOF
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219 glibcxx_cv_func_isinff_use=yes
46220 else
46221 glibcxx_cv_func_isinff_use=no
46222 fi
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224 ac_ext=c
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46229
46230
46231 fi
46232
46233 fi
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46235 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46236
46237 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46238 for ac_func in isinff
46239 do :
46240 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46241 if test "x$ac_cv_func_isinff" = x""yes; then :
46242 cat >>confdefs.h <<_ACEOF
46243 #define HAVE_ISINFF 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249 else
46250
46251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46252 $as_echo_n "checking for _isinff declaration... " >&6; }
46253 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46254 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46255 $as_echo_n "(cached) " >&6
46256 else
46257
46258
46259 ac_ext=cpp
46260 ac_cpp='$CXXCPP $CPPFLAGS'
46261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46264
46265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46266 /* end confdefs.h. */
46267 #include <math.h>
46268 #ifdef HAVE_IEEEFP_H
46269 #include <ieeefp.h>
46270 #endif
46271
46272 int
46273 main ()
46274 {
46275 _isinff(0);
46276 ;
46277 return 0;
46278 }
46279 _ACEOF
46280 if ac_fn_cxx_try_compile "$LINENO"; then :
46281 glibcxx_cv_func__isinff_use=yes
46282 else
46283 glibcxx_cv_func__isinff_use=no
46284 fi
46285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46286 ac_ext=c
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46291
46292
46293 fi
46294
46295 fi
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46297 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46298
46299 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46300 for ac_func in _isinff
46301 do :
46302 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46303 if test "x$ac_cv_func__isinff" = x""yes; then :
46304 cat >>confdefs.h <<_ACEOF
46305 #define HAVE__ISINFF 1
46306 _ACEOF
46307
46308 fi
46309 done
46310
46311 fi
46312 fi
46313
46314
46315
46316
46317
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46319 $as_echo_n "checking for atan2f declaration... " >&6; }
46320 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46321 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46322 $as_echo_n "(cached) " >&6
46323 else
46324
46325
46326 ac_ext=cpp
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331
46332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46333 /* end confdefs.h. */
46334 #include <math.h>
46335 int
46336 main ()
46337 {
46338 atan2f(0, 0);
46339 ;
46340 return 0;
46341 }
46342 _ACEOF
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344 glibcxx_cv_func_atan2f_use=yes
46345 else
46346 glibcxx_cv_func_atan2f_use=no
46347 fi
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349 ac_ext=c
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46354
46355
46356 fi
46357
46358 fi
46359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46360 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46361
46362 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46363 for ac_func in atan2f
46364 do :
46365 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46366 if test "x$ac_cv_func_atan2f" = x""yes; then :
46367 cat >>confdefs.h <<_ACEOF
46368 #define HAVE_ATAN2F 1
46369 _ACEOF
46370
46371 fi
46372 done
46373
46374 else
46375
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46377 $as_echo_n "checking for _atan2f declaration... " >&6; }
46378 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46379 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46380 $as_echo_n "(cached) " >&6
46381 else
46382
46383
46384 ac_ext=cpp
46385 ac_cpp='$CXXCPP $CPPFLAGS'
46386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46389
46390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46391 /* end confdefs.h. */
46392 #include <math.h>
46393 int
46394 main ()
46395 {
46396 _atan2f(0, 0);
46397 ;
46398 return 0;
46399 }
46400 _ACEOF
46401 if ac_fn_cxx_try_compile "$LINENO"; then :
46402 glibcxx_cv_func__atan2f_use=yes
46403 else
46404 glibcxx_cv_func__atan2f_use=no
46405 fi
46406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407 ac_ext=c
46408 ac_cpp='$CPP $CPPFLAGS'
46409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46412
46413
46414 fi
46415
46416 fi
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46418 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46419
46420 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46421 for ac_func in _atan2f
46422 do :
46423 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46424 if test "x$ac_cv_func__atan2f" = x""yes; then :
46425 cat >>confdefs.h <<_ACEOF
46426 #define HAVE__ATAN2F 1
46427 _ACEOF
46428
46429 fi
46430 done
46431
46432 fi
46433 fi
46434
46435
46436
46437
46438
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46440 $as_echo_n "checking for fabsf declaration... " >&6; }
46441 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46442 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46443 $as_echo_n "(cached) " >&6
46444 else
46445
46446
46447 ac_ext=cpp
46448 ac_cpp='$CXXCPP $CPPFLAGS'
46449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46452
46453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46454 /* end confdefs.h. */
46455 #include <math.h>
46456 #ifdef HAVE_IEEEFP_H
46457 #include <ieeefp.h>
46458 #endif
46459
46460 int
46461 main ()
46462 {
46463 fabsf(0);
46464 ;
46465 return 0;
46466 }
46467 _ACEOF
46468 if ac_fn_cxx_try_compile "$LINENO"; then :
46469 glibcxx_cv_func_fabsf_use=yes
46470 else
46471 glibcxx_cv_func_fabsf_use=no
46472 fi
46473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46474 ac_ext=c
46475 ac_cpp='$CPP $CPPFLAGS'
46476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46479
46480
46481 fi
46482
46483 fi
46484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46485 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46486
46487 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46488 for ac_func in fabsf
46489 do :
46490 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46491 if test "x$ac_cv_func_fabsf" = x""yes; then :
46492 cat >>confdefs.h <<_ACEOF
46493 #define HAVE_FABSF 1
46494 _ACEOF
46495
46496 fi
46497 done
46498
46499 else
46500
46501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46502 $as_echo_n "checking for _fabsf declaration... " >&6; }
46503 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46504 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46505 $as_echo_n "(cached) " >&6
46506 else
46507
46508
46509 ac_ext=cpp
46510 ac_cpp='$CXXCPP $CPPFLAGS'
46511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46514
46515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46516 /* end confdefs.h. */
46517 #include <math.h>
46518 #ifdef HAVE_IEEEFP_H
46519 #include <ieeefp.h>
46520 #endif
46521
46522 int
46523 main ()
46524 {
46525 _fabsf(0);
46526 ;
46527 return 0;
46528 }
46529 _ACEOF
46530 if ac_fn_cxx_try_compile "$LINENO"; then :
46531 glibcxx_cv_func__fabsf_use=yes
46532 else
46533 glibcxx_cv_func__fabsf_use=no
46534 fi
46535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46536 ac_ext=c
46537 ac_cpp='$CPP $CPPFLAGS'
46538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541
46542
46543 fi
46544
46545 fi
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46547 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46548
46549 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46550 for ac_func in _fabsf
46551 do :
46552 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46553 if test "x$ac_cv_func__fabsf" = x""yes; then :
46554 cat >>confdefs.h <<_ACEOF
46555 #define HAVE__FABSF 1
46556 _ACEOF
46557
46558 fi
46559 done
46560
46561 fi
46562 fi
46563
46564
46565
46566
46567
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46569 $as_echo_n "checking for fmodf declaration... " >&6; }
46570 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46571 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46572 $as_echo_n "(cached) " >&6
46573 else
46574
46575
46576 ac_ext=cpp
46577 ac_cpp='$CXXCPP $CPPFLAGS'
46578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46581
46582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46583 /* end confdefs.h. */
46584 #include <math.h>
46585 int
46586 main ()
46587 {
46588 fmodf(0, 0);
46589 ;
46590 return 0;
46591 }
46592 _ACEOF
46593 if ac_fn_cxx_try_compile "$LINENO"; then :
46594 glibcxx_cv_func_fmodf_use=yes
46595 else
46596 glibcxx_cv_func_fmodf_use=no
46597 fi
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46599 ac_ext=c
46600 ac_cpp='$CPP $CPPFLAGS'
46601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46604
46605
46606 fi
46607
46608 fi
46609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46610 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46611
46612 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46613 for ac_func in fmodf
46614 do :
46615 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46616 if test "x$ac_cv_func_fmodf" = x""yes; then :
46617 cat >>confdefs.h <<_ACEOF
46618 #define HAVE_FMODF 1
46619 _ACEOF
46620
46621 fi
46622 done
46623
46624 else
46625
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46627 $as_echo_n "checking for _fmodf declaration... " >&6; }
46628 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46629 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46630 $as_echo_n "(cached) " >&6
46631 else
46632
46633
46634 ac_ext=cpp
46635 ac_cpp='$CXXCPP $CPPFLAGS'
46636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46639
46640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46641 /* end confdefs.h. */
46642 #include <math.h>
46643 int
46644 main ()
46645 {
46646 _fmodf(0, 0);
46647 ;
46648 return 0;
46649 }
46650 _ACEOF
46651 if ac_fn_cxx_try_compile "$LINENO"; then :
46652 glibcxx_cv_func__fmodf_use=yes
46653 else
46654 glibcxx_cv_func__fmodf_use=no
46655 fi
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662
46663
46664 fi
46665
46666 fi
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46668 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46669
46670 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46671 for ac_func in _fmodf
46672 do :
46673 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46674 if test "x$ac_cv_func__fmodf" = x""yes; then :
46675 cat >>confdefs.h <<_ACEOF
46676 #define HAVE__FMODF 1
46677 _ACEOF
46678
46679 fi
46680 done
46681
46682 fi
46683 fi
46684
46685
46686
46687
46688
46689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46690 $as_echo_n "checking for frexpf declaration... " >&6; }
46691 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46692 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46693 $as_echo_n "(cached) " >&6
46694 else
46695
46696
46697 ac_ext=cpp
46698 ac_cpp='$CXXCPP $CPPFLAGS'
46699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46702
46703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46704 /* end confdefs.h. */
46705 #include <math.h>
46706 int
46707 main ()
46708 {
46709 frexpf(0, 0);
46710 ;
46711 return 0;
46712 }
46713 _ACEOF
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715 glibcxx_cv_func_frexpf_use=yes
46716 else
46717 glibcxx_cv_func_frexpf_use=no
46718 fi
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46720 ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46725
46726
46727 fi
46728
46729 fi
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46731 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46732
46733 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46734 for ac_func in frexpf
46735 do :
46736 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46737 if test "x$ac_cv_func_frexpf" = x""yes; then :
46738 cat >>confdefs.h <<_ACEOF
46739 #define HAVE_FREXPF 1
46740 _ACEOF
46741
46742 fi
46743 done
46744
46745 else
46746
46747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46748 $as_echo_n "checking for _frexpf declaration... " >&6; }
46749 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46750 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46751 $as_echo_n "(cached) " >&6
46752 else
46753
46754
46755 ac_ext=cpp
46756 ac_cpp='$CXXCPP $CPPFLAGS'
46757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46760
46761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46762 /* end confdefs.h. */
46763 #include <math.h>
46764 int
46765 main ()
46766 {
46767 _frexpf(0, 0);
46768 ;
46769 return 0;
46770 }
46771 _ACEOF
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773 glibcxx_cv_func__frexpf_use=yes
46774 else
46775 glibcxx_cv_func__frexpf_use=no
46776 fi
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778 ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46783
46784
46785 fi
46786
46787 fi
46788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46789 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46790
46791 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46792 for ac_func in _frexpf
46793 do :
46794 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46795 if test "x$ac_cv_func__frexpf" = x""yes; then :
46796 cat >>confdefs.h <<_ACEOF
46797 #define HAVE__FREXPF 1
46798 _ACEOF
46799
46800 fi
46801 done
46802
46803 fi
46804 fi
46805
46806
46807
46808
46809
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46811 $as_echo_n "checking for hypotf declaration... " >&6; }
46812 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46813 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46816
46817
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46827 int
46828 main ()
46829 {
46830 hypotf(0, 0);
46831 ;
46832 return 0;
46833 }
46834 _ACEOF
46835 if ac_fn_cxx_try_compile "$LINENO"; then :
46836 glibcxx_cv_func_hypotf_use=yes
46837 else
46838 glibcxx_cv_func_hypotf_use=no
46839 fi
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841 ac_ext=c
46842 ac_cpp='$CPP $CPPFLAGS'
46843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46846
46847
46848 fi
46849
46850 fi
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46852 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46853
46854 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46855 for ac_func in hypotf
46856 do :
46857 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46858 if test "x$ac_cv_func_hypotf" = x""yes; then :
46859 cat >>confdefs.h <<_ACEOF
46860 #define HAVE_HYPOTF 1
46861 _ACEOF
46862
46863 fi
46864 done
46865
46866 else
46867
46868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46869 $as_echo_n "checking for _hypotf declaration... " >&6; }
46870 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46871 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46872 $as_echo_n "(cached) " >&6
46873 else
46874
46875
46876 ac_ext=cpp
46877 ac_cpp='$CXXCPP $CPPFLAGS'
46878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46881
46882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46883 /* end confdefs.h. */
46884 #include <math.h>
46885 int
46886 main ()
46887 {
46888 _hypotf(0, 0);
46889 ;
46890 return 0;
46891 }
46892 _ACEOF
46893 if ac_fn_cxx_try_compile "$LINENO"; then :
46894 glibcxx_cv_func__hypotf_use=yes
46895 else
46896 glibcxx_cv_func__hypotf_use=no
46897 fi
46898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46899 ac_ext=c
46900 ac_cpp='$CPP $CPPFLAGS'
46901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46904
46905
46906 fi
46907
46908 fi
46909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46910 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46911
46912 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46913 for ac_func in _hypotf
46914 do :
46915 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46916 if test "x$ac_cv_func__hypotf" = x""yes; then :
46917 cat >>confdefs.h <<_ACEOF
46918 #define HAVE__HYPOTF 1
46919 _ACEOF
46920
46921 fi
46922 done
46923
46924 fi
46925 fi
46926
46927
46928
46929
46930
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46932 $as_echo_n "checking for ldexpf declaration... " >&6; }
46933 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46934 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46937
46938
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46944
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <math.h>
46948 int
46949 main ()
46950 {
46951 ldexpf(0, 0);
46952 ;
46953 return 0;
46954 }
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func_ldexpf_use=yes
46958 else
46959 glibcxx_cv_func_ldexpf_use=no
46960 fi
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46967
46968
46969 fi
46970
46971 fi
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46973 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46974
46975 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46976 for ac_func in ldexpf
46977 do :
46978 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46979 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46980 cat >>confdefs.h <<_ACEOF
46981 #define HAVE_LDEXPF 1
46982 _ACEOF
46983
46984 fi
46985 done
46986
46987 else
46988
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46990 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46991 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46992 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46995
46996
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47002
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <math.h>
47006 int
47007 main ()
47008 {
47009 _ldexpf(0, 0);
47010 ;
47011 return 0;
47012 }
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func__ldexpf_use=yes
47016 else
47017 glibcxx_cv_func__ldexpf_use=no
47018 fi
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025
47026
47027 fi
47028
47029 fi
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47031 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47032
47033 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47034 for ac_func in _ldexpf
47035 do :
47036 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47037 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47038 cat >>confdefs.h <<_ACEOF
47039 #define HAVE__LDEXPF 1
47040 _ACEOF
47041
47042 fi
47043 done
47044
47045 fi
47046 fi
47047
47048
47049
47050
47051
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47053 $as_echo_n "checking for logf declaration... " >&6; }
47054 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47055 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47056 $as_echo_n "(cached) " >&6
47057 else
47058
47059
47060 ac_ext=cpp
47061 ac_cpp='$CXXCPP $CPPFLAGS'
47062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47065
47066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47067 /* end confdefs.h. */
47068 #include <math.h>
47069 #ifdef HAVE_IEEEFP_H
47070 #include <ieeefp.h>
47071 #endif
47072
47073 int
47074 main ()
47075 {
47076 logf(0);
47077 ;
47078 return 0;
47079 }
47080 _ACEOF
47081 if ac_fn_cxx_try_compile "$LINENO"; then :
47082 glibcxx_cv_func_logf_use=yes
47083 else
47084 glibcxx_cv_func_logf_use=no
47085 fi
47086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47087 ac_ext=c
47088 ac_cpp='$CPP $CPPFLAGS'
47089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47092
47093
47094 fi
47095
47096 fi
47097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47098 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47099
47100 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47101 for ac_func in logf
47102 do :
47103 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47104 if test "x$ac_cv_func_logf" = x""yes; then :
47105 cat >>confdefs.h <<_ACEOF
47106 #define HAVE_LOGF 1
47107 _ACEOF
47108
47109 fi
47110 done
47111
47112 else
47113
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47115 $as_echo_n "checking for _logf declaration... " >&6; }
47116 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47117 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47118 $as_echo_n "(cached) " >&6
47119 else
47120
47121
47122 ac_ext=cpp
47123 ac_cpp='$CXXCPP $CPPFLAGS'
47124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47127
47128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47129 /* end confdefs.h. */
47130 #include <math.h>
47131 #ifdef HAVE_IEEEFP_H
47132 #include <ieeefp.h>
47133 #endif
47134
47135 int
47136 main ()
47137 {
47138 _logf(0);
47139 ;
47140 return 0;
47141 }
47142 _ACEOF
47143 if ac_fn_cxx_try_compile "$LINENO"; then :
47144 glibcxx_cv_func__logf_use=yes
47145 else
47146 glibcxx_cv_func__logf_use=no
47147 fi
47148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47149 ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154
47155
47156 fi
47157
47158 fi
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47160 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47161
47162 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47163 for ac_func in _logf
47164 do :
47165 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47166 if test "x$ac_cv_func__logf" = x""yes; then :
47167 cat >>confdefs.h <<_ACEOF
47168 #define HAVE__LOGF 1
47169 _ACEOF
47170
47171 fi
47172 done
47173
47174 fi
47175 fi
47176
47177
47178
47179
47180
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47182 $as_echo_n "checking for log10f declaration... " >&6; }
47183 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47184 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47185 $as_echo_n "(cached) " >&6
47186 else
47187
47188
47189 ac_ext=cpp
47190 ac_cpp='$CXXCPP $CPPFLAGS'
47191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47194
47195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196 /* end confdefs.h. */
47197 #include <math.h>
47198 #ifdef HAVE_IEEEFP_H
47199 #include <ieeefp.h>
47200 #endif
47201
47202 int
47203 main ()
47204 {
47205 log10f(0);
47206 ;
47207 return 0;
47208 }
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_log10f_use=yes
47212 else
47213 glibcxx_cv_func_log10f_use=no
47214 fi
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222
47223 fi
47224
47225 fi
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47227 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47228
47229 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47230 for ac_func in log10f
47231 do :
47232 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47233 if test "x$ac_cv_func_log10f" = x""yes; then :
47234 cat >>confdefs.h <<_ACEOF
47235 #define HAVE_LOG10F 1
47236 _ACEOF
47237
47238 fi
47239 done
47240
47241 else
47242
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47244 $as_echo_n "checking for _log10f declaration... " >&6; }
47245 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47246 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47247 $as_echo_n "(cached) " >&6
47248 else
47249
47250
47251 ac_ext=cpp
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47256
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47259 #include <math.h>
47260 #ifdef HAVE_IEEEFP_H
47261 #include <ieeefp.h>
47262 #endif
47263
47264 int
47265 main ()
47266 {
47267 _log10f(0);
47268 ;
47269 return 0;
47270 }
47271 _ACEOF
47272 if ac_fn_cxx_try_compile "$LINENO"; then :
47273 glibcxx_cv_func__log10f_use=yes
47274 else
47275 glibcxx_cv_func__log10f_use=no
47276 fi
47277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47278 ac_ext=c
47279 ac_cpp='$CPP $CPPFLAGS'
47280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47283
47284
47285 fi
47286
47287 fi
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47289 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47290
47291 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47292 for ac_func in _log10f
47293 do :
47294 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47295 if test "x$ac_cv_func__log10f" = x""yes; then :
47296 cat >>confdefs.h <<_ACEOF
47297 #define HAVE__LOG10F 1
47298 _ACEOF
47299
47300 fi
47301 done
47302
47303 fi
47304 fi
47305
47306
47307
47308
47309
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47311 $as_echo_n "checking for modff declaration... " >&6; }
47312 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47313 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47314 $as_echo_n "(cached) " >&6
47315 else
47316
47317
47318 ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47323
47324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h. */
47326 #include <math.h>
47327 int
47328 main ()
47329 {
47330 modff(0, 0);
47331 ;
47332 return 0;
47333 }
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336 glibcxx_cv_func_modff_use=yes
47337 else
47338 glibcxx_cv_func_modff_use=no
47339 fi
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47346
47347
47348 fi
47349
47350 fi
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47352 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47353
47354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47355 for ac_func in modff
47356 do :
47357 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47358 if test "x$ac_cv_func_modff" = x""yes; then :
47359 cat >>confdefs.h <<_ACEOF
47360 #define HAVE_MODFF 1
47361 _ACEOF
47362
47363 fi
47364 done
47365
47366 else
47367
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47369 $as_echo_n "checking for _modff declaration... " >&6; }
47370 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47371 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47372 $as_echo_n "(cached) " >&6
47373 else
47374
47375
47376 ac_ext=cpp
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47381
47382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h. */
47384 #include <math.h>
47385 int
47386 main ()
47387 {
47388 _modff(0, 0);
47389 ;
47390 return 0;
47391 }
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func__modff_use=yes
47395 else
47396 glibcxx_cv_func__modff_use=no
47397 fi
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399 ac_ext=c
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47404
47405
47406 fi
47407
47408 fi
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47410 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47411
47412 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47413 for ac_func in _modff
47414 do :
47415 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47416 if test "x$ac_cv_func__modff" = x""yes; then :
47417 cat >>confdefs.h <<_ACEOF
47418 #define HAVE__MODFF 1
47419 _ACEOF
47420
47421 fi
47422 done
47423
47424 fi
47425 fi
47426
47427
47428
47429
47430
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47432 $as_echo_n "checking for modf declaration... " >&6; }
47433 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47434 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47437
47438
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47444
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47448 int
47449 main ()
47450 {
47451 modf(0, 0);
47452 ;
47453 return 0;
47454 }
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func_modf_use=yes
47458 else
47459 glibcxx_cv_func_modf_use=no
47460 fi
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462 ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47467
47468
47469 fi
47470
47471 fi
47472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47473 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47474
47475 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47476 for ac_func in modf
47477 do :
47478 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47479 if test "x$ac_cv_func_modf" = x""yes; then :
47480 cat >>confdefs.h <<_ACEOF
47481 #define HAVE_MODF 1
47482 _ACEOF
47483
47484 fi
47485 done
47486
47487 else
47488
47489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47490 $as_echo_n "checking for _modf declaration... " >&6; }
47491 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47492 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47493 $as_echo_n "(cached) " >&6
47494 else
47495
47496
47497 ac_ext=cpp
47498 ac_cpp='$CXXCPP $CPPFLAGS'
47499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47502
47503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47504 /* end confdefs.h. */
47505 #include <math.h>
47506 int
47507 main ()
47508 {
47509 _modf(0, 0);
47510 ;
47511 return 0;
47512 }
47513 _ACEOF
47514 if ac_fn_cxx_try_compile "$LINENO"; then :
47515 glibcxx_cv_func__modf_use=yes
47516 else
47517 glibcxx_cv_func__modf_use=no
47518 fi
47519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520 ac_ext=c
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47525
47526
47527 fi
47528
47529 fi
47530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47531 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47532
47533 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47534 for ac_func in _modf
47535 do :
47536 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47537 if test "x$ac_cv_func__modf" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define HAVE__MODF 1
47540 _ACEOF
47541
47542 fi
47543 done
47544
47545 fi
47546 fi
47547
47548
47549
47550
47551
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47553 $as_echo_n "checking for powf declaration... " >&6; }
47554 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47555 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47556 $as_echo_n "(cached) " >&6
47557 else
47558
47559
47560 ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565
47566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h. */
47568 #include <math.h>
47569 int
47570 main ()
47571 {
47572 powf(0, 0);
47573 ;
47574 return 0;
47575 }
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578 glibcxx_cv_func_powf_use=yes
47579 else
47580 glibcxx_cv_func_powf_use=no
47581 fi
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583 ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47588
47589
47590 fi
47591
47592 fi
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47594 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47595
47596 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47597 for ac_func in powf
47598 do :
47599 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47600 if test "x$ac_cv_func_powf" = x""yes; then :
47601 cat >>confdefs.h <<_ACEOF
47602 #define HAVE_POWF 1
47603 _ACEOF
47604
47605 fi
47606 done
47607
47608 else
47609
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47611 $as_echo_n "checking for _powf declaration... " >&6; }
47612 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47613 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47614 $as_echo_n "(cached) " >&6
47615 else
47616
47617
47618 ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47623
47624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h. */
47626 #include <math.h>
47627 int
47628 main ()
47629 {
47630 _powf(0, 0);
47631 ;
47632 return 0;
47633 }
47634 _ACEOF
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636 glibcxx_cv_func__powf_use=yes
47637 else
47638 glibcxx_cv_func__powf_use=no
47639 fi
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47641 ac_ext=c
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47646
47647
47648 fi
47649
47650 fi
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47652 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47653
47654 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47655 for ac_func in _powf
47656 do :
47657 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47658 if test "x$ac_cv_func__powf" = x""yes; then :
47659 cat >>confdefs.h <<_ACEOF
47660 #define HAVE__POWF 1
47661 _ACEOF
47662
47663 fi
47664 done
47665
47666 fi
47667 fi
47668
47669
47670
47671
47672
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47674 $as_echo_n "checking for sqrtf declaration... " >&6; }
47675 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47676 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47677 $as_echo_n "(cached) " >&6
47678 else
47679
47680
47681 ac_ext=cpp
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686
47687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h. */
47689 #include <math.h>
47690 #ifdef HAVE_IEEEFP_H
47691 #include <ieeefp.h>
47692 #endif
47693
47694 int
47695 main ()
47696 {
47697 sqrtf(0);
47698 ;
47699 return 0;
47700 }
47701 _ACEOF
47702 if ac_fn_cxx_try_compile "$LINENO"; then :
47703 glibcxx_cv_func_sqrtf_use=yes
47704 else
47705 glibcxx_cv_func_sqrtf_use=no
47706 fi
47707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47708 ac_ext=c
47709 ac_cpp='$CPP $CPPFLAGS'
47710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713
47714
47715 fi
47716
47717 fi
47718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47719 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47720
47721 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47722 for ac_func in sqrtf
47723 do :
47724 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47725 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47726 cat >>confdefs.h <<_ACEOF
47727 #define HAVE_SQRTF 1
47728 _ACEOF
47729
47730 fi
47731 done
47732
47733 else
47734
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47736 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47737 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47738 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47739 $as_echo_n "(cached) " >&6
47740 else
47741
47742
47743 ac_ext=cpp
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47748
47749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47750 /* end confdefs.h. */
47751 #include <math.h>
47752 #ifdef HAVE_IEEEFP_H
47753 #include <ieeefp.h>
47754 #endif
47755
47756 int
47757 main ()
47758 {
47759 _sqrtf(0);
47760 ;
47761 return 0;
47762 }
47763 _ACEOF
47764 if ac_fn_cxx_try_compile "$LINENO"; then :
47765 glibcxx_cv_func__sqrtf_use=yes
47766 else
47767 glibcxx_cv_func__sqrtf_use=no
47768 fi
47769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47770 ac_ext=c
47771 ac_cpp='$CPP $CPPFLAGS'
47772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47775
47776
47777 fi
47778
47779 fi
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47781 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47782
47783 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47784 for ac_func in _sqrtf
47785 do :
47786 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47787 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47788 cat >>confdefs.h <<_ACEOF
47789 #define HAVE__SQRTF 1
47790 _ACEOF
47791
47792 fi
47793 done
47794
47795 fi
47796 fi
47797
47798
47799
47800
47801
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47803 $as_echo_n "checking for sincosf declaration... " >&6; }
47804 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47805 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47806 $as_echo_n "(cached) " >&6
47807 else
47808
47809
47810 ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815
47816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h. */
47818 #include <math.h>
47819 int
47820 main ()
47821 {
47822 sincosf(0, 0, 0);
47823 ;
47824 return 0;
47825 }
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828 glibcxx_cv_func_sincosf_use=yes
47829 else
47830 glibcxx_cv_func_sincosf_use=no
47831 fi
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833 ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838
47839
47840 fi
47841
47842 fi
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47844 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47845
47846 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47847 for ac_func in sincosf
47848 do :
47849 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47850 if test "x$ac_cv_func_sincosf" = x""yes; then :
47851 cat >>confdefs.h <<_ACEOF
47852 #define HAVE_SINCOSF 1
47853 _ACEOF
47854
47855 fi
47856 done
47857
47858 else
47859
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47861 $as_echo_n "checking for _sincosf declaration... " >&6; }
47862 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47863 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47864 $as_echo_n "(cached) " >&6
47865 else
47866
47867
47868 ac_ext=cpp
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47873
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 #include <math.h>
47877 int
47878 main ()
47879 {
47880 _sincosf(0, 0, 0);
47881 ;
47882 return 0;
47883 }
47884 _ACEOF
47885 if ac_fn_cxx_try_compile "$LINENO"; then :
47886 glibcxx_cv_func__sincosf_use=yes
47887 else
47888 glibcxx_cv_func__sincosf_use=no
47889 fi
47890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47891 ac_ext=c
47892 ac_cpp='$CPP $CPPFLAGS'
47893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47896
47897
47898 fi
47899
47900 fi
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47902 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47903
47904 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47905 for ac_func in _sincosf
47906 do :
47907 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47908 if test "x$ac_cv_func__sincosf" = x""yes; then :
47909 cat >>confdefs.h <<_ACEOF
47910 #define HAVE__SINCOSF 1
47911 _ACEOF
47912
47913 fi
47914 done
47915
47916 fi
47917 fi
47918
47919
47920
47921
47922
47923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47924 $as_echo_n "checking for finitef declaration... " >&6; }
47925 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47926 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47927 $as_echo_n "(cached) " >&6
47928 else
47929
47930
47931 ac_ext=cpp
47932 ac_cpp='$CXXCPP $CPPFLAGS'
47933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47936
47937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47938 /* end confdefs.h. */
47939 #include <math.h>
47940 #ifdef HAVE_IEEEFP_H
47941 #include <ieeefp.h>
47942 #endif
47943
47944 int
47945 main ()
47946 {
47947 finitef(0);
47948 ;
47949 return 0;
47950 }
47951 _ACEOF
47952 if ac_fn_cxx_try_compile "$LINENO"; then :
47953 glibcxx_cv_func_finitef_use=yes
47954 else
47955 glibcxx_cv_func_finitef_use=no
47956 fi
47957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47958 ac_ext=c
47959 ac_cpp='$CPP $CPPFLAGS'
47960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47963
47964
47965 fi
47966
47967 fi
47968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47969 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47970
47971 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47972 for ac_func in finitef
47973 do :
47974 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47975 if test "x$ac_cv_func_finitef" = x""yes; then :
47976 cat >>confdefs.h <<_ACEOF
47977 #define HAVE_FINITEF 1
47978 _ACEOF
47979
47980 fi
47981 done
47982
47983 else
47984
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47986 $as_echo_n "checking for _finitef declaration... " >&6; }
47987 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47988 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47989 $as_echo_n "(cached) " >&6
47990 else
47991
47992
47993 ac_ext=cpp
47994 ac_cpp='$CXXCPP $CPPFLAGS'
47995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47998
47999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48000 /* end confdefs.h. */
48001 #include <math.h>
48002 #ifdef HAVE_IEEEFP_H
48003 #include <ieeefp.h>
48004 #endif
48005
48006 int
48007 main ()
48008 {
48009 _finitef(0);
48010 ;
48011 return 0;
48012 }
48013 _ACEOF
48014 if ac_fn_cxx_try_compile "$LINENO"; then :
48015 glibcxx_cv_func__finitef_use=yes
48016 else
48017 glibcxx_cv_func__finitef_use=no
48018 fi
48019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48020 ac_ext=c
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48025
48026
48027 fi
48028
48029 fi
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48031 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48032
48033 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48034 for ac_func in _finitef
48035 do :
48036 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48037 if test "x$ac_cv_func__finitef" = x""yes; then :
48038 cat >>confdefs.h <<_ACEOF
48039 #define HAVE__FINITEF 1
48040 _ACEOF
48041
48042 fi
48043 done
48044
48045 fi
48046 fi
48047
48048
48049
48050
48051
48052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48053 $as_echo_n "checking for long double trig functions... " >&6; }
48054 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48055 $as_echo_n "(cached) " >&6
48056 else
48057
48058
48059 ac_ext=cpp
48060 ac_cpp='$CXXCPP $CPPFLAGS'
48061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48064
48065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48066 /* end confdefs.h. */
48067 #include <math.h>
48068 int
48069 main ()
48070 {
48071 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48072 ;
48073 return 0;
48074 }
48075 _ACEOF
48076 if ac_fn_cxx_try_compile "$LINENO"; then :
48077 glibcxx_cv_func_long_double_trig_use=yes
48078 else
48079 glibcxx_cv_func_long_double_trig_use=no
48080 fi
48081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48082 ac_ext=c
48083 ac_cpp='$CPP $CPPFLAGS'
48084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48087
48088 fi
48089
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48091 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48092 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48093 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48094 do :
48095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48097 eval as_val=\$$as_ac_var
48098 if test "x$as_val" = x""yes; then :
48099 cat >>confdefs.h <<_ACEOF
48100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48101 _ACEOF
48102
48103 fi
48104 done
48105
48106 else
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48108 $as_echo_n "checking for _long double trig functions... " >&6; }
48109 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48111 else
48112
48113
48114 ac_ext=cpp
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48119
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48122 #include <math.h>
48123 int
48124 main ()
48125 {
48126 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48127 ;
48128 return 0;
48129 }
48130 _ACEOF
48131 if ac_fn_cxx_try_compile "$LINENO"; then :
48132 glibcxx_cv_func__long_double_trig_use=yes
48133 else
48134 glibcxx_cv_func__long_double_trig_use=no
48135 fi
48136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48137 ac_ext=c
48138 ac_cpp='$CPP $CPPFLAGS'
48139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48142
48143 fi
48144
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48146 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48147 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48148 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48149 do :
48150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48152 eval as_val=\$$as_ac_var
48153 if test "x$as_val" = x""yes; then :
48154 cat >>confdefs.h <<_ACEOF
48155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48156 _ACEOF
48157
48158 fi
48159 done
48160
48161 fi
48162 fi
48163
48164
48165
48166
48167
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48169 $as_echo_n "checking for long double round functions... " >&6; }
48170 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48171 $as_echo_n "(cached) " >&6
48172 else
48173
48174
48175 ac_ext=cpp
48176 ac_cpp='$CXXCPP $CPPFLAGS'
48177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48180
48181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48182 /* end confdefs.h. */
48183 #include <math.h>
48184 int
48185 main ()
48186 {
48187 ceill (0); floorl (0);
48188 ;
48189 return 0;
48190 }
48191 _ACEOF
48192 if ac_fn_cxx_try_compile "$LINENO"; then :
48193 glibcxx_cv_func_long_double_round_use=yes
48194 else
48195 glibcxx_cv_func_long_double_round_use=no
48196 fi
48197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48198 ac_ext=c
48199 ac_cpp='$CPP $CPPFLAGS'
48200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48203
48204 fi
48205
48206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48207 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48208 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48209 for ac_func in ceill floorl
48210 do :
48211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48213 eval as_val=\$$as_ac_var
48214 if test "x$as_val" = x""yes; then :
48215 cat >>confdefs.h <<_ACEOF
48216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48217 _ACEOF
48218
48219 fi
48220 done
48221
48222 else
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48224 $as_echo_n "checking for _long double round functions... " >&6; }
48225 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48226 $as_echo_n "(cached) " >&6
48227 else
48228
48229
48230 ac_ext=cpp
48231 ac_cpp='$CXXCPP $CPPFLAGS'
48232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48235
48236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48237 /* end confdefs.h. */
48238 #include <math.h>
48239 int
48240 main ()
48241 {
48242 _ceill (0); _floorl (0);
48243 ;
48244 return 0;
48245 }
48246 _ACEOF
48247 if ac_fn_cxx_try_compile "$LINENO"; then :
48248 glibcxx_cv_func__long_double_round_use=yes
48249 else
48250 glibcxx_cv_func__long_double_round_use=no
48251 fi
48252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48253 ac_ext=c
48254 ac_cpp='$CPP $CPPFLAGS'
48255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258
48259 fi
48260
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48262 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48263 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48264 for ac_func in _ceill _floorl
48265 do :
48266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48268 eval as_val=\$$as_ac_var
48269 if test "x$as_val" = x""yes; then :
48270 cat >>confdefs.h <<_ACEOF
48271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48272 _ACEOF
48273
48274 fi
48275 done
48276
48277 fi
48278 fi
48279
48280
48281
48282
48283
48284
48285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48286 $as_echo_n "checking for isnanl declaration... " >&6; }
48287 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48288 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48289 $as_echo_n "(cached) " >&6
48290 else
48291
48292
48293 ac_ext=cpp
48294 ac_cpp='$CXXCPP $CPPFLAGS'
48295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48298
48299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48300 /* end confdefs.h. */
48301 #include <math.h>
48302 #ifdef HAVE_IEEEFP_H
48303 #include <ieeefp.h>
48304 #endif
48305
48306 int
48307 main ()
48308 {
48309 isnanl(0);
48310 ;
48311 return 0;
48312 }
48313 _ACEOF
48314 if ac_fn_cxx_try_compile "$LINENO"; then :
48315 glibcxx_cv_func_isnanl_use=yes
48316 else
48317 glibcxx_cv_func_isnanl_use=no
48318 fi
48319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48320 ac_ext=c
48321 ac_cpp='$CPP $CPPFLAGS'
48322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48325
48326
48327 fi
48328
48329 fi
48330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48331 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48332
48333 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48334 for ac_func in isnanl
48335 do :
48336 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48337 if test "x$ac_cv_func_isnanl" = x""yes; then :
48338 cat >>confdefs.h <<_ACEOF
48339 #define HAVE_ISNANL 1
48340 _ACEOF
48341
48342 fi
48343 done
48344
48345 else
48346
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48348 $as_echo_n "checking for _isnanl declaration... " >&6; }
48349 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48350 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48351 $as_echo_n "(cached) " >&6
48352 else
48353
48354
48355 ac_ext=cpp
48356 ac_cpp='$CXXCPP $CPPFLAGS'
48357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48360
48361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48362 /* end confdefs.h. */
48363 #include <math.h>
48364 #ifdef HAVE_IEEEFP_H
48365 #include <ieeefp.h>
48366 #endif
48367
48368 int
48369 main ()
48370 {
48371 _isnanl(0);
48372 ;
48373 return 0;
48374 }
48375 _ACEOF
48376 if ac_fn_cxx_try_compile "$LINENO"; then :
48377 glibcxx_cv_func__isnanl_use=yes
48378 else
48379 glibcxx_cv_func__isnanl_use=no
48380 fi
48381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48382 ac_ext=c
48383 ac_cpp='$CPP $CPPFLAGS'
48384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48387
48388
48389 fi
48390
48391 fi
48392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48393 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48394
48395 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48396 for ac_func in _isnanl
48397 do :
48398 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48399 if test "x$ac_cv_func__isnanl" = x""yes; then :
48400 cat >>confdefs.h <<_ACEOF
48401 #define HAVE__ISNANL 1
48402 _ACEOF
48403
48404 fi
48405 done
48406
48407 fi
48408 fi
48409
48410
48411
48412
48413
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48415 $as_echo_n "checking for isinfl declaration... " >&6; }
48416 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48417 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48418 $as_echo_n "(cached) " >&6
48419 else
48420
48421
48422 ac_ext=cpp
48423 ac_cpp='$CXXCPP $CPPFLAGS'
48424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48427
48428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h. */
48430 #include <math.h>
48431 #ifdef HAVE_IEEEFP_H
48432 #include <ieeefp.h>
48433 #endif
48434
48435 int
48436 main ()
48437 {
48438 isinfl(0);
48439 ;
48440 return 0;
48441 }
48442 _ACEOF
48443 if ac_fn_cxx_try_compile "$LINENO"; then :
48444 glibcxx_cv_func_isinfl_use=yes
48445 else
48446 glibcxx_cv_func_isinfl_use=no
48447 fi
48448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48449 ac_ext=c
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48454
48455
48456 fi
48457
48458 fi
48459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48460 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48461
48462 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48463 for ac_func in isinfl
48464 do :
48465 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48466 if test "x$ac_cv_func_isinfl" = x""yes; then :
48467 cat >>confdefs.h <<_ACEOF
48468 #define HAVE_ISINFL 1
48469 _ACEOF
48470
48471 fi
48472 done
48473
48474 else
48475
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48477 $as_echo_n "checking for _isinfl declaration... " >&6; }
48478 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48479 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48480 $as_echo_n "(cached) " >&6
48481 else
48482
48483
48484 ac_ext=cpp
48485 ac_cpp='$CXXCPP $CPPFLAGS'
48486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48489
48490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48491 /* end confdefs.h. */
48492 #include <math.h>
48493 #ifdef HAVE_IEEEFP_H
48494 #include <ieeefp.h>
48495 #endif
48496
48497 int
48498 main ()
48499 {
48500 _isinfl(0);
48501 ;
48502 return 0;
48503 }
48504 _ACEOF
48505 if ac_fn_cxx_try_compile "$LINENO"; then :
48506 glibcxx_cv_func__isinfl_use=yes
48507 else
48508 glibcxx_cv_func__isinfl_use=no
48509 fi
48510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48511 ac_ext=c
48512 ac_cpp='$CPP $CPPFLAGS'
48513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48516
48517
48518 fi
48519
48520 fi
48521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48522 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48523
48524 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48525 for ac_func in _isinfl
48526 do :
48527 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48528 if test "x$ac_cv_func__isinfl" = x""yes; then :
48529 cat >>confdefs.h <<_ACEOF
48530 #define HAVE__ISINFL 1
48531 _ACEOF
48532
48533 fi
48534 done
48535
48536 fi
48537 fi
48538
48539
48540
48541
48542
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48544 $as_echo_n "checking for atan2l declaration... " >&6; }
48545 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48546 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48547 $as_echo_n "(cached) " >&6
48548 else
48549
48550
48551 ac_ext=cpp
48552 ac_cpp='$CXXCPP $CPPFLAGS'
48553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48556
48557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48558 /* end confdefs.h. */
48559 #include <math.h>
48560 int
48561 main ()
48562 {
48563 atan2l(0, 0);
48564 ;
48565 return 0;
48566 }
48567 _ACEOF
48568 if ac_fn_cxx_try_compile "$LINENO"; then :
48569 glibcxx_cv_func_atan2l_use=yes
48570 else
48571 glibcxx_cv_func_atan2l_use=no
48572 fi
48573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48574 ac_ext=c
48575 ac_cpp='$CPP $CPPFLAGS'
48576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48579
48580
48581 fi
48582
48583 fi
48584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48585 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48586
48587 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48588 for ac_func in atan2l
48589 do :
48590 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48591 if test "x$ac_cv_func_atan2l" = x""yes; then :
48592 cat >>confdefs.h <<_ACEOF
48593 #define HAVE_ATAN2L 1
48594 _ACEOF
48595
48596 fi
48597 done
48598
48599 else
48600
48601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48602 $as_echo_n "checking for _atan2l declaration... " >&6; }
48603 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48604 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48605 $as_echo_n "(cached) " >&6
48606 else
48607
48608
48609 ac_ext=cpp
48610 ac_cpp='$CXXCPP $CPPFLAGS'
48611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48614
48615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48616 /* end confdefs.h. */
48617 #include <math.h>
48618 int
48619 main ()
48620 {
48621 _atan2l(0, 0);
48622 ;
48623 return 0;
48624 }
48625 _ACEOF
48626 if ac_fn_cxx_try_compile "$LINENO"; then :
48627 glibcxx_cv_func__atan2l_use=yes
48628 else
48629 glibcxx_cv_func__atan2l_use=no
48630 fi
48631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48632 ac_ext=c
48633 ac_cpp='$CPP $CPPFLAGS'
48634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48637
48638
48639 fi
48640
48641 fi
48642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48643 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48644
48645 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48646 for ac_func in _atan2l
48647 do :
48648 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48649 if test "x$ac_cv_func__atan2l" = x""yes; then :
48650 cat >>confdefs.h <<_ACEOF
48651 #define HAVE__ATAN2L 1
48652 _ACEOF
48653
48654 fi
48655 done
48656
48657 fi
48658 fi
48659
48660
48661
48662
48663
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48665 $as_echo_n "checking for expl declaration... " >&6; }
48666 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48667 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48668 $as_echo_n "(cached) " >&6
48669 else
48670
48671
48672 ac_ext=cpp
48673 ac_cpp='$CXXCPP $CPPFLAGS'
48674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48677
48678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48679 /* end confdefs.h. */
48680 #include <math.h>
48681 #ifdef HAVE_IEEEFP_H
48682 #include <ieeefp.h>
48683 #endif
48684
48685 int
48686 main ()
48687 {
48688 expl(0);
48689 ;
48690 return 0;
48691 }
48692 _ACEOF
48693 if ac_fn_cxx_try_compile "$LINENO"; then :
48694 glibcxx_cv_func_expl_use=yes
48695 else
48696 glibcxx_cv_func_expl_use=no
48697 fi
48698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48699 ac_ext=c
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48704
48705
48706 fi
48707
48708 fi
48709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48710 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48711
48712 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48713 for ac_func in expl
48714 do :
48715 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48716 if test "x$ac_cv_func_expl" = x""yes; then :
48717 cat >>confdefs.h <<_ACEOF
48718 #define HAVE_EXPL 1
48719 _ACEOF
48720
48721 fi
48722 done
48723
48724 else
48725
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48727 $as_echo_n "checking for _expl declaration... " >&6; }
48728 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48729 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48730 $as_echo_n "(cached) " >&6
48731 else
48732
48733
48734 ac_ext=cpp
48735 ac_cpp='$CXXCPP $CPPFLAGS'
48736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48739
48740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48741 /* end confdefs.h. */
48742 #include <math.h>
48743 #ifdef HAVE_IEEEFP_H
48744 #include <ieeefp.h>
48745 #endif
48746
48747 int
48748 main ()
48749 {
48750 _expl(0);
48751 ;
48752 return 0;
48753 }
48754 _ACEOF
48755 if ac_fn_cxx_try_compile "$LINENO"; then :
48756 glibcxx_cv_func__expl_use=yes
48757 else
48758 glibcxx_cv_func__expl_use=no
48759 fi
48760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48761 ac_ext=c
48762 ac_cpp='$CPP $CPPFLAGS'
48763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48766
48767
48768 fi
48769
48770 fi
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48772 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48773
48774 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48775 for ac_func in _expl
48776 do :
48777 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48778 if test "x$ac_cv_func__expl" = x""yes; then :
48779 cat >>confdefs.h <<_ACEOF
48780 #define HAVE__EXPL 1
48781 _ACEOF
48782
48783 fi
48784 done
48785
48786 fi
48787 fi
48788
48789
48790
48791
48792
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48794 $as_echo_n "checking for fabsl declaration... " >&6; }
48795 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48796 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48797 $as_echo_n "(cached) " >&6
48798 else
48799
48800
48801 ac_ext=cpp
48802 ac_cpp='$CXXCPP $CPPFLAGS'
48803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48806
48807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48808 /* end confdefs.h. */
48809 #include <math.h>
48810 #ifdef HAVE_IEEEFP_H
48811 #include <ieeefp.h>
48812 #endif
48813
48814 int
48815 main ()
48816 {
48817 fabsl(0);
48818 ;
48819 return 0;
48820 }
48821 _ACEOF
48822 if ac_fn_cxx_try_compile "$LINENO"; then :
48823 glibcxx_cv_func_fabsl_use=yes
48824 else
48825 glibcxx_cv_func_fabsl_use=no
48826 fi
48827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48828 ac_ext=c
48829 ac_cpp='$CPP $CPPFLAGS'
48830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48833
48834
48835 fi
48836
48837 fi
48838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48839 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48840
48841 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48842 for ac_func in fabsl
48843 do :
48844 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48845 if test "x$ac_cv_func_fabsl" = x""yes; then :
48846 cat >>confdefs.h <<_ACEOF
48847 #define HAVE_FABSL 1
48848 _ACEOF
48849
48850 fi
48851 done
48852
48853 else
48854
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48856 $as_echo_n "checking for _fabsl declaration... " >&6; }
48857 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48858 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48859 $as_echo_n "(cached) " >&6
48860 else
48861
48862
48863 ac_ext=cpp
48864 ac_cpp='$CXXCPP $CPPFLAGS'
48865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48868
48869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48870 /* end confdefs.h. */
48871 #include <math.h>
48872 #ifdef HAVE_IEEEFP_H
48873 #include <ieeefp.h>
48874 #endif
48875
48876 int
48877 main ()
48878 {
48879 _fabsl(0);
48880 ;
48881 return 0;
48882 }
48883 _ACEOF
48884 if ac_fn_cxx_try_compile "$LINENO"; then :
48885 glibcxx_cv_func__fabsl_use=yes
48886 else
48887 glibcxx_cv_func__fabsl_use=no
48888 fi
48889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48890 ac_ext=c
48891 ac_cpp='$CPP $CPPFLAGS'
48892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48895
48896
48897 fi
48898
48899 fi
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48901 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48902
48903 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48904 for ac_func in _fabsl
48905 do :
48906 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48907 if test "x$ac_cv_func__fabsl" = x""yes; then :
48908 cat >>confdefs.h <<_ACEOF
48909 #define HAVE__FABSL 1
48910 _ACEOF
48911
48912 fi
48913 done
48914
48915 fi
48916 fi
48917
48918
48919
48920
48921
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48923 $as_echo_n "checking for fmodl declaration... " >&6; }
48924 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48925 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48926 $as_echo_n "(cached) " >&6
48927 else
48928
48929
48930 ac_ext=cpp
48931 ac_cpp='$CXXCPP $CPPFLAGS'
48932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48935
48936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48937 /* end confdefs.h. */
48938 #include <math.h>
48939 int
48940 main ()
48941 {
48942 fmodl(0, 0);
48943 ;
48944 return 0;
48945 }
48946 _ACEOF
48947 if ac_fn_cxx_try_compile "$LINENO"; then :
48948 glibcxx_cv_func_fmodl_use=yes
48949 else
48950 glibcxx_cv_func_fmodl_use=no
48951 fi
48952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48953 ac_ext=c
48954 ac_cpp='$CPP $CPPFLAGS'
48955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48958
48959
48960 fi
48961
48962 fi
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48964 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48965
48966 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48967 for ac_func in fmodl
48968 do :
48969 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48970 if test "x$ac_cv_func_fmodl" = x""yes; then :
48971 cat >>confdefs.h <<_ACEOF
48972 #define HAVE_FMODL 1
48973 _ACEOF
48974
48975 fi
48976 done
48977
48978 else
48979
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48981 $as_echo_n "checking for _fmodl declaration... " >&6; }
48982 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48983 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48984 $as_echo_n "(cached) " >&6
48985 else
48986
48987
48988 ac_ext=cpp
48989 ac_cpp='$CXXCPP $CPPFLAGS'
48990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48993
48994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48995 /* end confdefs.h. */
48996 #include <math.h>
48997 int
48998 main ()
48999 {
49000 _fmodl(0, 0);
49001 ;
49002 return 0;
49003 }
49004 _ACEOF
49005 if ac_fn_cxx_try_compile "$LINENO"; then :
49006 glibcxx_cv_func__fmodl_use=yes
49007 else
49008 glibcxx_cv_func__fmodl_use=no
49009 fi
49010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49011 ac_ext=c
49012 ac_cpp='$CPP $CPPFLAGS'
49013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49016
49017
49018 fi
49019
49020 fi
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49022 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49023
49024 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49025 for ac_func in _fmodl
49026 do :
49027 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49028 if test "x$ac_cv_func__fmodl" = x""yes; then :
49029 cat >>confdefs.h <<_ACEOF
49030 #define HAVE__FMODL 1
49031 _ACEOF
49032
49033 fi
49034 done
49035
49036 fi
49037 fi
49038
49039
49040
49041
49042
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49044 $as_echo_n "checking for frexpl declaration... " >&6; }
49045 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49046 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49047 $as_echo_n "(cached) " >&6
49048 else
49049
49050
49051 ac_ext=cpp
49052 ac_cpp='$CXXCPP $CPPFLAGS'
49053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49056
49057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49058 /* end confdefs.h. */
49059 #include <math.h>
49060 int
49061 main ()
49062 {
49063 frexpl(0, 0);
49064 ;
49065 return 0;
49066 }
49067 _ACEOF
49068 if ac_fn_cxx_try_compile "$LINENO"; then :
49069 glibcxx_cv_func_frexpl_use=yes
49070 else
49071 glibcxx_cv_func_frexpl_use=no
49072 fi
49073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49074 ac_ext=c
49075 ac_cpp='$CPP $CPPFLAGS'
49076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49079
49080
49081 fi
49082
49083 fi
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49085 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49086
49087 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49088 for ac_func in frexpl
49089 do :
49090 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49091 if test "x$ac_cv_func_frexpl" = x""yes; then :
49092 cat >>confdefs.h <<_ACEOF
49093 #define HAVE_FREXPL 1
49094 _ACEOF
49095
49096 fi
49097 done
49098
49099 else
49100
49101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49102 $as_echo_n "checking for _frexpl declaration... " >&6; }
49103 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49104 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49105 $as_echo_n "(cached) " >&6
49106 else
49107
49108
49109 ac_ext=cpp
49110 ac_cpp='$CXXCPP $CPPFLAGS'
49111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49114
49115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49116 /* end confdefs.h. */
49117 #include <math.h>
49118 int
49119 main ()
49120 {
49121 _frexpl(0, 0);
49122 ;
49123 return 0;
49124 }
49125 _ACEOF
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127 glibcxx_cv_func__frexpl_use=yes
49128 else
49129 glibcxx_cv_func__frexpl_use=no
49130 fi
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49132 ac_ext=c
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49137
49138
49139 fi
49140
49141 fi
49142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49143 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49144
49145 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49146 for ac_func in _frexpl
49147 do :
49148 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49149 if test "x$ac_cv_func__frexpl" = x""yes; then :
49150 cat >>confdefs.h <<_ACEOF
49151 #define HAVE__FREXPL 1
49152 _ACEOF
49153
49154 fi
49155 done
49156
49157 fi
49158 fi
49159
49160
49161
49162
49163
49164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49165 $as_echo_n "checking for hypotl declaration... " >&6; }
49166 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49167 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49168 $as_echo_n "(cached) " >&6
49169 else
49170
49171
49172 ac_ext=cpp
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49177
49178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h. */
49180 #include <math.h>
49181 int
49182 main ()
49183 {
49184 hypotl(0, 0);
49185 ;
49186 return 0;
49187 }
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190 glibcxx_cv_func_hypotl_use=yes
49191 else
49192 glibcxx_cv_func_hypotl_use=no
49193 fi
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195 ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49200
49201
49202 fi
49203
49204 fi
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49206 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49207
49208 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49209 for ac_func in hypotl
49210 do :
49211 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49212 if test "x$ac_cv_func_hypotl" = x""yes; then :
49213 cat >>confdefs.h <<_ACEOF
49214 #define HAVE_HYPOTL 1
49215 _ACEOF
49216
49217 fi
49218 done
49219
49220 else
49221
49222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49223 $as_echo_n "checking for _hypotl declaration... " >&6; }
49224 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49225 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49226 $as_echo_n "(cached) " >&6
49227 else
49228
49229
49230 ac_ext=cpp
49231 ac_cpp='$CXXCPP $CPPFLAGS'
49232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49235
49236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49237 /* end confdefs.h. */
49238 #include <math.h>
49239 int
49240 main ()
49241 {
49242 _hypotl(0, 0);
49243 ;
49244 return 0;
49245 }
49246 _ACEOF
49247 if ac_fn_cxx_try_compile "$LINENO"; then :
49248 glibcxx_cv_func__hypotl_use=yes
49249 else
49250 glibcxx_cv_func__hypotl_use=no
49251 fi
49252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49253 ac_ext=c
49254 ac_cpp='$CPP $CPPFLAGS'
49255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49258
49259
49260 fi
49261
49262 fi
49263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49264 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49265
49266 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49267 for ac_func in _hypotl
49268 do :
49269 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49270 if test "x$ac_cv_func__hypotl" = x""yes; then :
49271 cat >>confdefs.h <<_ACEOF
49272 #define HAVE__HYPOTL 1
49273 _ACEOF
49274
49275 fi
49276 done
49277
49278 fi
49279 fi
49280
49281
49282
49283
49284
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49286 $as_echo_n "checking for ldexpl declaration... " >&6; }
49287 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49288 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49289 $as_echo_n "(cached) " >&6
49290 else
49291
49292
49293 ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h. */
49301 #include <math.h>
49302 int
49303 main ()
49304 {
49305 ldexpl(0, 0);
49306 ;
49307 return 0;
49308 }
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311 glibcxx_cv_func_ldexpl_use=yes
49312 else
49313 glibcxx_cv_func_ldexpl_use=no
49314 fi
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316 ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49321
49322
49323 fi
49324
49325 fi
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49327 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49328
49329 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49330 for ac_func in ldexpl
49331 do :
49332 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49333 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49334 cat >>confdefs.h <<_ACEOF
49335 #define HAVE_LDEXPL 1
49336 _ACEOF
49337
49338 fi
49339 done
49340
49341 else
49342
49343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49344 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49345 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49346 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49347 $as_echo_n "(cached) " >&6
49348 else
49349
49350
49351 ac_ext=cpp
49352 ac_cpp='$CXXCPP $CPPFLAGS'
49353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49356
49357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49358 /* end confdefs.h. */
49359 #include <math.h>
49360 int
49361 main ()
49362 {
49363 _ldexpl(0, 0);
49364 ;
49365 return 0;
49366 }
49367 _ACEOF
49368 if ac_fn_cxx_try_compile "$LINENO"; then :
49369 glibcxx_cv_func__ldexpl_use=yes
49370 else
49371 glibcxx_cv_func__ldexpl_use=no
49372 fi
49373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49379
49380
49381 fi
49382
49383 fi
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49385 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49386
49387 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49388 for ac_func in _ldexpl
49389 do :
49390 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49391 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49392 cat >>confdefs.h <<_ACEOF
49393 #define HAVE__LDEXPL 1
49394 _ACEOF
49395
49396 fi
49397 done
49398
49399 fi
49400 fi
49401
49402
49403
49404
49405
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49407 $as_echo_n "checking for logl declaration... " >&6; }
49408 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49409 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49410 $as_echo_n "(cached) " >&6
49411 else
49412
49413
49414 ac_ext=cpp
49415 ac_cpp='$CXXCPP $CPPFLAGS'
49416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49419
49420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49421 /* end confdefs.h. */
49422 #include <math.h>
49423 #ifdef HAVE_IEEEFP_H
49424 #include <ieeefp.h>
49425 #endif
49426
49427 int
49428 main ()
49429 {
49430 logl(0);
49431 ;
49432 return 0;
49433 }
49434 _ACEOF
49435 if ac_fn_cxx_try_compile "$LINENO"; then :
49436 glibcxx_cv_func_logl_use=yes
49437 else
49438 glibcxx_cv_func_logl_use=no
49439 fi
49440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49441 ac_ext=c
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49446
49447
49448 fi
49449
49450 fi
49451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49452 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49453
49454 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49455 for ac_func in logl
49456 do :
49457 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49458 if test "x$ac_cv_func_logl" = x""yes; then :
49459 cat >>confdefs.h <<_ACEOF
49460 #define HAVE_LOGL 1
49461 _ACEOF
49462
49463 fi
49464 done
49465
49466 else
49467
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49469 $as_echo_n "checking for _logl declaration... " >&6; }
49470 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49471 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49472 $as_echo_n "(cached) " >&6
49473 else
49474
49475
49476 ac_ext=cpp
49477 ac_cpp='$CXXCPP $CPPFLAGS'
49478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49481
49482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49483 /* end confdefs.h. */
49484 #include <math.h>
49485 #ifdef HAVE_IEEEFP_H
49486 #include <ieeefp.h>
49487 #endif
49488
49489 int
49490 main ()
49491 {
49492 _logl(0);
49493 ;
49494 return 0;
49495 }
49496 _ACEOF
49497 if ac_fn_cxx_try_compile "$LINENO"; then :
49498 glibcxx_cv_func__logl_use=yes
49499 else
49500 glibcxx_cv_func__logl_use=no
49501 fi
49502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49503 ac_ext=c
49504 ac_cpp='$CPP $CPPFLAGS'
49505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49508
49509
49510 fi
49511
49512 fi
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49514 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49515
49516 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49517 for ac_func in _logl
49518 do :
49519 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49520 if test "x$ac_cv_func__logl" = x""yes; then :
49521 cat >>confdefs.h <<_ACEOF
49522 #define HAVE__LOGL 1
49523 _ACEOF
49524
49525 fi
49526 done
49527
49528 fi
49529 fi
49530
49531
49532
49533
49534
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49536 $as_echo_n "checking for log10l declaration... " >&6; }
49537 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49538 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49539 $as_echo_n "(cached) " >&6
49540 else
49541
49542
49543 ac_ext=cpp
49544 ac_cpp='$CXXCPP $CPPFLAGS'
49545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49548
49549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49550 /* end confdefs.h. */
49551 #include <math.h>
49552 #ifdef HAVE_IEEEFP_H
49553 #include <ieeefp.h>
49554 #endif
49555
49556 int
49557 main ()
49558 {
49559 log10l(0);
49560 ;
49561 return 0;
49562 }
49563 _ACEOF
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func_log10l_use=yes
49566 else
49567 glibcxx_cv_func_log10l_use=no
49568 fi
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570 ac_ext=c
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49575
49576
49577 fi
49578
49579 fi
49580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49581 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49582
49583 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49584 for ac_func in log10l
49585 do :
49586 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49587 if test "x$ac_cv_func_log10l" = x""yes; then :
49588 cat >>confdefs.h <<_ACEOF
49589 #define HAVE_LOG10L 1
49590 _ACEOF
49591
49592 fi
49593 done
49594
49595 else
49596
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49598 $as_echo_n "checking for _log10l declaration... " >&6; }
49599 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49600 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49601 $as_echo_n "(cached) " >&6
49602 else
49603
49604
49605 ac_ext=cpp
49606 ac_cpp='$CXXCPP $CPPFLAGS'
49607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49610
49611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49612 /* end confdefs.h. */
49613 #include <math.h>
49614 #ifdef HAVE_IEEEFP_H
49615 #include <ieeefp.h>
49616 #endif
49617
49618 int
49619 main ()
49620 {
49621 _log10l(0);
49622 ;
49623 return 0;
49624 }
49625 _ACEOF
49626 if ac_fn_cxx_try_compile "$LINENO"; then :
49627 glibcxx_cv_func__log10l_use=yes
49628 else
49629 glibcxx_cv_func__log10l_use=no
49630 fi
49631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49632 ac_ext=c
49633 ac_cpp='$CPP $CPPFLAGS'
49634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49637
49638
49639 fi
49640
49641 fi
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49643 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49644
49645 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49646 for ac_func in _log10l
49647 do :
49648 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49649 if test "x$ac_cv_func__log10l" = x""yes; then :
49650 cat >>confdefs.h <<_ACEOF
49651 #define HAVE__LOG10L 1
49652 _ACEOF
49653
49654 fi
49655 done
49656
49657 fi
49658 fi
49659
49660
49661
49662
49663
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49665 $as_echo_n "checking for modfl declaration... " >&6; }
49666 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49667 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49670
49671
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49681 int
49682 main ()
49683 {
49684 modfl(0, 0);
49685 ;
49686 return 0;
49687 }
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690 glibcxx_cv_func_modfl_use=yes
49691 else
49692 glibcxx_cv_func_modfl_use=no
49693 fi
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695 ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49700
49701
49702 fi
49703
49704 fi
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49706 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49707
49708 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49709 for ac_func in modfl
49710 do :
49711 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49712 if test "x$ac_cv_func_modfl" = x""yes; then :
49713 cat >>confdefs.h <<_ACEOF
49714 #define HAVE_MODFL 1
49715 _ACEOF
49716
49717 fi
49718 done
49719
49720 else
49721
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49723 $as_echo_n "checking for _modfl declaration... " >&6; }
49724 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49725 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49726 $as_echo_n "(cached) " >&6
49727 else
49728
49729
49730 ac_ext=cpp
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735
49736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h. */
49738 #include <math.h>
49739 int
49740 main ()
49741 {
49742 _modfl(0, 0);
49743 ;
49744 return 0;
49745 }
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func__modfl_use=yes
49749 else
49750 glibcxx_cv_func__modfl_use=no
49751 fi
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753 ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758
49759
49760 fi
49761
49762 fi
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49764 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49765
49766 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49767 for ac_func in _modfl
49768 do :
49769 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49770 if test "x$ac_cv_func__modfl" = x""yes; then :
49771 cat >>confdefs.h <<_ACEOF
49772 #define HAVE__MODFL 1
49773 _ACEOF
49774
49775 fi
49776 done
49777
49778 fi
49779 fi
49780
49781
49782
49783
49784
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49786 $as_echo_n "checking for powl declaration... " >&6; }
49787 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49788 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49791
49792
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49802 int
49803 main ()
49804 {
49805 powl(0, 0);
49806 ;
49807 return 0;
49808 }
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func_powl_use=yes
49812 else
49813 glibcxx_cv_func_powl_use=no
49814 fi
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816 ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49821
49822
49823 fi
49824
49825 fi
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49827 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49828
49829 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49830 for ac_func in powl
49831 do :
49832 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49833 if test "x$ac_cv_func_powl" = x""yes; then :
49834 cat >>confdefs.h <<_ACEOF
49835 #define HAVE_POWL 1
49836 _ACEOF
49837
49838 fi
49839 done
49840
49841 else
49842
49843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49844 $as_echo_n "checking for _powl declaration... " >&6; }
49845 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49846 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49847 $as_echo_n "(cached) " >&6
49848 else
49849
49850
49851 ac_ext=cpp
49852 ac_cpp='$CXXCPP $CPPFLAGS'
49853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49856
49857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49858 /* end confdefs.h. */
49859 #include <math.h>
49860 int
49861 main ()
49862 {
49863 _powl(0, 0);
49864 ;
49865 return 0;
49866 }
49867 _ACEOF
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869 glibcxx_cv_func__powl_use=yes
49870 else
49871 glibcxx_cv_func__powl_use=no
49872 fi
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49874 ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879
49880
49881 fi
49882
49883 fi
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49885 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49886
49887 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49888 for ac_func in _powl
49889 do :
49890 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49891 if test "x$ac_cv_func__powl" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define HAVE__POWL 1
49894 _ACEOF
49895
49896 fi
49897 done
49898
49899 fi
49900 fi
49901
49902
49903
49904
49905
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49907 $as_echo_n "checking for sqrtl declaration... " >&6; }
49908 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49909 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49910 $as_echo_n "(cached) " >&6
49911 else
49912
49913
49914 ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49925 #endif
49926
49927 int
49928 main ()
49929 {
49930 sqrtl(0);
49931 ;
49932 return 0;
49933 }
49934 _ACEOF
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func_sqrtl_use=yes
49937 else
49938 glibcxx_cv_func_sqrtl_use=no
49939 fi
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49941 ac_ext=c
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49946
49947
49948 fi
49949
49950 fi
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49952 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49953
49954 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49955 for ac_func in sqrtl
49956 do :
49957 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49958 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE_SQRTL 1
49961 _ACEOF
49962
49963 fi
49964 done
49965
49966 else
49967
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49969 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49970 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49971 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49972 $as_echo_n "(cached) " >&6
49973 else
49974
49975
49976 ac_ext=cpp
49977 ac_cpp='$CXXCPP $CPPFLAGS'
49978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49981
49982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49983 /* end confdefs.h. */
49984 #include <math.h>
49985 #ifdef HAVE_IEEEFP_H
49986 #include <ieeefp.h>
49987 #endif
49988
49989 int
49990 main ()
49991 {
49992 _sqrtl(0);
49993 ;
49994 return 0;
49995 }
49996 _ACEOF
49997 if ac_fn_cxx_try_compile "$LINENO"; then :
49998 glibcxx_cv_func__sqrtl_use=yes
49999 else
50000 glibcxx_cv_func__sqrtl_use=no
50001 fi
50002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50003 ac_ext=c
50004 ac_cpp='$CPP $CPPFLAGS'
50005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50008
50009
50010 fi
50011
50012 fi
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50014 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50015
50016 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50017 for ac_func in _sqrtl
50018 do :
50019 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50020 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50021 cat >>confdefs.h <<_ACEOF
50022 #define HAVE__SQRTL 1
50023 _ACEOF
50024
50025 fi
50026 done
50027
50028 fi
50029 fi
50030
50031
50032
50033
50034
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50036 $as_echo_n "checking for sincosl declaration... " >&6; }
50037 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50038 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50039 $as_echo_n "(cached) " >&6
50040 else
50041
50042
50043 ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50051 #include <math.h>
50052 int
50053 main ()
50054 {
50055 sincosl(0, 0, 0);
50056 ;
50057 return 0;
50058 }
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061 glibcxx_cv_func_sincosl_use=yes
50062 else
50063 glibcxx_cv_func_sincosl_use=no
50064 fi
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066 ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071
50072
50073 fi
50074
50075 fi
50076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50077 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50078
50079 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50080 for ac_func in sincosl
50081 do :
50082 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50083 if test "x$ac_cv_func_sincosl" = x""yes; then :
50084 cat >>confdefs.h <<_ACEOF
50085 #define HAVE_SINCOSL 1
50086 _ACEOF
50087
50088 fi
50089 done
50090
50091 else
50092
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50094 $as_echo_n "checking for _sincosl declaration... " >&6; }
50095 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50096 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50097 $as_echo_n "(cached) " >&6
50098 else
50099
50100
50101 ac_ext=cpp
50102 ac_cpp='$CXXCPP $CPPFLAGS'
50103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50106
50107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50108 /* end confdefs.h. */
50109 #include <math.h>
50110 int
50111 main ()
50112 {
50113 _sincosl(0, 0, 0);
50114 ;
50115 return 0;
50116 }
50117 _ACEOF
50118 if ac_fn_cxx_try_compile "$LINENO"; then :
50119 glibcxx_cv_func__sincosl_use=yes
50120 else
50121 glibcxx_cv_func__sincosl_use=no
50122 fi
50123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50124 ac_ext=c
50125 ac_cpp='$CPP $CPPFLAGS'
50126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50129
50130
50131 fi
50132
50133 fi
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50135 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50136
50137 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50138 for ac_func in _sincosl
50139 do :
50140 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50141 if test "x$ac_cv_func__sincosl" = x""yes; then :
50142 cat >>confdefs.h <<_ACEOF
50143 #define HAVE__SINCOSL 1
50144 _ACEOF
50145
50146 fi
50147 done
50148
50149 fi
50150 fi
50151
50152
50153
50154
50155
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50157 $as_echo_n "checking for finitel declaration... " >&6; }
50158 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50159 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50160 $as_echo_n "(cached) " >&6
50161 else
50162
50163
50164 ac_ext=cpp
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169
50170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h. */
50172 #include <math.h>
50173 #ifdef HAVE_IEEEFP_H
50174 #include <ieeefp.h>
50175 #endif
50176
50177 int
50178 main ()
50179 {
50180 finitel(0);
50181 ;
50182 return 0;
50183 }
50184 _ACEOF
50185 if ac_fn_cxx_try_compile "$LINENO"; then :
50186 glibcxx_cv_func_finitel_use=yes
50187 else
50188 glibcxx_cv_func_finitel_use=no
50189 fi
50190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50191 ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50196
50197
50198 fi
50199
50200 fi
50201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50202 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50203
50204 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50205 for ac_func in finitel
50206 do :
50207 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50208 if test "x$ac_cv_func_finitel" = x""yes; then :
50209 cat >>confdefs.h <<_ACEOF
50210 #define HAVE_FINITEL 1
50211 _ACEOF
50212
50213 fi
50214 done
50215
50216 else
50217
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50219 $as_echo_n "checking for _finitel declaration... " >&6; }
50220 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50221 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50222 $as_echo_n "(cached) " >&6
50223 else
50224
50225
50226 ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50231
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50234 #include <math.h>
50235 #ifdef HAVE_IEEEFP_H
50236 #include <ieeefp.h>
50237 #endif
50238
50239 int
50240 main ()
50241 {
50242 _finitel(0);
50243 ;
50244 return 0;
50245 }
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func__finitel_use=yes
50249 else
50250 glibcxx_cv_func__finitel_use=no
50251 fi
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253 ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50258
50259
50260 fi
50261
50262 fi
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50264 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50265
50266 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50267 for ac_func in _finitel
50268 do :
50269 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50270 if test "x$ac_cv_func__finitel" = x""yes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE__FINITEL 1
50273 _ACEOF
50274
50275 fi
50276 done
50277
50278 fi
50279 fi
50280
50281
50282
50283
50284 LIBS="$ac_save_LIBS"
50285 CXXFLAGS="$ac_save_CXXFLAGS"
50286
50287
50288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50289 ac_save_CXXFLAGS="$CXXFLAGS"
50290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50291
50292
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50294 $as_echo_n "checking for strtold declaration... " >&6; }
50295 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50296 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50297 $as_echo_n "(cached) " >&6
50298 else
50299
50300
50301 ac_ext=cpp
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50306
50307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h. */
50309 #include <stdlib.h>
50310 int
50311 main ()
50312 {
50313 strtold(0, 0);
50314 ;
50315 return 0;
50316 }
50317 _ACEOF
50318 if ac_fn_cxx_try_compile "$LINENO"; then :
50319 glibcxx_cv_func_strtold_use=yes
50320 else
50321 glibcxx_cv_func_strtold_use=no
50322 fi
50323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50324 ac_ext=c
50325 ac_cpp='$CPP $CPPFLAGS'
50326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50329
50330
50331 fi
50332
50333 fi
50334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50335 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50336 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50337 for ac_func in strtold
50338 do :
50339 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50340 if test "x$ac_cv_func_strtold" = x""yes; then :
50341 cat >>confdefs.h <<_ACEOF
50342 #define HAVE_STRTOLD 1
50343 _ACEOF
50344
50345 fi
50346 done
50347
50348 fi
50349
50350
50351
50352
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50354 $as_echo_n "checking for strtof declaration... " >&6; }
50355 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50356 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50357 $as_echo_n "(cached) " >&6
50358 else
50359
50360
50361 ac_ext=cpp
50362 ac_cpp='$CXXCPP $CPPFLAGS'
50363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366
50367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50368 /* end confdefs.h. */
50369 #include <stdlib.h>
50370 int
50371 main ()
50372 {
50373 strtof(0, 0);
50374 ;
50375 return 0;
50376 }
50377 _ACEOF
50378 if ac_fn_cxx_try_compile "$LINENO"; then :
50379 glibcxx_cv_func_strtof_use=yes
50380 else
50381 glibcxx_cv_func_strtof_use=no
50382 fi
50383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50384 ac_ext=c
50385 ac_cpp='$CPP $CPPFLAGS'
50386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50389
50390
50391 fi
50392
50393 fi
50394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50395 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50396 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50397 for ac_func in strtof
50398 do :
50399 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50400 if test "x$ac_cv_func_strtof" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE_STRTOF 1
50403 _ACEOF
50404
50405 fi
50406 done
50407
50408 fi
50409
50410
50411
50412
50413 CXXFLAGS="$ac_save_CXXFLAGS"
50414
50415 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50416
50417
50418
50419 # Check whether --enable-tls was given.
50420 if test "${enable_tls+set}" = set; then :
50421 enableval=$enable_tls;
50422 case "$enableval" in
50423 yes|no) ;;
50424 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50425 esac
50426
50427 else
50428 enable_tls=yes
50429 fi
50430
50431
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50433 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50434 if test "${gcc_cv_have_tls+set}" = set; then :
50435 $as_echo_n "(cached) " >&6
50436 else
50437
50438 if test "$cross_compiling" = yes; then :
50439 if test x$gcc_no_link = xyes; then
50440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50441 fi
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50444 __thread int a; int b; int main() { return a = b; }
50445 _ACEOF
50446 if ac_fn_c_try_link "$LINENO"; then :
50447 chktls_save_LDFLAGS="$LDFLAGS"
50448 case $host in
50449 *-*-linux*)
50450 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50451 ;;
50452 esac
50453 chktls_save_CFLAGS="$CFLAGS"
50454 CFLAGS="-fPIC $CFLAGS"
50455 if test x$gcc_no_link = xyes; then
50456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50457 fi
50458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h. */
50460 int f() { return 0; }
50461 _ACEOF
50462 if ac_fn_c_try_link "$LINENO"; then :
50463 if test x$gcc_no_link = xyes; then
50464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50465 fi
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 __thread int a; int b; int f() { return a = b; }
50469 _ACEOF
50470 if ac_fn_c_try_link "$LINENO"; then :
50471 gcc_cv_have_tls=yes
50472 else
50473 gcc_cv_have_tls=no
50474 fi
50475 rm -f core conftest.err conftest.$ac_objext \
50476 conftest$ac_exeext conftest.$ac_ext
50477 else
50478 gcc_cv_have_tls=yes
50479 fi
50480 rm -f core conftest.err conftest.$ac_objext \
50481 conftest$ac_exeext conftest.$ac_ext
50482 CFLAGS="$chktls_save_CFLAGS"
50483 LDFLAGS="$chktls_save_LDFLAGS"
50484 else
50485 gcc_cv_have_tls=no
50486 fi
50487 rm -f core conftest.err conftest.$ac_objext \
50488 conftest$ac_exeext conftest.$ac_ext
50489
50490
50491 else
50492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50493 /* end confdefs.h. */
50494 __thread int a; int b; int main() { return a = b; }
50495 _ACEOF
50496 if ac_fn_c_try_run "$LINENO"; then :
50497 chktls_save_LDFLAGS="$LDFLAGS"
50498 LDFLAGS="-static $LDFLAGS"
50499 if test x$gcc_no_link = xyes; then
50500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50501 fi
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 int main() { return 0; }
50505 _ACEOF
50506 if ac_fn_c_try_link "$LINENO"; then :
50507 if test "$cross_compiling" = yes; then :
50508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50510 as_fn_error "cannot run test program while cross compiling
50511 See \`config.log' for more details." "$LINENO" 5; }
50512 else
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 __thread int a; int b; int main() { return a = b; }
50516 _ACEOF
50517 if ac_fn_c_try_run "$LINENO"; then :
50518 gcc_cv_have_tls=yes
50519 else
50520 gcc_cv_have_tls=no
50521 fi
50522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50523 conftest.$ac_objext conftest.beam conftest.$ac_ext
50524 fi
50525
50526 else
50527 gcc_cv_have_tls=yes
50528 fi
50529 rm -f core conftest.err conftest.$ac_objext \
50530 conftest$ac_exeext conftest.$ac_ext
50531 LDFLAGS="$chktls_save_LDFLAGS"
50532 if test $gcc_cv_have_tls = yes; then
50533 chktls_save_CFLAGS="$CFLAGS"
50534 thread_CFLAGS=failed
50535 for flag in '' '-pthread' '-lpthread'; do
50536 CFLAGS="$flag $chktls_save_CFLAGS"
50537 if test x$gcc_no_link = xyes; then
50538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50539 fi
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <pthread.h>
50543 void *g(void *d) { return NULL; }
50544 int
50545 main ()
50546 {
50547 pthread_t t; pthread_create(&t,NULL,g,NULL);
50548 ;
50549 return 0;
50550 }
50551 _ACEOF
50552 if ac_fn_c_try_link "$LINENO"; then :
50553 thread_CFLAGS="$flag"
50554 fi
50555 rm -f core conftest.err conftest.$ac_objext \
50556 conftest$ac_exeext conftest.$ac_ext
50557 if test "X$thread_CFLAGS" != Xfailed; then
50558 break
50559 fi
50560 done
50561 CFLAGS="$chktls_save_CFLAGS"
50562 if test "X$thread_CFLAGS" != Xfailed; then
50563 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50564 if test "$cross_compiling" = yes; then :
50565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50567 as_fn_error "cannot run test program while cross compiling
50568 See \`config.log' for more details." "$LINENO" 5; }
50569 else
50570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50571 /* end confdefs.h. */
50572 #include <pthread.h>
50573 __thread int a;
50574 static int *volatile a_in_other_thread;
50575 static void *
50576 thread_func (void *arg)
50577 {
50578 a_in_other_thread = &a;
50579 return (void *)0;
50580 }
50581 int
50582 main ()
50583 {
50584 pthread_t thread;
50585 void *thread_retval;
50586 int *volatile a_in_main_thread;
50587 a_in_main_thread = &a;
50588 if (pthread_create (&thread, (pthread_attr_t *)0,
50589 thread_func, (void *)0))
50590 return 0;
50591 if (pthread_join (thread, &thread_retval))
50592 return 0;
50593 return (a_in_other_thread == a_in_main_thread);
50594 ;
50595 return 0;
50596 }
50597 _ACEOF
50598 if ac_fn_c_try_run "$LINENO"; then :
50599 gcc_cv_have_tls=yes
50600 else
50601 gcc_cv_have_tls=no
50602 fi
50603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50604 conftest.$ac_objext conftest.beam conftest.$ac_ext
50605 fi
50606
50607 CFLAGS="$chktls_save_CFLAGS"
50608 fi
50609 fi
50610 else
50611 gcc_cv_have_tls=no
50612 fi
50613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50614 conftest.$ac_objext conftest.beam conftest.$ac_ext
50615 fi
50616
50617 fi
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50619 $as_echo "$gcc_cv_have_tls" >&6; }
50620 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50621
50622 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50623
50624 fi
50625
50626
50627
50628
50629
50630 am_save_CPPFLAGS="$CPPFLAGS"
50631
50632 for element in $INCICONV; do
50633 haveit=
50634 for x in $CPPFLAGS; do
50635
50636 acl_save_prefix="$prefix"
50637 prefix="$acl_final_prefix"
50638 acl_save_exec_prefix="$exec_prefix"
50639 exec_prefix="$acl_final_exec_prefix"
50640 eval x=\"$x\"
50641 exec_prefix="$acl_save_exec_prefix"
50642 prefix="$acl_save_prefix"
50643
50644 if test "X$x" = "X$element"; then
50645 haveit=yes
50646 break
50647 fi
50648 done
50649 if test -z "$haveit"; then
50650 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50651 fi
50652 done
50653
50654
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50656 $as_echo_n "checking for iconv... " >&6; }
50657 if test "${am_cv_func_iconv+set}" = set; then :
50658 $as_echo_n "(cached) " >&6
50659 else
50660
50661 am_cv_func_iconv="no, consider installing GNU libiconv"
50662 am_cv_lib_iconv=no
50663 if test x$gcc_no_link = xyes; then
50664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50665 fi
50666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50667 /* end confdefs.h. */
50668 #include <stdlib.h>
50669 #include <iconv.h>
50670 int
50671 main ()
50672 {
50673 iconv_t cd = iconv_open("","");
50674 iconv(cd,NULL,NULL,NULL,NULL);
50675 iconv_close(cd);
50676 ;
50677 return 0;
50678 }
50679 _ACEOF
50680 if ac_fn_c_try_link "$LINENO"; then :
50681 am_cv_func_iconv=yes
50682 fi
50683 rm -f core conftest.err conftest.$ac_objext \
50684 conftest$ac_exeext conftest.$ac_ext
50685 if test "$am_cv_func_iconv" != yes; then
50686 am_save_LIBS="$LIBS"
50687 LIBS="$LIBS $LIBICONV"
50688 if test x$gcc_no_link = xyes; then
50689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50690 fi
50691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50692 /* end confdefs.h. */
50693 #include <stdlib.h>
50694 #include <iconv.h>
50695 int
50696 main ()
50697 {
50698 iconv_t cd = iconv_open("","");
50699 iconv(cd,NULL,NULL,NULL,NULL);
50700 iconv_close(cd);
50701 ;
50702 return 0;
50703 }
50704 _ACEOF
50705 if ac_fn_c_try_link "$LINENO"; then :
50706 am_cv_lib_iconv=yes
50707 am_cv_func_iconv=yes
50708 fi
50709 rm -f core conftest.err conftest.$ac_objext \
50710 conftest$ac_exeext conftest.$ac_ext
50711 LIBS="$am_save_LIBS"
50712 fi
50713
50714 fi
50715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50716 $as_echo "$am_cv_func_iconv" >&6; }
50717 if test "$am_cv_func_iconv" = yes; then
50718
50719 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50720
50721 fi
50722 if test "$am_cv_lib_iconv" = yes; then
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50724 $as_echo_n "checking how to link with libiconv... " >&6; }
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50726 $as_echo "$LIBICONV" >&6; }
50727 else
50728 CPPFLAGS="$am_save_CPPFLAGS"
50729 LIBICONV=
50730 LTLIBICONV=
50731 fi
50732
50733
50734
50735 if test "$am_cv_func_iconv" = yes; then
50736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50737 $as_echo_n "checking for iconv declaration... " >&6; }
50738 if test "${am_cv_proto_iconv+set}" = set; then :
50739 $as_echo_n "(cached) " >&6
50740 else
50741
50742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50743 /* end confdefs.h. */
50744
50745 #include <stdlib.h>
50746 #include <iconv.h>
50747 extern
50748 #ifdef __cplusplus
50749 "C"
50750 #endif
50751 #if defined(__STDC__) || defined(__cplusplus)
50752 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50753 #else
50754 size_t iconv();
50755 #endif
50756
50757 int
50758 main ()
50759 {
50760
50761 ;
50762 return 0;
50763 }
50764 _ACEOF
50765 if ac_fn_c_try_compile "$LINENO"; then :
50766 am_cv_proto_iconv_arg1=""
50767 else
50768 am_cv_proto_iconv_arg1="const"
50769 fi
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771 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);"
50772 fi
50773
50774 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50776 }$am_cv_proto_iconv" >&5
50777 $as_echo "${ac_t:-
50778 }$am_cv_proto_iconv" >&6; }
50779
50780 cat >>confdefs.h <<_ACEOF
50781 #define ICONV_CONST $am_cv_proto_iconv_arg1
50782 _ACEOF
50783
50784 fi
50785
50786 ;;
50787 *-mingw32*)
50788
50789 # If we're not using GNU ld, then there's no point in even trying these
50790 # tests. Check for that first. We should have already tested for gld
50791 # by now (in libtool), but require it now just to be safe...
50792 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50793 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50794
50795
50796
50797 # The name set by libtool depends on the version of libtool. Shame on us
50798 # for depending on an impl detail, but c'est la vie. Older versions used
50799 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50800 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50801 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50802 # set (hence we're using an older libtool), then set it.
50803 if test x${with_gnu_ld+set} != xset; then
50804 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50805 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50806 with_gnu_ld=no
50807 else
50808 with_gnu_ld=$ac_cv_prog_gnu_ld
50809 fi
50810 fi
50811
50812 # Start by getting the version number. I think the libtool test already
50813 # does some of this, but throws away the result.
50814 glibcxx_ld_is_gold=no
50815 if test x"$with_gnu_ld" = x"yes"; then
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50817 $as_echo_n "checking for ld version... " >&6; }
50818
50819 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50820 glibcxx_ld_is_gold=yes
50821 fi
50822 ldver=`$LD --version 2>/dev/null |
50823 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'`
50824
50825 glibcxx_gnu_ld_version=`echo $ldver | \
50826 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50828 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50829 fi
50830
50831 # Set --gc-sections.
50832 glibcxx_have_gc_sections=no
50833 if test "$glibcxx_ld_is_gold" = "yes"; then
50834 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50835 glibcxx_have_gc_sections=yes
50836 fi
50837 else
50838 glibcxx_gcsections_min_ld=21602
50839 if test x"$with_gnu_ld" = x"yes" &&
50840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50841 glibcxx_have_gc_sections=yes
50842 fi
50843 fi
50844 if test "$glibcxx_have_gc_sections" = "yes"; then
50845 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50846 # NB: This flag only works reliably after 2.16.1. Configure tests
50847 # for this are difficult, so hard wire a value that should work.
50848
50849 ac_test_CFLAGS="${CFLAGS+set}"
50850 ac_save_CFLAGS="$CFLAGS"
50851 CFLAGS='-Wl,--gc-sections'
50852
50853 # Check for -Wl,--gc-sections
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50855 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50856 if test x$gcc_no_link = xyes; then
50857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50858 fi
50859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50860 /* end confdefs.h. */
50861 int one(void) { return 1; }
50862 int two(void) { return 2; }
50863
50864 int
50865 main ()
50866 {
50867 two();
50868 ;
50869 return 0;
50870 }
50871 _ACEOF
50872 if ac_fn_c_try_link "$LINENO"; then :
50873 ac_gcsections=yes
50874 else
50875 ac_gcsections=no
50876 fi
50877 rm -f core conftest.err conftest.$ac_objext \
50878 conftest$ac_exeext conftest.$ac_ext
50879 if test "$ac_gcsections" = "yes"; then
50880 rm -f conftest.c
50881 touch conftest.c
50882 if $CC -c conftest.c; then
50883 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50884 grep "Warning: gc-sections option ignored" > /dev/null; then
50885 ac_gcsections=no
50886 fi
50887 fi
50888 rm -f conftest.c conftest.o conftest
50889 fi
50890 if test "$ac_gcsections" = "yes"; then
50891 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50892 fi
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50894 $as_echo "$ac_gcsections" >&6; }
50895
50896 if test "$ac_test_CFLAGS" = set; then
50897 CFLAGS="$ac_save_CFLAGS"
50898 else
50899 # this is the suspicious part
50900 CFLAGS=''
50901 fi
50902 fi
50903
50904 # Set -z,relro.
50905 # Note this is only for shared objects.
50906 ac_ld_relro=no
50907 if test x"$with_gnu_ld" = x"yes"; then
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50909 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50910 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50911 if test -n "$cxx_z_relo"; then
50912 OPT_LDFLAGS="-Wl,-z,relro"
50913 ac_ld_relro=yes
50914 fi
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50916 $as_echo "$ac_ld_relro" >&6; }
50917 fi
50918
50919 # Set linker optimization flags.
50920 if test x"$with_gnu_ld" = x"yes"; then
50921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50922 fi
50923
50924
50925
50926
50927
50928 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50929 ac_save_CXXFLAGS="$CXXFLAGS"
50930 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50931
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50933 $as_echo_n "checking for sin in -lm... " >&6; }
50934 if test "${ac_cv_lib_m_sin+set}" = set; then :
50935 $as_echo_n "(cached) " >&6
50936 else
50937 ac_check_lib_save_LIBS=$LIBS
50938 LIBS="-lm $LIBS"
50939 if test x$gcc_no_link = xyes; then
50940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50941 fi
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50944
50945 /* Override any GCC internal prototype to avoid an error.
50946 Use char because int might match the return type of a GCC
50947 builtin and then its argument prototype would still apply. */
50948 #ifdef __cplusplus
50949 extern "C"
50950 #endif
50951 char sin ();
50952 int
50953 main ()
50954 {
50955 return sin ();
50956 ;
50957 return 0;
50958 }
50959 _ACEOF
50960 if ac_fn_c_try_link "$LINENO"; then :
50961 ac_cv_lib_m_sin=yes
50962 else
50963 ac_cv_lib_m_sin=no
50964 fi
50965 rm -f core conftest.err conftest.$ac_objext \
50966 conftest$ac_exeext conftest.$ac_ext
50967 LIBS=$ac_check_lib_save_LIBS
50968 fi
50969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50970 $as_echo "$ac_cv_lib_m_sin" >&6; }
50971 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50972 libm="-lm"
50973 fi
50974
50975 ac_save_LIBS="$LIBS"
50976 LIBS="$LIBS $libm"
50977
50978
50979
50980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50981 $as_echo_n "checking for isinf declaration... " >&6; }
50982 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50983 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50984 $as_echo_n "(cached) " >&6
50985 else
50986
50987
50988 ac_ext=cpp
50989 ac_cpp='$CXXCPP $CPPFLAGS'
50990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50993
50994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50995 /* end confdefs.h. */
50996 #include <math.h>
50997 #ifdef HAVE_IEEEFP_H
50998 #include <ieeefp.h>
50999 #endif
51000
51001 int
51002 main ()
51003 {
51004 isinf(0);
51005 ;
51006 return 0;
51007 }
51008 _ACEOF
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_isinf_use=yes
51011 else
51012 glibcxx_cv_func_isinf_use=no
51013 fi
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51015 ac_ext=c
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51020
51021
51022 fi
51023
51024 fi
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51026 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51027
51028 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51029 for ac_func in isinf
51030 do :
51031 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51032 if test "x$ac_cv_func_isinf" = x""yes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_ISINF 1
51035 _ACEOF
51036
51037 fi
51038 done
51039
51040 else
51041
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51043 $as_echo_n "checking for _isinf declaration... " >&6; }
51044 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51045 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51048
51049
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51059 #ifdef HAVE_IEEEFP_H
51060 #include <ieeefp.h>
51061 #endif
51062
51063 int
51064 main ()
51065 {
51066 _isinf(0);
51067 ;
51068 return 0;
51069 }
51070 _ACEOF
51071 if ac_fn_cxx_try_compile "$LINENO"; then :
51072 glibcxx_cv_func__isinf_use=yes
51073 else
51074 glibcxx_cv_func__isinf_use=no
51075 fi
51076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51077 ac_ext=c
51078 ac_cpp='$CPP $CPPFLAGS'
51079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51082
51083
51084 fi
51085
51086 fi
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51088 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51089
51090 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51091 for ac_func in _isinf
51092 do :
51093 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51094 if test "x$ac_cv_func__isinf" = x""yes; then :
51095 cat >>confdefs.h <<_ACEOF
51096 #define HAVE__ISINF 1
51097 _ACEOF
51098
51099 fi
51100 done
51101
51102 fi
51103 fi
51104
51105
51106
51107
51108
51109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51110 $as_echo_n "checking for isnan declaration... " >&6; }
51111 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51112 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51113 $as_echo_n "(cached) " >&6
51114 else
51115
51116
51117 ac_ext=cpp
51118 ac_cpp='$CXXCPP $CPPFLAGS'
51119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51122
51123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51124 /* end confdefs.h. */
51125 #include <math.h>
51126 #ifdef HAVE_IEEEFP_H
51127 #include <ieeefp.h>
51128 #endif
51129
51130 int
51131 main ()
51132 {
51133 isnan(0);
51134 ;
51135 return 0;
51136 }
51137 _ACEOF
51138 if ac_fn_cxx_try_compile "$LINENO"; then :
51139 glibcxx_cv_func_isnan_use=yes
51140 else
51141 glibcxx_cv_func_isnan_use=no
51142 fi
51143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51144 ac_ext=c
51145 ac_cpp='$CPP $CPPFLAGS'
51146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51149
51150
51151 fi
51152
51153 fi
51154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51155 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51156
51157 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51158 for ac_func in isnan
51159 do :
51160 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51161 if test "x$ac_cv_func_isnan" = x""yes; then :
51162 cat >>confdefs.h <<_ACEOF
51163 #define HAVE_ISNAN 1
51164 _ACEOF
51165
51166 fi
51167 done
51168
51169 else
51170
51171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51172 $as_echo_n "checking for _isnan declaration... " >&6; }
51173 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51174 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51175 $as_echo_n "(cached) " >&6
51176 else
51177
51178
51179 ac_ext=cpp
51180 ac_cpp='$CXXCPP $CPPFLAGS'
51181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51184
51185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51186 /* end confdefs.h. */
51187 #include <math.h>
51188 #ifdef HAVE_IEEEFP_H
51189 #include <ieeefp.h>
51190 #endif
51191
51192 int
51193 main ()
51194 {
51195 _isnan(0);
51196 ;
51197 return 0;
51198 }
51199 _ACEOF
51200 if ac_fn_cxx_try_compile "$LINENO"; then :
51201 glibcxx_cv_func__isnan_use=yes
51202 else
51203 glibcxx_cv_func__isnan_use=no
51204 fi
51205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51206 ac_ext=c
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51211
51212
51213 fi
51214
51215 fi
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51217 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51218
51219 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51220 for ac_func in _isnan
51221 do :
51222 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51223 if test "x$ac_cv_func__isnan" = x""yes; then :
51224 cat >>confdefs.h <<_ACEOF
51225 #define HAVE__ISNAN 1
51226 _ACEOF
51227
51228 fi
51229 done
51230
51231 fi
51232 fi
51233
51234
51235
51236
51237
51238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51239 $as_echo_n "checking for finite declaration... " >&6; }
51240 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51241 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51242 $as_echo_n "(cached) " >&6
51243 else
51244
51245
51246 ac_ext=cpp
51247 ac_cpp='$CXXCPP $CPPFLAGS'
51248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51251
51252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51253 /* end confdefs.h. */
51254 #include <math.h>
51255 #ifdef HAVE_IEEEFP_H
51256 #include <ieeefp.h>
51257 #endif
51258
51259 int
51260 main ()
51261 {
51262 finite(0);
51263 ;
51264 return 0;
51265 }
51266 _ACEOF
51267 if ac_fn_cxx_try_compile "$LINENO"; then :
51268 glibcxx_cv_func_finite_use=yes
51269 else
51270 glibcxx_cv_func_finite_use=no
51271 fi
51272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51273 ac_ext=c
51274 ac_cpp='$CPP $CPPFLAGS'
51275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51278
51279
51280 fi
51281
51282 fi
51283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51284 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51285
51286 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51287 for ac_func in finite
51288 do :
51289 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51290 if test "x$ac_cv_func_finite" = x""yes; then :
51291 cat >>confdefs.h <<_ACEOF
51292 #define HAVE_FINITE 1
51293 _ACEOF
51294
51295 fi
51296 done
51297
51298 else
51299
51300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51301 $as_echo_n "checking for _finite declaration... " >&6; }
51302 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51303 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51304 $as_echo_n "(cached) " >&6
51305 else
51306
51307
51308 ac_ext=cpp
51309 ac_cpp='$CXXCPP $CPPFLAGS'
51310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51313
51314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51315 /* end confdefs.h. */
51316 #include <math.h>
51317 #ifdef HAVE_IEEEFP_H
51318 #include <ieeefp.h>
51319 #endif
51320
51321 int
51322 main ()
51323 {
51324 _finite(0);
51325 ;
51326 return 0;
51327 }
51328 _ACEOF
51329 if ac_fn_cxx_try_compile "$LINENO"; then :
51330 glibcxx_cv_func__finite_use=yes
51331 else
51332 glibcxx_cv_func__finite_use=no
51333 fi
51334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51335 ac_ext=c
51336 ac_cpp='$CPP $CPPFLAGS'
51337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51340
51341
51342 fi
51343
51344 fi
51345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51346 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51347
51348 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51349 for ac_func in _finite
51350 do :
51351 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51352 if test "x$ac_cv_func__finite" = x""yes; then :
51353 cat >>confdefs.h <<_ACEOF
51354 #define HAVE__FINITE 1
51355 _ACEOF
51356
51357 fi
51358 done
51359
51360 fi
51361 fi
51362
51363
51364
51365
51366
51367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51368 $as_echo_n "checking for sincos declaration... " >&6; }
51369 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51370 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51371 $as_echo_n "(cached) " >&6
51372 else
51373
51374
51375 ac_ext=cpp
51376 ac_cpp='$CXXCPP $CPPFLAGS'
51377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51380
51381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51382 /* end confdefs.h. */
51383 #include <math.h>
51384 int
51385 main ()
51386 {
51387 sincos(0, 0, 0);
51388 ;
51389 return 0;
51390 }
51391 _ACEOF
51392 if ac_fn_cxx_try_compile "$LINENO"; then :
51393 glibcxx_cv_func_sincos_use=yes
51394 else
51395 glibcxx_cv_func_sincos_use=no
51396 fi
51397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51398 ac_ext=c
51399 ac_cpp='$CPP $CPPFLAGS'
51400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51403
51404
51405 fi
51406
51407 fi
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51409 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51410
51411 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51412 for ac_func in sincos
51413 do :
51414 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51415 if test "x$ac_cv_func_sincos" = x""yes; then :
51416 cat >>confdefs.h <<_ACEOF
51417 #define HAVE_SINCOS 1
51418 _ACEOF
51419
51420 fi
51421 done
51422
51423 else
51424
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51426 $as_echo_n "checking for _sincos declaration... " >&6; }
51427 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51428 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51429 $as_echo_n "(cached) " >&6
51430 else
51431
51432
51433 ac_ext=cpp
51434 ac_cpp='$CXXCPP $CPPFLAGS'
51435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51438
51439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51440 /* end confdefs.h. */
51441 #include <math.h>
51442 int
51443 main ()
51444 {
51445 _sincos(0, 0, 0);
51446 ;
51447 return 0;
51448 }
51449 _ACEOF
51450 if ac_fn_cxx_try_compile "$LINENO"; then :
51451 glibcxx_cv_func__sincos_use=yes
51452 else
51453 glibcxx_cv_func__sincos_use=no
51454 fi
51455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51456 ac_ext=c
51457 ac_cpp='$CPP $CPPFLAGS'
51458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51461
51462
51463 fi
51464
51465 fi
51466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51467 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51468
51469 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51470 for ac_func in _sincos
51471 do :
51472 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51473 if test "x$ac_cv_func__sincos" = x""yes; then :
51474 cat >>confdefs.h <<_ACEOF
51475 #define HAVE__SINCOS 1
51476 _ACEOF
51477
51478 fi
51479 done
51480
51481 fi
51482 fi
51483
51484
51485
51486
51487
51488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51489 $as_echo_n "checking for fpclass declaration... " >&6; }
51490 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51491 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51492 $as_echo_n "(cached) " >&6
51493 else
51494
51495
51496 ac_ext=cpp
51497 ac_cpp='$CXXCPP $CPPFLAGS'
51498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51501
51502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51503 /* end confdefs.h. */
51504 #include <math.h>
51505 #ifdef HAVE_IEEEFP_H
51506 #include <ieeefp.h>
51507 #endif
51508
51509 int
51510 main ()
51511 {
51512 fpclass(0);
51513 ;
51514 return 0;
51515 }
51516 _ACEOF
51517 if ac_fn_cxx_try_compile "$LINENO"; then :
51518 glibcxx_cv_func_fpclass_use=yes
51519 else
51520 glibcxx_cv_func_fpclass_use=no
51521 fi
51522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51523 ac_ext=c
51524 ac_cpp='$CPP $CPPFLAGS'
51525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51528
51529
51530 fi
51531
51532 fi
51533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51534 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51535
51536 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51537 for ac_func in fpclass
51538 do :
51539 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51540 if test "x$ac_cv_func_fpclass" = x""yes; then :
51541 cat >>confdefs.h <<_ACEOF
51542 #define HAVE_FPCLASS 1
51543 _ACEOF
51544
51545 fi
51546 done
51547
51548 else
51549
51550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51551 $as_echo_n "checking for _fpclass declaration... " >&6; }
51552 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51553 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51554 $as_echo_n "(cached) " >&6
51555 else
51556
51557
51558 ac_ext=cpp
51559 ac_cpp='$CXXCPP $CPPFLAGS'
51560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51563
51564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51565 /* end confdefs.h. */
51566 #include <math.h>
51567 #ifdef HAVE_IEEEFP_H
51568 #include <ieeefp.h>
51569 #endif
51570
51571 int
51572 main ()
51573 {
51574 _fpclass(0);
51575 ;
51576 return 0;
51577 }
51578 _ACEOF
51579 if ac_fn_cxx_try_compile "$LINENO"; then :
51580 glibcxx_cv_func__fpclass_use=yes
51581 else
51582 glibcxx_cv_func__fpclass_use=no
51583 fi
51584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51585 ac_ext=c
51586 ac_cpp='$CPP $CPPFLAGS'
51587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51590
51591
51592 fi
51593
51594 fi
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51596 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51597
51598 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51599 for ac_func in _fpclass
51600 do :
51601 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51602 if test "x$ac_cv_func__fpclass" = x""yes; then :
51603 cat >>confdefs.h <<_ACEOF
51604 #define HAVE__FPCLASS 1
51605 _ACEOF
51606
51607 fi
51608 done
51609
51610 fi
51611 fi
51612
51613
51614
51615
51616
51617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51618 $as_echo_n "checking for qfpclass declaration... " >&6; }
51619 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51620 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51621 $as_echo_n "(cached) " >&6
51622 else
51623
51624
51625 ac_ext=cpp
51626 ac_cpp='$CXXCPP $CPPFLAGS'
51627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51630
51631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51632 /* end confdefs.h. */
51633 #include <math.h>
51634 #ifdef HAVE_IEEEFP_H
51635 #include <ieeefp.h>
51636 #endif
51637
51638 int
51639 main ()
51640 {
51641 qfpclass(0);
51642 ;
51643 return 0;
51644 }
51645 _ACEOF
51646 if ac_fn_cxx_try_compile "$LINENO"; then :
51647 glibcxx_cv_func_qfpclass_use=yes
51648 else
51649 glibcxx_cv_func_qfpclass_use=no
51650 fi
51651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51652 ac_ext=c
51653 ac_cpp='$CPP $CPPFLAGS'
51654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51657
51658
51659 fi
51660
51661 fi
51662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51663 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51664
51665 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51666 for ac_func in qfpclass
51667 do :
51668 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51669 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51670 cat >>confdefs.h <<_ACEOF
51671 #define HAVE_QFPCLASS 1
51672 _ACEOF
51673
51674 fi
51675 done
51676
51677 else
51678
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51680 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51681 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51682 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51683 $as_echo_n "(cached) " >&6
51684 else
51685
51686
51687 ac_ext=cpp
51688 ac_cpp='$CXXCPP $CPPFLAGS'
51689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51692
51693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51694 /* end confdefs.h. */
51695 #include <math.h>
51696 #ifdef HAVE_IEEEFP_H
51697 #include <ieeefp.h>
51698 #endif
51699
51700 int
51701 main ()
51702 {
51703 _qfpclass(0);
51704 ;
51705 return 0;
51706 }
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func__qfpclass_use=yes
51710 else
51711 glibcxx_cv_func__qfpclass_use=no
51712 fi
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714 ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51719
51720
51721 fi
51722
51723 fi
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51725 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51726
51727 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51728 for ac_func in _qfpclass
51729 do :
51730 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51731 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE__QFPCLASS 1
51734 _ACEOF
51735
51736 fi
51737 done
51738
51739 fi
51740 fi
51741
51742
51743
51744
51745
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51747 $as_echo_n "checking for hypot declaration... " >&6; }
51748 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51749 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51752
51753
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51763 int
51764 main ()
51765 {
51766 hypot(0, 0);
51767 ;
51768 return 0;
51769 }
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func_hypot_use=yes
51773 else
51774 glibcxx_cv_func_hypot_use=no
51775 fi
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782
51783
51784 fi
51785
51786 fi
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51789
51790 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51791 for ac_func in hypot
51792 do :
51793 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51794 if test "x$ac_cv_func_hypot" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOT 1
51797 _ACEOF
51798
51799 fi
51800 done
51801
51802 else
51803
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51805 $as_echo_n "checking for _hypot declaration... " >&6; }
51806 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51807 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51808 $as_echo_n "(cached) " >&6
51809 else
51810
51811
51812 ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51820 #include <math.h>
51821 int
51822 main ()
51823 {
51824 _hypot(0, 0);
51825 ;
51826 return 0;
51827 }
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func__hypot_use=yes
51831 else
51832 glibcxx_cv_func__hypot_use=no
51833 fi
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835 ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51840
51841
51842 fi
51843
51844 fi
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51847
51848 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51849 for ac_func in _hypot
51850 do :
51851 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51852 if test "x$ac_cv_func__hypot" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOT 1
51855 _ACEOF
51856
51857 fi
51858 done
51859
51860 fi
51861 fi
51862
51863
51864
51865
51866
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51868 $as_echo_n "checking for float trig functions... " >&6; }
51869 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51871 else
51872
51873
51874 ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51882 #include <math.h>
51883 int
51884 main ()
51885 {
51886 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51887 ;
51888 return 0;
51889 }
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_float_trig_use=yes
51893 else
51894 glibcxx_cv_func_float_trig_use=no
51895 fi
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902
51903 fi
51904
51905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51906 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51907 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51908 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51909 do :
51910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51912 eval as_val=\$$as_ac_var
51913 if test "x$as_val" = x""yes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51916 _ACEOF
51917
51918 fi
51919 done
51920
51921 else
51922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51923 $as_echo_n "checking for _float trig functions... " >&6; }
51924 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51926 else
51927
51928
51929 ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51937 #include <math.h>
51938 int
51939 main ()
51940 {
51941 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51942 ;
51943 return 0;
51944 }
51945 _ACEOF
51946 if ac_fn_cxx_try_compile "$LINENO"; then :
51947 glibcxx_cv_func__float_trig_use=yes
51948 else
51949 glibcxx_cv_func__float_trig_use=no
51950 fi
51951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51952 ac_ext=c
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51957
51958 fi
51959
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51961 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51962 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51963 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51964 do :
51965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51967 eval as_val=\$$as_ac_var
51968 if test "x$as_val" = x""yes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51971 _ACEOF
51972
51973 fi
51974 done
51975
51976 fi
51977 fi
51978
51979
51980
51981
51982
51983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51984 $as_echo_n "checking for float round functions... " >&6; }
51985 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51986 $as_echo_n "(cached) " >&6
51987 else
51988
51989
51990 ac_ext=cpp
51991 ac_cpp='$CXXCPP $CPPFLAGS'
51992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51995
51996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51997 /* end confdefs.h. */
51998 #include <math.h>
51999 int
52000 main ()
52001 {
52002 ceilf (0); floorf (0);
52003 ;
52004 return 0;
52005 }
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func_float_round_use=yes
52009 else
52010 glibcxx_cv_func_float_round_use=no
52011 fi
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52018
52019 fi
52020
52021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52022 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52023 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52024 for ac_func in ceilf floorf
52025 do :
52026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52028 eval as_val=\$$as_ac_var
52029 if test "x$as_val" = x""yes; then :
52030 cat >>confdefs.h <<_ACEOF
52031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52032 _ACEOF
52033
52034 fi
52035 done
52036
52037 else
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52039 $as_echo_n "checking for _float round functions... " >&6; }
52040 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52041 $as_echo_n "(cached) " >&6
52042 else
52043
52044
52045 ac_ext=cpp
52046 ac_cpp='$CXXCPP $CPPFLAGS'
52047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52050
52051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52052 /* end confdefs.h. */
52053 #include <math.h>
52054 int
52055 main ()
52056 {
52057 _ceilf (0); _floorf (0);
52058 ;
52059 return 0;
52060 }
52061 _ACEOF
52062 if ac_fn_cxx_try_compile "$LINENO"; then :
52063 glibcxx_cv_func__float_round_use=yes
52064 else
52065 glibcxx_cv_func__float_round_use=no
52066 fi
52067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52068 ac_ext=c
52069 ac_cpp='$CPP $CPPFLAGS'
52070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52073
52074 fi
52075
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52077 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52078 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52079 for ac_func in _ceilf _floorf
52080 do :
52081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52083 eval as_val=\$$as_ac_var
52084 if test "x$as_val" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52087 _ACEOF
52088
52089 fi
52090 done
52091
52092 fi
52093 fi
52094
52095
52096
52097
52098
52099
52100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52101 $as_echo_n "checking for expf declaration... " >&6; }
52102 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52103 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52104 $as_echo_n "(cached) " >&6
52105 else
52106
52107
52108 ac_ext=cpp
52109 ac_cpp='$CXXCPP $CPPFLAGS'
52110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52113
52114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52115 /* end confdefs.h. */
52116 #include <math.h>
52117 #ifdef HAVE_IEEEFP_H
52118 #include <ieeefp.h>
52119 #endif
52120
52121 int
52122 main ()
52123 {
52124 expf(0);
52125 ;
52126 return 0;
52127 }
52128 _ACEOF
52129 if ac_fn_cxx_try_compile "$LINENO"; then :
52130 glibcxx_cv_func_expf_use=yes
52131 else
52132 glibcxx_cv_func_expf_use=no
52133 fi
52134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52135 ac_ext=c
52136 ac_cpp='$CPP $CPPFLAGS'
52137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52140
52141
52142 fi
52143
52144 fi
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52146 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52147
52148 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52149 for ac_func in expf
52150 do :
52151 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52152 if test "x$ac_cv_func_expf" = x""yes; then :
52153 cat >>confdefs.h <<_ACEOF
52154 #define HAVE_EXPF 1
52155 _ACEOF
52156
52157 fi
52158 done
52159
52160 else
52161
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52163 $as_echo_n "checking for _expf declaration... " >&6; }
52164 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52165 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52166 $as_echo_n "(cached) " >&6
52167 else
52168
52169
52170 ac_ext=cpp
52171 ac_cpp='$CXXCPP $CPPFLAGS'
52172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52175
52176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52177 /* end confdefs.h. */
52178 #include <math.h>
52179 #ifdef HAVE_IEEEFP_H
52180 #include <ieeefp.h>
52181 #endif
52182
52183 int
52184 main ()
52185 {
52186 _expf(0);
52187 ;
52188 return 0;
52189 }
52190 _ACEOF
52191 if ac_fn_cxx_try_compile "$LINENO"; then :
52192 glibcxx_cv_func__expf_use=yes
52193 else
52194 glibcxx_cv_func__expf_use=no
52195 fi
52196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52197 ac_ext=c
52198 ac_cpp='$CPP $CPPFLAGS'
52199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52202
52203
52204 fi
52205
52206 fi
52207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52208 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52209
52210 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52211 for ac_func in _expf
52212 do :
52213 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52214 if test "x$ac_cv_func__expf" = x""yes; then :
52215 cat >>confdefs.h <<_ACEOF
52216 #define HAVE__EXPF 1
52217 _ACEOF
52218
52219 fi
52220 done
52221
52222 fi
52223 fi
52224
52225
52226
52227
52228
52229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52230 $as_echo_n "checking for isnanf declaration... " >&6; }
52231 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52232 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52233 $as_echo_n "(cached) " >&6
52234 else
52235
52236
52237 ac_ext=cpp
52238 ac_cpp='$CXXCPP $CPPFLAGS'
52239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52242
52243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52244 /* end confdefs.h. */
52245 #include <math.h>
52246 #ifdef HAVE_IEEEFP_H
52247 #include <ieeefp.h>
52248 #endif
52249
52250 int
52251 main ()
52252 {
52253 isnanf(0);
52254 ;
52255 return 0;
52256 }
52257 _ACEOF
52258 if ac_fn_cxx_try_compile "$LINENO"; then :
52259 glibcxx_cv_func_isnanf_use=yes
52260 else
52261 glibcxx_cv_func_isnanf_use=no
52262 fi
52263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52264 ac_ext=c
52265 ac_cpp='$CPP $CPPFLAGS'
52266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52269
52270
52271 fi
52272
52273 fi
52274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52275 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52276
52277 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52278 for ac_func in isnanf
52279 do :
52280 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52281 if test "x$ac_cv_func_isnanf" = x""yes; then :
52282 cat >>confdefs.h <<_ACEOF
52283 #define HAVE_ISNANF 1
52284 _ACEOF
52285
52286 fi
52287 done
52288
52289 else
52290
52291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52292 $as_echo_n "checking for _isnanf declaration... " >&6; }
52293 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52294 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52295 $as_echo_n "(cached) " >&6
52296 else
52297
52298
52299 ac_ext=cpp
52300 ac_cpp='$CXXCPP $CPPFLAGS'
52301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52304
52305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52306 /* end confdefs.h. */
52307 #include <math.h>
52308 #ifdef HAVE_IEEEFP_H
52309 #include <ieeefp.h>
52310 #endif
52311
52312 int
52313 main ()
52314 {
52315 _isnanf(0);
52316 ;
52317 return 0;
52318 }
52319 _ACEOF
52320 if ac_fn_cxx_try_compile "$LINENO"; then :
52321 glibcxx_cv_func__isnanf_use=yes
52322 else
52323 glibcxx_cv_func__isnanf_use=no
52324 fi
52325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52326 ac_ext=c
52327 ac_cpp='$CPP $CPPFLAGS'
52328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331
52332
52333 fi
52334
52335 fi
52336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52337 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52338
52339 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52340 for ac_func in _isnanf
52341 do :
52342 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52343 if test "x$ac_cv_func__isnanf" = x""yes; then :
52344 cat >>confdefs.h <<_ACEOF
52345 #define HAVE__ISNANF 1
52346 _ACEOF
52347
52348 fi
52349 done
52350
52351 fi
52352 fi
52353
52354
52355
52356
52357
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52359 $as_echo_n "checking for isinff declaration... " >&6; }
52360 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52361 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52362 $as_echo_n "(cached) " >&6
52363 else
52364
52365
52366 ac_ext=cpp
52367 ac_cpp='$CXXCPP $CPPFLAGS'
52368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371
52372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52373 /* end confdefs.h. */
52374 #include <math.h>
52375 #ifdef HAVE_IEEEFP_H
52376 #include <ieeefp.h>
52377 #endif
52378
52379 int
52380 main ()
52381 {
52382 isinff(0);
52383 ;
52384 return 0;
52385 }
52386 _ACEOF
52387 if ac_fn_cxx_try_compile "$LINENO"; then :
52388 glibcxx_cv_func_isinff_use=yes
52389 else
52390 glibcxx_cv_func_isinff_use=no
52391 fi
52392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52393 ac_ext=c
52394 ac_cpp='$CPP $CPPFLAGS'
52395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52398
52399
52400 fi
52401
52402 fi
52403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52404 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52405
52406 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52407 for ac_func in isinff
52408 do :
52409 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52410 if test "x$ac_cv_func_isinff" = x""yes; then :
52411 cat >>confdefs.h <<_ACEOF
52412 #define HAVE_ISINFF 1
52413 _ACEOF
52414
52415 fi
52416 done
52417
52418 else
52419
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52421 $as_echo_n "checking for _isinff declaration... " >&6; }
52422 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52423 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52426
52427
52428 ac_ext=cpp
52429 ac_cpp='$CXXCPP $CPPFLAGS'
52430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52433
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <math.h>
52437 #ifdef HAVE_IEEEFP_H
52438 #include <ieeefp.h>
52439 #endif
52440
52441 int
52442 main ()
52443 {
52444 _isinff(0);
52445 ;
52446 return 0;
52447 }
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func__isinff_use=yes
52451 else
52452 glibcxx_cv_func__isinff_use=no
52453 fi
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52460
52461
52462 fi
52463
52464 fi
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52466 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52467
52468 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52469 for ac_func in _isinff
52470 do :
52471 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52472 if test "x$ac_cv_func__isinff" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE__ISINFF 1
52475 _ACEOF
52476
52477 fi
52478 done
52479
52480 fi
52481 fi
52482
52483
52484
52485
52486
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52488 $as_echo_n "checking for atan2f declaration... " >&6; }
52489 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52490 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52491 $as_echo_n "(cached) " >&6
52492 else
52493
52494
52495 ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52500
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 #include <math.h>
52504 int
52505 main ()
52506 {
52507 atan2f(0, 0);
52508 ;
52509 return 0;
52510 }
52511 _ACEOF
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513 glibcxx_cv_func_atan2f_use=yes
52514 else
52515 glibcxx_cv_func_atan2f_use=no
52516 fi
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52518 ac_ext=c
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523
52524
52525 fi
52526
52527 fi
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52529 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52530
52531 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52532 for ac_func in atan2f
52533 do :
52534 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52535 if test "x$ac_cv_func_atan2f" = x""yes; then :
52536 cat >>confdefs.h <<_ACEOF
52537 #define HAVE_ATAN2F 1
52538 _ACEOF
52539
52540 fi
52541 done
52542
52543 else
52544
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52546 $as_echo_n "checking for _atan2f declaration... " >&6; }
52547 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52548 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52549 $as_echo_n "(cached) " >&6
52550 else
52551
52552
52553 ac_ext=cpp
52554 ac_cpp='$CXXCPP $CPPFLAGS'
52555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52558
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <math.h>
52562 int
52563 main ()
52564 {
52565 _atan2f(0, 0);
52566 ;
52567 return 0;
52568 }
52569 _ACEOF
52570 if ac_fn_cxx_try_compile "$LINENO"; then :
52571 glibcxx_cv_func__atan2f_use=yes
52572 else
52573 glibcxx_cv_func__atan2f_use=no
52574 fi
52575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52576 ac_ext=c
52577 ac_cpp='$CPP $CPPFLAGS'
52578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52581
52582
52583 fi
52584
52585 fi
52586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52587 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52588
52589 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52590 for ac_func in _atan2f
52591 do :
52592 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52593 if test "x$ac_cv_func__atan2f" = x""yes; then :
52594 cat >>confdefs.h <<_ACEOF
52595 #define HAVE__ATAN2F 1
52596 _ACEOF
52597
52598 fi
52599 done
52600
52601 fi
52602 fi
52603
52604
52605
52606
52607
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52609 $as_echo_n "checking for fabsf declaration... " >&6; }
52610 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52611 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52612 $as_echo_n "(cached) " >&6
52613 else
52614
52615
52616 ac_ext=cpp
52617 ac_cpp='$CXXCPP $CPPFLAGS'
52618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52621
52622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52623 /* end confdefs.h. */
52624 #include <math.h>
52625 #ifdef HAVE_IEEEFP_H
52626 #include <ieeefp.h>
52627 #endif
52628
52629 int
52630 main ()
52631 {
52632 fabsf(0);
52633 ;
52634 return 0;
52635 }
52636 _ACEOF
52637 if ac_fn_cxx_try_compile "$LINENO"; then :
52638 glibcxx_cv_func_fabsf_use=yes
52639 else
52640 glibcxx_cv_func_fabsf_use=no
52641 fi
52642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52643 ac_ext=c
52644 ac_cpp='$CPP $CPPFLAGS'
52645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52648
52649
52650 fi
52651
52652 fi
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52654 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52655
52656 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52657 for ac_func in fabsf
52658 do :
52659 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52660 if test "x$ac_cv_func_fabsf" = x""yes; then :
52661 cat >>confdefs.h <<_ACEOF
52662 #define HAVE_FABSF 1
52663 _ACEOF
52664
52665 fi
52666 done
52667
52668 else
52669
52670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52671 $as_echo_n "checking for _fabsf declaration... " >&6; }
52672 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52673 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52674 $as_echo_n "(cached) " >&6
52675 else
52676
52677
52678 ac_ext=cpp
52679 ac_cpp='$CXXCPP $CPPFLAGS'
52680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52683
52684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52685 /* end confdefs.h. */
52686 #include <math.h>
52687 #ifdef HAVE_IEEEFP_H
52688 #include <ieeefp.h>
52689 #endif
52690
52691 int
52692 main ()
52693 {
52694 _fabsf(0);
52695 ;
52696 return 0;
52697 }
52698 _ACEOF
52699 if ac_fn_cxx_try_compile "$LINENO"; then :
52700 glibcxx_cv_func__fabsf_use=yes
52701 else
52702 glibcxx_cv_func__fabsf_use=no
52703 fi
52704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52705 ac_ext=c
52706 ac_cpp='$CPP $CPPFLAGS'
52707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52710
52711
52712 fi
52713
52714 fi
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52716 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52717
52718 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52719 for ac_func in _fabsf
52720 do :
52721 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52722 if test "x$ac_cv_func__fabsf" = x""yes; then :
52723 cat >>confdefs.h <<_ACEOF
52724 #define HAVE__FABSF 1
52725 _ACEOF
52726
52727 fi
52728 done
52729
52730 fi
52731 fi
52732
52733
52734
52735
52736
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52738 $as_echo_n "checking for fmodf declaration... " >&6; }
52739 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52740 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52741 $as_echo_n "(cached) " >&6
52742 else
52743
52744
52745 ac_ext=cpp
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52750
52751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h. */
52753 #include <math.h>
52754 int
52755 main ()
52756 {
52757 fmodf(0, 0);
52758 ;
52759 return 0;
52760 }
52761 _ACEOF
52762 if ac_fn_cxx_try_compile "$LINENO"; then :
52763 glibcxx_cv_func_fmodf_use=yes
52764 else
52765 glibcxx_cv_func_fmodf_use=no
52766 fi
52767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52768 ac_ext=c
52769 ac_cpp='$CPP $CPPFLAGS'
52770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52773
52774
52775 fi
52776
52777 fi
52778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52779 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52780
52781 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52782 for ac_func in fmodf
52783 do :
52784 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52785 if test "x$ac_cv_func_fmodf" = x""yes; then :
52786 cat >>confdefs.h <<_ACEOF
52787 #define HAVE_FMODF 1
52788 _ACEOF
52789
52790 fi
52791 done
52792
52793 else
52794
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52796 $as_echo_n "checking for _fmodf declaration... " >&6; }
52797 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52798 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52799 $as_echo_n "(cached) " >&6
52800 else
52801
52802
52803 ac_ext=cpp
52804 ac_cpp='$CXXCPP $CPPFLAGS'
52805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808
52809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52810 /* end confdefs.h. */
52811 #include <math.h>
52812 int
52813 main ()
52814 {
52815 _fmodf(0, 0);
52816 ;
52817 return 0;
52818 }
52819 _ACEOF
52820 if ac_fn_cxx_try_compile "$LINENO"; then :
52821 glibcxx_cv_func__fmodf_use=yes
52822 else
52823 glibcxx_cv_func__fmodf_use=no
52824 fi
52825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52826 ac_ext=c
52827 ac_cpp='$CPP $CPPFLAGS'
52828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52831
52832
52833 fi
52834
52835 fi
52836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52837 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52838
52839 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52840 for ac_func in _fmodf
52841 do :
52842 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52843 if test "x$ac_cv_func__fmodf" = x""yes; then :
52844 cat >>confdefs.h <<_ACEOF
52845 #define HAVE__FMODF 1
52846 _ACEOF
52847
52848 fi
52849 done
52850
52851 fi
52852 fi
52853
52854
52855
52856
52857
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52859 $as_echo_n "checking for frexpf declaration... " >&6; }
52860 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52861 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52862 $as_echo_n "(cached) " >&6
52863 else
52864
52865
52866 ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52871
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52874 #include <math.h>
52875 int
52876 main ()
52877 {
52878 frexpf(0, 0);
52879 ;
52880 return 0;
52881 }
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func_frexpf_use=yes
52885 else
52886 glibcxx_cv_func_frexpf_use=no
52887 fi
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52894
52895
52896 fi
52897
52898 fi
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52900 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52901
52902 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52903 for ac_func in frexpf
52904 do :
52905 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52906 if test "x$ac_cv_func_frexpf" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE_FREXPF 1
52909 _ACEOF
52910
52911 fi
52912 done
52913
52914 else
52915
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52917 $as_echo_n "checking for _frexpf declaration... " >&6; }
52918 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52919 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52920 $as_echo_n "(cached) " >&6
52921 else
52922
52923
52924 ac_ext=cpp
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929
52930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h. */
52932 #include <math.h>
52933 int
52934 main ()
52935 {
52936 _frexpf(0, 0);
52937 ;
52938 return 0;
52939 }
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func__frexpf_use=yes
52943 else
52944 glibcxx_cv_func__frexpf_use=no
52945 fi
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947 ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952
52953
52954 fi
52955
52956 fi
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52958 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52959
52960 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52961 for ac_func in _frexpf
52962 do :
52963 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52964 if test "x$ac_cv_func__frexpf" = x""yes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE__FREXPF 1
52967 _ACEOF
52968
52969 fi
52970 done
52971
52972 fi
52973 fi
52974
52975
52976
52977
52978
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52980 $as_echo_n "checking for hypotf declaration... " >&6; }
52981 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52982 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52983 $as_echo_n "(cached) " >&6
52984 else
52985
52986
52987 ac_ext=cpp
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52992
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
52995 #include <math.h>
52996 int
52997 main ()
52998 {
52999 hypotf(0, 0);
53000 ;
53001 return 0;
53002 }
53003 _ACEOF
53004 if ac_fn_cxx_try_compile "$LINENO"; then :
53005 glibcxx_cv_func_hypotf_use=yes
53006 else
53007 glibcxx_cv_func_hypotf_use=no
53008 fi
53009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53010 ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53015
53016
53017 fi
53018
53019 fi
53020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53021 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53022
53023 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53024 for ac_func in hypotf
53025 do :
53026 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53027 if test "x$ac_cv_func_hypotf" = x""yes; then :
53028 cat >>confdefs.h <<_ACEOF
53029 #define HAVE_HYPOTF 1
53030 _ACEOF
53031
53032 fi
53033 done
53034
53035 else
53036
53037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53038 $as_echo_n "checking for _hypotf declaration... " >&6; }
53039 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53040 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53041 $as_echo_n "(cached) " >&6
53042 else
53043
53044
53045 ac_ext=cpp
53046 ac_cpp='$CXXCPP $CPPFLAGS'
53047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53050
53051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53052 /* end confdefs.h. */
53053 #include <math.h>
53054 int
53055 main ()
53056 {
53057 _hypotf(0, 0);
53058 ;
53059 return 0;
53060 }
53061 _ACEOF
53062 if ac_fn_cxx_try_compile "$LINENO"; then :
53063 glibcxx_cv_func__hypotf_use=yes
53064 else
53065 glibcxx_cv_func__hypotf_use=no
53066 fi
53067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53068 ac_ext=c
53069 ac_cpp='$CPP $CPPFLAGS'
53070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53073
53074
53075 fi
53076
53077 fi
53078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53079 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53080
53081 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53082 for ac_func in _hypotf
53083 do :
53084 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53085 if test "x$ac_cv_func__hypotf" = x""yes; then :
53086 cat >>confdefs.h <<_ACEOF
53087 #define HAVE__HYPOTF 1
53088 _ACEOF
53089
53090 fi
53091 done
53092
53093 fi
53094 fi
53095
53096
53097
53098
53099
53100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53101 $as_echo_n "checking for ldexpf declaration... " >&6; }
53102 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53103 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53104 $as_echo_n "(cached) " >&6
53105 else
53106
53107
53108 ac_ext=cpp
53109 ac_cpp='$CXXCPP $CPPFLAGS'
53110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53113
53114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53115 /* end confdefs.h. */
53116 #include <math.h>
53117 int
53118 main ()
53119 {
53120 ldexpf(0, 0);
53121 ;
53122 return 0;
53123 }
53124 _ACEOF
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126 glibcxx_cv_func_ldexpf_use=yes
53127 else
53128 glibcxx_cv_func_ldexpf_use=no
53129 fi
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53131 ac_ext=c
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53136
53137
53138 fi
53139
53140 fi
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53142 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53143
53144 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53145 for ac_func in ldexpf
53146 do :
53147 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53148 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53149 cat >>confdefs.h <<_ACEOF
53150 #define HAVE_LDEXPF 1
53151 _ACEOF
53152
53153 fi
53154 done
53155
53156 else
53157
53158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53159 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53160 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53161 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53162 $as_echo_n "(cached) " >&6
53163 else
53164
53165
53166 ac_ext=cpp
53167 ac_cpp='$CXXCPP $CPPFLAGS'
53168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53171
53172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53173 /* end confdefs.h. */
53174 #include <math.h>
53175 int
53176 main ()
53177 {
53178 _ldexpf(0, 0);
53179 ;
53180 return 0;
53181 }
53182 _ACEOF
53183 if ac_fn_cxx_try_compile "$LINENO"; then :
53184 glibcxx_cv_func__ldexpf_use=yes
53185 else
53186 glibcxx_cv_func__ldexpf_use=no
53187 fi
53188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53189 ac_ext=c
53190 ac_cpp='$CPP $CPPFLAGS'
53191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53194
53195
53196 fi
53197
53198 fi
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53200 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53201
53202 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53203 for ac_func in _ldexpf
53204 do :
53205 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53206 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53207 cat >>confdefs.h <<_ACEOF
53208 #define HAVE__LDEXPF 1
53209 _ACEOF
53210
53211 fi
53212 done
53213
53214 fi
53215 fi
53216
53217
53218
53219
53220
53221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53222 $as_echo_n "checking for logf declaration... " >&6; }
53223 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53224 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53225 $as_echo_n "(cached) " >&6
53226 else
53227
53228
53229 ac_ext=cpp
53230 ac_cpp='$CXXCPP $CPPFLAGS'
53231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53234
53235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53236 /* end confdefs.h. */
53237 #include <math.h>
53238 #ifdef HAVE_IEEEFP_H
53239 #include <ieeefp.h>
53240 #endif
53241
53242 int
53243 main ()
53244 {
53245 logf(0);
53246 ;
53247 return 0;
53248 }
53249 _ACEOF
53250 if ac_fn_cxx_try_compile "$LINENO"; then :
53251 glibcxx_cv_func_logf_use=yes
53252 else
53253 glibcxx_cv_func_logf_use=no
53254 fi
53255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53256 ac_ext=c
53257 ac_cpp='$CPP $CPPFLAGS'
53258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53261
53262
53263 fi
53264
53265 fi
53266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53267 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53268
53269 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53270 for ac_func in logf
53271 do :
53272 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53273 if test "x$ac_cv_func_logf" = x""yes; then :
53274 cat >>confdefs.h <<_ACEOF
53275 #define HAVE_LOGF 1
53276 _ACEOF
53277
53278 fi
53279 done
53280
53281 else
53282
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53284 $as_echo_n "checking for _logf declaration... " >&6; }
53285 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53286 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53289
53290
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53296
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53303
53304 int
53305 main ()
53306 {
53307 _logf(0);
53308 ;
53309 return 0;
53310 }
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func__logf_use=yes
53314 else
53315 glibcxx_cv_func__logf_use=no
53316 fi
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53323
53324
53325 fi
53326
53327 fi
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53329 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53330
53331 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53332 for ac_func in _logf
53333 do :
53334 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53335 if test "x$ac_cv_func__logf" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE__LOGF 1
53338 _ACEOF
53339
53340 fi
53341 done
53342
53343 fi
53344 fi
53345
53346
53347
53348
53349
53350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53351 $as_echo_n "checking for log10f declaration... " >&6; }
53352 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53353 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53354 $as_echo_n "(cached) " >&6
53355 else
53356
53357
53358 ac_ext=cpp
53359 ac_cpp='$CXXCPP $CPPFLAGS'
53360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53363
53364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53365 /* end confdefs.h. */
53366 #include <math.h>
53367 #ifdef HAVE_IEEEFP_H
53368 #include <ieeefp.h>
53369 #endif
53370
53371 int
53372 main ()
53373 {
53374 log10f(0);
53375 ;
53376 return 0;
53377 }
53378 _ACEOF
53379 if ac_fn_cxx_try_compile "$LINENO"; then :
53380 glibcxx_cv_func_log10f_use=yes
53381 else
53382 glibcxx_cv_func_log10f_use=no
53383 fi
53384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53385 ac_ext=c
53386 ac_cpp='$CPP $CPPFLAGS'
53387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53390
53391
53392 fi
53393
53394 fi
53395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53396 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53397
53398 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53399 for ac_func in log10f
53400 do :
53401 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53402 if test "x$ac_cv_func_log10f" = x""yes; then :
53403 cat >>confdefs.h <<_ACEOF
53404 #define HAVE_LOG10F 1
53405 _ACEOF
53406
53407 fi
53408 done
53409
53410 else
53411
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53413 $as_echo_n "checking for _log10f declaration... " >&6; }
53414 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53415 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53418
53419
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53425
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53429 #ifdef HAVE_IEEEFP_H
53430 #include <ieeefp.h>
53431 #endif
53432
53433 int
53434 main ()
53435 {
53436 _log10f(0);
53437 ;
53438 return 0;
53439 }
53440 _ACEOF
53441 if ac_fn_cxx_try_compile "$LINENO"; then :
53442 glibcxx_cv_func__log10f_use=yes
53443 else
53444 glibcxx_cv_func__log10f_use=no
53445 fi
53446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53447 ac_ext=c
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53452
53453
53454 fi
53455
53456 fi
53457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53458 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53459
53460 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53461 for ac_func in _log10f
53462 do :
53463 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53464 if test "x$ac_cv_func__log10f" = x""yes; then :
53465 cat >>confdefs.h <<_ACEOF
53466 #define HAVE__LOG10F 1
53467 _ACEOF
53468
53469 fi
53470 done
53471
53472 fi
53473 fi
53474
53475
53476
53477
53478
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53480 $as_echo_n "checking for modff declaration... " >&6; }
53481 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53482 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53483 $as_echo_n "(cached) " >&6
53484 else
53485
53486
53487 ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492
53493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h. */
53495 #include <math.h>
53496 int
53497 main ()
53498 {
53499 modff(0, 0);
53500 ;
53501 return 0;
53502 }
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505 glibcxx_cv_func_modff_use=yes
53506 else
53507 glibcxx_cv_func_modff_use=no
53508 fi
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510 ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515
53516
53517 fi
53518
53519 fi
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53521 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53522
53523 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53524 for ac_func in modff
53525 do :
53526 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53527 if test "x$ac_cv_func_modff" = x""yes; then :
53528 cat >>confdefs.h <<_ACEOF
53529 #define HAVE_MODFF 1
53530 _ACEOF
53531
53532 fi
53533 done
53534
53535 else
53536
53537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53538 $as_echo_n "checking for _modff declaration... " >&6; }
53539 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53540 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53541 $as_echo_n "(cached) " >&6
53542 else
53543
53544
53545 ac_ext=cpp
53546 ac_cpp='$CXXCPP $CPPFLAGS'
53547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53550
53551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53552 /* end confdefs.h. */
53553 #include <math.h>
53554 int
53555 main ()
53556 {
53557 _modff(0, 0);
53558 ;
53559 return 0;
53560 }
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func__modff_use=yes
53564 else
53565 glibcxx_cv_func__modff_use=no
53566 fi
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568 ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53573
53574
53575 fi
53576
53577 fi
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53579 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53580
53581 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53582 for ac_func in _modff
53583 do :
53584 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53585 if test "x$ac_cv_func__modff" = x""yes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE__MODFF 1
53588 _ACEOF
53589
53590 fi
53591 done
53592
53593 fi
53594 fi
53595
53596
53597
53598
53599
53600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53601 $as_echo_n "checking for modf declaration... " >&6; }
53602 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53603 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53604 $as_echo_n "(cached) " >&6
53605 else
53606
53607
53608 ac_ext=cpp
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53613
53614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h. */
53616 #include <math.h>
53617 int
53618 main ()
53619 {
53620 modf(0, 0);
53621 ;
53622 return 0;
53623 }
53624 _ACEOF
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626 glibcxx_cv_func_modf_use=yes
53627 else
53628 glibcxx_cv_func_modf_use=no
53629 fi
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53631 ac_ext=c
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53636
53637
53638 fi
53639
53640 fi
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53642 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53643
53644 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53645 for ac_func in modf
53646 do :
53647 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53648 if test "x$ac_cv_func_modf" = x""yes; then :
53649 cat >>confdefs.h <<_ACEOF
53650 #define HAVE_MODF 1
53651 _ACEOF
53652
53653 fi
53654 done
53655
53656 else
53657
53658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53659 $as_echo_n "checking for _modf declaration... " >&6; }
53660 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53661 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53662 $as_echo_n "(cached) " >&6
53663 else
53664
53665
53666 ac_ext=cpp
53667 ac_cpp='$CXXCPP $CPPFLAGS'
53668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53671
53672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h. */
53674 #include <math.h>
53675 int
53676 main ()
53677 {
53678 _modf(0, 0);
53679 ;
53680 return 0;
53681 }
53682 _ACEOF
53683 if ac_fn_cxx_try_compile "$LINENO"; then :
53684 glibcxx_cv_func__modf_use=yes
53685 else
53686 glibcxx_cv_func__modf_use=no
53687 fi
53688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53689 ac_ext=c
53690 ac_cpp='$CPP $CPPFLAGS'
53691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53694
53695
53696 fi
53697
53698 fi
53699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53700 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53701
53702 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53703 for ac_func in _modf
53704 do :
53705 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53706 if test "x$ac_cv_func__modf" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define HAVE__MODF 1
53709 _ACEOF
53710
53711 fi
53712 done
53713
53714 fi
53715 fi
53716
53717
53718
53719
53720
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53722 $as_echo_n "checking for powf declaration... " >&6; }
53723 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53724 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53727
53728
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <math.h>
53738 int
53739 main ()
53740 {
53741 powf(0, 0);
53742 ;
53743 return 0;
53744 }
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func_powf_use=yes
53748 else
53749 glibcxx_cv_func_powf_use=no
53750 fi
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53757
53758
53759 fi
53760
53761 fi
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53763 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53764
53765 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53766 for ac_func in powf
53767 do :
53768 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53769 if test "x$ac_cv_func_powf" = x""yes; then :
53770 cat >>confdefs.h <<_ACEOF
53771 #define HAVE_POWF 1
53772 _ACEOF
53773
53774 fi
53775 done
53776
53777 else
53778
53779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53780 $as_echo_n "checking for _powf declaration... " >&6; }
53781 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53782 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53783 $as_echo_n "(cached) " >&6
53784 else
53785
53786
53787 ac_ext=cpp
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53792
53793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h. */
53795 #include <math.h>
53796 int
53797 main ()
53798 {
53799 _powf(0, 0);
53800 ;
53801 return 0;
53802 }
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805 glibcxx_cv_func__powf_use=yes
53806 else
53807 glibcxx_cv_func__powf_use=no
53808 fi
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810 ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53815
53816
53817 fi
53818
53819 fi
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53821 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53822
53823 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53824 for ac_func in _powf
53825 do :
53826 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53827 if test "x$ac_cv_func__powf" = x""yes; then :
53828 cat >>confdefs.h <<_ACEOF
53829 #define HAVE__POWF 1
53830 _ACEOF
53831
53832 fi
53833 done
53834
53835 fi
53836 fi
53837
53838
53839
53840
53841
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53843 $as_echo_n "checking for sqrtf declaration... " >&6; }
53844 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53845 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53846 $as_echo_n "(cached) " >&6
53847 else
53848
53849
53850 ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53855
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53858 #include <math.h>
53859 #ifdef HAVE_IEEEFP_H
53860 #include <ieeefp.h>
53861 #endif
53862
53863 int
53864 main ()
53865 {
53866 sqrtf(0);
53867 ;
53868 return 0;
53869 }
53870 _ACEOF
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872 glibcxx_cv_func_sqrtf_use=yes
53873 else
53874 glibcxx_cv_func_sqrtf_use=no
53875 fi
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53877 ac_ext=c
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53882
53883
53884 fi
53885
53886 fi
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53888 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53889
53890 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53891 for ac_func in sqrtf
53892 do :
53893 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53894 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53895 cat >>confdefs.h <<_ACEOF
53896 #define HAVE_SQRTF 1
53897 _ACEOF
53898
53899 fi
53900 done
53901
53902 else
53903
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53905 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53906 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53907 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53908 $as_echo_n "(cached) " >&6
53909 else
53910
53911
53912 ac_ext=cpp
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53917
53918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h. */
53920 #include <math.h>
53921 #ifdef HAVE_IEEEFP_H
53922 #include <ieeefp.h>
53923 #endif
53924
53925 int
53926 main ()
53927 {
53928 _sqrtf(0);
53929 ;
53930 return 0;
53931 }
53932 _ACEOF
53933 if ac_fn_cxx_try_compile "$LINENO"; then :
53934 glibcxx_cv_func__sqrtf_use=yes
53935 else
53936 glibcxx_cv_func__sqrtf_use=no
53937 fi
53938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53939 ac_ext=c
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53944
53945
53946 fi
53947
53948 fi
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53950 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53951
53952 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53953 for ac_func in _sqrtf
53954 do :
53955 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53956 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53957 cat >>confdefs.h <<_ACEOF
53958 #define HAVE__SQRTF 1
53959 _ACEOF
53960
53961 fi
53962 done
53963
53964 fi
53965 fi
53966
53967
53968
53969
53970
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53972 $as_echo_n "checking for sincosf declaration... " >&6; }
53973 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53974 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53977
53978
53979 ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 #include <math.h>
53988 int
53989 main ()
53990 {
53991 sincosf(0, 0, 0);
53992 ;
53993 return 0;
53994 }
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func_sincosf_use=yes
53998 else
53999 glibcxx_cv_func_sincosf_use=no
54000 fi
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007
54008
54009 fi
54010
54011 fi
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54013 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54014
54015 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54016 for ac_func in sincosf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54019 if test "x$ac_cv_func_sincosf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE_SINCOSF 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027 else
54028
54029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54030 $as_echo_n "checking for _sincosf declaration... " >&6; }
54031 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54032 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54033 $as_echo_n "(cached) " >&6
54034 else
54035
54036
54037 ac_ext=cpp
54038 ac_cpp='$CXXCPP $CPPFLAGS'
54039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54042
54043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54044 /* end confdefs.h. */
54045 #include <math.h>
54046 int
54047 main ()
54048 {
54049 _sincosf(0, 0, 0);
54050 ;
54051 return 0;
54052 }
54053 _ACEOF
54054 if ac_fn_cxx_try_compile "$LINENO"; then :
54055 glibcxx_cv_func__sincosf_use=yes
54056 else
54057 glibcxx_cv_func__sincosf_use=no
54058 fi
54059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54060 ac_ext=c
54061 ac_cpp='$CPP $CPPFLAGS'
54062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54065
54066
54067 fi
54068
54069 fi
54070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54071 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54072
54073 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54074 for ac_func in _sincosf
54075 do :
54076 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54077 if test "x$ac_cv_func__sincosf" = x""yes; then :
54078 cat >>confdefs.h <<_ACEOF
54079 #define HAVE__SINCOSF 1
54080 _ACEOF
54081
54082 fi
54083 done
54084
54085 fi
54086 fi
54087
54088
54089
54090
54091
54092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54093 $as_echo_n "checking for finitef declaration... " >&6; }
54094 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54095 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54096 $as_echo_n "(cached) " >&6
54097 else
54098
54099
54100 ac_ext=cpp
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54105
54106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h. */
54108 #include <math.h>
54109 #ifdef HAVE_IEEEFP_H
54110 #include <ieeefp.h>
54111 #endif
54112
54113 int
54114 main ()
54115 {
54116 finitef(0);
54117 ;
54118 return 0;
54119 }
54120 _ACEOF
54121 if ac_fn_cxx_try_compile "$LINENO"; then :
54122 glibcxx_cv_func_finitef_use=yes
54123 else
54124 glibcxx_cv_func_finitef_use=no
54125 fi
54126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54127 ac_ext=c
54128 ac_cpp='$CPP $CPPFLAGS'
54129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54132
54133
54134 fi
54135
54136 fi
54137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54138 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54139
54140 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54141 for ac_func in finitef
54142 do :
54143 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54144 if test "x$ac_cv_func_finitef" = x""yes; then :
54145 cat >>confdefs.h <<_ACEOF
54146 #define HAVE_FINITEF 1
54147 _ACEOF
54148
54149 fi
54150 done
54151
54152 else
54153
54154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54155 $as_echo_n "checking for _finitef declaration... " >&6; }
54156 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54157 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54158 $as_echo_n "(cached) " >&6
54159 else
54160
54161
54162 ac_ext=cpp
54163 ac_cpp='$CXXCPP $CPPFLAGS'
54164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54167
54168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54169 /* end confdefs.h. */
54170 #include <math.h>
54171 #ifdef HAVE_IEEEFP_H
54172 #include <ieeefp.h>
54173 #endif
54174
54175 int
54176 main ()
54177 {
54178 _finitef(0);
54179 ;
54180 return 0;
54181 }
54182 _ACEOF
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184 glibcxx_cv_func__finitef_use=yes
54185 else
54186 glibcxx_cv_func__finitef_use=no
54187 fi
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189 ac_ext=c
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54194
54195
54196 fi
54197
54198 fi
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54200 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54201
54202 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54203 for ac_func in _finitef
54204 do :
54205 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54206 if test "x$ac_cv_func__finitef" = x""yes; then :
54207 cat >>confdefs.h <<_ACEOF
54208 #define HAVE__FINITEF 1
54209 _ACEOF
54210
54211 fi
54212 done
54213
54214 fi
54215 fi
54216
54217
54218
54219
54220
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54222 $as_echo_n "checking for long double trig functions... " >&6; }
54223 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54224 $as_echo_n "(cached) " >&6
54225 else
54226
54227
54228 ac_ext=cpp
54229 ac_cpp='$CXXCPP $CPPFLAGS'
54230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54233
54234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54235 /* end confdefs.h. */
54236 #include <math.h>
54237 int
54238 main ()
54239 {
54240 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54241 ;
54242 return 0;
54243 }
54244 _ACEOF
54245 if ac_fn_cxx_try_compile "$LINENO"; then :
54246 glibcxx_cv_func_long_double_trig_use=yes
54247 else
54248 glibcxx_cv_func_long_double_trig_use=no
54249 fi
54250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54251 ac_ext=c
54252 ac_cpp='$CPP $CPPFLAGS'
54253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256
54257 fi
54258
54259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54260 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54261 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54262 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54263 do :
54264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54266 eval as_val=\$$as_ac_var
54267 if test "x$as_val" = x""yes; then :
54268 cat >>confdefs.h <<_ACEOF
54269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54270 _ACEOF
54271
54272 fi
54273 done
54274
54275 else
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54277 $as_echo_n "checking for _long double trig functions... " >&6; }
54278 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54281
54282
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54288
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54292 int
54293 main ()
54294 {
54295 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54296 ;
54297 return 0;
54298 }
54299 _ACEOF
54300 if ac_fn_cxx_try_compile "$LINENO"; then :
54301 glibcxx_cv_func__long_double_trig_use=yes
54302 else
54303 glibcxx_cv_func__long_double_trig_use=no
54304 fi
54305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54306 ac_ext=c
54307 ac_cpp='$CPP $CPPFLAGS'
54308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54311
54312 fi
54313
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54315 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54316 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54317 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54318 do :
54319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54321 eval as_val=\$$as_ac_var
54322 if test "x$as_val" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54326
54327 fi
54328 done
54329
54330 fi
54331 fi
54332
54333
54334
54335
54336
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54338 $as_echo_n "checking for long double round functions... " >&6; }
54339 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54340 $as_echo_n "(cached) " >&6
54341 else
54342
54343
54344 ac_ext=cpp
54345 ac_cpp='$CXXCPP $CPPFLAGS'
54346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54349
54350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54351 /* end confdefs.h. */
54352 #include <math.h>
54353 int
54354 main ()
54355 {
54356 ceill (0); floorl (0);
54357 ;
54358 return 0;
54359 }
54360 _ACEOF
54361 if ac_fn_cxx_try_compile "$LINENO"; then :
54362 glibcxx_cv_func_long_double_round_use=yes
54363 else
54364 glibcxx_cv_func_long_double_round_use=no
54365 fi
54366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54367 ac_ext=c
54368 ac_cpp='$CPP $CPPFLAGS'
54369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54372
54373 fi
54374
54375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54376 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54377 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54378 for ac_func in ceill floorl
54379 do :
54380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54382 eval as_val=\$$as_ac_var
54383 if test "x$as_val" = x""yes; then :
54384 cat >>confdefs.h <<_ACEOF
54385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54386 _ACEOF
54387
54388 fi
54389 done
54390
54391 else
54392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54393 $as_echo_n "checking for _long double round functions... " >&6; }
54394 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54395 $as_echo_n "(cached) " >&6
54396 else
54397
54398
54399 ac_ext=cpp
54400 ac_cpp='$CXXCPP $CPPFLAGS'
54401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54404
54405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54406 /* end confdefs.h. */
54407 #include <math.h>
54408 int
54409 main ()
54410 {
54411 _ceill (0); _floorl (0);
54412 ;
54413 return 0;
54414 }
54415 _ACEOF
54416 if ac_fn_cxx_try_compile "$LINENO"; then :
54417 glibcxx_cv_func__long_double_round_use=yes
54418 else
54419 glibcxx_cv_func__long_double_round_use=no
54420 fi
54421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54422 ac_ext=c
54423 ac_cpp='$CPP $CPPFLAGS'
54424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54427
54428 fi
54429
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54431 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54432 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54433 for ac_func in _ceill _floorl
54434 do :
54435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54437 eval as_val=\$$as_ac_var
54438 if test "x$as_val" = x""yes; then :
54439 cat >>confdefs.h <<_ACEOF
54440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54441 _ACEOF
54442
54443 fi
54444 done
54445
54446 fi
54447 fi
54448
54449
54450
54451
54452
54453
54454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54455 $as_echo_n "checking for isnanl declaration... " >&6; }
54456 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54457 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54458 $as_echo_n "(cached) " >&6
54459 else
54460
54461
54462 ac_ext=cpp
54463 ac_cpp='$CXXCPP $CPPFLAGS'
54464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54467
54468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54469 /* end confdefs.h. */
54470 #include <math.h>
54471 #ifdef HAVE_IEEEFP_H
54472 #include <ieeefp.h>
54473 #endif
54474
54475 int
54476 main ()
54477 {
54478 isnanl(0);
54479 ;
54480 return 0;
54481 }
54482 _ACEOF
54483 if ac_fn_cxx_try_compile "$LINENO"; then :
54484 glibcxx_cv_func_isnanl_use=yes
54485 else
54486 glibcxx_cv_func_isnanl_use=no
54487 fi
54488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54489 ac_ext=c
54490 ac_cpp='$CPP $CPPFLAGS'
54491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54494
54495
54496 fi
54497
54498 fi
54499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54500 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54501
54502 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54503 for ac_func in isnanl
54504 do :
54505 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54506 if test "x$ac_cv_func_isnanl" = x""yes; then :
54507 cat >>confdefs.h <<_ACEOF
54508 #define HAVE_ISNANL 1
54509 _ACEOF
54510
54511 fi
54512 done
54513
54514 else
54515
54516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54517 $as_echo_n "checking for _isnanl declaration... " >&6; }
54518 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54519 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54520 $as_echo_n "(cached) " >&6
54521 else
54522
54523
54524 ac_ext=cpp
54525 ac_cpp='$CXXCPP $CPPFLAGS'
54526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529
54530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54531 /* end confdefs.h. */
54532 #include <math.h>
54533 #ifdef HAVE_IEEEFP_H
54534 #include <ieeefp.h>
54535 #endif
54536
54537 int
54538 main ()
54539 {
54540 _isnanl(0);
54541 ;
54542 return 0;
54543 }
54544 _ACEOF
54545 if ac_fn_cxx_try_compile "$LINENO"; then :
54546 glibcxx_cv_func__isnanl_use=yes
54547 else
54548 glibcxx_cv_func__isnanl_use=no
54549 fi
54550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54551 ac_ext=c
54552 ac_cpp='$CPP $CPPFLAGS'
54553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54556
54557
54558 fi
54559
54560 fi
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54562 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54563
54564 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54565 for ac_func in _isnanl
54566 do :
54567 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54568 if test "x$ac_cv_func__isnanl" = x""yes; then :
54569 cat >>confdefs.h <<_ACEOF
54570 #define HAVE__ISNANL 1
54571 _ACEOF
54572
54573 fi
54574 done
54575
54576 fi
54577 fi
54578
54579
54580
54581
54582
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54584 $as_echo_n "checking for isinfl declaration... " >&6; }
54585 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54586 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54587 $as_echo_n "(cached) " >&6
54588 else
54589
54590
54591 ac_ext=cpp
54592 ac_cpp='$CXXCPP $CPPFLAGS'
54593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596
54597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h. */
54599 #include <math.h>
54600 #ifdef HAVE_IEEEFP_H
54601 #include <ieeefp.h>
54602 #endif
54603
54604 int
54605 main ()
54606 {
54607 isinfl(0);
54608 ;
54609 return 0;
54610 }
54611 _ACEOF
54612 if ac_fn_cxx_try_compile "$LINENO"; then :
54613 glibcxx_cv_func_isinfl_use=yes
54614 else
54615 glibcxx_cv_func_isinfl_use=no
54616 fi
54617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54618 ac_ext=c
54619 ac_cpp='$CPP $CPPFLAGS'
54620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54623
54624
54625 fi
54626
54627 fi
54628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54629 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54630
54631 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54632 for ac_func in isinfl
54633 do :
54634 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54635 if test "x$ac_cv_func_isinfl" = x""yes; then :
54636 cat >>confdefs.h <<_ACEOF
54637 #define HAVE_ISINFL 1
54638 _ACEOF
54639
54640 fi
54641 done
54642
54643 else
54644
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54646 $as_echo_n "checking for _isinfl declaration... " >&6; }
54647 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54648 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54649 $as_echo_n "(cached) " >&6
54650 else
54651
54652
54653 ac_ext=cpp
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658
54659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660 /* end confdefs.h. */
54661 #include <math.h>
54662 #ifdef HAVE_IEEEFP_H
54663 #include <ieeefp.h>
54664 #endif
54665
54666 int
54667 main ()
54668 {
54669 _isinfl(0);
54670 ;
54671 return 0;
54672 }
54673 _ACEOF
54674 if ac_fn_cxx_try_compile "$LINENO"; then :
54675 glibcxx_cv_func__isinfl_use=yes
54676 else
54677 glibcxx_cv_func__isinfl_use=no
54678 fi
54679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54680 ac_ext=c
54681 ac_cpp='$CPP $CPPFLAGS'
54682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54685
54686
54687 fi
54688
54689 fi
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54691 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54692
54693 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54694 for ac_func in _isinfl
54695 do :
54696 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54697 if test "x$ac_cv_func__isinfl" = x""yes; then :
54698 cat >>confdefs.h <<_ACEOF
54699 #define HAVE__ISINFL 1
54700 _ACEOF
54701
54702 fi
54703 done
54704
54705 fi
54706 fi
54707
54708
54709
54710
54711
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54713 $as_echo_n "checking for atan2l declaration... " >&6; }
54714 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54715 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54716 $as_echo_n "(cached) " >&6
54717 else
54718
54719
54720 ac_ext=cpp
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725
54726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h. */
54728 #include <math.h>
54729 int
54730 main ()
54731 {
54732 atan2l(0, 0);
54733 ;
54734 return 0;
54735 }
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func_atan2l_use=yes
54739 else
54740 glibcxx_cv_func_atan2l_use=no
54741 fi
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54748
54749
54750 fi
54751
54752 fi
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54754 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54755
54756 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54757 for ac_func in atan2l
54758 do :
54759 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54760 if test "x$ac_cv_func_atan2l" = x""yes; then :
54761 cat >>confdefs.h <<_ACEOF
54762 #define HAVE_ATAN2L 1
54763 _ACEOF
54764
54765 fi
54766 done
54767
54768 else
54769
54770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54771 $as_echo_n "checking for _atan2l declaration... " >&6; }
54772 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54773 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54774 $as_echo_n "(cached) " >&6
54775 else
54776
54777
54778 ac_ext=cpp
54779 ac_cpp='$CXXCPP $CPPFLAGS'
54780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54783
54784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54785 /* end confdefs.h. */
54786 #include <math.h>
54787 int
54788 main ()
54789 {
54790 _atan2l(0, 0);
54791 ;
54792 return 0;
54793 }
54794 _ACEOF
54795 if ac_fn_cxx_try_compile "$LINENO"; then :
54796 glibcxx_cv_func__atan2l_use=yes
54797 else
54798 glibcxx_cv_func__atan2l_use=no
54799 fi
54800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54801 ac_ext=c
54802 ac_cpp='$CPP $CPPFLAGS'
54803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54806
54807
54808 fi
54809
54810 fi
54811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54812 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54813
54814 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54815 for ac_func in _atan2l
54816 do :
54817 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54818 if test "x$ac_cv_func__atan2l" = x""yes; then :
54819 cat >>confdefs.h <<_ACEOF
54820 #define HAVE__ATAN2L 1
54821 _ACEOF
54822
54823 fi
54824 done
54825
54826 fi
54827 fi
54828
54829
54830
54831
54832
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54834 $as_echo_n "checking for expl declaration... " >&6; }
54835 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54836 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54837 $as_echo_n "(cached) " >&6
54838 else
54839
54840
54841 ac_ext=cpp
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54846
54847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54848 /* end confdefs.h. */
54849 #include <math.h>
54850 #ifdef HAVE_IEEEFP_H
54851 #include <ieeefp.h>
54852 #endif
54853
54854 int
54855 main ()
54856 {
54857 expl(0);
54858 ;
54859 return 0;
54860 }
54861 _ACEOF
54862 if ac_fn_cxx_try_compile "$LINENO"; then :
54863 glibcxx_cv_func_expl_use=yes
54864 else
54865 glibcxx_cv_func_expl_use=no
54866 fi
54867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54868 ac_ext=c
54869 ac_cpp='$CPP $CPPFLAGS'
54870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54873
54874
54875 fi
54876
54877 fi
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54879 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54880
54881 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54882 for ac_func in expl
54883 do :
54884 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54885 if test "x$ac_cv_func_expl" = x""yes; then :
54886 cat >>confdefs.h <<_ACEOF
54887 #define HAVE_EXPL 1
54888 _ACEOF
54889
54890 fi
54891 done
54892
54893 else
54894
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54896 $as_echo_n "checking for _expl declaration... " >&6; }
54897 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54898 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54899 $as_echo_n "(cached) " >&6
54900 else
54901
54902
54903 ac_ext=cpp
54904 ac_cpp='$CXXCPP $CPPFLAGS'
54905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54908
54909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54910 /* end confdefs.h. */
54911 #include <math.h>
54912 #ifdef HAVE_IEEEFP_H
54913 #include <ieeefp.h>
54914 #endif
54915
54916 int
54917 main ()
54918 {
54919 _expl(0);
54920 ;
54921 return 0;
54922 }
54923 _ACEOF
54924 if ac_fn_cxx_try_compile "$LINENO"; then :
54925 glibcxx_cv_func__expl_use=yes
54926 else
54927 glibcxx_cv_func__expl_use=no
54928 fi
54929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54930 ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935
54936
54937 fi
54938
54939 fi
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54941 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54942
54943 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54944 for ac_func in _expl
54945 do :
54946 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54947 if test "x$ac_cv_func__expl" = x""yes; then :
54948 cat >>confdefs.h <<_ACEOF
54949 #define HAVE__EXPL 1
54950 _ACEOF
54951
54952 fi
54953 done
54954
54955 fi
54956 fi
54957
54958
54959
54960
54961
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54963 $as_echo_n "checking for fabsl declaration... " >&6; }
54964 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54965 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54966 $as_echo_n "(cached) " >&6
54967 else
54968
54969
54970 ac_ext=cpp
54971 ac_cpp='$CXXCPP $CPPFLAGS'
54972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54975
54976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54977 /* end confdefs.h. */
54978 #include <math.h>
54979 #ifdef HAVE_IEEEFP_H
54980 #include <ieeefp.h>
54981 #endif
54982
54983 int
54984 main ()
54985 {
54986 fabsl(0);
54987 ;
54988 return 0;
54989 }
54990 _ACEOF
54991 if ac_fn_cxx_try_compile "$LINENO"; then :
54992 glibcxx_cv_func_fabsl_use=yes
54993 else
54994 glibcxx_cv_func_fabsl_use=no
54995 fi
54996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997 ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55002
55003
55004 fi
55005
55006 fi
55007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55008 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55009
55010 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55011 for ac_func in fabsl
55012 do :
55013 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55014 if test "x$ac_cv_func_fabsl" = x""yes; then :
55015 cat >>confdefs.h <<_ACEOF
55016 #define HAVE_FABSL 1
55017 _ACEOF
55018
55019 fi
55020 done
55021
55022 else
55023
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55025 $as_echo_n "checking for _fabsl declaration... " >&6; }
55026 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55027 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55028 $as_echo_n "(cached) " >&6
55029 else
55030
55031
55032 ac_ext=cpp
55033 ac_cpp='$CXXCPP $CPPFLAGS'
55034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037
55038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039 /* end confdefs.h. */
55040 #include <math.h>
55041 #ifdef HAVE_IEEEFP_H
55042 #include <ieeefp.h>
55043 #endif
55044
55045 int
55046 main ()
55047 {
55048 _fabsl(0);
55049 ;
55050 return 0;
55051 }
55052 _ACEOF
55053 if ac_fn_cxx_try_compile "$LINENO"; then :
55054 glibcxx_cv_func__fabsl_use=yes
55055 else
55056 glibcxx_cv_func__fabsl_use=no
55057 fi
55058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55059 ac_ext=c
55060 ac_cpp='$CPP $CPPFLAGS'
55061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55064
55065
55066 fi
55067
55068 fi
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55070 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55071
55072 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55073 for ac_func in _fabsl
55074 do :
55075 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55076 if test "x$ac_cv_func__fabsl" = x""yes; then :
55077 cat >>confdefs.h <<_ACEOF
55078 #define HAVE__FABSL 1
55079 _ACEOF
55080
55081 fi
55082 done
55083
55084 fi
55085 fi
55086
55087
55088
55089
55090
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55092 $as_echo_n "checking for fmodl declaration... " >&6; }
55093 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55094 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55095 $as_echo_n "(cached) " >&6
55096 else
55097
55098
55099 ac_ext=cpp
55100 ac_cpp='$CXXCPP $CPPFLAGS'
55101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55104
55105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106 /* end confdefs.h. */
55107 #include <math.h>
55108 int
55109 main ()
55110 {
55111 fmodl(0, 0);
55112 ;
55113 return 0;
55114 }
55115 _ACEOF
55116 if ac_fn_cxx_try_compile "$LINENO"; then :
55117 glibcxx_cv_func_fmodl_use=yes
55118 else
55119 glibcxx_cv_func_fmodl_use=no
55120 fi
55121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55122 ac_ext=c
55123 ac_cpp='$CPP $CPPFLAGS'
55124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55127
55128
55129 fi
55130
55131 fi
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55133 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55134
55135 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55136 for ac_func in fmodl
55137 do :
55138 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55139 if test "x$ac_cv_func_fmodl" = x""yes; then :
55140 cat >>confdefs.h <<_ACEOF
55141 #define HAVE_FMODL 1
55142 _ACEOF
55143
55144 fi
55145 done
55146
55147 else
55148
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55150 $as_echo_n "checking for _fmodl declaration... " >&6; }
55151 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55152 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55153 $as_echo_n "(cached) " >&6
55154 else
55155
55156
55157 ac_ext=cpp
55158 ac_cpp='$CXXCPP $CPPFLAGS'
55159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162
55163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164 /* end confdefs.h. */
55165 #include <math.h>
55166 int
55167 main ()
55168 {
55169 _fmodl(0, 0);
55170 ;
55171 return 0;
55172 }
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func__fmodl_use=yes
55176 else
55177 glibcxx_cv_func__fmodl_use=no
55178 fi
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185
55186
55187 fi
55188
55189 fi
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55191 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55192
55193 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55194 for ac_func in _fmodl
55195 do :
55196 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55197 if test "x$ac_cv_func__fmodl" = x""yes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE__FMODL 1
55200 _ACEOF
55201
55202 fi
55203 done
55204
55205 fi
55206 fi
55207
55208
55209
55210
55211
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55213 $as_echo_n "checking for frexpl declaration... " >&6; }
55214 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55215 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55218
55219
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 int
55230 main ()
55231 {
55232 frexpl(0, 0);
55233 ;
55234 return 0;
55235 }
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func_frexpl_use=yes
55239 else
55240 glibcxx_cv_func_frexpl_use=no
55241 fi
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55248
55249
55250 fi
55251
55252 fi
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55254 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55255
55256 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55257 for ac_func in frexpl
55258 do :
55259 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55260 if test "x$ac_cv_func_frexpl" = x""yes; then :
55261 cat >>confdefs.h <<_ACEOF
55262 #define HAVE_FREXPL 1
55263 _ACEOF
55264
55265 fi
55266 done
55267
55268 else
55269
55270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55271 $as_echo_n "checking for _frexpl declaration... " >&6; }
55272 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55273 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55274 $as_echo_n "(cached) " >&6
55275 else
55276
55277
55278 ac_ext=cpp
55279 ac_cpp='$CXXCPP $CPPFLAGS'
55280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55283
55284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55285 /* end confdefs.h. */
55286 #include <math.h>
55287 int
55288 main ()
55289 {
55290 _frexpl(0, 0);
55291 ;
55292 return 0;
55293 }
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func__frexpl_use=yes
55297 else
55298 glibcxx_cv_func__frexpl_use=no
55299 fi
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307
55308 fi
55309
55310 fi
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55312 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55313
55314 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55315 for ac_func in _frexpl
55316 do :
55317 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55318 if test "x$ac_cv_func__frexpl" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE__FREXPL 1
55321 _ACEOF
55322
55323 fi
55324 done
55325
55326 fi
55327 fi
55328
55329
55330
55331
55332
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55334 $as_echo_n "checking for hypotl declaration... " >&6; }
55335 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55336 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55339
55340
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55346
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55350 int
55351 main ()
55352 {
55353 hypotl(0, 0);
55354 ;
55355 return 0;
55356 }
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func_hypotl_use=yes
55360 else
55361 glibcxx_cv_func_hypotl_use=no
55362 fi
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364 ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55369
55370
55371 fi
55372
55373 fi
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55375 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55376
55377 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55378 for ac_func in hypotl
55379 do :
55380 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55381 if test "x$ac_cv_func_hypotl" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE_HYPOTL 1
55384 _ACEOF
55385
55386 fi
55387 done
55388
55389 else
55390
55391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55392 $as_echo_n "checking for _hypotl declaration... " >&6; }
55393 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55394 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55395 $as_echo_n "(cached) " >&6
55396 else
55397
55398
55399 ac_ext=cpp
55400 ac_cpp='$CXXCPP $CPPFLAGS'
55401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404
55405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55406 /* end confdefs.h. */
55407 #include <math.h>
55408 int
55409 main ()
55410 {
55411 _hypotl(0, 0);
55412 ;
55413 return 0;
55414 }
55415 _ACEOF
55416 if ac_fn_cxx_try_compile "$LINENO"; then :
55417 glibcxx_cv_func__hypotl_use=yes
55418 else
55419 glibcxx_cv_func__hypotl_use=no
55420 fi
55421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55422 ac_ext=c
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55427
55428
55429 fi
55430
55431 fi
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55433 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55434
55435 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55436 for ac_func in _hypotl
55437 do :
55438 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55439 if test "x$ac_cv_func__hypotl" = x""yes; then :
55440 cat >>confdefs.h <<_ACEOF
55441 #define HAVE__HYPOTL 1
55442 _ACEOF
55443
55444 fi
55445 done
55446
55447 fi
55448 fi
55449
55450
55451
55452
55453
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55455 $as_echo_n "checking for ldexpl declaration... " >&6; }
55456 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55457 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55458 $as_echo_n "(cached) " >&6
55459 else
55460
55461
55462 ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467
55468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h. */
55470 #include <math.h>
55471 int
55472 main ()
55473 {
55474 ldexpl(0, 0);
55475 ;
55476 return 0;
55477 }
55478 _ACEOF
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480 glibcxx_cv_func_ldexpl_use=yes
55481 else
55482 glibcxx_cv_func_ldexpl_use=no
55483 fi
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485 ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55490
55491
55492 fi
55493
55494 fi
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55496 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55497
55498 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55499 for ac_func in ldexpl
55500 do :
55501 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55502 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55503 cat >>confdefs.h <<_ACEOF
55504 #define HAVE_LDEXPL 1
55505 _ACEOF
55506
55507 fi
55508 done
55509
55510 else
55511
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55513 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55514 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55515 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55516 $as_echo_n "(cached) " >&6
55517 else
55518
55519
55520 ac_ext=cpp
55521 ac_cpp='$CXXCPP $CPPFLAGS'
55522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55525
55526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55527 /* end confdefs.h. */
55528 #include <math.h>
55529 int
55530 main ()
55531 {
55532 _ldexpl(0, 0);
55533 ;
55534 return 0;
55535 }
55536 _ACEOF
55537 if ac_fn_cxx_try_compile "$LINENO"; then :
55538 glibcxx_cv_func__ldexpl_use=yes
55539 else
55540 glibcxx_cv_func__ldexpl_use=no
55541 fi
55542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55543 ac_ext=c
55544 ac_cpp='$CPP $CPPFLAGS'
55545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55548
55549
55550 fi
55551
55552 fi
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55554 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55555
55556 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55557 for ac_func in _ldexpl
55558 do :
55559 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55560 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55561 cat >>confdefs.h <<_ACEOF
55562 #define HAVE__LDEXPL 1
55563 _ACEOF
55564
55565 fi
55566 done
55567
55568 fi
55569 fi
55570
55571
55572
55573
55574
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55576 $as_echo_n "checking for logl declaration... " >&6; }
55577 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55578 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55579 $as_echo_n "(cached) " >&6
55580 else
55581
55582
55583 ac_ext=cpp
55584 ac_cpp='$CXXCPP $CPPFLAGS'
55585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55588
55589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55590 /* end confdefs.h. */
55591 #include <math.h>
55592 #ifdef HAVE_IEEEFP_H
55593 #include <ieeefp.h>
55594 #endif
55595
55596 int
55597 main ()
55598 {
55599 logl(0);
55600 ;
55601 return 0;
55602 }
55603 _ACEOF
55604 if ac_fn_cxx_try_compile "$LINENO"; then :
55605 glibcxx_cv_func_logl_use=yes
55606 else
55607 glibcxx_cv_func_logl_use=no
55608 fi
55609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55610 ac_ext=c
55611 ac_cpp='$CPP $CPPFLAGS'
55612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55615
55616
55617 fi
55618
55619 fi
55620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55621 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55622
55623 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55624 for ac_func in logl
55625 do :
55626 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55627 if test "x$ac_cv_func_logl" = x""yes; then :
55628 cat >>confdefs.h <<_ACEOF
55629 #define HAVE_LOGL 1
55630 _ACEOF
55631
55632 fi
55633 done
55634
55635 else
55636
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55638 $as_echo_n "checking for _logl declaration... " >&6; }
55639 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55640 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55641 $as_echo_n "(cached) " >&6
55642 else
55643
55644
55645 ac_ext=cpp
55646 ac_cpp='$CXXCPP $CPPFLAGS'
55647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55650
55651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652 /* end confdefs.h. */
55653 #include <math.h>
55654 #ifdef HAVE_IEEEFP_H
55655 #include <ieeefp.h>
55656 #endif
55657
55658 int
55659 main ()
55660 {
55661 _logl(0);
55662 ;
55663 return 0;
55664 }
55665 _ACEOF
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func__logl_use=yes
55668 else
55669 glibcxx_cv_func__logl_use=no
55670 fi
55671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55672 ac_ext=c
55673 ac_cpp='$CPP $CPPFLAGS'
55674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677
55678
55679 fi
55680
55681 fi
55682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55683 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55684
55685 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55686 for ac_func in _logl
55687 do :
55688 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55689 if test "x$ac_cv_func__logl" = x""yes; then :
55690 cat >>confdefs.h <<_ACEOF
55691 #define HAVE__LOGL 1
55692 _ACEOF
55693
55694 fi
55695 done
55696
55697 fi
55698 fi
55699
55700
55701
55702
55703
55704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55705 $as_echo_n "checking for log10l declaration... " >&6; }
55706 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55707 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55708 $as_echo_n "(cached) " >&6
55709 else
55710
55711
55712 ac_ext=cpp
55713 ac_cpp='$CXXCPP $CPPFLAGS'
55714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55717
55718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55719 /* end confdefs.h. */
55720 #include <math.h>
55721 #ifdef HAVE_IEEEFP_H
55722 #include <ieeefp.h>
55723 #endif
55724
55725 int
55726 main ()
55727 {
55728 log10l(0);
55729 ;
55730 return 0;
55731 }
55732 _ACEOF
55733 if ac_fn_cxx_try_compile "$LINENO"; then :
55734 glibcxx_cv_func_log10l_use=yes
55735 else
55736 glibcxx_cv_func_log10l_use=no
55737 fi
55738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55739 ac_ext=c
55740 ac_cpp='$CPP $CPPFLAGS'
55741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55744
55745
55746 fi
55747
55748 fi
55749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55750 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55751
55752 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55753 for ac_func in log10l
55754 do :
55755 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55756 if test "x$ac_cv_func_log10l" = x""yes; then :
55757 cat >>confdefs.h <<_ACEOF
55758 #define HAVE_LOG10L 1
55759 _ACEOF
55760
55761 fi
55762 done
55763
55764 else
55765
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55767 $as_echo_n "checking for _log10l declaration... " >&6; }
55768 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55769 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55770 $as_echo_n "(cached) " >&6
55771 else
55772
55773
55774 ac_ext=cpp
55775 ac_cpp='$CXXCPP $CPPFLAGS'
55776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55779
55780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55781 /* end confdefs.h. */
55782 #include <math.h>
55783 #ifdef HAVE_IEEEFP_H
55784 #include <ieeefp.h>
55785 #endif
55786
55787 int
55788 main ()
55789 {
55790 _log10l(0);
55791 ;
55792 return 0;
55793 }
55794 _ACEOF
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796 glibcxx_cv_func__log10l_use=yes
55797 else
55798 glibcxx_cv_func__log10l_use=no
55799 fi
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55801 ac_ext=c
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55806
55807
55808 fi
55809
55810 fi
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55812 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55813
55814 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55815 for ac_func in _log10l
55816 do :
55817 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55818 if test "x$ac_cv_func__log10l" = x""yes; then :
55819 cat >>confdefs.h <<_ACEOF
55820 #define HAVE__LOG10L 1
55821 _ACEOF
55822
55823 fi
55824 done
55825
55826 fi
55827 fi
55828
55829
55830
55831
55832
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55834 $as_echo_n "checking for modfl declaration... " >&6; }
55835 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55836 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55837 $as_echo_n "(cached) " >&6
55838 else
55839
55840
55841 ac_ext=cpp
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55846
55847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h. */
55849 #include <math.h>
55850 int
55851 main ()
55852 {
55853 modfl(0, 0);
55854 ;
55855 return 0;
55856 }
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func_modfl_use=yes
55860 else
55861 glibcxx_cv_func_modfl_use=no
55862 fi
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864 ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55869
55870
55871 fi
55872
55873 fi
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55875 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55876
55877 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55878 for ac_func in modfl
55879 do :
55880 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55881 if test "x$ac_cv_func_modfl" = x""yes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE_MODFL 1
55884 _ACEOF
55885
55886 fi
55887 done
55888
55889 else
55890
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55892 $as_echo_n "checking for _modfl declaration... " >&6; }
55893 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55894 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55897
55898
55899 ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55904
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55907 #include <math.h>
55908 int
55909 main ()
55910 {
55911 _modfl(0, 0);
55912 ;
55913 return 0;
55914 }
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func__modfl_use=yes
55918 else
55919 glibcxx_cv_func__modfl_use=no
55920 fi
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922 ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55927
55928
55929 fi
55930
55931 fi
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55933 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55934
55935 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55936 for ac_func in _modfl
55937 do :
55938 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55939 if test "x$ac_cv_func__modfl" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE__MODFL 1
55942 _ACEOF
55943
55944 fi
55945 done
55946
55947 fi
55948 fi
55949
55950
55951
55952
55953
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55955 $as_echo_n "checking for powl declaration... " >&6; }
55956 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55957 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55959 else
55960
55961
55962 ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55967
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55970 #include <math.h>
55971 int
55972 main ()
55973 {
55974 powl(0, 0);
55975 ;
55976 return 0;
55977 }
55978 _ACEOF
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980 glibcxx_cv_func_powl_use=yes
55981 else
55982 glibcxx_cv_func_powl_use=no
55983 fi
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55985 ac_ext=c
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55990
55991
55992 fi
55993
55994 fi
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55996 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55997
55998 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55999 for ac_func in powl
56000 do :
56001 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56002 if test "x$ac_cv_func_powl" = x""yes; then :
56003 cat >>confdefs.h <<_ACEOF
56004 #define HAVE_POWL 1
56005 _ACEOF
56006
56007 fi
56008 done
56009
56010 else
56011
56012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56013 $as_echo_n "checking for _powl declaration... " >&6; }
56014 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56015 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56016 $as_echo_n "(cached) " >&6
56017 else
56018
56019
56020 ac_ext=cpp
56021 ac_cpp='$CXXCPP $CPPFLAGS'
56022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56025
56026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56027 /* end confdefs.h. */
56028 #include <math.h>
56029 int
56030 main ()
56031 {
56032 _powl(0, 0);
56033 ;
56034 return 0;
56035 }
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038 glibcxx_cv_func__powl_use=yes
56039 else
56040 glibcxx_cv_func__powl_use=no
56041 fi
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043 ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56048
56049
56050 fi
56051
56052 fi
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56054 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56055
56056 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56057 for ac_func in _powl
56058 do :
56059 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56060 if test "x$ac_cv_func__powl" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define HAVE__POWL 1
56063 _ACEOF
56064
56065 fi
56066 done
56067
56068 fi
56069 fi
56070
56071
56072
56073
56074
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56076 $as_echo_n "checking for sqrtl declaration... " >&6; }
56077 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56078 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56079 $as_echo_n "(cached) " >&6
56080 else
56081
56082
56083 ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088
56089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h. */
56091 #include <math.h>
56092 #ifdef HAVE_IEEEFP_H
56093 #include <ieeefp.h>
56094 #endif
56095
56096 int
56097 main ()
56098 {
56099 sqrtl(0);
56100 ;
56101 return 0;
56102 }
56103 _ACEOF
56104 if ac_fn_cxx_try_compile "$LINENO"; then :
56105 glibcxx_cv_func_sqrtl_use=yes
56106 else
56107 glibcxx_cv_func_sqrtl_use=no
56108 fi
56109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56110 ac_ext=c
56111 ac_cpp='$CPP $CPPFLAGS'
56112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56115
56116
56117 fi
56118
56119 fi
56120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56121 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56122
56123 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56124 for ac_func in sqrtl
56125 do :
56126 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56127 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56128 cat >>confdefs.h <<_ACEOF
56129 #define HAVE_SQRTL 1
56130 _ACEOF
56131
56132 fi
56133 done
56134
56135 else
56136
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56138 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56139 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56140 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56143
56144
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56154 #ifdef HAVE_IEEEFP_H
56155 #include <ieeefp.h>
56156 #endif
56157
56158 int
56159 main ()
56160 {
56161 _sqrtl(0);
56162 ;
56163 return 0;
56164 }
56165 _ACEOF
56166 if ac_fn_cxx_try_compile "$LINENO"; then :
56167 glibcxx_cv_func__sqrtl_use=yes
56168 else
56169 glibcxx_cv_func__sqrtl_use=no
56170 fi
56171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56172 ac_ext=c
56173 ac_cpp='$CPP $CPPFLAGS'
56174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56177
56178
56179 fi
56180
56181 fi
56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56183 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56184
56185 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56186 for ac_func in _sqrtl
56187 do :
56188 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56189 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56190 cat >>confdefs.h <<_ACEOF
56191 #define HAVE__SQRTL 1
56192 _ACEOF
56193
56194 fi
56195 done
56196
56197 fi
56198 fi
56199
56200
56201
56202
56203
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56205 $as_echo_n "checking for sincosl declaration... " >&6; }
56206 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56207 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56208 $as_echo_n "(cached) " >&6
56209 else
56210
56211
56212 ac_ext=cpp
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217
56218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h. */
56220 #include <math.h>
56221 int
56222 main ()
56223 {
56224 sincosl(0, 0, 0);
56225 ;
56226 return 0;
56227 }
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func_sincosl_use=yes
56231 else
56232 glibcxx_cv_func_sincosl_use=no
56233 fi
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242 fi
56243
56244 fi
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56246 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56247
56248 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56249 for ac_func in sincosl
56250 do :
56251 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56252 if test "x$ac_cv_func_sincosl" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE_SINCOSL 1
56255 _ACEOF
56256
56257 fi
56258 done
56259
56260 else
56261
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56263 $as_echo_n "checking for _sincosl declaration... " >&6; }
56264 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56265 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56266 $as_echo_n "(cached) " >&6
56267 else
56268
56269
56270 ac_ext=cpp
56271 ac_cpp='$CXXCPP $CPPFLAGS'
56272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275
56276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56277 /* end confdefs.h. */
56278 #include <math.h>
56279 int
56280 main ()
56281 {
56282 _sincosl(0, 0, 0);
56283 ;
56284 return 0;
56285 }
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func__sincosl_use=yes
56289 else
56290 glibcxx_cv_func__sincosl_use=no
56291 fi
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293 ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56298
56299
56300 fi
56301
56302 fi
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56304 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56305
56306 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56307 for ac_func in _sincosl
56308 do :
56309 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56310 if test "x$ac_cv_func__sincosl" = x""yes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE__SINCOSL 1
56313 _ACEOF
56314
56315 fi
56316 done
56317
56318 fi
56319 fi
56320
56321
56322
56323
56324
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56326 $as_echo_n "checking for finitel declaration... " >&6; }
56327 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56328 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56329 $as_echo_n "(cached) " >&6
56330 else
56331
56332
56333 ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338
56339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h. */
56341 #include <math.h>
56342 #ifdef HAVE_IEEEFP_H
56343 #include <ieeefp.h>
56344 #endif
56345
56346 int
56347 main ()
56348 {
56349 finitel(0);
56350 ;
56351 return 0;
56352 }
56353 _ACEOF
56354 if ac_fn_cxx_try_compile "$LINENO"; then :
56355 glibcxx_cv_func_finitel_use=yes
56356 else
56357 glibcxx_cv_func_finitel_use=no
56358 fi
56359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56360 ac_ext=c
56361 ac_cpp='$CPP $CPPFLAGS'
56362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365
56366
56367 fi
56368
56369 fi
56370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56371 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56372
56373 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56374 for ac_func in finitel
56375 do :
56376 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56377 if test "x$ac_cv_func_finitel" = x""yes; then :
56378 cat >>confdefs.h <<_ACEOF
56379 #define HAVE_FINITEL 1
56380 _ACEOF
56381
56382 fi
56383 done
56384
56385 else
56386
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56388 $as_echo_n "checking for _finitel declaration... " >&6; }
56389 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56390 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56393
56394
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56400
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56404 #ifdef HAVE_IEEEFP_H
56405 #include <ieeefp.h>
56406 #endif
56407
56408 int
56409 main ()
56410 {
56411 _finitel(0);
56412 ;
56413 return 0;
56414 }
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func__finitel_use=yes
56418 else
56419 glibcxx_cv_func__finitel_use=no
56420 fi
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422 ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427
56428
56429 fi
56430
56431 fi
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56433 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56434
56435 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56436 for ac_func in _finitel
56437 do :
56438 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56439 if test "x$ac_cv_func__finitel" = x""yes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE__FINITEL 1
56442 _ACEOF
56443
56444 fi
56445 done
56446
56447 fi
56448 fi
56449
56450
56451
56452
56453 LIBS="$ac_save_LIBS"
56454 CXXFLAGS="$ac_save_CXXFLAGS"
56455
56456
56457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56458 ac_save_CXXFLAGS="$CXXFLAGS"
56459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56460
56461
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56463 $as_echo_n "checking for strtold declaration... " >&6; }
56464 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56465 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56466 $as_echo_n "(cached) " >&6
56467 else
56468
56469
56470 ac_ext=cpp
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56475
56476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h. */
56478 #include <stdlib.h>
56479 int
56480 main ()
56481 {
56482 strtold(0, 0);
56483 ;
56484 return 0;
56485 }
56486 _ACEOF
56487 if ac_fn_cxx_try_compile "$LINENO"; then :
56488 glibcxx_cv_func_strtold_use=yes
56489 else
56490 glibcxx_cv_func_strtold_use=no
56491 fi
56492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56493 ac_ext=c
56494 ac_cpp='$CPP $CPPFLAGS'
56495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56498
56499
56500 fi
56501
56502 fi
56503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56504 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56505 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56506 for ac_func in strtold
56507 do :
56508 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56509 if test "x$ac_cv_func_strtold" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_STRTOLD 1
56512 _ACEOF
56513
56514 fi
56515 done
56516
56517 fi
56518
56519
56520
56521
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56523 $as_echo_n "checking for strtof declaration... " >&6; }
56524 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56525 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56526 $as_echo_n "(cached) " >&6
56527 else
56528
56529
56530 ac_ext=cpp
56531 ac_cpp='$CXXCPP $CPPFLAGS'
56532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56535
56536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56537 /* end confdefs.h. */
56538 #include <stdlib.h>
56539 int
56540 main ()
56541 {
56542 strtof(0, 0);
56543 ;
56544 return 0;
56545 }
56546 _ACEOF
56547 if ac_fn_cxx_try_compile "$LINENO"; then :
56548 glibcxx_cv_func_strtof_use=yes
56549 else
56550 glibcxx_cv_func_strtof_use=no
56551 fi
56552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56553 ac_ext=c
56554 ac_cpp='$CPP $CPPFLAGS'
56555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56558
56559
56560 fi
56561
56562 fi
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56564 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56565 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56566 for ac_func in strtof
56567 do :
56568 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56569 if test "x$ac_cv_func_strtof" = x""yes; then :
56570 cat >>confdefs.h <<_ACEOF
56571 #define HAVE_STRTOF 1
56572 _ACEOF
56573
56574 fi
56575 done
56576
56577 fi
56578
56579
56580
56581
56582 CXXFLAGS="$ac_save_CXXFLAGS"
56583
56584 ;;
56585 *-netbsd*)
56586 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56587
56588
56589 # If we're not using GNU ld, then there's no point in even trying these
56590 # tests. Check for that first. We should have already tested for gld
56591 # by now (in libtool), but require it now just to be safe...
56592 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56593 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56594
56595
56596
56597 # The name set by libtool depends on the version of libtool. Shame on us
56598 # for depending on an impl detail, but c'est la vie. Older versions used
56599 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56600 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56601 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56602 # set (hence we're using an older libtool), then set it.
56603 if test x${with_gnu_ld+set} != xset; then
56604 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56605 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56606 with_gnu_ld=no
56607 else
56608 with_gnu_ld=$ac_cv_prog_gnu_ld
56609 fi
56610 fi
56611
56612 # Start by getting the version number. I think the libtool test already
56613 # does some of this, but throws away the result.
56614 glibcxx_ld_is_gold=no
56615 if test x"$with_gnu_ld" = x"yes"; then
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56617 $as_echo_n "checking for ld version... " >&6; }
56618
56619 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56620 glibcxx_ld_is_gold=yes
56621 fi
56622 ldver=`$LD --version 2>/dev/null |
56623 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'`
56624
56625 glibcxx_gnu_ld_version=`echo $ldver | \
56626 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56628 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56629 fi
56630
56631 # Set --gc-sections.
56632 glibcxx_have_gc_sections=no
56633 if test "$glibcxx_ld_is_gold" = "yes"; then
56634 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56635 glibcxx_have_gc_sections=yes
56636 fi
56637 else
56638 glibcxx_gcsections_min_ld=21602
56639 if test x"$with_gnu_ld" = x"yes" &&
56640 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56641 glibcxx_have_gc_sections=yes
56642 fi
56643 fi
56644 if test "$glibcxx_have_gc_sections" = "yes"; then
56645 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56646 # NB: This flag only works reliably after 2.16.1. Configure tests
56647 # for this are difficult, so hard wire a value that should work.
56648
56649 ac_test_CFLAGS="${CFLAGS+set}"
56650 ac_save_CFLAGS="$CFLAGS"
56651 CFLAGS='-Wl,--gc-sections'
56652
56653 # Check for -Wl,--gc-sections
56654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56655 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56656 if test x$gcc_no_link = xyes; then
56657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56658 fi
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 int one(void) { return 1; }
56662 int two(void) { return 2; }
56663
56664 int
56665 main ()
56666 {
56667 two();
56668 ;
56669 return 0;
56670 }
56671 _ACEOF
56672 if ac_fn_c_try_link "$LINENO"; then :
56673 ac_gcsections=yes
56674 else
56675 ac_gcsections=no
56676 fi
56677 rm -f core conftest.err conftest.$ac_objext \
56678 conftest$ac_exeext conftest.$ac_ext
56679 if test "$ac_gcsections" = "yes"; then
56680 rm -f conftest.c
56681 touch conftest.c
56682 if $CC -c conftest.c; then
56683 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56684 grep "Warning: gc-sections option ignored" > /dev/null; then
56685 ac_gcsections=no
56686 fi
56687 fi
56688 rm -f conftest.c conftest.o conftest
56689 fi
56690 if test "$ac_gcsections" = "yes"; then
56691 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56692 fi
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56694 $as_echo "$ac_gcsections" >&6; }
56695
56696 if test "$ac_test_CFLAGS" = set; then
56697 CFLAGS="$ac_save_CFLAGS"
56698 else
56699 # this is the suspicious part
56700 CFLAGS=''
56701 fi
56702 fi
56703
56704 # Set -z,relro.
56705 # Note this is only for shared objects.
56706 ac_ld_relro=no
56707 if test x"$with_gnu_ld" = x"yes"; then
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56709 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56710 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56711 if test -n "$cxx_z_relo"; then
56712 OPT_LDFLAGS="-Wl,-z,relro"
56713 ac_ld_relro=yes
56714 fi
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56716 $as_echo "$ac_ld_relro" >&6; }
56717 fi
56718
56719 # Set linker optimization flags.
56720 if test x"$with_gnu_ld" = x"yes"; then
56721 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56722 fi
56723
56724
56725
56726
56727 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56728
56729 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56730
56731 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56732
56733 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56734
56735 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56736
56737 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56738
56739 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56740
56741 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56742
56743 if test x"long_double_math_on_this_cpu" = x"yes"; then
56744 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56745
56746 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56747
56748 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56749
56750 fi
56751 ;;
56752 *-netware)
56753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56754
56755
56756 # If we're not using GNU ld, then there's no point in even trying these
56757 # tests. Check for that first. We should have already tested for gld
56758 # by now (in libtool), but require it now just to be safe...
56759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56761
56762
56763
56764 # The name set by libtool depends on the version of libtool. Shame on us
56765 # for depending on an impl detail, but c'est la vie. Older versions used
56766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56769 # set (hence we're using an older libtool), then set it.
56770 if test x${with_gnu_ld+set} != xset; then
56771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56773 with_gnu_ld=no
56774 else
56775 with_gnu_ld=$ac_cv_prog_gnu_ld
56776 fi
56777 fi
56778
56779 # Start by getting the version number. I think the libtool test already
56780 # does some of this, but throws away the result.
56781 glibcxx_ld_is_gold=no
56782 if test x"$with_gnu_ld" = x"yes"; then
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56784 $as_echo_n "checking for ld version... " >&6; }
56785
56786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56787 glibcxx_ld_is_gold=yes
56788 fi
56789 ldver=`$LD --version 2>/dev/null |
56790 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'`
56791
56792 glibcxx_gnu_ld_version=`echo $ldver | \
56793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56796 fi
56797
56798 # Set --gc-sections.
56799 glibcxx_have_gc_sections=no
56800 if test "$glibcxx_ld_is_gold" = "yes"; then
56801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56802 glibcxx_have_gc_sections=yes
56803 fi
56804 else
56805 glibcxx_gcsections_min_ld=21602
56806 if test x"$with_gnu_ld" = x"yes" &&
56807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56808 glibcxx_have_gc_sections=yes
56809 fi
56810 fi
56811 if test "$glibcxx_have_gc_sections" = "yes"; then
56812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56813 # NB: This flag only works reliably after 2.16.1. Configure tests
56814 # for this are difficult, so hard wire a value that should work.
56815
56816 ac_test_CFLAGS="${CFLAGS+set}"
56817 ac_save_CFLAGS="$CFLAGS"
56818 CFLAGS='-Wl,--gc-sections'
56819
56820 # Check for -Wl,--gc-sections
56821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56823 if test x$gcc_no_link = xyes; then
56824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56825 fi
56826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56827 /* end confdefs.h. */
56828 int one(void) { return 1; }
56829 int two(void) { return 2; }
56830
56831 int
56832 main ()
56833 {
56834 two();
56835 ;
56836 return 0;
56837 }
56838 _ACEOF
56839 if ac_fn_c_try_link "$LINENO"; then :
56840 ac_gcsections=yes
56841 else
56842 ac_gcsections=no
56843 fi
56844 rm -f core conftest.err conftest.$ac_objext \
56845 conftest$ac_exeext conftest.$ac_ext
56846 if test "$ac_gcsections" = "yes"; then
56847 rm -f conftest.c
56848 touch conftest.c
56849 if $CC -c conftest.c; then
56850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56851 grep "Warning: gc-sections option ignored" > /dev/null; then
56852 ac_gcsections=no
56853 fi
56854 fi
56855 rm -f conftest.c conftest.o conftest
56856 fi
56857 if test "$ac_gcsections" = "yes"; then
56858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56859 fi
56860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56861 $as_echo "$ac_gcsections" >&6; }
56862
56863 if test "$ac_test_CFLAGS" = set; then
56864 CFLAGS="$ac_save_CFLAGS"
56865 else
56866 # this is the suspicious part
56867 CFLAGS=''
56868 fi
56869 fi
56870
56871 # Set -z,relro.
56872 # Note this is only for shared objects.
56873 ac_ld_relro=no
56874 if test x"$with_gnu_ld" = x"yes"; then
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56878 if test -n "$cxx_z_relo"; then
56879 OPT_LDFLAGS="-Wl,-z,relro"
56880 ac_ld_relro=yes
56881 fi
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56883 $as_echo "$ac_ld_relro" >&6; }
56884 fi
56885
56886 # Set linker optimization flags.
56887 if test x"$with_gnu_ld" = x"yes"; then
56888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56889 fi
56890
56891
56892
56893
56894 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56895
56896 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56897
56898 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56899
56900 ;;
56901 *-qnx6.1* | *-qnx6.2*)
56902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56903
56904
56905 # If we're not using GNU ld, then there's no point in even trying these
56906 # tests. Check for that first. We should have already tested for gld
56907 # by now (in libtool), but require it now just to be safe...
56908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56910
56911
56912
56913 # The name set by libtool depends on the version of libtool. Shame on us
56914 # for depending on an impl detail, but c'est la vie. Older versions used
56915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56918 # set (hence we're using an older libtool), then set it.
56919 if test x${with_gnu_ld+set} != xset; then
56920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56922 with_gnu_ld=no
56923 else
56924 with_gnu_ld=$ac_cv_prog_gnu_ld
56925 fi
56926 fi
56927
56928 # Start by getting the version number. I think the libtool test already
56929 # does some of this, but throws away the result.
56930 glibcxx_ld_is_gold=no
56931 if test x"$with_gnu_ld" = x"yes"; then
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56933 $as_echo_n "checking for ld version... " >&6; }
56934
56935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56936 glibcxx_ld_is_gold=yes
56937 fi
56938 ldver=`$LD --version 2>/dev/null |
56939 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'`
56940
56941 glibcxx_gnu_ld_version=`echo $ldver | \
56942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56945 fi
56946
56947 # Set --gc-sections.
56948 glibcxx_have_gc_sections=no
56949 if test "$glibcxx_ld_is_gold" = "yes"; then
56950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56951 glibcxx_have_gc_sections=yes
56952 fi
56953 else
56954 glibcxx_gcsections_min_ld=21602
56955 if test x"$with_gnu_ld" = x"yes" &&
56956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56957 glibcxx_have_gc_sections=yes
56958 fi
56959 fi
56960 if test "$glibcxx_have_gc_sections" = "yes"; then
56961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56962 # NB: This flag only works reliably after 2.16.1. Configure tests
56963 # for this are difficult, so hard wire a value that should work.
56964
56965 ac_test_CFLAGS="${CFLAGS+set}"
56966 ac_save_CFLAGS="$CFLAGS"
56967 CFLAGS='-Wl,--gc-sections'
56968
56969 # Check for -Wl,--gc-sections
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56972 if test x$gcc_no_link = xyes; then
56973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56974 fi
56975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56976 /* end confdefs.h. */
56977 int one(void) { return 1; }
56978 int two(void) { return 2; }
56979
56980 int
56981 main ()
56982 {
56983 two();
56984 ;
56985 return 0;
56986 }
56987 _ACEOF
56988 if ac_fn_c_try_link "$LINENO"; then :
56989 ac_gcsections=yes
56990 else
56991 ac_gcsections=no
56992 fi
56993 rm -f core conftest.err conftest.$ac_objext \
56994 conftest$ac_exeext conftest.$ac_ext
56995 if test "$ac_gcsections" = "yes"; then
56996 rm -f conftest.c
56997 touch conftest.c
56998 if $CC -c conftest.c; then
56999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57000 grep "Warning: gc-sections option ignored" > /dev/null; then
57001 ac_gcsections=no
57002 fi
57003 fi
57004 rm -f conftest.c conftest.o conftest
57005 fi
57006 if test "$ac_gcsections" = "yes"; then
57007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57008 fi
57009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57010 $as_echo "$ac_gcsections" >&6; }
57011
57012 if test "$ac_test_CFLAGS" = set; then
57013 CFLAGS="$ac_save_CFLAGS"
57014 else
57015 # this is the suspicious part
57016 CFLAGS=''
57017 fi
57018 fi
57019
57020 # Set -z,relro.
57021 # Note this is only for shared objects.
57022 ac_ld_relro=no
57023 if test x"$with_gnu_ld" = x"yes"; then
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57027 if test -n "$cxx_z_relo"; then
57028 OPT_LDFLAGS="-Wl,-z,relro"
57029 ac_ld_relro=yes
57030 fi
57031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57032 $as_echo "$ac_ld_relro" >&6; }
57033 fi
57034
57035 # Set linker optimization flags.
57036 if test x"$with_gnu_ld" = x"yes"; then
57037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57038 fi
57039
57040
57041
57042
57043 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57044
57045 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57046
57047 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57048
57049 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57050
57051 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57052
57053 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57054
57055 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57056
57057 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57058
57059 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57060
57061 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57062
57063 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57064
57065 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57066
57067 ;;
57068 *-solaris*)
57069 case "$target" in
57070 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57071
57072 # If we're not using GNU ld, then there's no point in even trying these
57073 # tests. Check for that first. We should have already tested for gld
57074 # by now (in libtool), but require it now just to be safe...
57075 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57076 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57077
57078
57079
57080 # The name set by libtool depends on the version of libtool. Shame on us
57081 # for depending on an impl detail, but c'est la vie. Older versions used
57082 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57083 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57084 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57085 # set (hence we're using an older libtool), then set it.
57086 if test x${with_gnu_ld+set} != xset; then
57087 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57088 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57089 with_gnu_ld=no
57090 else
57091 with_gnu_ld=$ac_cv_prog_gnu_ld
57092 fi
57093 fi
57094
57095 # Start by getting the version number. I think the libtool test already
57096 # does some of this, but throws away the result.
57097 glibcxx_ld_is_gold=no
57098 if test x"$with_gnu_ld" = x"yes"; then
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57100 $as_echo_n "checking for ld version... " >&6; }
57101
57102 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57103 glibcxx_ld_is_gold=yes
57104 fi
57105 ldver=`$LD --version 2>/dev/null |
57106 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'`
57107
57108 glibcxx_gnu_ld_version=`echo $ldver | \
57109 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57111 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57112 fi
57113
57114 # Set --gc-sections.
57115 glibcxx_have_gc_sections=no
57116 if test "$glibcxx_ld_is_gold" = "yes"; then
57117 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57118 glibcxx_have_gc_sections=yes
57119 fi
57120 else
57121 glibcxx_gcsections_min_ld=21602
57122 if test x"$with_gnu_ld" = x"yes" &&
57123 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57124 glibcxx_have_gc_sections=yes
57125 fi
57126 fi
57127 if test "$glibcxx_have_gc_sections" = "yes"; then
57128 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57129 # NB: This flag only works reliably after 2.16.1. Configure tests
57130 # for this are difficult, so hard wire a value that should work.
57131
57132 ac_test_CFLAGS="${CFLAGS+set}"
57133 ac_save_CFLAGS="$CFLAGS"
57134 CFLAGS='-Wl,--gc-sections'
57135
57136 # Check for -Wl,--gc-sections
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57138 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57139 if test x$gcc_no_link = xyes; then
57140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57141 fi
57142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57143 /* end confdefs.h. */
57144 int one(void) { return 1; }
57145 int two(void) { return 2; }
57146
57147 int
57148 main ()
57149 {
57150 two();
57151 ;
57152 return 0;
57153 }
57154 _ACEOF
57155 if ac_fn_c_try_link "$LINENO"; then :
57156 ac_gcsections=yes
57157 else
57158 ac_gcsections=no
57159 fi
57160 rm -f core conftest.err conftest.$ac_objext \
57161 conftest$ac_exeext conftest.$ac_ext
57162 if test "$ac_gcsections" = "yes"; then
57163 rm -f conftest.c
57164 touch conftest.c
57165 if $CC -c conftest.c; then
57166 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57167 grep "Warning: gc-sections option ignored" > /dev/null; then
57168 ac_gcsections=no
57169 fi
57170 fi
57171 rm -f conftest.c conftest.o conftest
57172 fi
57173 if test "$ac_gcsections" = "yes"; then
57174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57175 fi
57176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57177 $as_echo "$ac_gcsections" >&6; }
57178
57179 if test "$ac_test_CFLAGS" = set; then
57180 CFLAGS="$ac_save_CFLAGS"
57181 else
57182 # this is the suspicious part
57183 CFLAGS=''
57184 fi
57185 fi
57186
57187 # Set -z,relro.
57188 # Note this is only for shared objects.
57189 ac_ld_relro=no
57190 if test x"$with_gnu_ld" = x"yes"; then
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57192 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57193 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57194 if test -n "$cxx_z_relo"; then
57195 OPT_LDFLAGS="-Wl,-z,relro"
57196 ac_ld_relro=yes
57197 fi
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57199 $as_echo "$ac_ld_relro" >&6; }
57200 fi
57201
57202 # Set linker optimization flags.
57203 if test x"$with_gnu_ld" = x"yes"; then
57204 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57205 fi
57206
57207
57208
57209
57210 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57211
57212 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57213
57214 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57215
57216 # All of the dependencies for wide character support are here, so
57217 # turn it on.
57218 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57219
57220 ;;
57221 esac
57222 case "$target" in
57223 *-*-solaris2.10)
57224 # These two C99 functions are present only in Solaris >= 10
57225 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57226
57227 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57228
57229 ;;
57230 esac
57231 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57232
57233 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57234
57235 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57236
57237 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57238
57239 ;;
57240 *-tpf)
57241 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57242
57243
57244 # If we're not using GNU ld, then there's no point in even trying these
57245 # tests. Check for that first. We should have already tested for gld
57246 # by now (in libtool), but require it now just to be safe...
57247 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57248 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57249
57250
57251
57252 # The name set by libtool depends on the version of libtool. Shame on us
57253 # for depending on an impl detail, but c'est la vie. Older versions used
57254 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57255 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57256 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57257 # set (hence we're using an older libtool), then set it.
57258 if test x${with_gnu_ld+set} != xset; then
57259 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57260 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57261 with_gnu_ld=no
57262 else
57263 with_gnu_ld=$ac_cv_prog_gnu_ld
57264 fi
57265 fi
57266
57267 # Start by getting the version number. I think the libtool test already
57268 # does some of this, but throws away the result.
57269 glibcxx_ld_is_gold=no
57270 if test x"$with_gnu_ld" = x"yes"; then
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57272 $as_echo_n "checking for ld version... " >&6; }
57273
57274 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57275 glibcxx_ld_is_gold=yes
57276 fi
57277 ldver=`$LD --version 2>/dev/null |
57278 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'`
57279
57280 glibcxx_gnu_ld_version=`echo $ldver | \
57281 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57283 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57284 fi
57285
57286 # Set --gc-sections.
57287 glibcxx_have_gc_sections=no
57288 if test "$glibcxx_ld_is_gold" = "yes"; then
57289 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57290 glibcxx_have_gc_sections=yes
57291 fi
57292 else
57293 glibcxx_gcsections_min_ld=21602
57294 if test x"$with_gnu_ld" = x"yes" &&
57295 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57296 glibcxx_have_gc_sections=yes
57297 fi
57298 fi
57299 if test "$glibcxx_have_gc_sections" = "yes"; then
57300 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57301 # NB: This flag only works reliably after 2.16.1. Configure tests
57302 # for this are difficult, so hard wire a value that should work.
57303
57304 ac_test_CFLAGS="${CFLAGS+set}"
57305 ac_save_CFLAGS="$CFLAGS"
57306 CFLAGS='-Wl,--gc-sections'
57307
57308 # Check for -Wl,--gc-sections
57309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57310 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57311 if test x$gcc_no_link = xyes; then
57312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57313 fi
57314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57315 /* end confdefs.h. */
57316 int one(void) { return 1; }
57317 int two(void) { return 2; }
57318
57319 int
57320 main ()
57321 {
57322 two();
57323 ;
57324 return 0;
57325 }
57326 _ACEOF
57327 if ac_fn_c_try_link "$LINENO"; then :
57328 ac_gcsections=yes
57329 else
57330 ac_gcsections=no
57331 fi
57332 rm -f core conftest.err conftest.$ac_objext \
57333 conftest$ac_exeext conftest.$ac_ext
57334 if test "$ac_gcsections" = "yes"; then
57335 rm -f conftest.c
57336 touch conftest.c
57337 if $CC -c conftest.c; then
57338 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57339 grep "Warning: gc-sections option ignored" > /dev/null; then
57340 ac_gcsections=no
57341 fi
57342 fi
57343 rm -f conftest.c conftest.o conftest
57344 fi
57345 if test "$ac_gcsections" = "yes"; then
57346 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57347 fi
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57349 $as_echo "$ac_gcsections" >&6; }
57350
57351 if test "$ac_test_CFLAGS" = set; then
57352 CFLAGS="$ac_save_CFLAGS"
57353 else
57354 # this is the suspicious part
57355 CFLAGS=''
57356 fi
57357 fi
57358
57359 # Set -z,relro.
57360 # Note this is only for shared objects.
57361 ac_ld_relro=no
57362 if test x"$with_gnu_ld" = x"yes"; then
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57364 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57365 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57366 if test -n "$cxx_z_relo"; then
57367 OPT_LDFLAGS="-Wl,-z,relro"
57368 ac_ld_relro=yes
57369 fi
57370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57371 $as_echo "$ac_ld_relro" >&6; }
57372 fi
57373
57374 # Set linker optimization flags.
57375 if test x"$with_gnu_ld" = x"yes"; then
57376 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57377 fi
57378
57379
57380
57381
57382 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57383
57384 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57385
57386 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57387
57388 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57389
57390 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57391
57392 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57393
57394 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57395
57396 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57397
57398 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57399
57400 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57401
57402 if test x"long_double_math_on_this_cpu" = x"yes"; then
57403 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57404
57405 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57406
57407 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57408
57409 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57410
57411 fi
57412 ;;
57413 *-vxworks)
57414 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57415
57416 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57417
57418 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57419
57420 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57421
57422 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57423
57424 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57425
57426 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57427
57428 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57429
57430 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57431
57432 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57433
57434 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57435
57436 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57437
57438 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57439
57440 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57441
57442 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57443
57444 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57445
57446 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57447
57448 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57449
57450 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57451
57452 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57453
57454 ;;
57455 *)
57456 as_fn_error "No support for this host/target combination." "$LINENO" 5
57457 ;;
57458 esac
57459
57460 fi
57461
57462 # At some point, we should differentiate between architectures
57463 # like x86, which have long double versions, and alpha/powerpc/etc.,
57464 # which don't. For the time being, punt.
57465 if test x"long_double_math_on_this_cpu" = x"yes"; then
57466 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57467
57468 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57469
57470 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57471
57472 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57473
57474 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57475
57476 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57477
57478 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57479
57480 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57481
57482 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57483
57484 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57485
57486 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57487
57488 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57489
57490 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57491
57492 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57493
57494 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57495
57496 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57497
57498 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57499
57500 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57501
57502 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57503
57504 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57505
57506 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57507
57508 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57509
57510 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57511
57512 fi
57513 fi
57514
57515 # Check for _Unwind_GetIPInfo.
57516
57517
57518 # Check whether --with-system-libunwind was given.
57519 if test "${with_system_libunwind+set}" = set; then :
57520 withval=$with_system_libunwind;
57521 fi
57522
57523 # If system-libunwind was not specifically set, pick a default setting.
57524 if test x$with_system_libunwind = x; then
57525 case ${target} in
57526 ia64-*-hpux*) with_system_libunwind=yes ;;
57527 *) with_system_libunwind=no ;;
57528 esac
57529 fi
57530 # Based on system-libunwind and target, do we have ipinfo?
57531 if test x$with_system_libunwind = xyes; then
57532 case ${target} in
57533 ia64-*-*) have_unwind_getipinfo=no ;;
57534 *) have_unwind_getipinfo=yes ;;
57535 esac
57536 else
57537 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57538
57539 case ${target} in
57540 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57541 *) have_unwind_getipinfo=yes ;;
57542 esac
57543
57544 fi
57545
57546 if test x$have_unwind_getipinfo = xyes; then
57547
57548 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57549
57550 fi
57551
57552
57553
57554 # Check whether --enable-linux-futex was given.
57555 if test "${enable_linux_futex+set}" = set; then :
57556 enableval=$enable_linux_futex;
57557 case "$enableval" in
57558 yes|no|default) ;;
57559 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57560 esac
57561
57562 else
57563 enable_linux_futex=default
57564 fi
57565
57566
57567 case "$target" in
57568 *-linux*)
57569 case "$enable_linux_futex" in
57570 default)
57571 # If headers don't have gettid/futex syscalls definition, then
57572 # default to no, otherwise there will be compile time failures.
57573 # Otherwise, default to yes. If we don't detect we are
57574 # compiled/linked against NPTL and not cross-compiling, check
57575 # if programs are run by default against NPTL and if not, issue
57576 # a warning.
57577 enable_linux_futex=no
57578 if test x$gcc_no_link = xyes; then
57579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57580 fi
57581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57582 /* end confdefs.h. */
57583 #include <sys/syscall.h>
57584 int lk;
57585 int
57586 main ()
57587 {
57588 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57589 ;
57590 return 0;
57591 }
57592 _ACEOF
57593 if ac_fn_c_try_link "$LINENO"; then :
57594 save_LIBS="$LIBS"
57595 LIBS="-lpthread $LIBS"
57596 if test x$gcc_no_link = xyes; then
57597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57598 fi
57599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57600 /* end confdefs.h. */
57601 #ifndef _GNU_SOURCE
57602 #define _GNU_SOURCE 1
57603 #endif
57604 #include <pthread.h>
57605 pthread_t th; void *status;
57606 int
57607 main ()
57608 {
57609 pthread_tryjoin_np (th, &status);
57610 ;
57611 return 0;
57612 }
57613 _ACEOF
57614 if ac_fn_c_try_link "$LINENO"; then :
57615 enable_linux_futex=yes
57616 else
57617 if test x$cross_compiling = xno; then
57618 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57619 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57621 If so, please configure with --disable-linux-futex" >&5
57622 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57623 If so, please configure with --disable-linux-futex" >&2;}
57624 fi
57625 fi
57626 enable_linux_futex=yes
57627 fi
57628 rm -f core conftest.err conftest.$ac_objext \
57629 conftest$ac_exeext conftest.$ac_ext
57630 LIBS="$save_LIBS"
57631 fi
57632 rm -f core conftest.err conftest.$ac_objext \
57633 conftest$ac_exeext conftest.$ac_ext
57634 ;;
57635 yes)
57636 if test x$gcc_no_link = xyes; then
57637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57638 fi
57639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57640 /* end confdefs.h. */
57641 #include <sys/syscall.h>
57642 int lk;
57643 int
57644 main ()
57645 {
57646 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57647 ;
57648 return 0;
57649 }
57650 _ACEOF
57651 if ac_fn_c_try_link "$LINENO"; then :
57652
57653 else
57654 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57655 fi
57656 rm -f core conftest.err conftest.$ac_objext \
57657 conftest$ac_exeext conftest.$ac_ext
57658 ;;
57659 esac
57660 ;;
57661 *)
57662 enable_linux_futex=no
57663 ;;
57664 esac
57665 if test x$enable_linux_futex = xyes; then
57666
57667 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57668
57669 fi
57670
57671
57672
57673
57674 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57675
57676 acx_cv_header_stdint=stddef.h
57677 acx_cv_header_stdint_kind="(already complete)"
57678 for i in stdint.h $inttype_headers; do
57679 unset ac_cv_type_uintptr_t
57680 unset ac_cv_type_uintmax_t
57681 unset ac_cv_type_int_least32_t
57682 unset ac_cv_type_int_fast32_t
57683 unset ac_cv_type_uint64_t
57684 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57685 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57686 #include <$i>
57687 "
57688 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57689 acx_cv_header_stdint=$i
57690 else
57691 continue
57692 fi
57693
57694 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57695 #include <$i>
57696 "
57697 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57698
57699 else
57700 acx_cv_header_stdint_kind="(mostly complete)"
57701 fi
57702
57703 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57704 #include <$i>
57705 "
57706 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57707
57708 else
57709 acx_cv_header_stdint_kind="(mostly complete)"
57710 fi
57711
57712 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57713 #include <$i>
57714 "
57715 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57716
57717 else
57718 acx_cv_header_stdint_kind="(mostly complete)"
57719 fi
57720
57721 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57722 #include <$i>
57723 "
57724 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57725
57726 else
57727 acx_cv_header_stdint_kind="(lacks uint64_t)"
57728 fi
57729
57730 break
57731 done
57732 if test "$acx_cv_header_stdint" = stddef.h; then
57733 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57734 for i in stdint.h $inttype_headers; do
57735 unset ac_cv_type_uintptr_t
57736 unset ac_cv_type_uint32_t
57737 unset ac_cv_type_uint64_t
57738 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57739 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57740 #include <$i>
57741 "
57742 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57743 acx_cv_header_stdint=$i
57744 else
57745 continue
57746 fi
57747
57748 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57749 #include <$i>
57750 "
57751 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57752
57753 fi
57754
57755 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57756 #include <$i>
57757 "
57758 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57759
57760 fi
57761
57762 break
57763 done
57764 fi
57765 if test "$acx_cv_header_stdint" = stddef.h; then
57766 acx_cv_header_stdint_kind="(u_intXX_t style)"
57767 for i in sys/types.h $inttype_headers; do
57768 unset ac_cv_type_u_int32_t
57769 unset ac_cv_type_u_int64_t
57770 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57771 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57772 #include <$i>
57773 "
57774 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57775 acx_cv_header_stdint=$i
57776 else
57777 continue
57778 fi
57779
57780 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57781 #include <$i>
57782 "
57783 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57784
57785 fi
57786
57787 break
57788 done
57789 fi
57790 if test "$acx_cv_header_stdint" = stddef.h; then
57791 acx_cv_header_stdint_kind="(using manual detection)"
57792 fi
57793
57794 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57795 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57796 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57797 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57798 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57799
57800 # ----------------- Summarize what we found so far
57801
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57803 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57804
57805 case `$as_basename -- include/gstdint.h ||
57806 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57807 Xinclude/gstdint.h : 'X\(//\)$' \| \
57808 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57809 $as_echo X/include/gstdint.h |
57810 sed '/^.*\/\([^/][^/]*\)\/*$/{
57811 s//\1/
57812 q
57813 }
57814 /^X\/\(\/\/\)$/{
57815 s//\1/
57816 q
57817 }
57818 /^X\/\(\/\).*/{
57819 s//\1/
57820 q
57821 }
57822 s/.*/./; q'` in
57823 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57824 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57825 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57826 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57827 *) ;;
57828 esac
57829
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57831 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57832
57833 # ----------------- done included file, check C basic types --------
57834
57835 # Lacking an uintptr_t? Test size of void *
57836 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57837 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57840 # This bug is HP SR number 8606223364.
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57842 $as_echo_n "checking size of void *... " >&6; }
57843 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57844 $as_echo_n "(cached) " >&6
57845 else
57846 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57847
57848 else
57849 if test "$ac_cv_type_void_p" = yes; then
57850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57852 { as_fn_set_status 77
57853 as_fn_error "cannot compute sizeof (void *)
57854 See \`config.log' for more details." "$LINENO" 5; }; }
57855 else
57856 ac_cv_sizeof_void_p=0
57857 fi
57858 fi
57859
57860 fi
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57862 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57863
57864
57865
57866 cat >>confdefs.h <<_ACEOF
57867 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57868 _ACEOF
57869
57870 ;;
57871 esac
57872
57873 # Lacking an uint64_t? Test size of long
57874 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57875 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57876 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57877 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57878 # This bug is HP SR number 8606223364.
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57880 $as_echo_n "checking size of long... " >&6; }
57881 if test "${ac_cv_sizeof_long+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57884 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57885
57886 else
57887 if test "$ac_cv_type_long" = yes; then
57888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57890 { as_fn_set_status 77
57891 as_fn_error "cannot compute sizeof (long)
57892 See \`config.log' for more details." "$LINENO" 5; }; }
57893 else
57894 ac_cv_sizeof_long=0
57895 fi
57896 fi
57897
57898 fi
57899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57900 $as_echo "$ac_cv_sizeof_long" >&6; }
57901
57902
57903
57904 cat >>confdefs.h <<_ACEOF
57905 #define SIZEOF_LONG $ac_cv_sizeof_long
57906 _ACEOF
57907
57908 ;;
57909 esac
57910
57911 if test $acx_cv_header_stdint = stddef.h; then
57912 # Lacking a good header? Test size of everything and deduce all types.
57913 # The cast to long int works around a bug in the HP C Compiler
57914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57916 # This bug is HP SR number 8606223364.
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57918 $as_echo_n "checking size of int... " >&6; }
57919 if test "${ac_cv_sizeof_int+set}" = set; then :
57920 $as_echo_n "(cached) " >&6
57921 else
57922 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57923
57924 else
57925 if test "$ac_cv_type_int" = yes; then
57926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57928 { as_fn_set_status 77
57929 as_fn_error "cannot compute sizeof (int)
57930 See \`config.log' for more details." "$LINENO" 5; }; }
57931 else
57932 ac_cv_sizeof_int=0
57933 fi
57934 fi
57935
57936 fi
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57938 $as_echo "$ac_cv_sizeof_int" >&6; }
57939
57940
57941
57942 cat >>confdefs.h <<_ACEOF
57943 #define SIZEOF_INT $ac_cv_sizeof_int
57944 _ACEOF
57945
57946
57947 # The cast to long int works around a bug in the HP C Compiler
57948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57950 # This bug is HP SR number 8606223364.
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57952 $as_echo_n "checking size of short... " >&6; }
57953 if test "${ac_cv_sizeof_short+set}" = set; then :
57954 $as_echo_n "(cached) " >&6
57955 else
57956 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57957
57958 else
57959 if test "$ac_cv_type_short" = yes; then
57960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57962 { as_fn_set_status 77
57963 as_fn_error "cannot compute sizeof (short)
57964 See \`config.log' for more details." "$LINENO" 5; }; }
57965 else
57966 ac_cv_sizeof_short=0
57967 fi
57968 fi
57969
57970 fi
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57972 $as_echo "$ac_cv_sizeof_short" >&6; }
57973
57974
57975
57976 cat >>confdefs.h <<_ACEOF
57977 #define SIZEOF_SHORT $ac_cv_sizeof_short
57978 _ACEOF
57979
57980
57981 # The cast to long int works around a bug in the HP C Compiler
57982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57984 # This bug is HP SR number 8606223364.
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57986 $as_echo_n "checking size of char... " >&6; }
57987 if test "${ac_cv_sizeof_char+set}" = set; then :
57988 $as_echo_n "(cached) " >&6
57989 else
57990 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57991
57992 else
57993 if test "$ac_cv_type_char" = yes; then
57994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57996 { as_fn_set_status 77
57997 as_fn_error "cannot compute sizeof (char)
57998 See \`config.log' for more details." "$LINENO" 5; }; }
57999 else
58000 ac_cv_sizeof_char=0
58001 fi
58002 fi
58003
58004 fi
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58006 $as_echo "$ac_cv_sizeof_char" >&6; }
58007
58008
58009
58010 cat >>confdefs.h <<_ACEOF
58011 #define SIZEOF_CHAR $ac_cv_sizeof_char
58012 _ACEOF
58013
58014
58015
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58017 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58018 case "$ac_cv_sizeof_char" in
58019 1) acx_cv_type_int8_t=char ;;
58020 *) { as_fn_set_status please report a bug
58021 as_fn_error "no 8-bit type" "$LINENO" 5; }
58022 esac
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58024 $as_echo "$acx_cv_type_int8_t" >&6; }
58025
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58027 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58028 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58029 2:*) acx_cv_type_int16_t=int ;;
58030 *:2) acx_cv_type_int16_t=short ;;
58031 *) { as_fn_set_status please report a bug
58032 as_fn_error "no 16-bit type" "$LINENO" 5; }
58033 esac
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58035 $as_echo "$acx_cv_type_int16_t" >&6; }
58036
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58038 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58039 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58040 4:*) acx_cv_type_int32_t=int ;;
58041 *:4) acx_cv_type_int32_t=long ;;
58042 *) { as_fn_set_status please report a bug
58043 as_fn_error "no 32-bit type" "$LINENO" 5; }
58044 esac
58045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58046 $as_echo "$acx_cv_type_int32_t" >&6; }
58047 fi
58048
58049 # These tests are here to make the output prettier
58050
58051 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58052 case "$ac_cv_sizeof_long" in
58053 8) acx_cv_type_int64_t=long ;;
58054 esac
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58056 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58058 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58059 fi
58060
58061 # Now we can use the above types
58062
58063 if test "$ac_cv_type_uintptr_t" != yes; then
58064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58065 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58066 case $ac_cv_sizeof_void_p in
58067 2) acx_cv_type_intptr_t=int16_t ;;
58068 4) acx_cv_type_intptr_t=int32_t ;;
58069 8) acx_cv_type_intptr_t=int64_t ;;
58070 *) { as_fn_set_status please report a bug
58071 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58072 esac
58073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58074 $as_echo "$acx_cv_type_intptr_t" >&6; }
58075 fi
58076
58077 # ----------------- done all checks, emit header -------------
58078 ac_config_commands="$ac_config_commands include/gstdint.h"
58079
58080
58081
58082
58083 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58084
58085
58086 # Check whether --enable-symvers was given.
58087 if test "${enable_symvers+set}" = set; then :
58088 enableval=$enable_symvers;
58089 case "$enableval" in
58090 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58091 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58092 esac
58093
58094 else
58095 enable_symvers=yes
58096 fi
58097
58098
58099
58100 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58101 # don't know enough about $LD to do tricks...
58102
58103
58104 # Turn a 'yes' into a suitable default.
58105 if test x$enable_symvers = xyes ; then
58106 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58107 enable_symvers=no
58108 else
58109 if test $with_gnu_ld = yes ; then
58110 case ${target_os} in
58111 hpux*)
58112 enable_symvers=no ;;
58113 *)
58114 enable_symvers=gnu ;;
58115 esac
58116 else
58117 case ${target_os} in
58118 darwin*)
58119 enable_symvers=darwin ;;
58120 *)
58121 enable_symvers=no ;;
58122 esac
58123 fi
58124 fi
58125 fi
58126
58127 # Check to see if 'darwin' or 'darwin-export' can win.
58128 if test x$enable_symvers = xdarwin-export ; then
58129 enable_symvers=darwin
58130 fi
58131
58132 # Check to see if 'gnu' can win.
58133 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58134 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58136 $as_echo_n "checking for shared libgcc... " >&6; }
58137 ac_save_CFLAGS="$CFLAGS"
58138 CFLAGS=' -lgcc_s'
58139 if test x$gcc_no_link = xyes; then
58140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58141 fi
58142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143 /* end confdefs.h. */
58144
58145 int
58146 main ()
58147 {
58148 return 0;
58149 ;
58150 return 0;
58151 }
58152 _ACEOF
58153 if ac_fn_c_try_link "$LINENO"; then :
58154 glibcxx_shared_libgcc=yes
58155 else
58156 glibcxx_shared_libgcc=no
58157 fi
58158 rm -f core conftest.err conftest.$ac_objext \
58159 conftest$ac_exeext conftest.$ac_ext
58160 CFLAGS="$ac_save_CFLAGS"
58161 if test $glibcxx_shared_libgcc = no; then
58162 cat > conftest.c <<EOF
58163 int main (void) { return 0; }
58164 EOF
58165 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58166 -shared -shared-libgcc -o conftest.so \
58167 conftest.c -v 2>&1 >/dev/null \
58168 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58169 rm -f conftest.c conftest.so
58170 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58171 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58172 if test x$gcc_no_link = xyes; then
58173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58174 fi
58175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58176 /* end confdefs.h. */
58177
58178 int
58179 main ()
58180 {
58181 return 0;
58182 ;
58183 return 0;
58184 }
58185 _ACEOF
58186 if ac_fn_c_try_link "$LINENO"; then :
58187 glibcxx_shared_libgcc=yes
58188 fi
58189 rm -f core conftest.err conftest.$ac_objext \
58190 conftest$ac_exeext conftest.$ac_ext
58191 CFLAGS="$ac_save_CFLAGS"
58192 fi
58193 fi
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58195 $as_echo "$glibcxx_shared_libgcc" >&6; }
58196
58197 # For GNU ld, we need at least this version. The format is described in
58198 # GLIBCXX_CHECK_LINKER_FEATURES above.
58199 glibcxx_min_gnu_ld_version=21400
58200
58201 # If no shared libgcc, can't win.
58202 if test $glibcxx_shared_libgcc != yes; then
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58204 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58206 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58208 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58209 enable_symvers=no
58210 elif test $with_gnu_ld != yes ; then
58211 # just fail for now
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58213 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58215 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58217 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58218 enable_symvers=no
58219 elif test $glibcxx_ld_is_gold = yes ; then
58220 : All versions of gold support symbol versioning.
58221 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58222 # The right tools, the right setup, but too old. Fallbacks?
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58224 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58226 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58228 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58230 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58232 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58233 enable_symvers=no
58234 fi
58235 fi
58236
58237 # Everything parsed; figure out what file to use.
58238 case $enable_symvers in
58239 no)
58240 SYMVER_FILE=config/abi/pre/none.ver
58241 ;;
58242 gnu)
58243 SYMVER_FILE=config/abi/pre/gnu.ver
58244
58245 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58246
58247 ;;
58248 gnu-versioned-namespace)
58249 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58250
58251 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58252
58253 ;;
58254 darwin)
58255 SYMVER_FILE=config/abi/pre/gnu.ver
58256
58257 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58258
58259 ;;
58260 esac
58261
58262 if test x$enable_symvers != xno ; then
58263
58264 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58265
58266 fi
58267
58268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58269 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58270 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58271 $as_echo_n "(cached) " >&6
58272 else
58273
58274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58275 /* end confdefs.h. */
58276 void foo (void); __asm (".symver foo, bar@SYMVER");
58277 int
58278 main ()
58279 {
58280
58281 ;
58282 return 0;
58283 }
58284 _ACEOF
58285 if ac_fn_c_try_compile "$LINENO"; then :
58286 glibcxx_cv_have_as_symver_directive=yes
58287 else
58288 glibcxx_cv_have_as_symver_directive=no
58289 fi
58290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58291 fi
58292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58293 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58294 if test $glibcxx_cv_have_as_symver_directive = yes; then
58295
58296 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58297
58298 fi
58299
58300
58301
58302
58303
58304
58305
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58307 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58308
58309 # Now, set up compatibility support, if any.
58310 # In addition, need this to deal with std::size_t mangling in
58311 # src/compatibility.cc. In a perfect world, could use
58312 # typeid(std::size_t).name()[0] to do direct substitution.
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58314 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58315 ac_save_CFLAGS="$CFLAGS"
58316 CFLAGS="-Werror"
58317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58318 /* end confdefs.h. */
58319
58320 int
58321 main ()
58322 {
58323 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58324 ;
58325 return 0;
58326 }
58327 _ACEOF
58328 if ac_fn_c_try_compile "$LINENO"; then :
58329 glibcxx_size_t_is_i=yes
58330 else
58331 glibcxx_size_t_is_i=no
58332 fi
58333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58334 CFLAGS=$ac_save_CFLAGS
58335 if test "$glibcxx_size_t_is_i" = yes; then
58336
58337 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58338
58339 fi
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58341 $as_echo "$glibcxx_size_t_is_i" >&6; }
58342
58343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58344 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58345 ac_save_CFLAGS="$CFLAGS"
58346 CFLAGS="-Werror"
58347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58348 /* end confdefs.h. */
58349
58350 int
58351 main ()
58352 {
58353 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58354 ;
58355 return 0;
58356 }
58357 _ACEOF
58358 if ac_fn_c_try_compile "$LINENO"; then :
58359 glibcxx_ptrdiff_t_is_i=yes
58360 else
58361 glibcxx_ptrdiff_t_is_i=no
58362 fi
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364 CFLAGS=$ac_save_CFLAGS
58365 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58366
58367 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58368
58369 fi
58370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58371 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58372
58373
58374 # Check whether --enable-visibility was given.
58375 if test "${enable_visibility+set}" = set; then :
58376 enableval=$enable_visibility;
58377 case "$enableval" in
58378 yes|no) ;;
58379 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58380 esac
58381
58382 else
58383 enable_visibility=yes
58384 fi
58385
58386
58387
58388 if test x$enable_visibility = xyes ; then
58389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58390 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58391 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58392 $as_echo_n "(cached) " >&6
58393 else
58394
58395 save_CFLAGS="$CFLAGS"
58396 CFLAGS="$CFLAGS -Werror"
58397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58398 /* end confdefs.h. */
58399 void __attribute__((visibility("hidden"))) foo(void) { }
58400 int
58401 main ()
58402 {
58403
58404 ;
58405 return 0;
58406 }
58407 _ACEOF
58408 if ac_fn_c_try_compile "$LINENO"; then :
58409 glibcxx_cv_have_attribute_visibility=yes
58410 else
58411 glibcxx_cv_have_attribute_visibility=no
58412 fi
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 CFLAGS="$save_CFLAGS"
58415 fi
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58417 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58418 if test $glibcxx_cv_have_attribute_visibility = no; then
58419 enable_visibility=no
58420 fi
58421 fi
58422
58423
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58425 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58426
58427
58428 ac_ldbl_compat=no
58429 case "$target" in
58430 powerpc*-*-linux* | \
58431 powerpc*-*-gnu* | \
58432 sparc*-*-linux* | \
58433 s390*-*-linux* | \
58434 alpha*-*-linux*)
58435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58436 /* end confdefs.h. */
58437
58438 int
58439 main ()
58440 {
58441
58442 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58443 #error no need for long double compatibility
58444 #endif
58445
58446 ;
58447 return 0;
58448 }
58449 _ACEOF
58450 if ac_fn_c_try_compile "$LINENO"; then :
58451 ac_ldbl_compat=yes
58452 else
58453 ac_ldbl_compat=no
58454 fi
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 if test "$ac_ldbl_compat" = yes; then
58457
58458 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58459
58460 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58461 fi
58462 esac
58463
58464
58465 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58466
58467 if $GLIBCXX_IS_NATIVE ; then
58468 # Do checks for resource limit functions.
58469
58470 setrlimit_have_headers=yes
58471 for ac_header in unistd.h sys/time.h sys/resource.h
58472 do :
58473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58475 eval as_val=\$$as_ac_Header
58476 if test "x$as_val" = x""yes; then :
58477 cat >>confdefs.h <<_ACEOF
58478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58479 _ACEOF
58480
58481 else
58482 setrlimit_have_headers=no
58483 fi
58484
58485 done
58486
58487 # If don't have the headers, then we can't run the tests now, and we
58488 # won't be seeing any of these during testsuite compilation.
58489 if test $setrlimit_have_headers = yes; then
58490 # Can't do these in a loop, else the resulting syntax is wrong.
58491
58492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58493 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58495 /* end confdefs.h. */
58496 #include <unistd.h>
58497 #include <sys/time.h>
58498 #include <sys/resource.h>
58499
58500 int
58501 main ()
58502 {
58503 int f = RLIMIT_DATA ;
58504 ;
58505 return 0;
58506 }
58507 _ACEOF
58508 if ac_fn_c_try_compile "$LINENO"; then :
58509 glibcxx_mresult=1
58510 else
58511 glibcxx_mresult=0
58512 fi
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514
58515 cat >>confdefs.h <<_ACEOF
58516 #define HAVE_LIMIT_DATA $glibcxx_mresult
58517 _ACEOF
58518
58519 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58521 $as_echo "$res" >&6; }
58522
58523
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58525 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 #include <unistd.h>
58529 #include <sys/time.h>
58530 #include <sys/resource.h>
58531
58532 int
58533 main ()
58534 {
58535 int f = RLIMIT_RSS ;
58536 ;
58537 return 0;
58538 }
58539 _ACEOF
58540 if ac_fn_c_try_compile "$LINENO"; then :
58541 glibcxx_mresult=1
58542 else
58543 glibcxx_mresult=0
58544 fi
58545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58546
58547 cat >>confdefs.h <<_ACEOF
58548 #define HAVE_LIMIT_RSS $glibcxx_mresult
58549 _ACEOF
58550
58551 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58553 $as_echo "$res" >&6; }
58554
58555
58556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58557 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 #include <unistd.h>
58561 #include <sys/time.h>
58562 #include <sys/resource.h>
58563
58564 int
58565 main ()
58566 {
58567 int f = RLIMIT_VMEM ;
58568 ;
58569 return 0;
58570 }
58571 _ACEOF
58572 if ac_fn_c_try_compile "$LINENO"; then :
58573 glibcxx_mresult=1
58574 else
58575 glibcxx_mresult=0
58576 fi
58577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58578
58579 cat >>confdefs.h <<_ACEOF
58580 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58581 _ACEOF
58582
58583 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58585 $as_echo "$res" >&6; }
58586
58587
58588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58589 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58591 /* end confdefs.h. */
58592 #include <unistd.h>
58593 #include <sys/time.h>
58594 #include <sys/resource.h>
58595
58596 int
58597 main ()
58598 {
58599 int f = RLIMIT_AS ;
58600 ;
58601 return 0;
58602 }
58603 _ACEOF
58604 if ac_fn_c_try_compile "$LINENO"; then :
58605 glibcxx_mresult=1
58606 else
58607 glibcxx_mresult=0
58608 fi
58609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58610
58611 cat >>confdefs.h <<_ACEOF
58612 #define HAVE_LIMIT_AS $glibcxx_mresult
58613 _ACEOF
58614
58615 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58617 $as_echo "$res" >&6; }
58618
58619
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58621 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <unistd.h>
58625 #include <sys/time.h>
58626 #include <sys/resource.h>
58627
58628 int
58629 main ()
58630 {
58631 int f = RLIMIT_FSIZE ;
58632 ;
58633 return 0;
58634 }
58635 _ACEOF
58636 if ac_fn_c_try_compile "$LINENO"; then :
58637 glibcxx_mresult=1
58638 else
58639 glibcxx_mresult=0
58640 fi
58641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58642
58643 cat >>confdefs.h <<_ACEOF
58644 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58645 _ACEOF
58646
58647 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58649 $as_echo "$res" >&6; }
58650
58651
58652 # Check for rlimit, setrlimit.
58653 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58654 $as_echo_n "(cached) " >&6
58655 else
58656
58657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58658 /* end confdefs.h. */
58659 #include <unistd.h>
58660 #include <sys/time.h>
58661 #include <sys/resource.h>
58662
58663 int
58664 main ()
58665 {
58666 struct rlimit r;
58667 setrlimit(0, &r);
58668 ;
58669 return 0;
58670 }
58671 _ACEOF
58672 if ac_fn_c_try_compile "$LINENO"; then :
58673 glibcxx_cv_setrlimit=yes
58674 else
58675 glibcxx_cv_setrlimit=no
58676 fi
58677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58678
58679 fi
58680
58681 fi
58682
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58684 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58685 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58686 ac_res_limits=yes
58687
58688 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58689
58690 else
58691 ac_res_limits=no
58692 fi
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58694 $as_echo "$ac_res_limits" >&6; }
58695
58696
58697 # Look for setenv, so that extended locale tests can be performed.
58698
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58700 $as_echo_n "checking for setenv declaration... " >&6; }
58701 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58702 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58704 else
58705
58706
58707 ac_ext=cpp
58708 ac_cpp='$CXXCPP $CPPFLAGS'
58709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58712
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 #include <stdlib.h>
58716 int
58717 main ()
58718 {
58719 setenv(0, 0, 0);
58720 ;
58721 return 0;
58722 }
58723 _ACEOF
58724 if ac_fn_cxx_try_compile "$LINENO"; then :
58725 glibcxx_cv_func_setenv_use=yes
58726 else
58727 glibcxx_cv_func_setenv_use=no
58728 fi
58729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58730 ac_ext=c
58731 ac_cpp='$CPP $CPPFLAGS'
58732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58735
58736
58737 fi
58738
58739 fi
58740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58741 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58742 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58743 for ac_func in setenv
58744 do :
58745 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58746 if test "x$ac_cv_func_setenv" = x""yes; then :
58747 cat >>confdefs.h <<_ACEOF
58748 #define HAVE_SETENV 1
58749 _ACEOF
58750
58751 fi
58752 done
58753
58754 fi
58755
58756 fi
58757
58758 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58759 test $enable_symvers != no; then
58760 case "$host" in
58761 *-*-cygwin*)
58762 enable_abi_check=no ;;
58763 *)
58764 enable_abi_check=yes ;;
58765 esac
58766 else
58767 # Only build this as native, since automake does not understand
58768 # CXX_FOR_BUILD.
58769 enable_abi_check=no
58770 fi
58771
58772 # Export file names for ABI checking.
58773 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58774
58775
58776
58777 # Propagate the target-specific source directories through the build chain.
58778 ATOMICITY_SRCDIR=config/${atomicity_dir}
58779 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58780 ATOMIC_FLAGS=${atomic_flags}
58781 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58782 OS_INC_SRCDIR=config/${os_include_dir}
58783 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58784 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58785
58786
58787
58788
58789
58790
58791
58792
58793
58794 # Determine cross-compile flags and AM_CONDITIONALs.
58795 #AC_SUBST(GLIBCXX_IS_NATIVE)
58796 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58797 if test $is_hosted = yes; then
58798 GLIBCXX_HOSTED_TRUE=
58799 GLIBCXX_HOSTED_FALSE='#'
58800 else
58801 GLIBCXX_HOSTED_TRUE='#'
58802 GLIBCXX_HOSTED_FALSE=
58803 fi
58804
58805
58806 if test $enable_libstdcxx_pch = yes; then
58807 GLIBCXX_BUILD_PCH_TRUE=
58808 GLIBCXX_BUILD_PCH_FALSE='#'
58809 else
58810 GLIBCXX_BUILD_PCH_TRUE='#'
58811 GLIBCXX_BUILD_PCH_FALSE=
58812 fi
58813
58814
58815 if test $enable_cheaders = c; then
58816 GLIBCXX_C_HEADERS_C_TRUE=
58817 GLIBCXX_C_HEADERS_C_FALSE='#'
58818 else
58819 GLIBCXX_C_HEADERS_C_TRUE='#'
58820 GLIBCXX_C_HEADERS_C_FALSE=
58821 fi
58822
58823
58824 if test $enable_cheaders = c_std; then
58825 GLIBCXX_C_HEADERS_C_STD_TRUE=
58826 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58827 else
58828 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58829 GLIBCXX_C_HEADERS_C_STD_FALSE=
58830 fi
58831
58832
58833 if test $enable_cheaders = c_global; then
58834 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58835 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58836 else
58837 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58838 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58839 fi
58840
58841
58842 if test $c_compatibility = yes; then
58843 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58844 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58845 else
58846 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58847 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58848 fi
58849
58850
58851 if test $c_extra = yes; then
58852 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58853 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58854 else
58855 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58856 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58857 fi
58858
58859
58860 if test $enable_libstdcxx_debug = yes; then
58861 GLIBCXX_BUILD_DEBUG_TRUE=
58862 GLIBCXX_BUILD_DEBUG_FALSE='#'
58863 else
58864 GLIBCXX_BUILD_DEBUG_TRUE='#'
58865 GLIBCXX_BUILD_DEBUG_FALSE=
58866 fi
58867
58868
58869 if test $enable_parallel = yes; then
58870 ENABLE_PARALLEL_TRUE=
58871 ENABLE_PARALLEL_FALSE='#'
58872 else
58873 ENABLE_PARALLEL_TRUE='#'
58874 ENABLE_PARALLEL_FALSE=
58875 fi
58876
58877
58878 if test $enable_symvers != no; then
58879 ENABLE_SYMVERS_TRUE=
58880 ENABLE_SYMVERS_FALSE='#'
58881 else
58882 ENABLE_SYMVERS_TRUE='#'
58883 ENABLE_SYMVERS_FALSE=
58884 fi
58885
58886
58887 if test $enable_symvers = gnu; then
58888 ENABLE_SYMVERS_GNU_TRUE=
58889 ENABLE_SYMVERS_GNU_FALSE='#'
58890 else
58891 ENABLE_SYMVERS_GNU_TRUE='#'
58892 ENABLE_SYMVERS_GNU_FALSE=
58893 fi
58894
58895
58896 if test $enable_symvers = gnu-versioned-namespace; then
58897 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58898 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58899 else
58900 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58901 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58902 fi
58903
58904
58905 if test $enable_symvers = darwin; then
58906 ENABLE_SYMVERS_DARWIN_TRUE=
58907 ENABLE_SYMVERS_DARWIN_FALSE='#'
58908 else
58909 ENABLE_SYMVERS_DARWIN_TRUE='#'
58910 ENABLE_SYMVERS_DARWIN_FALSE=
58911 fi
58912
58913
58914 if test $enable_visibility = yes; then
58915 ENABLE_VISIBILITY_TRUE=
58916 ENABLE_VISIBILITY_FALSE='#'
58917 else
58918 ENABLE_VISIBILITY_TRUE='#'
58919 ENABLE_VISIBILITY_FALSE=
58920 fi
58921
58922
58923 if test $ac_ldbl_compat = yes; then
58924 GLIBCXX_LDBL_COMPAT_TRUE=
58925 GLIBCXX_LDBL_COMPAT_FALSE='#'
58926 else
58927 GLIBCXX_LDBL_COMPAT_TRUE='#'
58928 GLIBCXX_LDBL_COMPAT_FALSE=
58929 fi
58930
58931
58932
58933
58934 cat >confcache <<\_ACEOF
58935 # This file is a shell script that caches the results of configure
58936 # tests run on this system so they can be shared between configure
58937 # scripts and configure runs, see configure's option --config-cache.
58938 # It is not useful on other systems. If it contains results you don't
58939 # want to keep, you may remove or edit it.
58940 #
58941 # config.status only pays attention to the cache file if you give it
58942 # the --recheck option to rerun configure.
58943 #
58944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58946 # following values.
58947
58948 _ACEOF
58949
58950 # The following way of writing the cache mishandles newlines in values,
58951 # but we know of no workaround that is simple, portable, and efficient.
58952 # So, we kill variables containing newlines.
58953 # Ultrix sh set writes to stderr and can't be redirected directly,
58954 # and sets the high bit in the cache file unless we assign to the vars.
58955 (
58956 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58957 eval ac_val=\$$ac_var
58958 case $ac_val in #(
58959 *${as_nl}*)
58960 case $ac_var in #(
58961 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58962 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58963 esac
58964 case $ac_var in #(
58965 _ | IFS | as_nl) ;; #(
58966 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58967 *) { eval $ac_var=; unset $ac_var;} ;;
58968 esac ;;
58969 esac
58970 done
58971
58972 (set) 2>&1 |
58973 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58974 *${as_nl}ac_space=\ *)
58975 # `set' does not quote correctly, so add quotes: double-quote
58976 # substitution turns \\\\ into \\, and sed turns \\ into \.
58977 sed -n \
58978 "s/'/'\\\\''/g;
58979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58980 ;; #(
58981 *)
58982 # `set' quotes correctly as required by POSIX, so do not add quotes.
58983 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58984 ;;
58985 esac |
58986 sort
58987 ) |
58988 sed '
58989 /^ac_cv_env_/b end
58990 t clear
58991 :clear
58992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58993 t end
58994 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58995 :end' >>confcache
58996 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58997 if test -w "$cache_file"; then
58998 test "x$cache_file" != "x/dev/null" &&
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59000 $as_echo "$as_me: updating cache $cache_file" >&6;}
59001 cat confcache >$cache_file
59002 else
59003 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59005 fi
59006 fi
59007 rm -f confcache
59008
59009 if test ${multilib} = yes; then
59010 multilib_arg="--enable-multilib"
59011 else
59012 multilib_arg=
59013 fi
59014
59015 # Export all the install information.
59016
59017 glibcxx_toolexecdir=no
59018 glibcxx_toolexeclibdir=no
59019 glibcxx_prefixdir=$prefix
59020
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59022 $as_echo_n "checking for gxx-include-dir... " >&6; }
59023
59024 # Check whether --with-gxx-include-dir was given.
59025 if test "${with_gxx_include_dir+set}" = set; then :
59026 withval=$with_gxx_include_dir; case "$withval" in
59027 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59028 no) gxx_include_dir=no ;;
59029 *) gxx_include_dir=$withval ;;
59030 esac
59031 else
59032 gxx_include_dir=no
59033 fi
59034
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59036 $as_echo "$gxx_include_dir" >&6; }
59037
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59039 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59040 # Check whether --enable-version-specific-runtime-libs was given.
59041 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59042 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59043 yes) version_specific_libs=yes ;;
59044 no) version_specific_libs=no ;;
59045 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59046 esac
59047 else
59048 version_specific_libs=no
59049 fi
59050
59051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59052 $as_echo "$version_specific_libs" >&6; }
59053
59054 # Default case for install directory for include files.
59055 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59056 gxx_include_dir='include/c++/${gcc_version}'
59057 if test -n "$with_cross_host" &&
59058 test x"$with_cross_host" != x"no"; then
59059 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59060 else
59061 gxx_include_dir='${prefix}/'"$gxx_include_dir"
59062 fi
59063 fi
59064
59065 # Version-specific runtime libs processing.
59066 if test $version_specific_libs = yes; then
59067 # Need the gcc compiler version to know where to install libraries
59068 # and header files if --enable-version-specific-runtime-libs option
59069 # is selected. FIXME: these variables are misnamed, there are
59070 # no executables installed in _toolexecdir or _toolexeclibdir.
59071 if test x"$gxx_include_dir" = x"no"; then
59072 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59073 fi
59074 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59075 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59076 fi
59077
59078 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59079 # Install a library built with a cross compiler in tooldir, not libdir.
59080 if test x"$glibcxx_toolexecdir" = x"no"; then
59081 if test -n "$with_cross_host" &&
59082 test x"$with_cross_host" != x"no"; then
59083 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59084 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59085 else
59086 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59087 glibcxx_toolexeclibdir='${libdir}'
59088 fi
59089 multi_os_directory=`$CXX -print-multi-os-directory`
59090 case $multi_os_directory in
59091 .) ;; # Avoid trailing /.
59092 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59093 esac
59094 fi
59095
59096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59097 $as_echo_n "checking for install location... " >&6; }
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59099 $as_echo "$gxx_include_dir" >&6; }
59100
59101
59102
59103
59104
59105
59106
59107 # Export all the include and flag information to Makefiles.
59108
59109 # Used for every C++ compile we perform.
59110 GLIBCXX_INCLUDES="\
59111 -I$glibcxx_builddir/include/$host_alias \
59112 -I$glibcxx_builddir/include \
59113 -I$glibcxx_srcdir/libsupc++"
59114
59115 # For Canadian crosses, pick this up too.
59116 if test $CANADIAN = yes; then
59117 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59118 fi
59119
59120 # Stuff in the actual top level. Currently only used by libsupc++ to
59121 # get unwind* headers from the gcc dir.
59122 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59123 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59124
59125 # Now, export this to all the little Makefiles....
59126
59127
59128
59129
59130 # Optimization flags that are probably a good idea for thrill-seekers. Just
59131 # uncomment the lines below and make, everything else is ready to go...
59132 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59133 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59134
59135
59136 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59137
59138
59139
59140 if test "$enable_shared" = yes; then
59141 LIBSUPCXX_PICFLAGS="-prefer-pic"
59142 else
59143 LIBSUPCXX_PICFLAGS=
59144 fi
59145
59146
59147 ac_config_files="$ac_config_files Makefile"
59148
59149 ac_config_files="$ac_config_files scripts/testsuite_flags"
59150
59151
59152 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59153 # that multilib installs will end up installed in the correct place.
59154 # The testsuite needs it for multilib-aware ABI baseline files.
59155 # To work around this not being passed down from config-ml.in ->
59156 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59157 # append it here. Only modify Makefiles that have just been created.
59158 #
59159 # Also, get rid of this simulated-VPATH thing that automake does.
59160 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59161
59162
59163 ac_config_commands="$ac_config_commands generate-headers"
59164
59165
59166 cat >confcache <<\_ACEOF
59167 # This file is a shell script that caches the results of configure
59168 # tests run on this system so they can be shared between configure
59169 # scripts and configure runs, see configure's option --config-cache.
59170 # It is not useful on other systems. If it contains results you don't
59171 # want to keep, you may remove or edit it.
59172 #
59173 # config.status only pays attention to the cache file if you give it
59174 # the --recheck option to rerun configure.
59175 #
59176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59178 # following values.
59179
59180 _ACEOF
59181
59182 # The following way of writing the cache mishandles newlines in values,
59183 # but we know of no workaround that is simple, portable, and efficient.
59184 # So, we kill variables containing newlines.
59185 # Ultrix sh set writes to stderr and can't be redirected directly,
59186 # and sets the high bit in the cache file unless we assign to the vars.
59187 (
59188 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59189 eval ac_val=\$$ac_var
59190 case $ac_val in #(
59191 *${as_nl}*)
59192 case $ac_var in #(
59193 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59194 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59195 esac
59196 case $ac_var in #(
59197 _ | IFS | as_nl) ;; #(
59198 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59199 *) { eval $ac_var=; unset $ac_var;} ;;
59200 esac ;;
59201 esac
59202 done
59203
59204 (set) 2>&1 |
59205 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59206 *${as_nl}ac_space=\ *)
59207 # `set' does not quote correctly, so add quotes: double-quote
59208 # substitution turns \\\\ into \\, and sed turns \\ into \.
59209 sed -n \
59210 "s/'/'\\\\''/g;
59211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59212 ;; #(
59213 *)
59214 # `set' quotes correctly as required by POSIX, so do not add quotes.
59215 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59216 ;;
59217 esac |
59218 sort
59219 ) |
59220 sed '
59221 /^ac_cv_env_/b end
59222 t clear
59223 :clear
59224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59225 t end
59226 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59227 :end' >>confcache
59228 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59229 if test -w "$cache_file"; then
59230 test "x$cache_file" != "x/dev/null" &&
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59232 $as_echo "$as_me: updating cache $cache_file" >&6;}
59233 cat confcache >$cache_file
59234 else
59235 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59236 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59237 fi
59238 fi
59239 rm -f confcache
59240
59241 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59242 # Let make expand exec_prefix.
59243 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59244
59245 DEFS=-DHAVE_CONFIG_H
59246
59247 ac_libobjs=
59248 ac_ltlibobjs=
59249 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59250 # 1. Remove the extension, and $U if already installed.
59251 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59252 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59253 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59254 # will be set to the directory where LIBOBJS objects are built.
59255 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59256 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59257 done
59258 LIBOBJS=$ac_libobjs
59259
59260 LTLIBOBJS=$ac_ltlibobjs
59261
59262
59263 if test -n "$EXEEXT"; then
59264 am__EXEEXT_TRUE=
59265 am__EXEEXT_FALSE='#'
59266 else
59267 am__EXEEXT_TRUE='#'
59268 am__EXEEXT_FALSE=
59269 fi
59270
59271 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59272 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59274 fi
59275 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59276 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59278 fi
59279 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59280 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59282 fi
59283 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59284 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59286 fi
59287 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59288 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59290 fi
59291 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59292 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59294 fi
59295 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59296 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59298 fi
59299 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59300 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59302 fi
59303 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59304 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59306 fi
59307 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59308 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59310 fi
59311 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59312 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59314 fi
59315 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59316 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59318 fi
59319 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59320 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59322 fi
59323 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59324 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59326 fi
59327 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59328 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59330 fi
59331 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59332 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59334 fi
59335
59336 : ${CONFIG_STATUS=./config.status}
59337 ac_write_fail=0
59338 ac_clean_files_save=$ac_clean_files
59339 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59341 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59342 as_write_fail=0
59343 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59344 #! $SHELL
59345 # Generated by $as_me.
59346 # Run this file to recreate the current configuration.
59347 # Compiler output produced by configure, useful for debugging
59348 # configure, is in config.log if it exists.
59349
59350 debug=false
59351 ac_cs_recheck=false
59352 ac_cs_silent=false
59353
59354 SHELL=\${CONFIG_SHELL-$SHELL}
59355 export SHELL
59356 _ASEOF
59357 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59358 ## -------------------- ##
59359 ## M4sh Initialization. ##
59360 ## -------------------- ##
59361
59362 # Be more Bourne compatible
59363 DUALCASE=1; export DUALCASE # for MKS sh
59364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59365 emulate sh
59366 NULLCMD=:
59367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59368 # is contrary to our usage. Disable this feature.
59369 alias -g '${1+"$@"}'='"$@"'
59370 setopt NO_GLOB_SUBST
59371 else
59372 case `(set -o) 2>/dev/null` in #(
59373 *posix*) :
59374 set -o posix ;; #(
59375 *) :
59376 ;;
59377 esac
59378 fi
59379
59380
59381 as_nl='
59382 '
59383 export as_nl
59384 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59385 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59387 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59388 # Prefer a ksh shell builtin over an external printf program on Solaris,
59389 # but without wasting forks for bash or zsh.
59390 if test -z "$BASH_VERSION$ZSH_VERSION" \
59391 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59392 as_echo='print -r --'
59393 as_echo_n='print -rn --'
59394 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59395 as_echo='printf %s\n'
59396 as_echo_n='printf %s'
59397 else
59398 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59399 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59400 as_echo_n='/usr/ucb/echo -n'
59401 else
59402 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59403 as_echo_n_body='eval
59404 arg=$1;
59405 case $arg in #(
59406 *"$as_nl"*)
59407 expr "X$arg" : "X\\(.*\\)$as_nl";
59408 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59409 esac;
59410 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59411 '
59412 export as_echo_n_body
59413 as_echo_n='sh -c $as_echo_n_body as_echo'
59414 fi
59415 export as_echo_body
59416 as_echo='sh -c $as_echo_body as_echo'
59417 fi
59418
59419 # The user is always right.
59420 if test "${PATH_SEPARATOR+set}" != set; then
59421 PATH_SEPARATOR=:
59422 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59423 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59424 PATH_SEPARATOR=';'
59425 }
59426 fi
59427
59428
59429 # IFS
59430 # We need space, tab and new line, in precisely that order. Quoting is
59431 # there to prevent editors from complaining about space-tab.
59432 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59433 # splitting by setting IFS to empty value.)
59434 IFS=" "" $as_nl"
59435
59436 # Find who we are. Look in the path if we contain no directory separator.
59437 case $0 in #((
59438 *[\\/]* ) as_myself=$0 ;;
59439 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59440 for as_dir in $PATH
59441 do
59442 IFS=$as_save_IFS
59443 test -z "$as_dir" && as_dir=.
59444 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59445 done
59446 IFS=$as_save_IFS
59447
59448 ;;
59449 esac
59450 # We did not find ourselves, most probably we were run as `sh COMMAND'
59451 # in which case we are not to be found in the path.
59452 if test "x$as_myself" = x; then
59453 as_myself=$0
59454 fi
59455 if test ! -f "$as_myself"; then
59456 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59457 exit 1
59458 fi
59459
59460 # Unset variables that we do not need and which cause bugs (e.g. in
59461 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59462 # suppresses any "Segmentation fault" message there. '((' could
59463 # trigger a bug in pdksh 5.2.14.
59464 for as_var in BASH_ENV ENV MAIL MAILPATH
59465 do eval test x\${$as_var+set} = xset \
59466 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59467 done
59468 PS1='$ '
59469 PS2='> '
59470 PS4='+ '
59471
59472 # NLS nuisances.
59473 LC_ALL=C
59474 export LC_ALL
59475 LANGUAGE=C
59476 export LANGUAGE
59477
59478 # CDPATH.
59479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59480
59481
59482 # as_fn_error ERROR [LINENO LOG_FD]
59483 # ---------------------------------
59484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59486 # script with status $?, using 1 if that was 0.
59487 as_fn_error ()
59488 {
59489 as_status=$?; test $as_status -eq 0 && as_status=1
59490 if test "$3"; then
59491 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59492 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59493 fi
59494 $as_echo "$as_me: error: $1" >&2
59495 as_fn_exit $as_status
59496 } # as_fn_error
59497
59498
59499 # as_fn_set_status STATUS
59500 # -----------------------
59501 # Set $? to STATUS, without forking.
59502 as_fn_set_status ()
59503 {
59504 return $1
59505 } # as_fn_set_status
59506
59507 # as_fn_exit STATUS
59508 # -----------------
59509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59510 as_fn_exit ()
59511 {
59512 set +e
59513 as_fn_set_status $1
59514 exit $1
59515 } # as_fn_exit
59516
59517 # as_fn_unset VAR
59518 # ---------------
59519 # Portably unset VAR.
59520 as_fn_unset ()
59521 {
59522 { eval $1=; unset $1;}
59523 }
59524 as_unset=as_fn_unset
59525 # as_fn_append VAR VALUE
59526 # ----------------------
59527 # Append the text in VALUE to the end of the definition contained in VAR. Take
59528 # advantage of any shell optimizations that allow amortized linear growth over
59529 # repeated appends, instead of the typical quadratic growth present in naive
59530 # implementations.
59531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59532 eval 'as_fn_append ()
59533 {
59534 eval $1+=\$2
59535 }'
59536 else
59537 as_fn_append ()
59538 {
59539 eval $1=\$$1\$2
59540 }
59541 fi # as_fn_append
59542
59543 # as_fn_arith ARG...
59544 # ------------------
59545 # Perform arithmetic evaluation on the ARGs, and store the result in the
59546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59547 # must be portable across $(()) and expr.
59548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59549 eval 'as_fn_arith ()
59550 {
59551 as_val=$(( $* ))
59552 }'
59553 else
59554 as_fn_arith ()
59555 {
59556 as_val=`expr "$@" || test $? -eq 1`
59557 }
59558 fi # as_fn_arith
59559
59560
59561 if expr a : '\(a\)' >/dev/null 2>&1 &&
59562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59563 as_expr=expr
59564 else
59565 as_expr=false
59566 fi
59567
59568 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59569 as_basename=basename
59570 else
59571 as_basename=false
59572 fi
59573
59574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59575 as_dirname=dirname
59576 else
59577 as_dirname=false
59578 fi
59579
59580 as_me=`$as_basename -- "$0" ||
59581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59582 X"$0" : 'X\(//\)$' \| \
59583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59584 $as_echo X/"$0" |
59585 sed '/^.*\/\([^/][^/]*\)\/*$/{
59586 s//\1/
59587 q
59588 }
59589 /^X\/\(\/\/\)$/{
59590 s//\1/
59591 q
59592 }
59593 /^X\/\(\/\).*/{
59594 s//\1/
59595 q
59596 }
59597 s/.*/./; q'`
59598
59599 # Avoid depending upon Character Ranges.
59600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59603 as_cr_digits='0123456789'
59604 as_cr_alnum=$as_cr_Letters$as_cr_digits
59605
59606 ECHO_C= ECHO_N= ECHO_T=
59607 case `echo -n x` in #(((((
59608 -n*)
59609 case `echo 'xy\c'` in
59610 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59611 xy) ECHO_C='\c';;
59612 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59613 ECHO_T=' ';;
59614 esac;;
59615 *)
59616 ECHO_N='-n';;
59617 esac
59618
59619 rm -f conf$$ conf$$.exe conf$$.file
59620 if test -d conf$$.dir; then
59621 rm -f conf$$.dir/conf$$.file
59622 else
59623 rm -f conf$$.dir
59624 mkdir conf$$.dir 2>/dev/null
59625 fi
59626 if (echo >conf$$.file) 2>/dev/null; then
59627 if ln -s conf$$.file conf$$ 2>/dev/null; then
59628 as_ln_s='ln -s'
59629 # ... but there are two gotchas:
59630 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59631 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59632 # In both cases, we have to default to `cp -p'.
59633 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59634 as_ln_s='cp -p'
59635 elif ln conf$$.file conf$$ 2>/dev/null; then
59636 as_ln_s=ln
59637 else
59638 as_ln_s='cp -p'
59639 fi
59640 else
59641 as_ln_s='cp -p'
59642 fi
59643 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59644 rmdir conf$$.dir 2>/dev/null
59645
59646
59647 # as_fn_mkdir_p
59648 # -------------
59649 # Create "$as_dir" as a directory, including parents if necessary.
59650 as_fn_mkdir_p ()
59651 {
59652
59653 case $as_dir in #(
59654 -*) as_dir=./$as_dir;;
59655 esac
59656 test -d "$as_dir" || eval $as_mkdir_p || {
59657 as_dirs=
59658 while :; do
59659 case $as_dir in #(
59660 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59661 *) as_qdir=$as_dir;;
59662 esac
59663 as_dirs="'$as_qdir' $as_dirs"
59664 as_dir=`$as_dirname -- "$as_dir" ||
59665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59666 X"$as_dir" : 'X\(//\)[^/]' \| \
59667 X"$as_dir" : 'X\(//\)$' \| \
59668 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59669 $as_echo X"$as_dir" |
59670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59671 s//\1/
59672 q
59673 }
59674 /^X\(\/\/\)[^/].*/{
59675 s//\1/
59676 q
59677 }
59678 /^X\(\/\/\)$/{
59679 s//\1/
59680 q
59681 }
59682 /^X\(\/\).*/{
59683 s//\1/
59684 q
59685 }
59686 s/.*/./; q'`
59687 test -d "$as_dir" && break
59688 done
59689 test -z "$as_dirs" || eval "mkdir $as_dirs"
59690 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59691
59692
59693 } # as_fn_mkdir_p
59694 if mkdir -p . 2>/dev/null; then
59695 as_mkdir_p='mkdir -p "$as_dir"'
59696 else
59697 test -d ./-p && rmdir ./-p
59698 as_mkdir_p=false
59699 fi
59700
59701 if test -x / >/dev/null 2>&1; then
59702 as_test_x='test -x'
59703 else
59704 if ls -dL / >/dev/null 2>&1; then
59705 as_ls_L_option=L
59706 else
59707 as_ls_L_option=
59708 fi
59709 as_test_x='
59710 eval sh -c '\''
59711 if test -d "$1"; then
59712 test -d "$1/.";
59713 else
59714 case $1 in #(
59715 -*)set "./$1";;
59716 esac;
59717 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59718 ???[sx]*):;;*)false;;esac;fi
59719 '\'' sh
59720 '
59721 fi
59722 as_executable_p=$as_test_x
59723
59724 # Sed expression to map a string onto a valid CPP name.
59725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59726
59727 # Sed expression to map a string onto a valid variable name.
59728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59729
59730
59731 exec 6>&1
59732 ## ----------------------------------- ##
59733 ## Main body of $CONFIG_STATUS script. ##
59734 ## ----------------------------------- ##
59735 _ASEOF
59736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59737
59738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59739 # Save the log message, to keep $0 and so on meaningful, and to
59740 # report actual input values of CONFIG_FILES etc. instead of their
59741 # values after options handling.
59742 ac_log="
59743 This file was extended by package-unused $as_me version-unused, which was
59744 generated by GNU Autoconf 2.64. Invocation command line was
59745
59746 CONFIG_FILES = $CONFIG_FILES
59747 CONFIG_HEADERS = $CONFIG_HEADERS
59748 CONFIG_LINKS = $CONFIG_LINKS
59749 CONFIG_COMMANDS = $CONFIG_COMMANDS
59750 $ $0 $@
59751
59752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59753 "
59754
59755 _ACEOF
59756
59757 case $ac_config_files in *"
59758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59759 esac
59760
59761 case $ac_config_headers in *"
59762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59763 esac
59764
59765
59766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59767 # Files that config.status was made for.
59768 config_files="$ac_config_files"
59769 config_headers="$ac_config_headers"
59770 config_commands="$ac_config_commands"
59771
59772 _ACEOF
59773
59774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59775 ac_cs_usage="\
59776 \`$as_me' instantiates files and other configuration actions
59777 from templates according to the current configuration. Unless the files
59778 and actions are specified as TAGs, all are instantiated by default.
59779
59780 Usage: $0 [OPTION]... [TAG]...
59781
59782 -h, --help print this help, then exit
59783 -V, --version print version number and configuration settings, then exit
59784 -q, --quiet, --silent
59785 do not print progress messages
59786 -d, --debug don't remove temporary files
59787 --recheck update $as_me by reconfiguring in the same conditions
59788 --file=FILE[:TEMPLATE]
59789 instantiate the configuration file FILE
59790 --header=FILE[:TEMPLATE]
59791 instantiate the configuration header FILE
59792
59793 Configuration files:
59794 $config_files
59795
59796 Configuration headers:
59797 $config_headers
59798
59799 Configuration commands:
59800 $config_commands
59801
59802 Report bugs to the package provider."
59803
59804 _ACEOF
59805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59806 ac_cs_version="\\
59807 package-unused config.status version-unused
59808 configured by $0, generated by GNU Autoconf 2.64,
59809 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59810
59811 Copyright (C) 2009 Free Software Foundation, Inc.
59812 This config.status script is free software; the Free Software Foundation
59813 gives unlimited permission to copy, distribute and modify it."
59814
59815 ac_pwd='$ac_pwd'
59816 srcdir='$srcdir'
59817 INSTALL='$INSTALL'
59818 MKDIR_P='$MKDIR_P'
59819 AWK='$AWK'
59820 test -n "\$AWK" || AWK=awk
59821 _ACEOF
59822
59823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59824 # The default lists apply if the user does not specify any file.
59825 ac_need_defaults=:
59826 while test $# != 0
59827 do
59828 case $1 in
59829 --*=*)
59830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59831 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59832 ac_shift=:
59833 ;;
59834 *)
59835 ac_option=$1
59836 ac_optarg=$2
59837 ac_shift=shift
59838 ;;
59839 esac
59840
59841 case $ac_option in
59842 # Handling of the options.
59843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59844 ac_cs_recheck=: ;;
59845 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59846 $as_echo "$ac_cs_version"; exit ;;
59847 --debug | --debu | --deb | --de | --d | -d )
59848 debug=: ;;
59849 --file | --fil | --fi | --f )
59850 $ac_shift
59851 case $ac_optarg in
59852 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59853 esac
59854 as_fn_append CONFIG_FILES " '$ac_optarg'"
59855 ac_need_defaults=false;;
59856 --header | --heade | --head | --hea )
59857 $ac_shift
59858 case $ac_optarg in
59859 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59860 esac
59861 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59862 ac_need_defaults=false;;
59863 --he | --h)
59864 # Conflict between --help and --header
59865 as_fn_error "ambiguous option: \`$1'
59866 Try \`$0 --help' for more information.";;
59867 --help | --hel | -h )
59868 $as_echo "$ac_cs_usage"; exit ;;
59869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59870 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59871 ac_cs_silent=: ;;
59872
59873 # This is an error.
59874 -*) as_fn_error "unrecognized option: \`$1'
59875 Try \`$0 --help' for more information." ;;
59876
59877 *) as_fn_append ac_config_targets " $1"
59878 ac_need_defaults=false ;;
59879
59880 esac
59881 shift
59882 done
59883
59884 ac_configure_extra_args=
59885
59886 if $ac_cs_silent; then
59887 exec 6>/dev/null
59888 ac_configure_extra_args="$ac_configure_extra_args --silent"
59889 fi
59890
59891 _ACEOF
59892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59893 if \$ac_cs_recheck; then
59894 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59895 shift
59896 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59897 CONFIG_SHELL='$SHELL'
59898 export CONFIG_SHELL
59899 exec "\$@"
59900 fi
59901
59902 _ACEOF
59903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59904 exec 5>>config.log
59905 {
59906 echo
59907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59908 ## Running $as_me. ##
59909 _ASBOX
59910 $as_echo "$ac_log"
59911 } >&5
59912
59913 _ACEOF
59914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59915 #
59916 # INIT-COMMANDS
59917 #
59918
59919 srcdir="$srcdir"
59920 host="$host"
59921 target="$target"
59922 with_multisubdir="$with_multisubdir"
59923 with_multisrctop="$with_multisrctop"
59924 with_target_subdir="$with_target_subdir"
59925 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59926 multi_basedir="$multi_basedir"
59927 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59928 CC="$CC"
59929 CXX="$CXX"
59930 GFORTRAN="$GFORTRAN"
59931 GCJ="$GCJ"
59932
59933
59934 # The HP-UX ksh and POSIX shell print the target directory to stdout
59935 # if CDPATH is set.
59936 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59937
59938 sed_quote_subst='$sed_quote_subst'
59939 double_quote_subst='$double_quote_subst'
59940 delay_variable_subst='$delay_variable_subst'
59941 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59942 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59943 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59944 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59945 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59946 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59947 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59948 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59949 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59950 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59951 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59952 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59953 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59954 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59955 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59956 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59957 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59958 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59959 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59960 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59961 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59962 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59963 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59964 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59965 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59966 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59967 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59968 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59969 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59970 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59971 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59972 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59973 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59974 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59975 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59976 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59977 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59978 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59979 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59980 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59981 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59982 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59983 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59984 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59985 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59986 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59987 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59988 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59989 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"`'
59990 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59991 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59992 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59993 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59994 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59995 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59996 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59997 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59998 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59999 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60000 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60001 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60002 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60003 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60004 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60005 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60006 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60007 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60008 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60009 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60010 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60011 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60012 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60013 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60014 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60015 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60016 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60017 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60018 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60019 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60020 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60021 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60022 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60023 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60024 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60025 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60026 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60027 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60028 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60029 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60030 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60031 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60032 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60033 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60034 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60035 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60036 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60037 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60038 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60039 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60040 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60041 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60042 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60043 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60044 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60045 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60046 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60047 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60048 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60049 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60050 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60051 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60052 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60053 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60054 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60055 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60056 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60057 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60058 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60059 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60060 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60061 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60062 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60063 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60064 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60065 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60066 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60067 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60068 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60069 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60070 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60071 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60072 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60073 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60074 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60075 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60076 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60077 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60078 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60079 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60080 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60081 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60082 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60083 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60084 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60085 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60086 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60087 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60088 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60089 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60090 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60091 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60092 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60093 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60094 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60095 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60096 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60097 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60098 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60099 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60100 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60101 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60102 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60103 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60104 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60105 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60106 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60107 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60108 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60109 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60110 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60111 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60112 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60113 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60114 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60115 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60116
60117 LTCC='$LTCC'
60118 LTCFLAGS='$LTCFLAGS'
60119 compiler='$compiler_DEFAULT'
60120
60121 # A function that is used when there is no print builtin or printf.
60122 func_fallback_echo ()
60123 {
60124 eval 'cat <<_LTECHO_EOF
60125 \$1
60126 _LTECHO_EOF'
60127 }
60128
60129 # Quote evaled strings.
60130 for var in SHELL \
60131 ECHO \
60132 SED \
60133 GREP \
60134 EGREP \
60135 FGREP \
60136 LD \
60137 NM \
60138 LN_S \
60139 lt_SP2NL \
60140 lt_NL2SP \
60141 reload_flag \
60142 OBJDUMP \
60143 deplibs_check_method \
60144 file_magic_cmd \
60145 AR \
60146 AR_FLAGS \
60147 STRIP \
60148 RANLIB \
60149 CC \
60150 CFLAGS \
60151 compiler \
60152 lt_cv_sys_global_symbol_pipe \
60153 lt_cv_sys_global_symbol_to_cdecl \
60154 lt_cv_sys_global_symbol_to_c_name_address \
60155 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60156 lt_prog_compiler_no_builtin_flag \
60157 lt_prog_compiler_wl \
60158 lt_prog_compiler_pic \
60159 lt_prog_compiler_static \
60160 lt_cv_prog_compiler_c_o \
60161 need_locks \
60162 DSYMUTIL \
60163 NMEDIT \
60164 LIPO \
60165 OTOOL \
60166 OTOOL64 \
60167 shrext_cmds \
60168 export_dynamic_flag_spec \
60169 whole_archive_flag_spec \
60170 compiler_needs_object \
60171 with_gnu_ld \
60172 allow_undefined_flag \
60173 no_undefined_flag \
60174 hardcode_libdir_flag_spec \
60175 hardcode_libdir_flag_spec_ld \
60176 hardcode_libdir_separator \
60177 fix_srcfile_path \
60178 exclude_expsyms \
60179 include_expsyms \
60180 file_list_spec \
60181 variables_saved_for_relink \
60182 libname_spec \
60183 library_names_spec \
60184 soname_spec \
60185 install_override_mode \
60186 finish_eval \
60187 old_striplib \
60188 striplib \
60189 compiler_lib_search_dirs \
60190 predep_objects \
60191 postdep_objects \
60192 predeps \
60193 postdeps \
60194 compiler_lib_search_path \
60195 LD_CXX \
60196 reload_flag_CXX \
60197 compiler_CXX \
60198 lt_prog_compiler_no_builtin_flag_CXX \
60199 lt_prog_compiler_wl_CXX \
60200 lt_prog_compiler_pic_CXX \
60201 lt_prog_compiler_static_CXX \
60202 lt_cv_prog_compiler_c_o_CXX \
60203 export_dynamic_flag_spec_CXX \
60204 whole_archive_flag_spec_CXX \
60205 compiler_needs_object_CXX \
60206 with_gnu_ld_CXX \
60207 allow_undefined_flag_CXX \
60208 no_undefined_flag_CXX \
60209 hardcode_libdir_flag_spec_CXX \
60210 hardcode_libdir_flag_spec_ld_CXX \
60211 hardcode_libdir_separator_CXX \
60212 fix_srcfile_path_CXX \
60213 exclude_expsyms_CXX \
60214 include_expsyms_CXX \
60215 file_list_spec_CXX \
60216 compiler_lib_search_dirs_CXX \
60217 predep_objects_CXX \
60218 postdep_objects_CXX \
60219 predeps_CXX \
60220 postdeps_CXX \
60221 compiler_lib_search_path_CXX; do
60222 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60223 *[\\\\\\\`\\"\\\$]*)
60224 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60225 ;;
60226 *)
60227 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60228 ;;
60229 esac
60230 done
60231
60232 # Double-quote double-evaled strings.
60233 for var in reload_cmds \
60234 old_postinstall_cmds \
60235 old_postuninstall_cmds \
60236 old_archive_cmds \
60237 extract_expsyms_cmds \
60238 old_archive_from_new_cmds \
60239 old_archive_from_expsyms_cmds \
60240 archive_cmds \
60241 archive_expsym_cmds \
60242 module_cmds \
60243 module_expsym_cmds \
60244 export_symbols_cmds \
60245 prelink_cmds \
60246 postinstall_cmds \
60247 postuninstall_cmds \
60248 finish_cmds \
60249 sys_lib_search_path_spec \
60250 sys_lib_dlsearch_path_spec \
60251 reload_cmds_CXX \
60252 old_archive_cmds_CXX \
60253 old_archive_from_new_cmds_CXX \
60254 old_archive_from_expsyms_cmds_CXX \
60255 archive_cmds_CXX \
60256 archive_expsym_cmds_CXX \
60257 module_cmds_CXX \
60258 module_expsym_cmds_CXX \
60259 export_symbols_cmds_CXX \
60260 prelink_cmds_CXX; do
60261 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60262 *[\\\\\\\`\\"\\\$]*)
60263 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60264 ;;
60265 *)
60266 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60267 ;;
60268 esac
60269 done
60270
60271 ac_aux_dir='$ac_aux_dir'
60272 xsi_shell='$xsi_shell'
60273 lt_shell_append='$lt_shell_append'
60274
60275 # See if we are running on zsh, and set the options which allow our
60276 # commands through without removal of \ escapes INIT.
60277 if test -n "\${ZSH_VERSION+set}" ; then
60278 setopt NO_GLOB_SUBST
60279 fi
60280
60281
60282 PACKAGE='$PACKAGE'
60283 VERSION='$VERSION'
60284 TIMESTAMP='$TIMESTAMP'
60285 RM='$RM'
60286 ofile='$ofile'
60287
60288
60289
60290
60291
60292
60293 GCC="$GCC"
60294 CC="$CC"
60295 acx_cv_header_stdint="$acx_cv_header_stdint"
60296 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60297 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60298 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60299 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60300 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60301 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60302 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60303 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60304 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60305 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60306 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60307 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60308 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60309
60310
60311 _ACEOF
60312
60313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60314
60315 # Handling of arguments.
60316 for ac_config_target in $ac_config_targets
60317 do
60318 case $ac_config_target in
60319 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60320 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60321 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60322 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60323 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60324 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60325 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60326 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60327 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60328 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60329 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60330 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60331 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60332 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60333
60334 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60335 esac
60336 done
60337
60338
60339 # If the user did not use the arguments to specify the items to instantiate,
60340 # then the envvar interface is used. Set only those that are not.
60341 # We use the long form for the default assignment because of an extremely
60342 # bizarre bug on SunOS 4.1.3.
60343 if $ac_need_defaults; then
60344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60347 fi
60348
60349 # Have a temporary directory for convenience. Make it in the build tree
60350 # simply because there is no reason against having it here, and in addition,
60351 # creating and moving files from /tmp can sometimes cause problems.
60352 # Hook for its removal unless debugging.
60353 # Note that there is a small window in which the directory will not be cleaned:
60354 # after its creation but before its name has been assigned to `$tmp'.
60355 $debug ||
60356 {
60357 tmp=
60358 trap 'exit_status=$?
60359 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60360 ' 0
60361 trap 'as_fn_exit 1' 1 2 13 15
60362 }
60363 # Create a (secure) tmp directory for tmp files.
60364
60365 {
60366 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60367 test -n "$tmp" && test -d "$tmp"
60368 } ||
60369 {
60370 tmp=./conf$$-$RANDOM
60371 (umask 077 && mkdir "$tmp")
60372 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60373
60374 # Set up the scripts for CONFIG_FILES section.
60375 # No need to generate them if there are no CONFIG_FILES.
60376 # This happens for instance with `./config.status config.h'.
60377 if test -n "$CONFIG_FILES"; then
60378
60379
60380 ac_cr=`echo X | tr X '\015'`
60381 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60382 # But we know of no other shell where ac_cr would be empty at this
60383 # point, so we can use a bashism as a fallback.
60384 if test "x$ac_cr" = x; then
60385 eval ac_cr=\$\'\\r\'
60386 fi
60387 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60388 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60389 ac_cs_awk_cr='\r'
60390 else
60391 ac_cs_awk_cr=$ac_cr
60392 fi
60393
60394 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60395 _ACEOF
60396
60397
60398 {
60399 echo "cat >conf$$subs.awk <<_ACEOF" &&
60400 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60401 echo "_ACEOF"
60402 } >conf$$subs.sh ||
60403 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60404 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60405 ac_delim='%!_!# '
60406 for ac_last_try in false false false false false :; do
60407 . ./conf$$subs.sh ||
60408 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60409
60410 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60411 if test $ac_delim_n = $ac_delim_num; then
60412 break
60413 elif $ac_last_try; then
60414 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60415 else
60416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60417 fi
60418 done
60419 rm -f conf$$subs.sh
60420
60421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60422 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60423 _ACEOF
60424 sed -n '
60425 h
60426 s/^/S["/; s/!.*/"]=/
60427 p
60428 g
60429 s/^[^!]*!//
60430 :repl
60431 t repl
60432 s/'"$ac_delim"'$//
60433 t delim
60434 :nl
60435 h
60436 s/\(.\{148\}\).*/\1/
60437 t more1
60438 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60439 p
60440 n
60441 b repl
60442 :more1
60443 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60444 p
60445 g
60446 s/.\{148\}//
60447 t nl
60448 :delim
60449 h
60450 s/\(.\{148\}\).*/\1/
60451 t more2
60452 s/["\\]/\\&/g; s/^/"/; s/$/"/
60453 p
60454 b
60455 :more2
60456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60457 p
60458 g
60459 s/.\{148\}//
60460 t delim
60461 ' <conf$$subs.awk | sed '
60462 /^[^""]/{
60463 N
60464 s/\n//
60465 }
60466 ' >>$CONFIG_STATUS || ac_write_fail=1
60467 rm -f conf$$subs.awk
60468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60469 _ACAWK
60470 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60471 for (key in S) S_is_set[key] = 1
60472 FS = "\a"
60473
60474 }
60475 {
60476 line = $ 0
60477 nfields = split(line, field, "@")
60478 substed = 0
60479 len = length(field[1])
60480 for (i = 2; i < nfields; i++) {
60481 key = field[i]
60482 keylen = length(key)
60483 if (S_is_set[key]) {
60484 value = S[key]
60485 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60486 len += length(value) + length(field[++i])
60487 substed = 1
60488 } else
60489 len += 1 + keylen
60490 }
60491
60492 print line
60493 }
60494
60495 _ACAWK
60496 _ACEOF
60497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60498 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60499 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60500 else
60501 cat
60502 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60503 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60504 _ACEOF
60505
60506 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60507 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60508 # trailing colons and then remove the whole line if VPATH becomes empty
60509 # (actually we leave an empty line to preserve line numbers).
60510 if test "x$srcdir" = x.; then
60511 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60512 s/:*\$(srcdir):*/:/
60513 s/:*\${srcdir}:*/:/
60514 s/:*@srcdir@:*/:/
60515 s/^\([^=]*=[ ]*\):*/\1/
60516 s/:*$//
60517 s/^[^=]*=[ ]*$//
60518 }'
60519 fi
60520
60521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60522 fi # test -n "$CONFIG_FILES"
60523
60524 # Set up the scripts for CONFIG_HEADERS section.
60525 # No need to generate them if there are no CONFIG_HEADERS.
60526 # This happens for instance with `./config.status Makefile'.
60527 if test -n "$CONFIG_HEADERS"; then
60528 cat >"$tmp/defines.awk" <<\_ACAWK ||
60529 BEGIN {
60530 _ACEOF
60531
60532 # Transform confdefs.h into an awk script `defines.awk', embedded as
60533 # here-document in config.status, that substitutes the proper values into
60534 # config.h.in to produce config.h.
60535
60536 # Create a delimiter string that does not exist in confdefs.h, to ease
60537 # handling of long lines.
60538 ac_delim='%!_!# '
60539 for ac_last_try in false false :; do
60540 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60541 if test -z "$ac_t"; then
60542 break
60543 elif $ac_last_try; then
60544 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60545 else
60546 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60547 fi
60548 done
60549
60550 # For the awk script, D is an array of macro values keyed by name,
60551 # likewise P contains macro parameters if any. Preserve backslash
60552 # newline sequences.
60553
60554 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60555 sed -n '
60556 s/.\{148\}/&'"$ac_delim"'/g
60557 t rset
60558 :rset
60559 s/^[ ]*#[ ]*define[ ][ ]*/ /
60560 t def
60561 d
60562 :def
60563 s/\\$//
60564 t bsnl
60565 s/["\\]/\\&/g
60566 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60567 D["\1"]=" \3"/p
60568 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60569 d
60570 :bsnl
60571 s/["\\]/\\&/g
60572 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60573 D["\1"]=" \3\\\\\\n"\\/p
60574 t cont
60575 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60576 t cont
60577 d
60578 :cont
60579 n
60580 s/.\{148\}/&'"$ac_delim"'/g
60581 t clear
60582 :clear
60583 s/\\$//
60584 t bsnlc
60585 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60586 d
60587 :bsnlc
60588 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60589 b cont
60590 ' <confdefs.h | sed '
60591 s/'"$ac_delim"'/"\\\
60592 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60593
60594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60595 for (key in D) D_is_set[key] = 1
60596 FS = "\a"
60597 }
60598 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60599 line = \$ 0
60600 split(line, arg, " ")
60601 if (arg[1] == "#") {
60602 defundef = arg[2]
60603 mac1 = arg[3]
60604 } else {
60605 defundef = substr(arg[1], 2)
60606 mac1 = arg[2]
60607 }
60608 split(mac1, mac2, "(") #)
60609 macro = mac2[1]
60610 prefix = substr(line, 1, index(line, defundef) - 1)
60611 if (D_is_set[macro]) {
60612 # Preserve the white space surrounding the "#".
60613 print prefix "define", macro P[macro] D[macro]
60614 next
60615 } else {
60616 # Replace #undef with comments. This is necessary, for example,
60617 # in the case of _POSIX_SOURCE, which is predefined and required
60618 # on some systems where configure will not decide to define it.
60619 if (defundef == "undef") {
60620 print "/*", prefix defundef, macro, "*/"
60621 next
60622 }
60623 }
60624 }
60625 { print }
60626 _ACAWK
60627 _ACEOF
60628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60629 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60630 fi # test -n "$CONFIG_HEADERS"
60631
60632
60633 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60634 shift
60635 for ac_tag
60636 do
60637 case $ac_tag in
60638 :[FHLC]) ac_mode=$ac_tag; continue;;
60639 esac
60640 case $ac_mode$ac_tag in
60641 :[FHL]*:*);;
60642 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60643 :[FH]-) ac_tag=-:-;;
60644 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60645 esac
60646 ac_save_IFS=$IFS
60647 IFS=:
60648 set x $ac_tag
60649 IFS=$ac_save_IFS
60650 shift
60651 ac_file=$1
60652 shift
60653
60654 case $ac_mode in
60655 :L) ac_source=$1;;
60656 :[FH])
60657 ac_file_inputs=
60658 for ac_f
60659 do
60660 case $ac_f in
60661 -) ac_f="$tmp/stdin";;
60662 *) # Look for the file first in the build tree, then in the source tree
60663 # (if the path is not absolute). The absolute path cannot be DOS-style,
60664 # because $ac_f cannot contain `:'.
60665 test -f "$ac_f" ||
60666 case $ac_f in
60667 [\\/$]*) false;;
60668 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60669 esac ||
60670 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60671 esac
60672 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60673 as_fn_append ac_file_inputs " '$ac_f'"
60674 done
60675
60676 # Let's still pretend it is `configure' which instantiates (i.e., don't
60677 # use $as_me), people would be surprised to read:
60678 # /* config.h. Generated by config.status. */
60679 configure_input='Generated from '`
60680 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60681 `' by configure.'
60682 if test x"$ac_file" != x-; then
60683 configure_input="$ac_file. $configure_input"
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60685 $as_echo "$as_me: creating $ac_file" >&6;}
60686 fi
60687 # Neutralize special characters interpreted by sed in replacement strings.
60688 case $configure_input in #(
60689 *\&* | *\|* | *\\* )
60690 ac_sed_conf_input=`$as_echo "$configure_input" |
60691 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60692 *) ac_sed_conf_input=$configure_input;;
60693 esac
60694
60695 case $ac_tag in
60696 *:-:* | *:-) cat >"$tmp/stdin" \
60697 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60698 esac
60699 ;;
60700 esac
60701
60702 ac_dir=`$as_dirname -- "$ac_file" ||
60703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60704 X"$ac_file" : 'X\(//\)[^/]' \| \
60705 X"$ac_file" : 'X\(//\)$' \| \
60706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60707 $as_echo X"$ac_file" |
60708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60709 s//\1/
60710 q
60711 }
60712 /^X\(\/\/\)[^/].*/{
60713 s//\1/
60714 q
60715 }
60716 /^X\(\/\/\)$/{
60717 s//\1/
60718 q
60719 }
60720 /^X\(\/\).*/{
60721 s//\1/
60722 q
60723 }
60724 s/.*/./; q'`
60725 as_dir="$ac_dir"; as_fn_mkdir_p
60726 ac_builddir=.
60727
60728 case "$ac_dir" in
60729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60730 *)
60731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60732 # A ".." for each directory in $ac_dir_suffix.
60733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60734 case $ac_top_builddir_sub in
60735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60737 esac ;;
60738 esac
60739 ac_abs_top_builddir=$ac_pwd
60740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60741 # for backward compatibility:
60742 ac_top_builddir=$ac_top_build_prefix
60743
60744 case $srcdir in
60745 .) # We are building in place.
60746 ac_srcdir=.
60747 ac_top_srcdir=$ac_top_builddir_sub
60748 ac_abs_top_srcdir=$ac_pwd ;;
60749 [\\/]* | ?:[\\/]* ) # Absolute name.
60750 ac_srcdir=$srcdir$ac_dir_suffix;
60751 ac_top_srcdir=$srcdir
60752 ac_abs_top_srcdir=$srcdir ;;
60753 *) # Relative name.
60754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60755 ac_top_srcdir=$ac_top_build_prefix$srcdir
60756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60757 esac
60758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60759
60760
60761 case $ac_mode in
60762 :F)
60763 #
60764 # CONFIG_FILE
60765 #
60766
60767 case $INSTALL in
60768 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60769 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60770 esac
60771 ac_MKDIR_P=$MKDIR_P
60772 case $MKDIR_P in
60773 [\\/$]* | ?:[\\/]* ) ;;
60774 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60775 esac
60776 _ACEOF
60777
60778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60779 # If the template does not know about datarootdir, expand it.
60780 # FIXME: This hack should be removed a few years after 2.60.
60781 ac_datarootdir_hack=; ac_datarootdir_seen=
60782 ac_sed_dataroot='
60783 /datarootdir/ {
60784 p
60785 q
60786 }
60787 /@datadir@/p
60788 /@docdir@/p
60789 /@infodir@/p
60790 /@localedir@/p
60791 /@mandir@/p'
60792 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60793 *datarootdir*) ac_datarootdir_seen=yes;;
60794 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60796 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60797 _ACEOF
60798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60799 ac_datarootdir_hack='
60800 s&@datadir@&$datadir&g
60801 s&@docdir@&$docdir&g
60802 s&@infodir@&$infodir&g
60803 s&@localedir@&$localedir&g
60804 s&@mandir@&$mandir&g
60805 s&\\\${datarootdir}&$datarootdir&g' ;;
60806 esac
60807 _ACEOF
60808
60809 # Neutralize VPATH when `$srcdir' = `.'.
60810 # Shell code in configure.ac might set extrasub.
60811 # FIXME: do we really want to maintain this feature?
60812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60813 ac_sed_extra="$ac_vpsub
60814 $extrasub
60815 _ACEOF
60816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60817 :t
60818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60819 s|@configure_input@|$ac_sed_conf_input|;t t
60820 s&@top_builddir@&$ac_top_builddir_sub&;t t
60821 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60822 s&@srcdir@&$ac_srcdir&;t t
60823 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60824 s&@top_srcdir@&$ac_top_srcdir&;t t
60825 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60826 s&@builddir@&$ac_builddir&;t t
60827 s&@abs_builddir@&$ac_abs_builddir&;t t
60828 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60829 s&@INSTALL@&$ac_INSTALL&;t t
60830 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60831 $ac_datarootdir_hack
60832 "
60833 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60834 || as_fn_error "could not create $ac_file" "$LINENO" 5
60835
60836 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60837 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60838 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60840 which seems to be undefined. Please make sure it is defined." >&5
60841 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60842 which seems to be undefined. Please make sure it is defined." >&2;}
60843
60844 rm -f "$tmp/stdin"
60845 case $ac_file in
60846 -) cat "$tmp/out" && rm -f "$tmp/out";;
60847 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60848 esac \
60849 || as_fn_error "could not create $ac_file" "$LINENO" 5
60850 ;;
60851 :H)
60852 #
60853 # CONFIG_HEADER
60854 #
60855 if test x"$ac_file" != x-; then
60856 {
60857 $as_echo "/* $configure_input */" \
60858 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60859 } >"$tmp/config.h" \
60860 || as_fn_error "could not create $ac_file" "$LINENO" 5
60861 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60863 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60864 else
60865 rm -f "$ac_file"
60866 mv "$tmp/config.h" "$ac_file" \
60867 || as_fn_error "could not create $ac_file" "$LINENO" 5
60868 fi
60869 else
60870 $as_echo "/* $configure_input */" \
60871 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60872 || as_fn_error "could not create -" "$LINENO" 5
60873 fi
60874 # Compute "$ac_file"'s index in $config_headers.
60875 _am_arg="$ac_file"
60876 _am_stamp_count=1
60877 for _am_header in $config_headers :; do
60878 case $_am_header in
60879 $_am_arg | $_am_arg:* )
60880 break ;;
60881 * )
60882 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60883 esac
60884 done
60885 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60886 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60887 X"$_am_arg" : 'X\(//\)[^/]' \| \
60888 X"$_am_arg" : 'X\(//\)$' \| \
60889 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60890 $as_echo X"$_am_arg" |
60891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60892 s//\1/
60893 q
60894 }
60895 /^X\(\/\/\)[^/].*/{
60896 s//\1/
60897 q
60898 }
60899 /^X\(\/\/\)$/{
60900 s//\1/
60901 q
60902 }
60903 /^X\(\/\).*/{
60904 s//\1/
60905 q
60906 }
60907 s/.*/./; q'`/stamp-h$_am_stamp_count
60908 ;;
60909
60910 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60911 $as_echo "$as_me: executing $ac_file commands" >&6;}
60912 ;;
60913 esac
60914
60915
60916 case $ac_file$ac_mode in
60917 "default-1":C)
60918 # Only add multilib support code if we just rebuilt the top-level
60919 # Makefile.
60920 case " $CONFIG_FILES " in
60921 *" Makefile "*)
60922 ac_file=Makefile . ${multi_basedir}/config-ml.in
60923 ;;
60924 esac ;;
60925 "libtool":C)
60926
60927 # See if we are running on zsh, and set the options which allow our
60928 # commands through without removal of \ escapes.
60929 if test -n "${ZSH_VERSION+set}" ; then
60930 setopt NO_GLOB_SUBST
60931 fi
60932
60933 cfgfile="${ofile}T"
60934 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60935 $RM "$cfgfile"
60936
60937 cat <<_LT_EOF >> "$cfgfile"
60938 #! $SHELL
60939
60940 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60941 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60942 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60943 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60944 #
60945 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60946 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60947 # Written by Gordon Matzigkeit, 1996
60948 #
60949 # This file is part of GNU Libtool.
60950 #
60951 # GNU Libtool is free software; you can redistribute it and/or
60952 # modify it under the terms of the GNU General Public License as
60953 # published by the Free Software Foundation; either version 2 of
60954 # the License, or (at your option) any later version.
60955 #
60956 # As a special exception to the GNU General Public License,
60957 # if you distribute this file as part of a program or library that
60958 # is built using GNU Libtool, you may include this file under the
60959 # same distribution terms that you use for the rest of that program.
60960 #
60961 # GNU Libtool is distributed in the hope that it will be useful,
60962 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60963 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60964 # GNU General Public License for more details.
60965 #
60966 # You should have received a copy of the GNU General Public License
60967 # along with GNU Libtool; see the file COPYING. If not, a copy
60968 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60969 # obtained by writing to the Free Software Foundation, Inc.,
60970 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60971
60972
60973 # The names of the tagged configurations supported by this script.
60974 available_tags="CXX "
60975
60976 # ### BEGIN LIBTOOL CONFIG
60977
60978 # Which release of libtool.m4 was used?
60979 macro_version=$macro_version
60980 macro_revision=$macro_revision
60981
60982 # Whether or not to build shared libraries.
60983 build_libtool_libs=$enable_shared
60984
60985 # Whether or not to build static libraries.
60986 build_old_libs=$enable_static
60987
60988 # What type of objects to build.
60989 pic_mode=$pic_mode
60990
60991 # Whether or not to optimize for fast installation.
60992 fast_install=$enable_fast_install
60993
60994 # Shell to use when invoking shell scripts.
60995 SHELL=$lt_SHELL
60996
60997 # An echo program that protects backslashes.
60998 ECHO=$lt_ECHO
60999
61000 # The host system.
61001 host_alias=$host_alias
61002 host=$host
61003 host_os=$host_os
61004
61005 # The build system.
61006 build_alias=$build_alias
61007 build=$build
61008 build_os=$build_os
61009
61010 # A sed program that does not truncate output.
61011 SED=$lt_SED
61012
61013 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61014 Xsed="\$SED -e 1s/^X//"
61015
61016 # A grep program that handles long lines.
61017 GREP=$lt_GREP
61018
61019 # An ERE matcher.
61020 EGREP=$lt_EGREP
61021
61022 # A literal string matcher.
61023 FGREP=$lt_FGREP
61024
61025 # A BSD- or MS-compatible name lister.
61026 NM=$lt_NM
61027
61028 # Whether we need soft or hard links.
61029 LN_S=$lt_LN_S
61030
61031 # What is the maximum length of a command?
61032 max_cmd_len=$max_cmd_len
61033
61034 # Object file suffix (normally "o").
61035 objext=$ac_objext
61036
61037 # Executable file suffix (normally "").
61038 exeext=$exeext
61039
61040 # whether the shell understands "unset".
61041 lt_unset=$lt_unset
61042
61043 # turn spaces into newlines.
61044 SP2NL=$lt_lt_SP2NL
61045
61046 # turn newlines into spaces.
61047 NL2SP=$lt_lt_NL2SP
61048
61049 # An object symbol dumper.
61050 OBJDUMP=$lt_OBJDUMP
61051
61052 # Method to check whether dependent libraries are shared objects.
61053 deplibs_check_method=$lt_deplibs_check_method
61054
61055 # Command to use when deplibs_check_method == "file_magic".
61056 file_magic_cmd=$lt_file_magic_cmd
61057
61058 # The archiver.
61059 AR=$lt_AR
61060 AR_FLAGS=$lt_AR_FLAGS
61061
61062 # A symbol stripping program.
61063 STRIP=$lt_STRIP
61064
61065 # Commands used to install an old-style archive.
61066 RANLIB=$lt_RANLIB
61067 old_postinstall_cmds=$lt_old_postinstall_cmds
61068 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61069
61070 # Whether to use a lock for old archive extraction.
61071 lock_old_archive_extraction=$lock_old_archive_extraction
61072
61073 # A C compiler.
61074 LTCC=$lt_CC
61075
61076 # LTCC compiler flags.
61077 LTCFLAGS=$lt_CFLAGS
61078
61079 # Take the output of nm and produce a listing of raw symbols and C names.
61080 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61081
61082 # Transform the output of nm in a proper C declaration.
61083 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61084
61085 # Transform the output of nm in a C name address pair.
61086 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61087
61088 # Transform the output of nm in a C name address pair when lib prefix is needed.
61089 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61090
61091 # The name of the directory that contains temporary libtool files.
61092 objdir=$objdir
61093
61094 # Used to examine libraries when file_magic_cmd begins with "file".
61095 MAGIC_CMD=$MAGIC_CMD
61096
61097 # Must we lock files when doing compilation?
61098 need_locks=$lt_need_locks
61099
61100 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61101 DSYMUTIL=$lt_DSYMUTIL
61102
61103 # Tool to change global to local symbols on Mac OS X.
61104 NMEDIT=$lt_NMEDIT
61105
61106 # Tool to manipulate fat objects and archives on Mac OS X.
61107 LIPO=$lt_LIPO
61108
61109 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61110 OTOOL=$lt_OTOOL
61111
61112 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61113 OTOOL64=$lt_OTOOL64
61114
61115 # Old archive suffix (normally "a").
61116 libext=$libext
61117
61118 # Shared library suffix (normally ".so").
61119 shrext_cmds=$lt_shrext_cmds
61120
61121 # The commands to extract the exported symbol list from a shared archive.
61122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61123
61124 # Variables whose values should be saved in libtool wrapper scripts and
61125 # restored at link time.
61126 variables_saved_for_relink=$lt_variables_saved_for_relink
61127
61128 # Do we need the "lib" prefix for modules?
61129 need_lib_prefix=$need_lib_prefix
61130
61131 # Do we need a version for libraries?
61132 need_version=$need_version
61133
61134 # Library versioning type.
61135 version_type=$version_type
61136
61137 # Shared library runtime path variable.
61138 runpath_var=$runpath_var
61139
61140 # Shared library path variable.
61141 shlibpath_var=$shlibpath_var
61142
61143 # Is shlibpath searched before the hard-coded library search path?
61144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61145
61146 # Format of library name prefix.
61147 libname_spec=$lt_libname_spec
61148
61149 # List of archive names. First name is the real one, the rest are links.
61150 # The last name is the one that the linker finds with -lNAME
61151 library_names_spec=$lt_library_names_spec
61152
61153 # The coded name of the library, if different from the real name.
61154 soname_spec=$lt_soname_spec
61155
61156 # Permission mode override for installation of shared libraries.
61157 install_override_mode=$lt_install_override_mode
61158
61159 # Command to use after installation of a shared archive.
61160 postinstall_cmds=$lt_postinstall_cmds
61161
61162 # Command to use after uninstallation of a shared archive.
61163 postuninstall_cmds=$lt_postuninstall_cmds
61164
61165 # Commands used to finish a libtool library installation in a directory.
61166 finish_cmds=$lt_finish_cmds
61167
61168 # As "finish_cmds", except a single script fragment to be evaled but
61169 # not shown.
61170 finish_eval=$lt_finish_eval
61171
61172 # Whether we should hardcode library paths into libraries.
61173 hardcode_into_libs=$hardcode_into_libs
61174
61175 # Compile-time system search path for libraries.
61176 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61177
61178 # Run-time system search path for libraries.
61179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61180
61181 # Whether dlopen is supported.
61182 dlopen_support=$enable_dlopen
61183
61184 # Whether dlopen of programs is supported.
61185 dlopen_self=$enable_dlopen_self
61186
61187 # Whether dlopen of statically linked programs is supported.
61188 dlopen_self_static=$enable_dlopen_self_static
61189
61190 # Commands to strip libraries.
61191 old_striplib=$lt_old_striplib
61192 striplib=$lt_striplib
61193
61194
61195 # The linker used to build libraries.
61196 LD=$lt_LD
61197
61198 # How to create reloadable object files.
61199 reload_flag=$lt_reload_flag
61200 reload_cmds=$lt_reload_cmds
61201
61202 # Commands used to build an old-style archive.
61203 old_archive_cmds=$lt_old_archive_cmds
61204
61205 # A language specific compiler.
61206 CC=$lt_compiler
61207
61208 # Is the compiler the GNU compiler?
61209 with_gcc=$GCC
61210
61211 # Compiler flag to turn off builtin functions.
61212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61213
61214 # How to pass a linker flag through the compiler.
61215 wl=$lt_lt_prog_compiler_wl
61216
61217 # Additional compiler flags for building library objects.
61218 pic_flag=$lt_lt_prog_compiler_pic
61219
61220 # Compiler flag to prevent dynamic linking.
61221 link_static_flag=$lt_lt_prog_compiler_static
61222
61223 # Does compiler simultaneously support -c and -o options?
61224 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61225
61226 # Whether or not to add -lc for building shared libraries.
61227 build_libtool_need_lc=$archive_cmds_need_lc
61228
61229 # Whether or not to disallow shared libs when runtime libs are static.
61230 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61231
61232 # Compiler flag to allow reflexive dlopens.
61233 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61234
61235 # Compiler flag to generate shared objects directly from archives.
61236 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61237
61238 # Whether the compiler copes with passing no objects directly.
61239 compiler_needs_object=$lt_compiler_needs_object
61240
61241 # Create an old-style archive from a shared archive.
61242 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61243
61244 # Create a temporary old-style archive to link instead of a shared archive.
61245 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61246
61247 # Commands used to build a shared archive.
61248 archive_cmds=$lt_archive_cmds
61249 archive_expsym_cmds=$lt_archive_expsym_cmds
61250
61251 # Commands used to build a loadable module if different from building
61252 # a shared archive.
61253 module_cmds=$lt_module_cmds
61254 module_expsym_cmds=$lt_module_expsym_cmds
61255
61256 # Whether we are building with GNU ld or not.
61257 with_gnu_ld=$lt_with_gnu_ld
61258
61259 # Flag that allows shared libraries with undefined symbols to be built.
61260 allow_undefined_flag=$lt_allow_undefined_flag
61261
61262 # Flag that enforces no undefined symbols.
61263 no_undefined_flag=$lt_no_undefined_flag
61264
61265 # Flag to hardcode \$libdir into a binary during linking.
61266 # This must work even if \$libdir does not exist
61267 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61268
61269 # If ld is used when linking, flag to hardcode \$libdir into a binary
61270 # during linking. This must work even if \$libdir does not exist.
61271 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61272
61273 # Whether we need a single "-rpath" flag with a separated argument.
61274 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61275
61276 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61277 # DIR into the resulting binary.
61278 hardcode_direct=$hardcode_direct
61279
61280 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61281 # DIR into the resulting binary and the resulting library dependency is
61282 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61283 # library is relocated.
61284 hardcode_direct_absolute=$hardcode_direct_absolute
61285
61286 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61287 # into the resulting binary.
61288 hardcode_minus_L=$hardcode_minus_L
61289
61290 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61291 # into the resulting binary.
61292 hardcode_shlibpath_var=$hardcode_shlibpath_var
61293
61294 # Set to "yes" if building a shared library automatically hardcodes DIR
61295 # into the library and all subsequent libraries and executables linked
61296 # against it.
61297 hardcode_automatic=$hardcode_automatic
61298
61299 # Set to yes if linker adds runtime paths of dependent libraries
61300 # to runtime path list.
61301 inherit_rpath=$inherit_rpath
61302
61303 # Whether libtool must link a program against all its dependency libraries.
61304 link_all_deplibs=$link_all_deplibs
61305
61306 # Fix the shell variable \$srcfile for the compiler.
61307 fix_srcfile_path=$lt_fix_srcfile_path
61308
61309 # Set to "yes" if exported symbols are required.
61310 always_export_symbols=$always_export_symbols
61311
61312 # The commands to list exported symbols.
61313 export_symbols_cmds=$lt_export_symbols_cmds
61314
61315 # Symbols that should not be listed in the preloaded symbols.
61316 exclude_expsyms=$lt_exclude_expsyms
61317
61318 # Symbols that must always be exported.
61319 include_expsyms=$lt_include_expsyms
61320
61321 # Commands necessary for linking programs (against libraries) with templates.
61322 prelink_cmds=$lt_prelink_cmds
61323
61324 # Specify filename containing input files.
61325 file_list_spec=$lt_file_list_spec
61326
61327 # How to hardcode a shared library path into an executable.
61328 hardcode_action=$hardcode_action
61329
61330 # The directories searched by this compiler when creating a shared library.
61331 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61332
61333 # Dependencies to place before and after the objects being linked to
61334 # create a shared library.
61335 predep_objects=$lt_predep_objects
61336 postdep_objects=$lt_postdep_objects
61337 predeps=$lt_predeps
61338 postdeps=$lt_postdeps
61339
61340 # The library search path used internally by the compiler when linking
61341 # a shared library.
61342 compiler_lib_search_path=$lt_compiler_lib_search_path
61343
61344 # ### END LIBTOOL CONFIG
61345
61346 _LT_EOF
61347
61348 case $host_os in
61349 aix3*)
61350 cat <<\_LT_EOF >> "$cfgfile"
61351 # AIX sometimes has problems with the GCC collect2 program. For some
61352 # reason, if we set the COLLECT_NAMES environment variable, the problems
61353 # vanish in a puff of smoke.
61354 if test "X${COLLECT_NAMES+set}" != Xset; then
61355 COLLECT_NAMES=
61356 export COLLECT_NAMES
61357 fi
61358 _LT_EOF
61359 ;;
61360 esac
61361
61362
61363 ltmain="$ac_aux_dir/ltmain.sh"
61364
61365
61366 # We use sed instead of cat because bash on DJGPP gets confused if
61367 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61368 # text mode, it properly converts lines to CR/LF. This bash problem
61369 # is reportedly fixed, but why not run on old versions too?
61370 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61371 || (rm -f "$cfgfile"; exit 1)
61372
61373 case $xsi_shell in
61374 yes)
61375 cat << \_LT_EOF >> "$cfgfile"
61376
61377 # func_dirname file append nondir_replacement
61378 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61379 # otherwise set result to NONDIR_REPLACEMENT.
61380 func_dirname ()
61381 {
61382 case ${1} in
61383 */*) func_dirname_result="${1%/*}${2}" ;;
61384 * ) func_dirname_result="${3}" ;;
61385 esac
61386 }
61387
61388 # func_basename file
61389 func_basename ()
61390 {
61391 func_basename_result="${1##*/}"
61392 }
61393
61394 # func_dirname_and_basename file append nondir_replacement
61395 # perform func_basename and func_dirname in a single function
61396 # call:
61397 # dirname: Compute the dirname of FILE. If nonempty,
61398 # add APPEND to the result, otherwise set result
61399 # to NONDIR_REPLACEMENT.
61400 # value returned in "$func_dirname_result"
61401 # basename: Compute filename of FILE.
61402 # value retuned in "$func_basename_result"
61403 # Implementation must be kept synchronized with func_dirname
61404 # and func_basename. For efficiency, we do not delegate to
61405 # those functions but instead duplicate the functionality here.
61406 func_dirname_and_basename ()
61407 {
61408 case ${1} in
61409 */*) func_dirname_result="${1%/*}${2}" ;;
61410 * ) func_dirname_result="${3}" ;;
61411 esac
61412 func_basename_result="${1##*/}"
61413 }
61414
61415 # func_stripname prefix suffix name
61416 # strip PREFIX and SUFFIX off of NAME.
61417 # PREFIX and SUFFIX must not contain globbing or regex special
61418 # characters, hashes, percent signs, but SUFFIX may contain a leading
61419 # dot (in which case that matches only a dot).
61420 func_stripname ()
61421 {
61422 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61423 # positional parameters, so assign one to ordinary parameter first.
61424 func_stripname_result=${3}
61425 func_stripname_result=${func_stripname_result#"${1}"}
61426 func_stripname_result=${func_stripname_result%"${2}"}
61427 }
61428
61429 # func_opt_split
61430 func_opt_split ()
61431 {
61432 func_opt_split_opt=${1%%=*}
61433 func_opt_split_arg=${1#*=}
61434 }
61435
61436 # func_lo2o object
61437 func_lo2o ()
61438 {
61439 case ${1} in
61440 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61441 *) func_lo2o_result=${1} ;;
61442 esac
61443 }
61444
61445 # func_xform libobj-or-source
61446 func_xform ()
61447 {
61448 func_xform_result=${1%.*}.lo
61449 }
61450
61451 # func_arith arithmetic-term...
61452 func_arith ()
61453 {
61454 func_arith_result=$(( $* ))
61455 }
61456
61457 # func_len string
61458 # STRING may not start with a hyphen.
61459 func_len ()
61460 {
61461 func_len_result=${#1}
61462 }
61463
61464 _LT_EOF
61465 ;;
61466 *) # Bourne compatible functions.
61467 cat << \_LT_EOF >> "$cfgfile"
61468
61469 # func_dirname file append nondir_replacement
61470 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61471 # otherwise set result to NONDIR_REPLACEMENT.
61472 func_dirname ()
61473 {
61474 # Extract subdirectory from the argument.
61475 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61476 if test "X$func_dirname_result" = "X${1}"; then
61477 func_dirname_result="${3}"
61478 else
61479 func_dirname_result="$func_dirname_result${2}"
61480 fi
61481 }
61482
61483 # func_basename file
61484 func_basename ()
61485 {
61486 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61487 }
61488
61489
61490 # func_stripname prefix suffix name
61491 # strip PREFIX and SUFFIX off of NAME.
61492 # PREFIX and SUFFIX must not contain globbing or regex special
61493 # characters, hashes, percent signs, but SUFFIX may contain a leading
61494 # dot (in which case that matches only a dot).
61495 # func_strip_suffix prefix name
61496 func_stripname ()
61497 {
61498 case ${2} in
61499 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61500 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61501 esac
61502 }
61503
61504 # sed scripts:
61505 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61506 my_sed_long_arg='1s/^-[^=]*=//'
61507
61508 # func_opt_split
61509 func_opt_split ()
61510 {
61511 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61512 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61513 }
61514
61515 # func_lo2o object
61516 func_lo2o ()
61517 {
61518 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61519 }
61520
61521 # func_xform libobj-or-source
61522 func_xform ()
61523 {
61524 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61525 }
61526
61527 # func_arith arithmetic-term...
61528 func_arith ()
61529 {
61530 func_arith_result=`expr "$@"`
61531 }
61532
61533 # func_len string
61534 # STRING may not start with a hyphen.
61535 func_len ()
61536 {
61537 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61538 }
61539
61540 _LT_EOF
61541 esac
61542
61543 case $lt_shell_append in
61544 yes)
61545 cat << \_LT_EOF >> "$cfgfile"
61546
61547 # func_append var value
61548 # Append VALUE to the end of shell variable VAR.
61549 func_append ()
61550 {
61551 eval "$1+=\$2"
61552 }
61553 _LT_EOF
61554 ;;
61555 *)
61556 cat << \_LT_EOF >> "$cfgfile"
61557
61558 # func_append var value
61559 # Append VALUE to the end of shell variable VAR.
61560 func_append ()
61561 {
61562 eval "$1=\$$1\$2"
61563 }
61564
61565 _LT_EOF
61566 ;;
61567 esac
61568
61569
61570 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61571 || (rm -f "$cfgfile"; exit 1)
61572
61573 mv -f "$cfgfile" "$ofile" ||
61574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61575 chmod +x "$ofile"
61576
61577
61578 cat <<_LT_EOF >> "$ofile"
61579
61580 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61581
61582 # The linker used to build libraries.
61583 LD=$lt_LD_CXX
61584
61585 # How to create reloadable object files.
61586 reload_flag=$lt_reload_flag_CXX
61587 reload_cmds=$lt_reload_cmds_CXX
61588
61589 # Commands used to build an old-style archive.
61590 old_archive_cmds=$lt_old_archive_cmds_CXX
61591
61592 # A language specific compiler.
61593 CC=$lt_compiler_CXX
61594
61595 # Is the compiler the GNU compiler?
61596 with_gcc=$GCC_CXX
61597
61598 # Compiler flag to turn off builtin functions.
61599 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61600
61601 # How to pass a linker flag through the compiler.
61602 wl=$lt_lt_prog_compiler_wl_CXX
61603
61604 # Additional compiler flags for building library objects.
61605 pic_flag=$lt_lt_prog_compiler_pic_CXX
61606
61607 # Compiler flag to prevent dynamic linking.
61608 link_static_flag=$lt_lt_prog_compiler_static_CXX
61609
61610 # Does compiler simultaneously support -c and -o options?
61611 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61612
61613 # Whether or not to add -lc for building shared libraries.
61614 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61615
61616 # Whether or not to disallow shared libs when runtime libs are static.
61617 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61618
61619 # Compiler flag to allow reflexive dlopens.
61620 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61621
61622 # Compiler flag to generate shared objects directly from archives.
61623 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61624
61625 # Whether the compiler copes with passing no objects directly.
61626 compiler_needs_object=$lt_compiler_needs_object_CXX
61627
61628 # Create an old-style archive from a shared archive.
61629 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61630
61631 # Create a temporary old-style archive to link instead of a shared archive.
61632 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61633
61634 # Commands used to build a shared archive.
61635 archive_cmds=$lt_archive_cmds_CXX
61636 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61637
61638 # Commands used to build a loadable module if different from building
61639 # a shared archive.
61640 module_cmds=$lt_module_cmds_CXX
61641 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61642
61643 # Whether we are building with GNU ld or not.
61644 with_gnu_ld=$lt_with_gnu_ld_CXX
61645
61646 # Flag that allows shared libraries with undefined symbols to be built.
61647 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61648
61649 # Flag that enforces no undefined symbols.
61650 no_undefined_flag=$lt_no_undefined_flag_CXX
61651
61652 # Flag to hardcode \$libdir into a binary during linking.
61653 # This must work even if \$libdir does not exist
61654 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61655
61656 # If ld is used when linking, flag to hardcode \$libdir into a binary
61657 # during linking. This must work even if \$libdir does not exist.
61658 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61659
61660 # Whether we need a single "-rpath" flag with a separated argument.
61661 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61662
61663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61664 # DIR into the resulting binary.
61665 hardcode_direct=$hardcode_direct_CXX
61666
61667 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61668 # DIR into the resulting binary and the resulting library dependency is
61669 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61670 # library is relocated.
61671 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61672
61673 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61674 # into the resulting binary.
61675 hardcode_minus_L=$hardcode_minus_L_CXX
61676
61677 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61678 # into the resulting binary.
61679 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61680
61681 # Set to "yes" if building a shared library automatically hardcodes DIR
61682 # into the library and all subsequent libraries and executables linked
61683 # against it.
61684 hardcode_automatic=$hardcode_automatic_CXX
61685
61686 # Set to yes if linker adds runtime paths of dependent libraries
61687 # to runtime path list.
61688 inherit_rpath=$inherit_rpath_CXX
61689
61690 # Whether libtool must link a program against all its dependency libraries.
61691 link_all_deplibs=$link_all_deplibs_CXX
61692
61693 # Fix the shell variable \$srcfile for the compiler.
61694 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61695
61696 # Set to "yes" if exported symbols are required.
61697 always_export_symbols=$always_export_symbols_CXX
61698
61699 # The commands to list exported symbols.
61700 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61701
61702 # Symbols that should not be listed in the preloaded symbols.
61703 exclude_expsyms=$lt_exclude_expsyms_CXX
61704
61705 # Symbols that must always be exported.
61706 include_expsyms=$lt_include_expsyms_CXX
61707
61708 # Commands necessary for linking programs (against libraries) with templates.
61709 prelink_cmds=$lt_prelink_cmds_CXX
61710
61711 # Specify filename containing input files.
61712 file_list_spec=$lt_file_list_spec_CXX
61713
61714 # How to hardcode a shared library path into an executable.
61715 hardcode_action=$hardcode_action_CXX
61716
61717 # The directories searched by this compiler when creating a shared library.
61718 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61719
61720 # Dependencies to place before and after the objects being linked to
61721 # create a shared library.
61722 predep_objects=$lt_predep_objects_CXX
61723 postdep_objects=$lt_postdep_objects_CXX
61724 predeps=$lt_predeps_CXX
61725 postdeps=$lt_postdeps_CXX
61726
61727 # The library search path used internally by the compiler when linking
61728 # a shared library.
61729 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61730
61731 # ### END LIBTOOL TAG CONFIG: CXX
61732 _LT_EOF
61733
61734 ;;
61735 "include/gstdint.h":C)
61736 if test "$GCC" = yes; then
61737 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61738 else
61739 echo "/* generated for $CC */" > tmp-stdint.h
61740 fi
61741
61742 sed 's/^ *//' >> tmp-stdint.h <<EOF
61743
61744 #ifndef GCC_GENERATED_STDINT_H
61745 #define GCC_GENERATED_STDINT_H 1
61746
61747 #include <sys/types.h>
61748 EOF
61749
61750 if test "$acx_cv_header_stdint" != stdint.h; then
61751 echo "#include <stddef.h>" >> tmp-stdint.h
61752 fi
61753 if test "$acx_cv_header_stdint" != stddef.h; then
61754 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61755 fi
61756
61757 sed 's/^ *//' >> tmp-stdint.h <<EOF
61758 /* glibc uses these symbols as guards to prevent redefinitions. */
61759 #ifdef __int8_t_defined
61760 #define _INT8_T
61761 #define _INT16_T
61762 #define _INT32_T
61763 #endif
61764 #ifdef __uint32_t_defined
61765 #define _UINT32_T
61766 #endif
61767
61768 EOF
61769
61770 # ----------------- done header, emit basic int types -------------
61771 if test "$acx_cv_header_stdint" = stddef.h; then
61772 sed 's/^ *//' >> tmp-stdint.h <<EOF
61773
61774 #ifndef _UINT8_T
61775 #define _UINT8_T
61776 #ifndef __uint8_t_defined
61777 #define __uint8_t_defined
61778 #ifndef uint8_t
61779 typedef unsigned $acx_cv_type_int8_t uint8_t;
61780 #endif
61781 #endif
61782 #endif
61783
61784 #ifndef _UINT16_T
61785 #define _UINT16_T
61786 #ifndef __uint16_t_defined
61787 #define __uint16_t_defined
61788 #ifndef uint16_t
61789 typedef unsigned $acx_cv_type_int16_t uint16_t;
61790 #endif
61791 #endif
61792 #endif
61793
61794 #ifndef _UINT32_T
61795 #define _UINT32_T
61796 #ifndef __uint32_t_defined
61797 #define __uint32_t_defined
61798 #ifndef uint32_t
61799 typedef unsigned $acx_cv_type_int32_t uint32_t;
61800 #endif
61801 #endif
61802 #endif
61803
61804 #ifndef _INT8_T
61805 #define _INT8_T
61806 #ifndef __int8_t_defined
61807 #define __int8_t_defined
61808 #ifndef int8_t
61809 typedef $acx_cv_type_int8_t int8_t;
61810 #endif
61811 #endif
61812 #endif
61813
61814 #ifndef _INT16_T
61815 #define _INT16_T
61816 #ifndef __int16_t_defined
61817 #define __int16_t_defined
61818 #ifndef int16_t
61819 typedef $acx_cv_type_int16_t int16_t;
61820 #endif
61821 #endif
61822 #endif
61823
61824 #ifndef _INT32_T
61825 #define _INT32_T
61826 #ifndef __int32_t_defined
61827 #define __int32_t_defined
61828 #ifndef int32_t
61829 typedef $acx_cv_type_int32_t int32_t;
61830 #endif
61831 #endif
61832 #endif
61833 EOF
61834 elif test "$ac_cv_type_u_int32_t" = yes; then
61835 sed 's/^ *//' >> tmp-stdint.h <<EOF
61836
61837 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61838 #ifndef _INT8_T
61839 #define _INT8_T
61840 #endif
61841 #ifndef _INT16_T
61842 #define _INT16_T
61843 #endif
61844 #ifndef _INT32_T
61845 #define _INT32_T
61846 #endif
61847
61848 #ifndef _UINT8_T
61849 #define _UINT8_T
61850 #ifndef __uint8_t_defined
61851 #define __uint8_t_defined
61852 #ifndef uint8_t
61853 typedef u_int8_t uint8_t;
61854 #endif
61855 #endif
61856 #endif
61857
61858 #ifndef _UINT16_T
61859 #define _UINT16_T
61860 #ifndef __uint16_t_defined
61861 #define __uint16_t_defined
61862 #ifndef uint16_t
61863 typedef u_int16_t uint16_t;
61864 #endif
61865 #endif
61866 #endif
61867
61868 #ifndef _UINT32_T
61869 #define _UINT32_T
61870 #ifndef __uint32_t_defined
61871 #define __uint32_t_defined
61872 #ifndef uint32_t
61873 typedef u_int32_t uint32_t;
61874 #endif
61875 #endif
61876 #endif
61877 EOF
61878 else
61879 sed 's/^ *//' >> tmp-stdint.h <<EOF
61880
61881 /* Some systems have guard macros to prevent redefinitions, define them. */
61882 #ifndef _INT8_T
61883 #define _INT8_T
61884 #endif
61885 #ifndef _INT16_T
61886 #define _INT16_T
61887 #endif
61888 #ifndef _INT32_T
61889 #define _INT32_T
61890 #endif
61891 #ifndef _UINT8_T
61892 #define _UINT8_T
61893 #endif
61894 #ifndef _UINT16_T
61895 #define _UINT16_T
61896 #endif
61897 #ifndef _UINT32_T
61898 #define _UINT32_T
61899 #endif
61900 EOF
61901 fi
61902
61903 # ------------- done basic int types, emit int64_t types ------------
61904 if test "$ac_cv_type_uint64_t" = yes; then
61905 sed 's/^ *//' >> tmp-stdint.h <<EOF
61906
61907 /* system headers have good uint64_t and int64_t */
61908 #ifndef _INT64_T
61909 #define _INT64_T
61910 #endif
61911 #ifndef _UINT64_T
61912 #define _UINT64_T
61913 #endif
61914 EOF
61915 elif test "$ac_cv_type_u_int64_t" = yes; then
61916 sed 's/^ *//' >> tmp-stdint.h <<EOF
61917
61918 /* system headers have an u_int64_t (and int64_t) */
61919 #ifndef _INT64_T
61920 #define _INT64_T
61921 #endif
61922 #ifndef _UINT64_T
61923 #define _UINT64_T
61924 #ifndef __uint64_t_defined
61925 #define __uint64_t_defined
61926 #ifndef uint64_t
61927 typedef u_int64_t uint64_t;
61928 #endif
61929 #endif
61930 #endif
61931 EOF
61932 elif test -n "$acx_cv_type_int64_t"; then
61933 sed 's/^ *//' >> tmp-stdint.h <<EOF
61934
61935 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61936 #ifndef _INT64_T
61937 #define _INT64_T
61938 #ifndef int64_t
61939 typedef $acx_cv_type_int64_t int64_t;
61940 #endif
61941 #endif
61942 #ifndef _UINT64_T
61943 #define _UINT64_T
61944 #ifndef __uint64_t_defined
61945 #define __uint64_t_defined
61946 #ifndef uint64_t
61947 typedef unsigned $acx_cv_type_int64_t uint64_t;
61948 #endif
61949 #endif
61950 #endif
61951 EOF
61952 else
61953 sed 's/^ *//' >> tmp-stdint.h <<EOF
61954
61955 /* some common heuristics for int64_t, using compiler-specific tests */
61956 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61957 #ifndef _INT64_T
61958 #define _INT64_T
61959 #ifndef __int64_t_defined
61960 #ifndef int64_t
61961 typedef long long int64_t;
61962 #endif
61963 #endif
61964 #endif
61965 #ifndef _UINT64_T
61966 #define _UINT64_T
61967 #ifndef uint64_t
61968 typedef unsigned long long uint64_t;
61969 #endif
61970 #endif
61971
61972 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61973 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61974 does not implement __extension__. But that compiler doesn't define
61975 __GNUC_MINOR__. */
61976 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61977 # define __extension__
61978 # endif
61979
61980 # ifndef _INT64_T
61981 # define _INT64_T
61982 # ifndef int64_t
61983 __extension__ typedef long long int64_t;
61984 # endif
61985 # endif
61986 # ifndef _UINT64_T
61987 # define _UINT64_T
61988 # ifndef uint64_t
61989 __extension__ typedef unsigned long long uint64_t;
61990 # endif
61991 # endif
61992
61993 #elif !defined __STRICT_ANSI__
61994 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61995
61996 # ifndef _INT64_T
61997 # define _INT64_T
61998 # ifndef int64_t
61999 typedef __int64 int64_t;
62000 # endif
62001 # endif
62002 # ifndef _UINT64_T
62003 # define _UINT64_T
62004 # ifndef uint64_t
62005 typedef unsigned __int64 uint64_t;
62006 # endif
62007 # endif
62008 # endif /* compiler */
62009
62010 #endif /* ANSI version */
62011 EOF
62012 fi
62013
62014 # ------------- done int64_t types, emit intptr types ------------
62015 if test "$ac_cv_type_uintptr_t" != yes; then
62016 sed 's/^ *//' >> tmp-stdint.h <<EOF
62017
62018 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62019 #ifndef __uintptr_t_defined
62020 #ifndef uintptr_t
62021 typedef u$acx_cv_type_intptr_t uintptr_t;
62022 #endif
62023 #endif
62024 #ifndef __intptr_t_defined
62025 #ifndef intptr_t
62026 typedef $acx_cv_type_intptr_t intptr_t;
62027 #endif
62028 #endif
62029 EOF
62030 fi
62031
62032 # ------------- done intptr types, emit int_least types ------------
62033 if test "$ac_cv_type_int_least32_t" != yes; then
62034 sed 's/^ *//' >> tmp-stdint.h <<EOF
62035
62036 /* Define int_least types */
62037 typedef int8_t int_least8_t;
62038 typedef int16_t int_least16_t;
62039 typedef int32_t int_least32_t;
62040 #ifdef _INT64_T
62041 typedef int64_t int_least64_t;
62042 #endif
62043
62044 typedef uint8_t uint_least8_t;
62045 typedef uint16_t uint_least16_t;
62046 typedef uint32_t uint_least32_t;
62047 #ifdef _UINT64_T
62048 typedef uint64_t uint_least64_t;
62049 #endif
62050 EOF
62051 fi
62052
62053 # ------------- done intptr types, emit int_fast types ------------
62054 if test "$ac_cv_type_int_fast32_t" != yes; then
62055 sed 's/^ *//' >> tmp-stdint.h <<EOF
62056
62057 /* Define int_fast types. short is often slow */
62058 typedef int8_t int_fast8_t;
62059 typedef int int_fast16_t;
62060 typedef int32_t int_fast32_t;
62061 #ifdef _INT64_T
62062 typedef int64_t int_fast64_t;
62063 #endif
62064
62065 typedef uint8_t uint_fast8_t;
62066 typedef unsigned int uint_fast16_t;
62067 typedef uint32_t uint_fast32_t;
62068 #ifdef _UINT64_T
62069 typedef uint64_t uint_fast64_t;
62070 #endif
62071 EOF
62072 fi
62073
62074 if test "$ac_cv_type_uintmax_t" != yes; then
62075 sed 's/^ *//' >> tmp-stdint.h <<EOF
62076
62077 /* Define intmax based on what we found */
62078 #ifndef intmax_t
62079 #ifdef _INT64_T
62080 typedef int64_t intmax_t;
62081 #else
62082 typedef long intmax_t;
62083 #endif
62084 #endif
62085 #ifndef uintmax_t
62086 #ifdef _UINT64_T
62087 typedef uint64_t uintmax_t;
62088 #else
62089 typedef unsigned long uintmax_t;
62090 #endif
62091 #endif
62092 EOF
62093 fi
62094
62095 sed 's/^ *//' >> tmp-stdint.h <<EOF
62096
62097 #endif /* GCC_GENERATED_STDINT_H */
62098 EOF
62099
62100 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62101 rm -f tmp-stdint.h
62102 else
62103 mv -f tmp-stdint.h include/gstdint.h
62104 fi
62105
62106 ;;
62107 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62108 "include/Makefile":F) cat > vpsed$$ << \_EOF
62109 s!`test -f '$<' || echo '$(srcdir)/'`!!
62110 _EOF
62111 sed -f vpsed$$ $ac_file > tmp$$
62112 mv tmp$$ $ac_file
62113 rm vpsed$$
62114 echo 'MULTISUBDIR =' >> $ac_file
62115 ml_norecursion=yes
62116 . ${multi_basedir}/config-ml.in
62117 { ml_norecursion=; unset ml_norecursion;}
62118 ;;
62119 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62120 s!`test -f '$<' || echo '$(srcdir)/'`!!
62121 _EOF
62122 sed -f vpsed$$ $ac_file > tmp$$
62123 mv tmp$$ $ac_file
62124 rm vpsed$$
62125 echo 'MULTISUBDIR =' >> $ac_file
62126 ml_norecursion=yes
62127 . ${multi_basedir}/config-ml.in
62128 { ml_norecursion=; unset ml_norecursion;}
62129 ;;
62130 "python/Makefile":F) cat > vpsed$$ << \_EOF
62131 s!`test -f '$<' || echo '$(srcdir)/'`!!
62132 _EOF
62133 sed -f vpsed$$ $ac_file > tmp$$
62134 mv tmp$$ $ac_file
62135 rm vpsed$$
62136 echo 'MULTISUBDIR =' >> $ac_file
62137 ml_norecursion=yes
62138 . ${multi_basedir}/config-ml.in
62139 { ml_norecursion=; unset ml_norecursion;}
62140 ;;
62141 "src/Makefile":F) cat > vpsed$$ << \_EOF
62142 s!`test -f '$<' || echo '$(srcdir)/'`!!
62143 _EOF
62144 sed -f vpsed$$ $ac_file > tmp$$
62145 mv tmp$$ $ac_file
62146 rm vpsed$$
62147 echo 'MULTISUBDIR =' >> $ac_file
62148 ml_norecursion=yes
62149 . ${multi_basedir}/config-ml.in
62150 { ml_norecursion=; unset ml_norecursion;}
62151 ;;
62152 "doc/Makefile":F) cat > vpsed$$ << \_EOF
62153 s!`test -f '$<' || echo '$(srcdir)/'`!!
62154 _EOF
62155 sed -f vpsed$$ $ac_file > tmp$$
62156 mv tmp$$ $ac_file
62157 rm vpsed$$
62158 echo 'MULTISUBDIR =' >> $ac_file
62159 ml_norecursion=yes
62160 . ${multi_basedir}/config-ml.in
62161 { ml_norecursion=; unset ml_norecursion;}
62162 ;;
62163 "po/Makefile":F) cat > vpsed$$ << \_EOF
62164 s!`test -f '$<' || echo '$(srcdir)/'`!!
62165 _EOF
62166 sed -f vpsed$$ $ac_file > tmp$$
62167 mv tmp$$ $ac_file
62168 rm vpsed$$
62169 echo 'MULTISUBDIR =' >> $ac_file
62170 ml_norecursion=yes
62171 . ${multi_basedir}/config-ml.in
62172 { ml_norecursion=; unset ml_norecursion;}
62173 ;;
62174 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62175 s!`test -f '$<' || echo '$(srcdir)/'`!!
62176 _EOF
62177 sed -f vpsed$$ $ac_file > tmp$$
62178 mv tmp$$ $ac_file
62179 rm vpsed$$
62180 echo 'MULTISUBDIR =' >> $ac_file
62181 ml_norecursion=yes
62182 . ${multi_basedir}/config-ml.in
62183 { ml_norecursion=; unset ml_norecursion;}
62184 ;;
62185 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62186
62187 esac
62188 done # for ac_tag
62189
62190
62191 as_fn_exit 0
62192 _ACEOF
62193 ac_clean_files=$ac_clean_files_save
62194
62195 test $ac_write_fail = 0 ||
62196 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62197
62198
62199 # configure is writing to config.log, and then calls config.status.
62200 # config.status does its own redirection, appending to config.log.
62201 # Unfortunately, on DOS this fails, as config.log is still kept open
62202 # by configure, so config.status won't be able to write to it; its
62203 # output is simply discarded. So we exec the FD to /dev/null,
62204 # effectively closing config.log, so it can be properly (re)opened and
62205 # appended to by config.status. When coming back to configure, we
62206 # need to make the FD available again.
62207 if test "$no_create" != yes; then
62208 ac_cs_success=:
62209 ac_config_status_args=
62210 test "$silent" = yes &&
62211 ac_config_status_args="$ac_config_status_args --quiet"
62212 exec 5>/dev/null
62213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62214 exec 5>>config.log
62215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62216 # would make configure fail if this is the last instruction.
62217 $ac_cs_success || as_fn_exit $?
62218 fi
62219 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62221 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62222 fi
62223